detection.tamper.detected(防拆报警)
detection.tamper.detected:防拆报警
detection.tamper.detected · 设备级 · 消息查询权限 Alarm
功能详情
标准推送以 capabilityEvent 与本页 msgType 为准;消息 list/search 亦可能命中历史 msg_type,以 device.capability.list 与消息查询为准。 事件字段见 事件专页。
防拆触发时上报。compose 事件:temper_alarm/5100、e_sensorAbnormal/32300 等多路 ident 合并为同一 msgType detection.tamper.detected。收推送须订阅 capabilityEvent。见 接收设备消息、setMessageCallback、事件总表、概述与公共负载。
上报字段说明
outputData 内字段。平台字段见 公共负载。
compose 事件:历史 ident/标准多 ident 合并为同一 msgType;temper_alarm 等路径常为 {},门铃类 SKU 可能带可选字段:
| 参数名 | 说明 | 类型 |
|---|---|---|
relatedRingBell | 是否关联响铃 | int 0/1 |
ringIndex | 响铃索引 | int 0~9999 |
样例
{
"msgType": "detection.tamper.detected",
"deviceId": "TESTIPC000012345",
"productId": "56WGTET2",
"outputData": {},
"time": 1673406989,
"localTime": "20230111T111629",
"alarmId": "116257862023505xxxx"
}
最小权限
管理员操作自己绑定的设备不需要权限。操作被分享设备需要报警消息权限。子用户绑定不需要。子账号需要 Alarm。列表/检索按条过滤无权事件。
