Door Lock Operation Set Command
The Door LockOperation Set Command used to set the operation mode of the lock in a Z-Wave™enabled door lock device.
7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
Command Class = COMMAND_CLASS_DOOR_LOCK | |||||||
Command = DOOR_LOCK_OPERATION_SET | |||||||
Door Lock Mode |
Door Lock Mode (8bits) .
Door Lock Mode willset the door lock device in unsecured or secured mode as well as otherperipheral settings.
Hexadecimal | Description |
0x00 | Door Unsecured 1) |
0x01 | Door Unsecured with timeout 2) |
0x10 | Door Unsecured for inside Door Handles 1) |
0x11 | Door Unsecured for inside Door Handles with timeout 2) |
0x20 | Door Unsecured for outside Door Handles 1) |
0x21 | Door Unsecured for outside Door Handles with timeout 2) |
0xFF | Door Secured |
对于上面的命令,最简单的应用就是
l Door Lock Mode设置为0x00,发送DOOR_LOCK_OPERATION_SET给门锁设备来开锁;
l Door Lock Mode设置为0xFF,发送DOOR_LOCK_OPERATION_SET给门锁设备来锁门;
Door Lock Operation Report
The Door LockOperation Report Command can be used by a door lock device to send a reporteither unsolicited or requested by the Door Lock Operation Get Command.
7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
Command Class = COMMAND_CLASS_DOOR_LOCK | |||||||
Command = DOOR_LOCK_OPERATION_REPORT | |||||||
Door Lock Mode | |||||||
Outside Door Handles Mode | Inside Door Handles Mode | ||||||
Door Condition | |||||||
Lock Timeout Minutes | |||||||
Lock Timeout Seconds |
通过命令操作锁,或者通过把手控制锁时。ZWAVE门锁可以上报这个命令给用户。从跟踪情况看,目前手上的三个门锁并不是每个都会上报该消息。
l Vision door lock每次开关锁时都会上报DOOR_LOCK_OPERATION_REPORT
l kwikset 和SCHLAGE 的door lock不是每次开关锁时都会上报DOOR_LOCK_OPERATION_REPORT;但是每次开关锁时,它们都会上报ALARM_REPORT来上报开关锁事件的。
Door Lock Mode (8bits)
See Door LockOperation Set Command description. In case timeout mode is not supported, thisfield MUST display other valid mode from the Door Lock Operation Set Commande.g. 0x10 instead of 0x11.
Outside/InsideDoor Handles Mode (4 bits)
These parametersindicate the activity of the door handles i.e. which handle(s) has opened thedoor lock.
Bit | Outside Door Handles Mode (4 bits) | Inside Door Handles Mode (4 bits) |
0 | 0 = Handle 1 inactive; 1 = Handle 1 active | 0 = Handle 1 inactive; 1 = Handle 1 active |
1 | 0 = Handle 2 inactive; 1 = Handle 2 active | 0 = Handle 2 inactive; 1 = Handle 2 active |
2 | 0 = Handle 3 inactive; 1 = Handle 3 active | 0 = Handle 3 inactive; 1 = Handle 3 active |
3 | 0 = Handle 4 inactive; 1 = Handle 4 active | 0 = Handle 4 inactive; 1 = Handle 4 active |
Door Condition (8bits)
The Door Conditionfield indicates the hardware status of the door lock device such as bolt andlatch states.
Bit | Description |
0 | 0 = Door Open; 1 = Door Closed |
1 | 0 = Bolt Locked; 1 = Bolt Unlocked |
2 | 0 = Latch Open; 1 = Latch Closed |
3-7 | Reserved |
至于这里Door,Bolt,Latch的区别还需要找找资料。
Lock TimeoutMinutes (8 bits)
If a Lock Timeout hasbeen set in DOOR_LOCK_CONFIG_SET Command and the door lock state has been setto unsecure with timeout by means of DOOR_LOCK_OPERATION_SET, this field SHALLdisplay the remaining minutes the lock is in unsecured state. In case notimeout has been set this field SHALL always display zero. This field SHALL beset to 0xFE when timeout is not supported by the door lock device.
Lock TimeoutSeconds (8 bits)
If a Lock Timeouthas been set in DOOR_LOCK_CONFIG_SET Command and the door lock state has beenset to unsecure with timeout by means of DOOR_LOCK_OPERATION_SET, this fieldSHALL display the remaining seconds the lock is in unsecured state. In case notimeout has been set this field SHALL always display zero. This field SHALL beset to 0xFE when timeout is not supported by the door lock device.
Vision door lock的两个实例
doorLockMode = 255 锁门 properties1 = 16 doorCondition = 0 Door Open,Bolt Locked,Latch Open lockTimeoutMinutes = 254 该锁不支持timeout lockTimeoutSeconds = 254 该锁不支持timeout “锁门”报告。
doorLockMode = 0 开锁 properties1 = 16 doorCondition = 2 010b – Door Open,Bolt unlock, Latch Open lockTimeoutMinutes = 254 该锁不支持timeout lockTimeoutSeconds = 254 该锁不支持timeout
|
Door Lock Operation Set Command
The Door LockOperation Set Command used to set the operation mode of the lock in a Z-Wave™enabled door lock device.
7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
Command Class = COMMAND_CLASS_DOOR_LOCK | |||||||
Command = DOOR_LOCK_OPERATION_SET | |||||||
Door Lock Mode |
Door Lock Mode (8bits) .
Door Lock Mode willset the door lock device in unsecured or secured mode as well as otherperipheral settings.
Hexadecimal | Description |
0x00 | Door Unsecured 1) |
0x01 | Door Unsecured with timeout 2) |
0x10 | Door Unsecured for inside Door Handles 1) |
0x11 | Door Unsecured for inside Door Handles with timeout 2) |
0x20 | Door Unsecured for outside Door Handles 1) |
0x21 | Door Unsecured for outside Door Handles with timeout 2) |
0xFF | Door Secured |
对于上面的命令,最简单的应用就是
l Door Lock Mode设置为0x00,发送DOOR_LOCK_OPERATION_SET给门锁设备来开锁;
l Door Lock Mode设置为0xFF,发送DOOR_LOCK_OPERATION_SET给门锁设备来锁门;
Door Lock Operation Report
The Door LockOperation Report Command can be used by a door lock device to send a reporteither unsolicited or requested by the Door Lock Operation Get Command.
7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
Command Class = COMMAND_CLASS_DOOR_LOCK | |||||||
Command = DOOR_LOCK_OPERATION_REPORT | |||||||
Door Lock Mode | |||||||
Outside Door Handles Mode | Inside Door Handles Mode | ||||||
Door Condition | |||||||
Lock Timeout Minutes | |||||||
Lock Timeout Seconds |
通过命令操作锁,或者通过把手控制锁时。ZWAVE门锁可以上报这个命令给用户。从跟踪情况看,目前手上的三个门锁并不是每个都会上报该消息。
l Vision door lock每次开关锁时都会上报DOOR_LOCK_OPERATION_REPORT
l kwikset 和SCHLAGE 的door lock不是每次开关锁时都会上报DOOR_LOCK_OPERATION_REPORT;但是每次开关锁时,它们都会上报ALARM_REPORT来上报开关锁事件的。
Door Lock Mode (8bits)
See Door LockOperation Set Command description. In case timeout mode is not supported, thisfield MUST display other valid mode from the Door Lock Operation Set Commande.g. 0x10 instead of 0x11.
Outside/InsideDoor Handles Mode (4 bits)
These parametersindicate the activity of the door handles i.e. which handle(s) has opened thedoor lock.
Bit | Outside Door Handles Mode (4 bits) | Inside Door Handles Mode (4 bits) |
0 | 0 = Handle 1 inactive; 1 = Handle 1 active | 0 = Handle 1 inactive; 1 = Handle 1 active |
1 | 0 = Handle 2 inactive; 1 = Handle 2 active | 0 = Handle 2 inactive; 1 = Handle 2 active |
2 | 0 = Handle 3 inactive; 1 = Handle 3 active | 0 = Handle 3 inactive; 1 = Handle 3 active |
3 | 0 = Handle 4 inactive; 1 = Handle 4 active | 0 = Handle 4 inactive; 1 = Handle 4 active |
Door Condition (8bits)
The Door Conditionfield indicates the hardware status of the door lock device such as bolt andlatch states.
Bit | Description |
0 | 0 = Door Open; 1 = Door Closed |
1 | 0 = Bolt Locked; 1 = Bolt Unlocked |
2 | 0 = Latch Open; 1 = Latch Closed |
3-7 | Reserved |
至于这里Door,Bolt,Latch的区别还需要找找资料。
Lock TimeoutMinutes (8 bits)
If a Lock Timeout hasbeen set in DOOR_LOCK_CONFIG_SET Command and the door lock state has been setto unsecure with timeout by means of DOOR_LOCK_OPERATION_SET, this field SHALLdisplay the remaining minutes the lock is in unsecured state. In case notimeout has been set this field SHALL always display zero. This field SHALL beset to 0xFE when timeout is not supported by the door lock device.
Lock TimeoutSeconds (8 bits)
If a Lock Timeouthas been set in DOOR_LOCK_CONFIG_SET Command and the door lock state has beenset to unsecure with timeout by means of DOOR_LOCK_OPERATION_SET, this fieldSHALL display the remaining seconds the lock is in unsecured state. In case notimeout has been set this field SHALL always display zero. This field SHALL beset to 0xFE when timeout is not supported by the door lock device.
Vision door lock的两个实例
doorLockMode = 255 锁门 properties1 = 16 doorCondition = 0 Door Open,Bolt Locked,Latch Open lockTimeoutMinutes = 254 该锁不支持timeout lockTimeoutSeconds = 254 该锁不支持timeout “锁门”报告。
doorLockMode = 0 开锁 properties1 = 16 doorCondition = 2 010b – Door Open,Bolt unlock, Latch Open lockTimeoutMinutes = 254 该锁不支持timeout lockTimeoutSeconds = 254 该锁不支持timeout
|