Get motion detector settings
Returns motion detector settings
This feature is available only on AT-07l, AT-10, AT-10L. SD-card is required
- 200
- 401
OK
- application/json
- Schema
- Example (from schema)
- Example
Schema
- enable boolean
- recording_time integer
Possible values:
>= 5
and<= 120
The video recording time in seconds
- work_time_from string
Time interval in which the movement will be recorded. Start time in 24-hours format
- work_time_to string
Time interval in which the movement will be recorded. End time in 24-hours format
- ip_cam_uuid_1 string
Camera UUID that will be recorded when the first sensor is triggered. Can by empty string when camera isn't specified.
- ip_cam_uuid_2 string
Camera UUID that will be recorded when the second sensor is triggered. Can by empty string when camera isn't specified.
- ip_cam_uuid_3 string
Camera UUID that will be recorded when the third sensor is triggered. Can by empty string when camera isn't specified.
- ip_cam_uuid_4 string
Camera UUID that will be recorded when the fourth sensor is triggered. Can by empty string when camera isn't specified.
- is_sd_card_mounted boolean
SD-card mounting status. Motion sensor can be configured if SD-card is mounted.
{
"enable": false,
"recording_time": 10,
"work_time_from": "22:00",
"work_time_to": "7:00",
"ip_cam_uuid_1": "",
"ip_cam_uuid_2": "f81d4fae-7dec-11d0-a765-00a0c91e6bf6",
"ip_cam_uuid_3": "f81d4fae-7dec-11d0-a765-00a0c91e6bf6",
"ip_cam_uuid_4": "f81d4fae-7dec-11d0-a765-00a0c91e6bf6",
"is_sd_card_mounted": false
}
{
"enable": false,
"recording_time": 10,
"work_time_from": "22:00",
"work_time_to": "7:00",
"ip_cam_uuid_1": "",
"ip_cam_uuid_2": "f81d4fae-7dec-11d0-a765-00a0c91e6bf6",
"ip_cam_uuid_3": "f81d4fae-7dec-11d0-a765-00a0c91e6bf6",
"ip_cam_uuid_4": "f81d4fae-7dec-11d0-a765-00a0c91e6bf6",
"is_sd_card_mounted": false
}
Unauthorized request. Log In
- application/json
- Schema
- Example (from schema)
- Log In
Schema
- error string
{
"error": "Log In"
}
{
"error": "Log In"
}