Skip to content

05.02. Sensors

Sinisha Djukic edited this page Nov 1, 2016 · 4 revisions

L7 Endpoint Types: Sensors

Endpoint Types:

  • TYPE_SENSOR_BINARY
  • TYPE_SENSOR_MULTILEVEL
  • TYPE_SENSOR_VOLTAGE
  • TYPE_SENSOR_TEMPERATURE

PROPERTY_GET Data

No extra data.

PROPERTY_REP 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

TYPE_SENSOR_BINARY: Current

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.

TYPE_SENSOR_MULTILEVEL: Current

Byte Parameter Description
4-7 Value Current value

Current value is in signed Q16.16 fixed point format.

TYPE_SENSOR_VOLTAGE: Current

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

TYPE_SENSOR_TEMPERATURE: Current

Byte Parameter Description
4-7 Value Current value

Supported units:

  • UNIT_TEMPERATURE_KELVIN
  • UNIT_TEMPERATURE_CELSIUS
  • UNIT_TEMPERATURE_FAHRENHEIT