control.outlet.timerFinished(定时任务结束)
control.outlet.timerFinished:定时任务结束
control.outlet.timerFinished · 设备级 · 消息查询权限 Alarm
功能详情
timerSet 本地定时执行完成时上报。可配合 timerGet 查询。见 接收设备消息 · 事件目录 · 公共负载。
上报字段说明
chn/order 与 timerSet / timerGet 任务编号对应关系因机型而异。
| 参数名 | 说明 | 类型 | 必填 | 取值 |
|---|---|---|---|---|
chn | 通道/路号 | int | 否 | 0~255 |
order | 定时任务序号 | int | 否 | 1~255 |
action | 定时结束后的通断动作 | int | 否 | 0 关;1 开 |
样例
{
"msgType": "control.outlet.timerFinished",
"deviceId": "TESTIPC000012345",
"productId": "56WGTET2",
"outputData": {
"chn": 0,
"order": 1,
"action": 0
},
"time": 1673406989,
"localTime": "20230111T111629",
"alarmId": "116257862023505xxxx"
}
最小权限
管理员操作自己绑定的设备不需要权限。操作被分享设备需要报警消息权限。子用户绑定不需要。子账号需要 Alarm。列表/检索按条过滤无权事件。插座与通断。
