Can you share the code for scenes via start_cf method?

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

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?

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"]}

Hi,

did you change the sunrise command for ceiling within the app? If I use your provided code, I have two light flashes, one at the begin and the last tick is also a quite wide step.
If I start the sunrise mode via app it is much, much smoother.

that’s exactly we used in app.

I found a page on Github with all the scene codes from the Yeelight app
Just google “yeelight scenes github”