开发者平台 / 视频管理系统(VMS)/API功能接口定义/设备消息透传
4.13.5 报警配置
4.13.5.1 获取区域入侵报警方式
{ "method": "get", "intrusion_detection": { "name": "notify_list" } } Response: { "error_code": 0, "intrusion_detection": { "notify_list": { "msg_push_enabled": "on", "sound_alarm_enabled": "on", "light_alarm_enabled": "on", } } }
请求参数说明:
参数 | 类型 | 说明 |
---|---|---|
无 | - | - |
应答参数说明:
参数 | 类型 | 说明 |
---|---|---|
msg_push_enabled | 字符串 |
推送消息到云,是否支持该功能由消息推送能力集smart_msg_push_capability和联动方式能力集linkage_capability决定。 取值范围: on:启用 off:禁用 |
sound_alarm_enabled | 字符串 |
声音报警联动开关 取值范围: on:启用 off:禁用 |
light_alarm_enabled | 字符串 | 光报警联动开关 取值范围: on:启用 off:禁用 |
4.13.5.2 配置区域入侵报警方式
Request: { "method": "set", "intrusion_detection": { "notify_list": { "msg_push_enabled": "on", "sound_alarm_enabled": "on", "light_alarm_enabled": "on", } } } Response: { "error_code": 0 }
请求参数说明:
参数 | 类型 | 说明 |
---|---|---|
msg_push_enabled | 字符串 |
推送消息到云,是否支持该功能由消息推送能力集smart_msg_push_capability和联动方式能力集linkage_capability决定。 取值范围: on:启用 off:禁用 |
sound_alarm_enabled | 字符串 |
声音报警联动开关 取值范围: on:启用 off:禁用 |
light_alarm_enabled | 字符串 | 光报警联动开关 取值范围: on:启用 off:禁用 |
应答参数说明:
参数 | 类型 | 说明 |
---|---|---|
无 | - | - |