💎一站式轻松地调用各大LLM模型接口,支持GPT4、智谱、星火、月之暗面及文生图 广告
[TOC=2] ## 检查设备是否添加 ~~~[api] post:/installers/project_device/check_device_add *integer:project_id=1#项目 id *array:sn_list=[]#设备序列号数组 <<< <<< success { "code": 0, "data": { "list": { "915001000053": { "is_add": false }, "915001000099": { "is_add": false }, "915001000003": { "is_add": true } } } } <<< explain 915001000053 // sn_list 内填写的设备序列号 is_add // 是否添加过 true => 已添加 false => 未添加 <<< error ~~~ ## 网关设备配置 >[info] 调用单个设备配置的方法,data 填下面文档对应的参数即可 [kp09c0110.md · iKECIN/project\_des - Gitee.com](https://gitee.com/iKECINCode/project_des/blob/master/kp09c0110.md) ## 获取网关可配置设备类型 ~~~[api] get:/installers/device_status/subdev_conf_support *string:sn=序列号#设备序列号可以填通用 x <<< <<< success { "code": 0, "data": { "code": 0, "info": [ { "def_nickname": "智能空开", "dev_type": 109, "dev_subtype": 0, "sn": "910000000000" }, { "def_nickname": "智能监测传感器", "dev_type": 115, "dev_subtype": 0, "sn": "915000000000" }, { "def_nickname": "智能互感线圈", "dev_type": 110, "dev_subtype": 0, "sn": "916000000000" }, { "def_nickname": "智能电表", "dev_type": 114, "dev_subtype": 0, "sn": "916110000000" }, { "def_nickname": "智能电表", "dev_type": 112, "dev_subtype": 0, "sn": "916130000000" }, { "def_nickname": "智能温控器", "dev_type": 117, "dev_subtype": 0, "sn": "749810000000" } ] } } <<< error ~~~