文档
测试

物候硬件信息记录接口

POST
http://wxodoo.innotechfarming.cn/monitor_info

接口描述

硬件监控数据

请求头

参数名
类型
描述
必填
content-type
string
application/x-www-form-urlencoded
必填

请求参数

参数名
类型
描述
必填
serial_num
int
硬件编号
必填
user_id
int
系统用户id
必填
company_id
int
公司系统id
必填
token
string
token
必填

响应参数

参数名
类型
描述
必填
monitor_info
json list
监控数据
必填
temperature
float
空气温度
必填
humidity
float
空气湿度
必填
soil_temperature
float
土壤温度
必填
soil_humidity
float
土壤湿度
必填
lighting
float
光照度
必填
temperature_sum
float
积温
必填
pressure
float
大气压
必填
co2
float
二氧化碳
必填
wind_speed
float
风速
必填
wind_direction
float
风向
必填
flag
Boolen
接口访问状态
必填
msg
string
接口访问日志
必填

说明 / 示例

返回monitor_info json: [ { 'temperature': xx, 'humidity': xx, 'soil_temperature': xx, 'soil_humidity': xx, 'lighting': xx, 'temperature_sum': xx }, { 'temperature': xx, 'humidity': xx, 'soil_temperature': xx, 'soil_humidity': xx, 'lighting': xx, 'temperature_sum': xx } ... ]