- 接口说明
- 获 取账号信息
- 气象站
- 网关
- lora节点
- 摄像头
- 虫情灯Y型&Z型
- 虫情灯B型
- 土壤墒情
- 孢子仪
- 变频器
- 管式墒情
- 杀虫灯
- 水质监测
- 施肥机
- 性诱测报灯
获取气象站设备信息
GET
https://console.sciento.cn/wopen/v1/{tenantId}/device/weather/eui
请求参数
Path 参数
tenantId
string
申请应用的租户id
示例值:
{{tenantId}}
Query 参数
eui
string
设备号
示例值:
962289053206336
Header 参数
Authorization
string
必需
示例值:
{{token}}
Content-Type
string
必需
示例值:
application/x-www-form-urlencoded
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location -g --request GET 'https://console.sciento.cn/wopen/v1//device/weather/eui?eui=962289053206336' \
--header 'Authorization: ' \
--header 'Content-Type: application/x-www-form-urlencoded'
返回响应
🟢200成功
application/json
Body
object {0}
示例
{
"type": true,
"code": 200,
"data": {
"concentratorId": 196, //气象站id
"areaId": 10001,
"landId": 10001,
"period": 30,
"baud": 9600, //波特率
"autoAdd": 1,
"name": "867435053803540", //气象站名称
"eui": "867435053803540", //气象站设备编号
"deviceType": "gateway_weather", //气象站类型
"latlng": "22.958331574401967,113.34588155150416", //气象站经纬度
"online": 0, //是否在线
"status": 0,
"protocol": "simple", // 协议
"remark": "ccc", //描述
"iccid": null
}
}
修改于 2023-09-27 08:56:54