Skip to content

Generic iot

Generic IoT

Generic IoT device. Powercalc profiles can be used to define the self usage of the IoT device itself.

JSON

{
  "device_type": "generic_iot",
  "calculation_strategy": "fixed",
  "discovery_by": "device",
  "fixed_config": {
    "power": 0.3
  }
}

Note

Required fields are omitted in this example for brevity. For the full list of required fields see the model structure

Note

The discovery_by field is set to device to prevent multiple discoveries for the same device.

Following the example above the power for this device will always be 0.3W.