Create custom scenes

I’ve tried everything and spent some time on the forum. It seems a very basic function, but it seems to be missing?
How can I create my own scenes or sequences of scenes?

I’d like my bulb (or in the future bulbs) to switch on at a certain time dimmed, let it get brighter over time (sunrise like scene), then remain burning for a certain period of time and finally start dimming again and eventually switch off (sunset like scene).
It seems to be impossible to create custom scenarios or combinations of existing scenarios…

Am i missing something?
Or is it indeed not (yet?) possible?

Will supports personality scene edit function in Yeelight 3.0, please stay tuned.

Are you willing and able to work with a Raspberry Pi (or similar device)? Controlling the color bulb is doable, but tough with Smart Phone interface.

For example this command emulates the red-blue flashing lights of a police vehicle. The sky is the limit, but I wouldn’t bother with smart phone or web interface.

payload={“id”:1,“method”:“set_scene”,“params”:[“cf”,0,0,“300,1,16711680,1,50,1,222,1,50,1,3355647,100,50,1,222,1,50,1,16711680,100,50,1,222,1,50,1,3355647,100,50,1,222,1”]}

WW

Hello WWBoxer

I found a python library wich allow you to write your own scripts
You can find documentation here : https://yeelight.readthedocs.io/en/stable/index.html#
You can download it here : https://gitlab.com/stavros/python-yeelight

I use it to manage my bulb from my PC and from RPI application
An example :

from yeelight import *
from time import sleep

Lever de soleil

bulb = Bulb(“xxx.xxx.xxx.xxx”)
bulb.turn_on()
sleep(1)

transitions = [
RGBTransition(255,77,0,duration=50,brightness=1),
TemperatureTransition(1700,duration=360000,brightness=10),
TemperatureTransition(2700,duration=540000,brightness=100)
]

flow = Flow(count = 3,action=Flow.actions.recover,transitions=transitions)
bulb.start_flow(flow)

Please enjoy