Door lock
{
id = 78,
version = 1,
capabilities = {
inside_handle_ids = { 1 },
outside_handle_ids = { 1 },
door_lock_modes = {
"unsecured",
"unsecured_with_timeout",
"unsecured_for_inside",
"unsecured_for_inside_with_timeout",
"secured"
},
timed_operations_supported = true,
door_supported = true,
latch_supported = true,
latch_supported = false,
block_to_block_supported = false,
twist_assist_supported = true,
hold_and_release_supported = false,
auto_relock_supported = true
}
}
field | type | description |
---|---|---|
id | int | identifier of command class |
version | int | version of command class |
capabilities | table | door lock capabilities (Optional, version 4 and more) |
Capabilities structure:
field | type | description |
---|---|---|
inside_handle_ids | array of int | list of supported inside handle ids ( 1 .. 4 ) |
outside_handle_ids | array of int | list of supported outside handle ids ( 1 .. 4 ) |
door_lock_modes | array of string | list of supported door lock modes |
timed_operations_supported | bool | are timed operations supported (e.g. setting mode unsecured_with_timeout) |
door_supported | bool | is door report supported |
bolt_supported | bool | is bolt report supported |
latch_supported | bool | is latch report supported |
block_to_block_supported | bool | |
twist_assist_supported | bool | |
hold_and_release_supported | bool | |
auto_relock_supported | bool |