获取采集设备的历史数据
根据网关编号与开关id进行设备控制
根据网关编号获取网关控制设备状态(回路)
根据网关编号获取网关的最新采集数据
curl --location -g --request GET 'https://console.sciento.cn/wopen/v1//device/lora/node?eui=c6d8bf020000080d' \ --header 'Authorization: bearer 0b6c9ccf-392e-4b42-92db-39cb454aca8a' \ --header 'Content-Type: application/x-www-form-urlencoded'
{ "type": true, "code": 200, "data": { "concentratorId": 254, //lora 节点 数据库自增id "tenantId": 0, "areaId": 10001, "landId": 10169, "period": null, //lora 节点忽略该值 "baud": null, //lora 节点忽略该值 "autoAdd": null, //lora 节点忽略该值 "name": "control", // 设备名称 "eui": "c6d8bf020000073e", //设备编号 "deviceType": "lorawan_node", // 设备类型 "latlng": null, //经纬度 "online": 1, // 是否在线 "status": 20, //lora 节点忽略该值 "fileUrl": "http://192.168.50.11:9228/st-public/0/b1bde832d77841bfa83e1c091acfe60e@黄昏.jpg", //文件图片展示 "protocol": "lorawan", //使用协议 "remark": null, //Lora 描述 "iccid": null, //物联网卡号 "appKey": "90904F027E7C2EB73C58473A08D0C348", //Lora节点 秘钥 "nwkKey": "90904F027E7C2EB73C58473A08D0C348", //Lora 节点秘钥 "equipmentType": 0 # // 节点类型 0=采集和控制 1=仅采集 2=仅控制 } }