Get information about security zones
Get information about security zones
Responses
- 200
- 400
- 401
OK
- application/json
- Schema
- Example (from schema)
- Example
Schema
zones object[]
Possible values:
<= 8
zone_id integerPossible values:
>= 1
and<= 8
ID of zone
type stringPossible values: [
normal
,emergency
,24_hour
]Zone type. Normal - work only if enabled in scene, 24 and emergency will work all the time
mode stringPossible values: [
3с
,no
,nc
,bell
,call
]Dry contacts mode. 3c - trigger, no - normal open, nc - normal closed, bell - doorbell mode
delay integerPossible values: [
0
,5
,15
,20
,25
,40
,60
]Delay for sensor activation in seconds
sensor stringPossible values: [
smoke
,gas
,pir
,door
,window
,panic
,flood
,pull_cord
,bed_mat
]Sensor type
{
"zones": [
{
"zone_id": 1,
"type": "normal",
"mode": "no",
"delay": 0,
"sensor": "smoke"
}
]
}
{
"zones": [
{
"zone_id": 1,
"type": "normal",
"mode": "no",
"delay": 0,
"sensor": "smoke"
}
]
}
Wrong JSON body
- application/json
- Schema
- Example (from schema)
Schema
- error string
{
"error": "Wrong JSON body"
}
Please log in
- application/json
- Schema
- Example (from schema)
Schema
- error string
{
"error": "Log In"
}
Loading...