Get the settings for all locks
Get the settings for all locks
- Not available on CR-02BD
Responses
- 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:
* - use_old_sh42 boolean
Default value:
trueUse compatibility mode with the SH-42 firmware version before the 04.08.2022
settings object[]
lock_number integerPossible values:
>= 1and<= 8timeout integerPossible values:
>= 1and<= 40Time after opening until locking
delay integerPossible values:
<= 9Delay before unlocking
type stringPossible values: [
electromagnetic,electromechanical]Type of the lock
pulse_on integerPossible values:
>= 1and<= 300Power on duration in seconds for electromechanical lock
pulse_off integerPossible values:
>= 1and<= 300Time between swithcing on the electromechanical lock
dtmf_code stringPossible values: Value must match regular expression
^[\d*#ABCD]{0,4}$
{
"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": "Log In"
}
Loading...