Standard Status Set

Last Updated on : 2022-01-13 06:08:03download

This topic describes the standard status set of temperature and humidity sensors (wsdcg).

Status to be sent and reported

Code
Name
Data type
Value
switch Switch Boolean {}
sampling_temperature Temperature sampling time setting Integer {“unit”:“s”,“min”:0,“max”:3600,“scale”:0,“step”:1}
sampling_humidity Humidity sampling time setting Integer {“unit”:“s”,“min”:0,“max”:3600,“scale”:0,“step”:1}
temp_unit_convert Temperature unit conversion Enum {“range”:[“c”,“f”]}
maxtemp_set Maximum temperature setting Integer {“unit”:“℃”,“min”:-400,“max”:2000,“scale”:1,“step”:1}
minitemp_set Minimum temperature setting Integer {“unit”:“℃”,“min”:-400,“max”:2000,“scale”:1,“step”:1}
maxhum_set Maximum humidity setting Integer {“unit”:“%”,“min”:0,“max”:100,“scale”:0,“step”:1}
minihum_set Minimum humidity setting Integer {“unit”:“%”,“min”:0,“max”:100,“scale”:0,“step”:1}
hum_periodic_report Humidity cycle report Integer {“unit”:“min”,“min”:1,“max”:60,“scale”:0,“step”:1}
temp_set Temperature setting Integer {“unit”:“℃”,“min”:50,“max”:350,“scale”:1,“step”:5}
temp_periodic_report Temperature cycle report Integer {“unit”:“min”,“min”:1,“max”:60,“scale”:0,“step”:1}
humidity_sampling Humidity sampling Integer {“unit”:“s”,“min”:0,“max”:3600,“scale”:0,“step”:1}
hum_sensitivity Humidity sensitivity Integer {“unit”:“%”,“min”:3,“max”:10,“scale”:0,“step”:1}
temp_sampling Temperature sampling Integer {“unit”:“s”,“min”:0,“max”:3600,“scale”:0,“step”:1}
temp_sensitivity Temperature sensitivity Integer {“unit”:“℃”,“min”:3,“max”:10,“scale”:1,“step”:1}

Status only to be reported

Code Name Data type Value constraint Description
va_temperature Current temperature value Integer {“unit”:“”,“min”:0,“max”:1000,“scale”:1,“step”:1} None
va_humidity Current humidity value Integer {“unit”:“”,“min”:0,“max”:1000,“scale”:1,“step”:1} None
temper_alarm Tamper alarm Boolean {} None
battery_percentage Battery level percentage Integer {“unit”:“%”,“min”:0,“max”:100,“scale”:0,“step”:1} None
battery_value Battery level value Integer {“unit”:“”,“min”:0,“max”:30000,“scale”:0,“step”:1} None
battery_state Battery level status Enum {“range”:[“low”,“middle”,“high”]} None
charge_state Charging status Boolean {} None
temp_alarm Temperature alert Enum {“range”:[“loweralarm”,“upperalarm”,“cancel”]} None
hum_alarm Humidity alert Enum {“range”:[“loweralarm”,“upperalarm”,“cancel”]} None
bright_value Brightness value Integer {“unit”:“lux”,“min”:0,“max”:1000,“scale”:0,“step”:1} None
va_battery Battery level Integer {“unit”:“”,“min”:0,“max”:10000,“scale”:0,“step”:1} Some legacy versions only