2017-10-30 20:39:12 +00:00
|
|
|
# Describes the format for available lock services
|
2017-01-27 05:45:04 +00:00
|
|
|
|
2017-10-30 20:39:12 +00:00
|
|
|
clear_usercode:
|
2021-05-15 09:06:34 +00:00
|
|
|
name: Clear usercode
|
2017-10-30 20:39:12 +00:00
|
|
|
description: Clear a usercode from lock.
|
2017-01-27 05:45:04 +00:00
|
|
|
fields:
|
|
|
|
node_id:
|
2021-05-15 09:06:34 +00:00
|
|
|
name: Node ID
|
2017-10-30 20:39:12 +00:00
|
|
|
description: Node id of the lock.
|
2021-05-15 09:06:34 +00:00
|
|
|
selector:
|
|
|
|
number:
|
|
|
|
min: 1
|
|
|
|
max: 255
|
2017-01-27 05:45:04 +00:00
|
|
|
code_slot:
|
2021-05-15 09:06:34 +00:00
|
|
|
name: Code slot
|
2017-10-30 20:39:12 +00:00
|
|
|
description: Code slot to clear code from.
|
2021-05-15 09:06:34 +00:00
|
|
|
selector:
|
|
|
|
number:
|
|
|
|
min: 1
|
|
|
|
max: 255
|
2017-01-27 05:45:04 +00:00
|
|
|
|
|
|
|
get_usercode:
|
2021-05-15 09:06:34 +00:00
|
|
|
name: Get usercode
|
2017-10-30 20:39:12 +00:00
|
|
|
description: Retrieve a usercode from lock.
|
2017-01-27 05:45:04 +00:00
|
|
|
fields:
|
|
|
|
node_id:
|
2021-05-15 09:06:34 +00:00
|
|
|
name: Node ID
|
2017-10-30 20:39:12 +00:00
|
|
|
description: Node id of the lock.
|
2021-05-15 09:06:34 +00:00
|
|
|
selector:
|
|
|
|
number:
|
|
|
|
min: 1
|
|
|
|
max: 255
|
2017-01-27 05:45:04 +00:00
|
|
|
code_slot:
|
2021-05-15 09:06:34 +00:00
|
|
|
name: Code slot
|
2017-10-30 20:39:12 +00:00
|
|
|
description: Code slot to retrieve a code from.
|
2021-05-15 09:06:34 +00:00
|
|
|
selector:
|
|
|
|
number:
|
|
|
|
min: 1
|
|
|
|
max: 255
|
2017-01-27 05:45:04 +00:00
|
|
|
|
|
|
|
lock:
|
2021-02-23 13:10:13 +00:00
|
|
|
name: Lock
|
|
|
|
description: Lock all or specified locks.
|
2021-02-18 15:51:13 +00:00
|
|
|
target:
|
2021-05-17 12:06:50 +00:00
|
|
|
entity:
|
|
|
|
domain: lock
|
2017-01-27 05:45:04 +00:00
|
|
|
fields:
|
|
|
|
code:
|
2021-02-18 15:51:13 +00:00
|
|
|
name: Code
|
2017-10-30 20:39:12 +00:00
|
|
|
description: An optional code to lock the lock with.
|
2017-01-27 05:45:04 +00:00
|
|
|
example: 1234
|
2021-02-18 15:51:13 +00:00
|
|
|
selector:
|
|
|
|
text:
|
2017-01-27 05:45:04 +00:00
|
|
|
|
2019-10-04 21:14:47 +00:00
|
|
|
open:
|
2021-02-23 13:10:13 +00:00
|
|
|
name: Open
|
|
|
|
description: Open all or specified locks.
|
2021-02-18 15:51:13 +00:00
|
|
|
target:
|
2021-05-17 12:06:50 +00:00
|
|
|
entity:
|
|
|
|
domain: lock
|
2019-10-04 21:14:47 +00:00
|
|
|
fields:
|
|
|
|
code:
|
2021-02-18 15:51:13 +00:00
|
|
|
name: Code
|
2019-10-04 21:14:47 +00:00
|
|
|
description: An optional code to open the lock with.
|
|
|
|
example: 1234
|
2021-02-18 15:51:13 +00:00
|
|
|
selector:
|
|
|
|
text:
|
2019-10-04 21:14:47 +00:00
|
|
|
|
2017-01-27 05:45:04 +00:00
|
|
|
set_usercode:
|
2021-02-23 13:10:13 +00:00
|
|
|
name: Set usercode
|
|
|
|
description: Set a usercode to lock.
|
2017-01-27 05:45:04 +00:00
|
|
|
fields:
|
|
|
|
node_id:
|
2017-10-30 20:39:12 +00:00
|
|
|
description: Node id of the lock.
|
2021-05-15 09:06:34 +00:00
|
|
|
selector:
|
|
|
|
number:
|
|
|
|
min: 1
|
|
|
|
max: 255
|
2017-01-27 05:45:04 +00:00
|
|
|
code_slot:
|
2017-10-30 20:39:12 +00:00
|
|
|
description: Code slot to set the code.
|
2021-05-15 09:06:34 +00:00
|
|
|
selector:
|
|
|
|
number:
|
|
|
|
min: 1
|
|
|
|
max: 255
|
2017-01-27 05:45:04 +00:00
|
|
|
usercode:
|
2017-10-30 20:39:12 +00:00
|
|
|
description: Code to set.
|
2021-05-15 09:06:34 +00:00
|
|
|
required: true
|
2017-01-27 05:45:04 +00:00
|
|
|
example: 1234
|
2021-05-15 09:06:34 +00:00
|
|
|
selector:
|
|
|
|
text:
|
2017-01-27 05:45:04 +00:00
|
|
|
|
|
|
|
unlock:
|
2021-02-23 13:10:13 +00:00
|
|
|
name: Unlock
|
|
|
|
description: Unlock all or specified locks.
|
2021-02-18 15:51:13 +00:00
|
|
|
target:
|
2021-05-17 12:06:50 +00:00
|
|
|
entity:
|
|
|
|
domain: lock
|
2017-01-27 05:45:04 +00:00
|
|
|
fields:
|
|
|
|
code:
|
2021-02-18 15:51:13 +00:00
|
|
|
name: Code
|
2017-10-30 20:39:12 +00:00
|
|
|
description: An optional code to unlock the lock with.
|
2017-01-27 05:45:04 +00:00
|
|
|
example: 1234
|
2021-02-18 15:51:13 +00:00
|
|
|
selector:
|
|
|
|
text:
|