English
English
简体中文
Contact Us
Register
Log In

Tuya IoT Development Platform

layoutIndex

Standard Status Set

Last Updated on : 2022-01-17 06:42:46download

This topic describes the standard status set of fans (fs).

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 Fan switch Boolean {}
mode Mode Enum {“range”:[“nature”,“sleep”,“fresh”,“smart”]}
fan_speed_percent Stepless speed Integer {“min”:1,“max”:100,“scale”:0,“step”:1}
switch_vertical Vertical swing flap switch Boolean {}
switch_horizontal Horizontal swing flap switch Boolean {}
fan_vertical Vertical swing flap angle Enum {“range”:[“30”,“60”,“90”]}
fan_horizontal Horizontal swing flap angle Enum {“range”:[“30”,“60”,“90”]}
fan_direction Fan direction Enum {“range”:[“forward”,“reverse”]}
anion Anion Boolean {}
humidifier Humidification Boolean {}
oxygen Oxygen bar Boolean {}
fan_cool Cool wind Boolean {}
fan_beep Sound Boolean {}
child_lock Child lock switch Boolean {}
light Light switch Boolean {}
bright_value Brightness value Integer {“min”:10,“max”:1000,“scale”:0,“step”:1}
temp_value Temperature value Integer {“min”:0,“max”:1000,“scale”:0,“step”:1}
work_mode Light mode Enum {“range”:[“white”,“colour”,“colourful”]}
temp Temperature setting Integer {“unit”:“℃”,“min”:0,“max”:50,“scale”:0,“step”:1}
*colour_data Colored light value Json {}
*fan_speed Air speed Enum {“range”:[“1”,“2”,“3”,“4”]}
*countdown Countdown Enum {“range”:[“0”,“1”,“2”,“3”,“4”,“5”,“6”]}
countdown_set Countdown setting Enum {“range”:[“cancel”,“1h”,“2h”,“3h”,“4h”,“5h”,“6h”]}

Support reporting instructions to the cloud only

Code Name Data type Value constraint
temp_current Current temperature Integer {“unit”:“℃”,“min”:0,“max”:50,“scale”:0,“step”:1}
countdown_left Remaining time of the countdown in minutes Integer {“unit”:“min”,“min”:0,“max”:360,“scale”:0,“step”:1}