detection.siren.activated(警笛瞬时告警)
detection.siren.activated:警笛瞬时告警
detection.siren.activated · 通道级 · 消息查询权限 Alarm
功能详情
警笛瞬时告警时上报。上报报文里 msgType 等于 detection.siren.activated。在 callbackFlag 中订阅 capabilityEvent。见 接收设备消息、setMessageCallback、事件专页、概述与公共负载。
上报字段说明
没有额外字段。平台字段见 公共负载。
样例
{
"msgType": "detection.siren.activated",
"deviceId": "TESTIPC000012345",
"productId": "56WGTET2",
"channelId": "0",
"outputData": {},
"time": 1673406989,
"localTime": "20230111T111629",
"alarmId": "116257862023505xxxx"
}
最小权限
管理员操作自己绑定的设备不需要权限。操作被分享设备需要报警消息权限。子用户绑定不需要。子账号需要 Alarm。列表/检索按条过滤无权事件。警笛。
