Can you share the code for scenes via start_cf method?


#1

Hi there,

I am using a home automation server and i am controlling the yeelight products via tha Lan Control protocol.

I really like the scenes you are offering within the app.
Could you please share the start_cf commands you are using for example the sunrise and sunset mode?

Kind regards
Simsal


#2

Sunrise command for color deviceļ¼š

{"did":"45452396","id":1,"method":"set_scene","params":["cf",3,1,"50,1,16731392,1,360000,2,1700,10,540000,2,2700,100"]}

Sunset command for color device:

{"did":"45452396","id":1,"method":"set_scene","params":["cf",3,2,"50,2,2700,10,180000,2,1700,5,420000,1,16731136,1"]}

#3

Thank you very much.

The commands are working on the colored bulbs.
Are these the same for the non-colored ceiling light?


#4

Sunrise command for ceiling:

{"did":"48443469","id":1,"method":"set_scene","params":["cf",2,1,"50,2,4000,1,900000,2,4000,100"]}

Sunset command for ceiling:

{"did":"48443469","id":1,"method":"set_scene","params":["cf",2,2,"50,2,4000,50,600000,2,4000,1"]}