05.02. Sensors
Sinisha Djukic edited this page Nov 1, 2016
·
4 revisions
Endpoint Types:
- TYPE_SENSOR_BINARY
- TYPE_SENSOR_MULTILEVEL
- TYPE_SENSOR_VOLTAGE
- TYPE_SENSOR_TEMPERATURE
No extra data.
Byte | Parameter | Description |
---|---|---|
4-N | Value | Current value |
The structure of the Current value depends on the Endpoint type (see below).
The device must send PROPERTY_REP to:
- The device, which sent PROPERTY_GET. The Comand Seq value must be maintained
- The reporting node, according to the device's configuration (reporting node, discrete change, threshold change). The Comand Seq value is arbitrary in this case
Byte | Parameter | Description |
---|---|---|
4 | Value | Current value (unsigned byte) |
The sematics of the values are:
- 0: deactivated
- 255: activated
The relative usage of these values (e.g. whether deactivated means that the door has been closed) is device model-specific.
Byte | Parameter | Description |
---|---|---|
4-7 | Value | Current value |
Current value is in signed Q16.16 fixed point format.
Byte | Parameter | Description |
---|---|---|
4-7 | Value | Current value |
Current value is in signed Q16.16 fixed point format.
Supported units:
- UNIT_PERCENTAGE_BYTE
- UNIT_VOLT
Byte | Parameter | Description |
---|---|---|
4-7 | Value | Current value |
Supported units:
- UNIT_TEMPERATURE_KELVIN
- UNIT_TEMPERATURE_CELSIUS
- UNIT_TEMPERATURE_FAHRENHEIT