English
English
简体中文
Contact Us
Register
Log In

Tuya IoT Development Platform

layoutIndex

Standard Status Set

Last Updated on : 2022-01-13 06:10:23download

This topic describes the standard status set of PM2.5 detectors (pm25).

Status only to be reported

Code
Name
Type
Description
pm25_value PM2.5 detection value Integer {“unit”:“”,“min”:0,“max”:999,“scale”:0,“step”:1}
battery_
percentage
Battery capacity percentage Integer {“unit”:“%”,“min”:0,“max”:100,“scale”:0,“step”:1}
battery_value Battery capacity value Integer {“unit”:“”,“min”:0,“max”:30000,“scale”:0,“step”:1}
battery_state Battery capacity status Enum {“range”:[“low”,“middle”,“high”]}
preheat Preheating or not Boolean {}
temper_alarm Tamper alarm Boolean {}
lifecycle Service life Boolean {}
checking_result Device self-check result Enum {“range”:[“checking”,“check_success”,“check_failure”,“others”]}
pm25_state PM2.5 detection status value Enum {“range”:[“alarm”,“normal”]}
ch2o_value Formaldehyde detection value Integer {“unit”:“ppm”,“min”:0,“max”:1000,“scale”:1,“step”:1}
voc_value VOC detection value Integer {“unit”:“ppm”,“min”:0,“max”:999,“scale”:2,“step”:1}
temp_current Current temperature in °C Integer {“unit”:“℃”,“min”:-400,“max”:2000,“scale”:1,“step”:1}
co2_value CO2 detection value Integer {“unit”:“ppm”,“min”:0,“max”:1000,“scale”:1,“step”:1}
humidity_value Humidity value Integer {“unit”:“%”,“min”:0,“max”:100,“scale”:0,“step”:1}
pm1 PM1.0 detection value Integer {“min”:0,“max”:999,“scale”:0,“step”:1}
pm10 PM10 detection value Integer {“min”:0,“max”:999,“scale”:0,“step”:1}

Status to be sent and reported

Code
Name
Type
Description
self_checking Device self-check Boolean {}
alarm_time Alarm duration Integer {“unit”:“s”,“min”:1,“max”:60,“scale”:0,“step”:1}
alarm_ringtone Alarm ringtone Enum {“range”:[“1”,“2”,“3”,“4”,“5”]}
alarm_volume Alarm volume Enum {“range”:[“low”,“middle”,“high”,“mute”]}
alarm_switch Alarm switch Boolean {}
alarm_bright Brightness adjustment Integer {“unit”:“”,“min”:0,“max”:100,“scale”:0,“step”:1}
muffling Mute Boolean {}