企业🤖AI智能体构建引擎,智能编排和调试,一键部署,支持私有化部署方案 广告
### 获取智能控制(0032) ~~~[api] POST:/smart/get smart_id= # 场景id(填写获取所有智能控制列表,不填获取该智能控制所出发的设备) user_id= # 用户id(smart_id 不填写则user_id,反之都不需要写) <<< success(不填smart_id) { "code": 0, "msg": "ok", "data": [ { "smart_name": "打开客厅看看打开执行", "id": 13, "controller_type": 1, "device_pro_code": null, "where": "ON", "value": "ON", "room_name": "客厅", "point_name": "看看", "point_id": 74, "device_mac": "slmckxny76h8y82o0rwx", "devices": [ { "device_pro_code": null, "room_name": "客厅", "device_action": "OFF", "point_name": "接口", "action_dec": "关闭", "device_mac": "slmckxny76h8y82o0rwx", "point_id": 76 } ] } ] } <<< success2(填smart_id) { "code": 0, "msg": "ok", "data": [ { "device_action": "ON", "device_name": "空气净化器", "room_name": "我的房间", "id": 12, "device_mac": "fda62510006f0d0", "action_dec": "打开灯" }, { "device_action": "ON", "device_name": "空气净化器", "room_name": "我的房间", "id": 12, "device_mac": "fda62510006f0d0", "action_dec": "打开1灯" } ] } <<< error { "code": 20003, "msg": "Phone Code invalid", "dec": "验证码已经过期" } ~~~