温湿度-传感器(wsdcg) 标准状态集

更新时间:2022-01-13 06:08:03下载pdf

支持下发和上报的状态

Code
名称
取值类型
取值说明
switch 开关 Boolean {}
sampling_temperature 温度采样时间设置 Integer {“unit”:“s”,“min”:0,“max”:3600,“scale”:0,“step”:1}
sampling_humidity 湿度采样时间设置 Integer {“unit”:“s”,“min”:0,“max”:3600,“scale”:0,“step”:1}
temp_unit_convert 温标切换 Enum {“range”:[“c”,“f”]}
maxtemp_set 温度上限设置 Integer {“unit”:“℃”,“min”:-400,“max”:2000,“scale”:1,“step”:1}
minitemp_set 温度下限设置 Integer {“unit”:“℃”,“min”:-400,“max”:2000,“scale”:1,“step”:1}
maxhum_set 湿度上限设置 Integer {“unit”:“%”,“min”:0,“max”:100,“scale”:0,“step”:1}
minihum_set 湿度下限设置 Integer {“unit”:“%”,“min”:0,“max”:100,“scale”:0,“step”:1}
hum_periodic_report 湿度周期上报 Integer {“unit”:“min”,“min”:1,“max”:60,“scale”:0,“step”:1}
temp_set 温度设置 Integer {“unit”:“℃”,“min”:50,“max”:350,“scale”:1,“step”:5}
temp_periodic_report 温度周期上报 Integer {“unit”:“min”,“min”:1,“max”:60,“scale”:0,“step”:1}
humidity_sampling 湿度采样 Integer {“unit”:“s”,“min”:0,“max”:3600,“scale”:0,“step”:1}
hum_sensitivity 湿度灵敏度 Integer {“unit”:“%”,“min”:3,“max”:10,“scale”:0,“step”:1}
temp_sampling 温度采样 Integer {“unit”:“s”,“min”:0,“max”:3600,“scale”:0,“step”:1}
temp_sensitivity 温度灵敏度 Integer {“unit”:“℃”,“min”:3,“max”:10,“scale”:1,“step”:1}

仅支持上报指令的状态

Code 名称 数据类型 取值约束 说明
va_temperature 当前温度值 Integer {“unit”:“”,“min”:0,“max”:1000,“scale”:1,“step”:1}
va_humidity 当前湿度值 Integer {“unit”:“”,“min”:0,“max”:1000,“scale”:1,“step”:1}
temper_alarm 防拆报警 Boolean {}
battery_percentage 电池电量百分比 Integer {“unit”:“%”,“min”:0,“max”:100,“scale”:0,“step”:1}
battery_value 电池电量值 Integer {“unit”:“”,“min”:0,“max”:30000,“scale”:0,“step”:1}
battery_state 电池电量状态 Enum {“range”:[“low”,“middle”,“high”]}
charge_state 充电状态 Boolean {}
temp_alarm 温度报警 Enum {“range”:[“loweralarm”,“upperalarm”,“cancel”]}
hum_alarm 湿度报警 Enum {“range”:[“loweralarm”,“upperalarm”,“cancel”]}
bright_value 亮度值 Integer {“unit”:“lux”,“min”:0,“max”:1000,“scale”:0,“step”:1}
va_battery 电池电量 Integer {“unit”:“”,“min”:0,“max”:10000,“scale”:0,“step”:1} 部分历史版本支持