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-22 09:42:36download

This topic describes the standard status set of heaters (qn).

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

Code Name Data type Value constraint Description
switch Switch Boolean {} None
temp_set Temperature setting in °C Integer {“unit”:“°C”,“min”:0,“max”:50,“scale”:0,“step”:1} Set the temperature in °C
mode Mode Enum {“range”:[“smart”,“auto”]} Set the mode of the heater
level Level Enum {“range”:[“1”,“2”,“3”]} Set the temperature level
mode_eco ECO mode Boolean {} None
lock Child lock Boolean {} None
shake Oscillating Boolean {} None
anion Anion Boolean {} None
light Light Boolean {} None
countdown Countdown Enum {“range”:[“cancel”,“1”,“2”,“3”,“4”,“5”,“6”]} Set the countdown time range. Legacy versions only.
countdown_set Countdown Enum {“range”:[“cancel”,“1h”,“2h”,“3h”,“4h”,“5h”,“6h”]} Set countdown time in hours
c_f Temperature unit switching Enum {“range”:[“C”,“F”]} Legacy version
temp_unit_convert Temperature unit switching setting Enum {“range”:[“c”,“f”]} None
temp_set_f Temperature setting in °F Integer {“unit”:“℉”,“min”:32,“max”:104,“scale”:0,“step”:1} Set the temperature in °F

Support reporting instructions to the cloud only

Code Name Data type Value constraint Description
temp_current Current temperature in °C Integer {“unit”:“°C”,“min”:-20,“max”:50,“scale”:0,“step”:1} Current temperature in °C
countdown_left Remaining time of countdown Integer {“unit”:“s”,“min”:0,“max”:86400,“scale”:0,“step”:1} Remaining time of countdown in seconds
work_state Working status Enum {“range”:[“heating”,“warming”]} None
work_power Actual power Enum {“unit”:“w”,“min”:0,“max”:5000,“scale”:1,“step”:1} None
temp_current_f Current temperature in °F Integer {“unit”:“℉”,“min”:-4,“max”:122,“scale”:0,“step”:1} Current temperature in °F