Sensor
idstringrequired
Deprecated, please use uuid instead
uuidstring<uuid>required
namestringrequired
typeTypeEnum (string)required
energy- SensorType.ENERGYswitch- SensorType.SWITCHcomfort- SensorType.COMFORTstatus- SensorType.STATUSkey_value- SensorType.KEY_VALUE
Possible values: [energy, switch, comfort, status, key_value]
subtypeSubtypeEnum (string)required
electricity- SensorSubtype.ELECTRICITYgas- SensorSubtype.GASheat- SensorSubtype.HEATwater- SensorSubtype.WATERmotion- SensorSubtype.MOTIONcontact- SensorSubtype.CONTACTtemperature- SensorSubtype.TEMPERATUREhumidity- SensorSubtype.HUMIDITYilluminance- SensorSubtype.ILLUMINANCEev_socket- SensorSubtype.EV_SOCKETany- SensorSubtype.ANY
Possible values: [electricity, gas, heat, water, motion, contact, temperature, humidity, illuminance, ev_socket, any]
minimum_intervalMinimumIntervalEnum (string)required
unknown- SensorIntervalType.UNKNOWNall- SensorIntervalType.ALLminute- SensorIntervalType.MINUTEquarter- SensorIntervalType.QUARTERday- SensorIntervalType.DAY
Possible values: [unknown, all, minute, quarter, day]
is_meter_readingbooleanrequired
subtype_methodSubtypeMethodEnum (string)
consumption- SensorSubtypeMethod.CONSUMPTIONproduction- SensorSubtypeMethod.PRODUCTIONreturn_delivery- SensorSubtypeMethod.RETURN_DELIVERYdelivery- SensorSubtypeMethod.DELIVERYcharge- SensorSubtypeMethod.CHARGEdischarge- SensorSubtypeMethod.DISCHARGE
Possible values: [consumption, production, return_delivery, delivery, charge, discharge]
sensor_hub_uuidstring<uuid>nullablerequired
unitstring
descriptionstring
value_typestring
Sensor
{
"id": "string",
"uuid": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"name": "string",
"type": "energy",
"subtype": "electricity",
"minimum_interval": "unknown",
"is_meter_reading": true,
"subtype_method": "consumption",
"sensor_hub_uuid": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"unit": "string",
"description": "string",
"value_type": "string"
}