English
English
简体中文
Contact Us
Register
Log In
Language
English
English
简体中文
Contact Us
Log In
Register
Go to main website
App Develop

App Development

Tuya provides multiple mobile app development methods such as no-code or IoT App SDK development to maximize the monetization of IoT apps.

Documentation

layoutIndex

Standard Status Set

Last Updated on : 2020-10-23 02:42:43download

This topic describes the standard status set of thermostats (wk).

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 Data type
switch Switch Boolean {}
mode Working mode Enum {“range”:[“cold”,“hot”,“wind”,“comfortable”,“energy”,“auto”,“holiday”,“eco”,“manual”,
“sleep”,“dry”,“program”,“floor_heat”,“auxiliary_heat”]}
eco ECO mode Boolean {}
anion Anion Boolean {}
light Light Boolean {}
sound Sound Boolean {}
factory_reset Restore to factory defaults Boolean {}
window_check Window detection Boolean {}
sleep Sleep function Boolean {}
frost Anti-frost function Boolean {}
valve_check Valve inspection Boolean {}
switch_vertical Vertical swing flap switch Boolean {}
switch_horizontal Horizontal swing flap switch Boolean {}
fan_horizontal Horizontal swing flap angle Enum {“range”:[“30”,“90”]}
fan_vertical Vertical swing flap angle Enum {“range”:[“30”,“90”]}
temp_set Target temperature in °C Integer {“unit”:“℃”,“min”:5,“max”:40,“scale”:0,“step”:1}
upper_temp Maximum temperature in °C Integer {“unit”:“℃”,“min”:20,“max”:40,“scale”:0,“step”:1}
lower_temp Minimum temperature Integer {“unit”:“℃”,“min”:0,“max”:20,“scale”:0,“step”:1}
temp_set_f Target temperature in °F Integer {“unit”:“℉”,“min”:32,“max”:104,“scale”:0,“step”:1}
upper_temp_f Maximum temperature in °F Integer {“unit”:“℉”,“min”:70,“max”:104,“scale”:0,“step”:1}
lower_temp_f Minimum temperature in °F Integer {“unit”:“℉”,“min”:32,“max”:70,“scale”:0,“step”:1}
capacity_set Power setting Enum {“range”:[“2000W”,“3000W”,“5000W”]}
temp_correction Temperature calibration Integer {“min”:-9,“max”:9,“scale”:0,“step”:1}
level Level Enum {“range”:[“low”,“middle”,“high”,“auto”,“closed”]}
work_days Working days Enum {“range”:[“5_2”,“6_1”,“7”]}
holiday_temp_set Temperature setting in °C in holiday mode Integer {“unit”:“℃”,“min”:0,“max”:40,“scale”:0,“step”:1}
holiday_temp_set_f Temperature setting in °F in holiday mode Integer {“unit”:“℉”,“min”:32,“max”:104,“scale”:0,“step”:1}
holiday_days_set Number of days in holiday mode Integer {“unit”:“day”,“min”:0,“max”:99,“scale”:0,“step”:1}
holiday_set Time setting in holiday mode String {“maxlen”: 255}
child_lock Child lock Boolean {}
countdown Countdown Enum {“range”:[“cancel”,“1h”,“2h”,“3h”,“4h”,“5h”,“6h”,“7h”,“8h”,“9h”,“10h”,“11h”,“12h”,“13h”,“14h”,“15h”,“16h”,“17h”,“18h”,“19h”,“20h”,“21h”,“22h”,“23h”,“24h”]}
sensor_choose Sensor selection Enum {“range”:[“in”,“out”]}
backlight Backlight brightness Integer {“unit”:“%”,“min”:0,“max”:100,“scale”:0,“step”:1}
backlight_enum Quick setting of backlight brightness Enum {“range”:[“closed”,“half_bright”,“full_bright”]}
temp_unit_convert Temperature unit switching Enum {“range”:[“c”,“f”]}
c_f *Temperature unit switching Enum {“range”:[“C”,“F”]}

Support reporting instructions to the cloud only

Code Name Data type Data type
work_state Working status Enum {“range”:[“cold”,“hot”,“wind”,“comfortable”,“energy”,“auto”,“holiday”,“eco”,“manual”,“sleep”,“dry”,“program”,“floor_heat”,“auxiliary_heat”]}
work_power Actual power Integer {“unit”:“W”,“min”:0,“max”:5000,“scale”:0,“step”:1}
temp_current Current temperature in °C Integer {“unit”:“℃”,“min”:0,“max”:50,“scale”:0,“step”:1}
window_state Window status Enum {“range”:[“close”,“open”]}
temp_current_f Current temperature in °F Integer {“unit”:“℉”,“min”:-4,“max”:122,“scale”:0,“step”:1}
valve_state Valve status Enum {“range”:[“open”,“close”]}
countdown_left Remaining time of the countdown in minutes Integer {“unit”:“min”,“min”:0,“max”:1440,“scale”:0,“step”:1}
battery_percentage Battery capacity Integer {“unit”:“%”,“min”:0,“max”:100,“scale”:0,“step”:1}
humidity Humidity Integer {“unit”:“%”,“min”:0,“max”:100,“scale”:0,“step”:1}