Standard Status Set

Last Updated on : 2021-08-10 03:09:10download

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

Status to be sent and reported

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 {}

Status only to be reported

Code
Name
Data type
Value
battery_percentage Battery capacity Integer {“unit”:“%”,“min”:0,“max”:100,“scale”:1,“step”:1}