Get security scenes settings and activation time
Return all the scenes activation settings
Responses
- 200
- 401
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
}
]
}
Please log in
- application/json
- Schema
- Example (from schema)
- Example
Schema
error object
Describes the base error user might get
code stringPossible values: [
invalid_authentication
,permission_denied
,not_valid
,system_error
]Error code
message stringError message
data object
Did not pass validation parameters. Can be represented as an object, which can include field names, arrays, query parameters etc.
param stringDescribes the parameter that did not pass a validation
{
"error": {
"code": "not_valid",
"message": "Data validation error",
"data": {
"param": "must be a string"
}
}
}
{
"error": {
"code": "invalid_authentication",
"message": "Log In"
}
}
Loading...