Get the settings for all locks
Get the settings for all locks
- Not available on CR-02BD
- 200
- 401
OK
- application/json
- Schema
- Example (from schema)
- Example
Schema
- open_all_dtmf string
Possible values: Value must match regular expression
^[\d*#ABCD]{0,4}$
Default value:
*
dtmf value that is used to open all locks
- use_old_sh42 boolean
Default value:
true
Use compatibility mode with the SH-42 firmware version before the 04.08.2022
settings object[]
array of settings applied to locks dtmf
lock_number integerPossible values:
>= 1
and<= 8
lock number
timeout integerPossible values:
>= 1
and<= 40
Time after opening until locking
delay integerPossible values:
<= 9
Delay before unlocking
type stringPossible values: [
electromagnetic
,electromechanical
]Type of the lock
pulse_on integerPossible values:
>= 1
and<= 300
Power on duration in seconds for electromechanical lock
pulse_off integerPossible values:
>= 1
and<= 300
Time between swithcing on the electromechanical lock
dtmf_code stringPossible values: Value must match regular expression
^[\d*#ABCD]{0,4}$
dtmf code value
{
"open_all_dtmf": "*",
"use_old_sh42": true,
"settings": [
{
"lock_number": 2,
"timeout": 10,
"delay": 0,
"type": "electromagnetic",
"pulse_on": 3,
"pulse_off": 10,
"dtmf_code": "8A"
}
]
}
{
"use_old_sh42": true,
"open_all_dtmf": "*",
"settings": [
{
"lock_number": 1,
"type": "electromagnetic",
"timeout": 10,
"delay": 0,
"dtmf_code": "#"
},
{
"lock_number": 2,
"type": "electromechanical",
"pulse_on": 1,
"pulse_off": 2,
"timeout": 10,
"delay": 0,
"dtmf_code": "0"
},
{
"lock_number": 8,
"type": "electromagnetic",
"timeout": 1,
"delay": 0,
"dtmf_code": "8A"
}
]
}
Please log in
- application/json
- Schema
- Example (from schema)
Schema
- error string
error message
{
"error": "Log In"
}