Set security scenes settings and activation time
Set all the scenes activation settings
- application/json
Request Body required
- activation_time integer required
Possible values: [
0
,30
,40
,60
,100
,300
]Time before scene activation. 0 means that scene will be activated without delay
zones object[] required
Possible values:
<= 8
List of zones
zone_id integer requiredPossible values:
>= 1
and<= 8
Zone ID, from 1 to 8
scene_out boolean requiredBoolean for Out scene, sensor activates if enabled
scene_home boolean requiredBoolean for Home scene, sensor activates if enabled
scene_sleep boolean requiredBoolean for Sleep scene, sensor activates if enabled
- 200
- 400
- 401
OK
Bad Request
- application/json
- Schema
- Example (from schema)
Schema
error object
code stringPossible values: [
invalid_authentification
,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 string
{
"error": {
"code": "not_valid",
"message": "Data validation error",
"data": {
"param": "must be an string"
}
}
}
Please log in
- application/json
- Schema
- Example (from schema)
- Example
Schema
error object
code stringPossible values: [
invalid_authentification
,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 string
{
"error": {
"code": "not_valid",
"message": "Data validation error",
"data": {
"param": "must be an string"
}
}
}
{
"error": {
"code": "invalid_authentification",
"message": "Log In"
}
}