detection.intrusion.detected(区域入侵检测报警)
detection.intrusion.detected:区域入侵检测报警
detection.intrusion.detected · 通道级 · 消息查询权限 Alarm
功能详情
区域入侵触发时上报。上报报文里 msgType 等于 detection.intrusion.detected。收这条推送需要订阅 capabilityEvent。实时推送和拉取收到的就是本页这条上报报文,见 接收告警。
上报字段说明
outputData 内字段。平台字段见 接收告警。
| 参数名 | 说明 | 类型 | 必填 | 取值 |
|---|---|---|---|---|
region | 触发区域。与配置侧区域坐标对应的文本化坐标串(非 区域配置 里的数组 JSON)。 | text | 否 | 字符串 |
unlockType | 开锁方式。 | text | 否 | 字符串 |
keyId | 钥匙标识。 | text | 否 | 字符串 |
keyName | 钥匙名称。 | text | 否 | 字符串 |
location | 地理位置。 | text | 否 | 字符串 |
phone | 手机号。 | text | 否 | 字符串 |
样例
{
"msgType": "detection.intrusion.detected",
"deviceId": "TESTIPC000012345",
"productId": "56WGTET2",
"channelId": "0",
"outputData": {
"region": "0,0,8192,8192",
"unlockType": "example",
"keyId": "example",
"keyName": "example",
"location": "example",
"phone": "example"
},
"time": 1673406989,
"localTime": "20230111T111629",
"alarmId": "116257862023505xxxx",
"token": "f2dc8c09eeae4b5bad6abf522c93d825",
"thumbUrl": "https://example.imou.com/pic/thumb.jpg",
"picUrlArray": [
"https://example.imou.com/pic/frame1.jpg",
"https://example.imou.com/pic/frame2.jpg"
]
}
最小权限
管理员操作自己绑定的设备不需要权限。操作被分享设备需要报警消息权限。子用户绑定不需要。子账号需要 Alarm。见 权限码。list / search 按条过滤无权事件。区域入侵。