Set door sensor settings
Customize door sensor feature. There are 2 available modes:
- door_sensor
- call_button
- This feature conflicts with the
/device/feature/rescue-service
- application/json
Request Body required
- enable boolean required
- repeating_message_delay integer required
Time in seconds after which the panel will send the next message if the sensor is not closed
- repeating_message_enable boolean required
Resending messages if one message is not enough
- opening_delay integer required
Time that the door sensor must be open to start sending alerts
- available_modes string[]
Possible values: [
door_sensor
,call_button
]door sensor - the contacts work as contacts of a door sensor, when the contacts are opened after the time specified in the parameter, the panel sends a message that the door has been open for too long
call_button - when the contacts are closed, a call is made to the paired monitor or concierge
- mode string required
Possible values: [
door_sensor
,call_button
]
Responses
- 200
- 400
- 401
OK
- Field opening_delay must be in range [0-86400]
- Field repeating_message_delay must be in range [5-86400]
- Must be disabled while enabled rescue service
- application/json
- Schema
- Example (from schema)
- Wrong opening_delay
- Wrong repeating_message_delay
Schema
- error string
{
"error": true
}
{
"error": "Field opening_delay must be in range [0-86400]"
}
{
"error": "Field repeating_message_delay must be in range [5-86400]"
}
Log in
- application/json
- Schema
- Example (from schema)
- Example
Schema
- error string
{
"error": "Log In"
}
{
"error": "Log In"
}
Loading...