English
English
简体中文
Contact Us
Register
Log In

Tuya IoT Development Platform

layoutIndex

Standard Status Set

Last Updated on : 2022-01-17 06:09:40download

This topic describes the standard status set of curtains (cl).

Status to be sent and reported

code Name Data type Value constraint Description
control Control Enum {“range”:[“open”, “stop”, “close”, “continue”]} None
percent_control Percentage of maximum torque of the motor (unit: %) Integer {“unit”:“%”, “min”:0,“max”:100,“scale”:0,“step”:1} None
mode Working mode Enum {“range”:[“morning”, “night”]} None
auto_power Automatical start Boolean {} None
countdown_set Countdown (new version) Enum {“range”:[“cancel”, “1h”, “2h”, “3h”, “4h”]} None
control_back_mode Reverse operation mode Enum {“range”:[“forward”, “back”]} None
position Curtain position String {“unit”:“%”, “min”:0,“max”:100,“scale”:0,“step”:5} Legacy versions only
opposite Reverse direction setting Boolean {} Legacy versions only
mach_operate Switch Enum {“range”:[“ZZ”, “FZ”, “STOP”]} Legacy versions only
countdown Timer Enum {“range”:[“cancel”, “1”, “2”, “3”, “4”, “5”, “6”]} Legacy versions only
control_back Reverse operation Boolean {} Legacy versions only

Status only to be reported

code Name Data type Value constraint
percent_state Percentage of maximum torque of the motor (unit: %) Integer {“unit”:“%”, “min”:0,“max”:100,“scale”:0,“step”:1}
work_state Working status Enum {“range”:[“opening”, “closing”]}
countdown_left Remaining time of countdown Integer {“unit”:“s”, “min”:0,“max”:86400,“scale”:0,“step”:1}
time_total Total time of opening and closing once Integer {“unit”:“ms”, “min”:0,“max”:120000,“scale”:0,“step”:1}
situation_set Position status Enum {“range”:[“fully_open”, “fully_close”]}