2.2.55. Lock 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 Door Lock Command Class.
If implementing this command class, it is RECOMMENDED that the Door Lock Command Class is also implemented.
The Lock Command Class is used to lock and unlock a “lock” type device, e.g. a door or window lock
2.2.55.1. Lock Set Command¶
This command is used to set the lock state in a device.
7 |
6 |
5 |
4 |
3 |
2 |
1 |
0 |
|---|---|---|---|---|---|---|---|
Command Class = COMMAND_CLASS_LOCK (0x76) |
|||||||
Command = LOCK_SET (0x01) |
|||||||
Lock State |
|||||||
Lock State (8 bits)
The lock state field used to set the lock state of the device. The value 0 indicates that the device is unlocked. The value 1 indicates that the device is locked.
2.2.55.2. Lock Get Command¶
This command is used to request the lock state from a device.
The Lock 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_LOCK (0x76) |
|||||||
Command = LOCK_GET (0x02) |
|||||||
2.2.55.3. Lock Report Command¶
This command is used to report the lock state of a device.
7 |
6 |
5 |
4 |
3 |
2 |
1 |
0 |
|---|---|---|---|---|---|---|---|
Command Class = COMMAND_CLASS_LOCK (0x76) |
|||||||
Command = LOCK_REPORT (0x03) |
|||||||
Lock State |
|||||||
Lock State (8 bits)
The Lock state field used to report the lock state of the device. The value 0 indicates that the device is unlocked. The value 1 indicates that the device is locked.