English
English
简体中文
Contact Us
Register
Log In

Tuya IoT Development Platform

layoutIndex

Standard Instruction Set

Last Updated on : 2022-01-18 03:38:33download

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

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

Code Name Data type Data type Version
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”]} Legacy version only
loop_mode Loop mode Enum {“range”:[“auto”,“indoor_loop”,“outdoor_loop”]} -
fan_speed_enum Fan speed mode Enum {“range”:[“low”,“mid”,“high”,“off”]} -