English
English
简体中文
Contact Us
Register
Log In

Tuya IoT Development Platform

layoutIndex

Standard Status Set

Last Updated on : 2022-01-17 06:43:21download

This topic describes the standard status set of humidifiers (jsq).

Support reporting instructions to the cloud and sending instructions to the device

Note: Only the legacy versions support the instructions marked with an asterisk (*).

Code Name Data type Value constraint
switch Master switch Boolean {}
switch_spray Spraying switch Boolean {}
mode Spraying mode (amount of fog) Enum {“range”:[“large”,“middle”,“small”,“interval”,“continuous”]}
spray_mode Spraying mode (adjustment) Enum {“range”:[“auto”,“health”,“baby”,“sleep”,“humidity”,“work”]}
level Spraying level Enum {“range”:[“level_1”,“level_2”,“level_3”,“level_4”,“level_5”,“level_6”,“level_7”,“level_8”,“level_9”,“level_10”]}
countdown_set Spraying countdown setting Enum {“range”:[“cancel”,“1h”,“2h”,“3h”,“4h”,“5h”,“6h”]}
switch_led Light switch Boolean {}
work_mode Light mode Enum {“range”:[“white”,“colour”,“colourful1”]}
colour_data_hsv HSV setting of colored light Json {}
bright_value Brightness value Integer {“unit”:“”,“min”:0,“max”:255,“scale”:0,“step”:1}
switch_sound Voice switch Boolean {}
temp_set Temperature setting Integer {“unit”:“℃”,“min”:0,“max”:50,“scale”:0,“step”:1}
temp_set_f Temperature setting in °F Integer {“unit”:“℉”,“min”:0,“max”:100,“scale”:0,“step”:1}
humidity_set Humidity setting Integer {“unit”:“%”,“min”:0,“max”:100,“scale”:0,“step”:1}
sleep Sleep function Boolean {}
temp_unit_convert Temperature unit switching setting Enum {“range”:[“c”,“f”]}
sterilization Sterilization Boolean {}
*countdown Countdown of spraying Enum {“range”:[“cancel”,“1”,“2”,“3”,“4”,“5”,“6”]}
*colour_data Colored light value Integer {“min”:0,“unit”:“”,“scale”:0,“max”:255,“step”:1}
*bright_value_v2 Brightness value Integer {“unit”:“”,“min”:0,“max”:1000,“scale”:0,“step”:1}
*c_f Temperature unit switching Enum {“range”:[“C”,“F”]}
*moodlighting Mood light Enum {“range”:[“1”,“2”,“3”,“4”,“5”]}

Support reporting instructions to the cloud only

Code Name Data type Value constraint
countdown_left Remaining time of spraying countdown in minutes Integer {“unit”:“min”,“min”:0,“max”:360,“scale”:0,“step”:1}
temp_current Current temperature Integer {“unit”:“℃”,“min”:0,“max”:50,“scale”:0,“step”:1}
temp_current_f Current temperature in °F Integer {“unit”:“℉”,“min”:0,“max”:100,“scale”:0,“step”:1}
humidity_current Current humidity Integer {“unit”:“%”,“min”:0,“max”:100,“scale”:0,“step”:1}
level_current Current water level Integer {“unit”:“level”,“min”:1,“max”:5,“scale”:0,“step”:1}