Contact Us
Log In

Tuya IoT Development Platform


Standard Instruction Set

Last Updated on : 2022-01-13 03:23:28download

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

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