English
English
简体中文
Contact Us
Register
Log In
layoutIndex

Standard Instruction Set

Last Updated on : 2022-01-12 07:31:48download

This topic describes the standard instruction set of strip lights (dd).

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 {}
rhythm_mode Circadian rhythm Raw {}
sleep_mode Sleep Raw {}
wakeup_mode Wake-up Raw {}