开始使用
  • English
  • 简体中文
前往官网
开始使用
  • English
  • 简体中文
前往官网
  • 开始使用
  • 核心概念
  • 开发指南
  • 设备能力与事件参考
    • 按设备类型浏览
    • 设备能力
    • 事件总览
      • 事件总表
      • 设备状态
      • 绑定与授权
      • 侦测告警
      • 门铃与门锁
      • 服务
      • 概述与公共负载
      • 事件消息类型定义
      • 事件消息格式定义
    • 权限码
    • 错误码
    • 告警与能力消息
    • 常见问题
    • 历史能力与推送类型
  • API 参考
  • SDK 与工具
  • 方案
  • 平台与支持
本页目录
配置变化上报

事件总表

事件总表

收能力事件推送需要订阅 capabilityEvent(setMessageCallback、接收告警)。本表为唯一 eventId 总表;告警消息章 事件总表(镜像) 为同一 msgType 集合。名称链到 事件目录 与 events/pages/ 下各篇;完整推送样例(含 deviceId/outputData 外壳)以对应能力域 event 叶为准。历史 alarm / deviceStatus 字符串 msgType 见 事件消息类型定义,报文见 事件消息格式定义。检索走 按类型检索告警,单条走 查询单条告警。

事件ID主要字段查询接收
算法包下载结果algorithm.package.downloadResulttype、dwnResult、dwnResult.ret、dwnResult.url、url查询接收
算法包升级结果algorithm.package.upgradeResultupgradeResult、type、upgradeResult.url、upgradeResult.ret、url查询接收
呼入call.session.calledmodeType、index、callId、type、desc、shareLinkTalk查询接收
已接听call.session.answeredmodeType、index、callId、type、desc、forwardSeconds、backwardSeconds查询接收
已挂断call.session.hungUpmodeType、index、callId、type、desc查询接收
已拒绝call.session.refusedmodeType、index、callId、type、desc、forwardSeconds、backwardSeconds查询接收
已取消call.session.cancelled无查询接收
红外学习失败control.ir.studyFailed无查询接收
倒计时失败control.outlet.countdownFailedchn、order查询接收
倒计时完成control.outlet.countdownFinishedchn、order、action查询接收
功率过载control.outlet.overload无查询接收
第二路开关事件control.outlet.switch2Switchedswitch查询接收
第三路开关事件control.outlet.switch3Switchedswitch查询接收
开关变更事件control.outlet.switchedswitch查询接收
定时任务失败control.outlet.timerFailedchn、order查询接收
定时任务结束control.outlet.timerFinishedchn、order、action查询接收
布撤防模式变化detection.arming.changedmode查询接收
关注区域检出detection.attention.detected无查询接收
特征图识别结果detection.counting.picRecognizedpics查询接收
啼哭声报警事件detection.cry.detected无查询接收
锁舌卡住detection.door.blocked无查询接收
关门告警detection.door.closed无查询接收
开门告警detection.door.opened无查询接收
门卡开锁失败detection.door.cardFailedhard_id查询接收
指纹开锁失败detection.door.fingerprintFailedhard_id查询接收
高温报警(门锁)detection.door.highTemperature无查询接收
门锁劫持报警detection.door.hijacktype、keyId查询接收
钥匙插入detection.door.keyInserted无查询接收
密码开锁失败detection.door.passwordFailedhard_id查询接收
开门事件(凭证)detection.door.unlockEventtype、keyID、result、direction查询接收
离岗检出detection.duty.detectedregion查询接收
高湿度报警detection.environment.humidityHigh无查询接收
低湿度报警detection.environment.humidityLow无查询接收
高温报警(环境)detection.environment.temperatureHigh无查询接收
低温报警detection.environment.temperatureLow无查询接收
人脸比对detection.face.detectedid、faces、snapFace、candidates、ptzInfo、isDuplicateRemove、address、passerby、passerby.uid查询接收
跌倒检出detection.fall.detectedname查询接收
门控-门关detection.gate.closed无查询接收
长时间未关门detection.gate.leftOpen无查询接收
门控-门开(配件)detection.gate.opened无查询接收
区域入侵检测报警detection.intrusion.detectedregion、unlockType、keyId、keyName、location、phone查询接收
徘徊检出detection.loitering.detectedregion查询接收
未成年检出detection.minor.detected无查询接收
AI提醒-混合出现detection.mix.detectedtype查询接收
移动检测报警detection.motion.detectedextendContext、extendContext.handleBit查询接收
视频遮挡检出detection.occlusion.detected无查询接收
违停检出detection.parking.detectedregion查询接收
智能检测到人形detection.person.detected无查询接收
宠物检出detection.pet.detected无查询接收
PIR 消警detection.pir.cleared无查询接收
PIR 检出detection.pir.detected无查询接收
车牌识别detection.plate.detectedinfos、infos.no、mainColor、subBrand、category、groupType查询接收
车辆守卫检出detection.sentry.detectedregion查询接收
警笛瞬时告警detection.siren.activated无查询接收
语音呼救(通用)detection.sos.detected无查询接收
异常音报警事件detection.sound.detectedsoundType查询接收
越线检出detection.trip.detectedregion查询接收
无人出现检出detection.unmanned.detectedregion查询接收
车辆检出detection.vehicle.detecteddhEventType、dhEventObject查询接收
低电量报警(常规)power.battery.lowtype、elePercent查询接收
满电量告警power.battery.full无查询接收
用电模式切换power.mode.changedmode、battery、electric查询接收
设备即将休眠事件power.sleep.imminent无查询接收
普通事件投递record.event.detected无查询接收
延时摄影完成事件record.timelapse.completed无查询接收
存储卡异常报警storage.local.abnormalerrorCode查询接收
存储卡拔出报警storage.local.removed无查询接收
心跳system.diagnostics.heartbeatindex查询接收
设备启动system.diagnostics.booted无查询接收
设备开始升级system.upgrade.started无查询接收
升级进度上报system.upgrade.progressReportupgrade_result查询接收
设备升级成功system.upgrade.succeeded无查询接收
设备升级失败system.upgrade.failederrCode查询接收

配置变化上报

订了 capabilityEvent 后,已在目录中的配置变化上报固定 msgType 为 device.property.report。查询仍按对应配置项的 propertyId;不要拿 device.property.report 去 list。

说明ID对应配置查询接收
配置变化上报device.property.report如 隐私模式、探照灯、白光、警笛状态、电量信息查询接收

绑定、分享、在离线等不在本表的类型,见 消息推送。

control.lock.invoke(门锁控制)
设备状态