Get security scenes settings and activation time
Return all the scenes activation settings
Responses
- 200
- 400
- 401
- 403
OK
- application/json
- Schema
- Example (from schema)
- Example
Schema
- activation_time integer
Possible values: [
0
,30
,40
,60
,100
,300
]Time before scene activation. 0 means that scene will be activated without delay
zones object[]
Possible values:
<= 8
List of zones
zone_id integerPossible values:
>= 1
and<= 8
Zone ID, from 1 to 8
scene_out booleanBoolean for Out scene, sensor activates if enabled
scene_home booleanBoolean for Home scene, sensor activates if enabled
scene_sleep booleanBoolean for Sleep scene, sensor activates if enabled
{
"activation_time": 0,
"zones": [
{
"zone_id": 1,
"scene_out": false,
"scene_home": true,
"scene_sleep": false
}
]
}
{
"activation_time": 0,
"zones": [
{
"zone_id": 1,
"scene_out": false,
"scene_home": true,
"scene_sleep": false
}
]
}
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"
}
Forbidden
Loading...