Standard Instruction Set

Last Updated on : 2022-01-12 07:32:53download

This topic describes the standard instruction set of solar lights (tyndj).

Code
Name
Data type
Value
switch_led Switch Boolean {}
work_mode Mode Enum {“range”:[“white”,“colour”,“scene”,“music”]}
bright_value Brightness value Integer {“min”:10,“max”:1000,“scale”:0,“step”:1}
temp_value Color temperature value Integer {“min”:0,“max”:1000,“scale”:0,“step”:1}
colour_data Colored light Json {}
scene_data Scene String {}
countdown Countdown Integer {“unit”:“s”,“min”:0,“max”:86400,“scale”:0,“step”:1}
music_data Music light String {}
control_data Dimming String {}
switch_save_energy Energy-saving switch Boolean {}