更新时间:2023-07-14 03:02:24下载pdf
该 API 或 API 组已被弃用。建议您使用或者迁移到推荐的可替代 API。详情请参考 API 服务弃用声明。
提供场景自动化能力,支持以任意设备、时间或环境为条件,触发多个设备同时执行不同动作。例如,9点打开教室灯、空调设备,室内温度到达30度时,打开空调制冷。
| API名称 | 接口地址 | 
|---|---|
| 添加一键执行 | POST:/v2.0/iot-03/scenes | 
| 查询一键执行详情 | GET:/v2.0/iot-03/scenes/{scene_id} | 
| 删除一键执行 | DELETE:/v2.0/iot-03/scenes/{scene_id} | 
| 更新一键执行 | PUT:/v2.0/iot-03/scenes/{scene_id} | 
| 查询一键执行列表 | GET:/v2.0/iot-03/scenes | 
| 执行一键执行 | PUT:/v2.0/iot-03/scenes/{scene_id}/trigger | 
| API名称 | 接口地址 | 
|---|---|
| 查询自动化详情 | GET:/v2.0/iot-03/automations/{automation_id} | 
| 更新自动化 | PUT:/v2.0/iot-03/automations/{automation_id} | 
| 删除自动化 | DELETE:/v2.0/iot-03/automations/{automation_id} | 
| 添加自动化 | POST:/v2.0/iot-03/automations | 
| 停用自动化 | PUT:/v2.0/iot-03/automations/{automation_id}/disable | 
| 查询自动化列表 | GET:/v2.0/iot-03/automations | 
| 启用自动化 | PUT:/v2.0/iot-03/automations/{automation_id}/enable | 
| API名称 | 接口地址 | 
|---|---|
| 查询城市信息 | GET:/v2.0/iot-03/automations/cities/positions | 
| 查询城市列表 | GET:/v2.0/iot-03/automations/cities | 
| 查询天气码 | GET:/v2.0/iot-03/automations/weathers/codes | 
| API名称 | 接口地址 | 
|---|---|
| 查询红外设备标准指令集 | GET:/v2.0/iot-03/automations/infrared/devices/{device_id}/specifications | 
| 查询设备当前状态 | GET:/v2.0/iot-03/automations/infrared/ac/{device_id}/status | 
| API名称 | 接口地址 | 
|---|---|
| 查询设备标准指令集 | GET:/v2.0/iot-03/automations/devices/{device_id}/specifications | 
该内容对您有帮助吗?
是意见反馈该内容对您有帮助吗?
是意见反馈