2.2.18. Binary Sensor Command Class, version 1 [DEPRECATED]¶
Warning
THIS COMMAND CLASS HAS BEEN DEPRECATED
A device MAY implement this command class, but it is RECOMMENDED that new implementations use the Notification Command Class.
If implementing this command class, it is RECOMMENDED that the Notification Command Class is also implemented.
The Binary Sensor Command Class is used to realize binary sensors, such as movement sensors.
2.2.18.1. Binary Sensor Get Command¶
This command is used to request the status of a sensor.
The Binary Sensor Report Command MUST be returned in response to this command.
This command MUST NOT be issued via multicast addressing.
A receiving node MUST NOT return a response if this command is received via multicast addressing. The Z-Wave Multicast frame, the broadcast NodeID and the Multi Channel multi-End Point destination are all considered multicast addressing methods.
7 |
6 |
5 |
4 |
3 |
2 |
1 |
0 |
|---|---|---|---|---|---|---|---|
Command Class = COMMAND_CLASS_SENSOR_BINARY (0x30) |
|||||||
Command = SENSOR_BINARY_GET (0x02) |
|||||||
2.2.18.2. Binary Sensor Report Command¶
This command is used to advertise a sensor value.
7 |
6 |
5 |
4 |
3 |
2 |
1 |
0 |
|---|---|---|---|---|---|---|---|
Command Class = COMMAND_CLASS_SENSOR_BINARY (0x30) |
|||||||
Command = SENSOR_BINARY_REPORT (0x03) |
|||||||
Sensor Value |
|||||||
Sensor Value (8 bits)
If the Sensor Value is 0x00 indicates that the sensor is idle and 0xFF indicates that the sensor has detected an event.