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

{
  "standby_power": 0.3,
  "sensor_config": {
    "power_sensor_naming": "{} Device Power",
    "energy_sensor_naming": "{} Device Energy"
  },
  "device_type": "generic_iot",
  "calculation_strategy": "fixed",
  "discovery_by": "device",
  "only_self_usage": true
}

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.