Here's how I did it:
1. Set the desired light flow mode in the Yeelight app, for all your lights, especially if they don't start with the same color
2. With
https://packetsender.com/, send this command to each light @ TCP port 55443 :
Code: Select all
{"id":1,"method":"get_prop","params":["power", "bright", "ct", "rgb", "hue", "sat", "color_mode", "flowing", "delayoff", "flow_params", "music_on", "name"]}\r\n
3. Save the response in a txt file, as they will contain the currently applied settings, and extract the data, and replace below
4. For light flows, the final command to turn on/change something, for one IP, should look something like this:
{"id":3,"method":"set_scene","params":["cf",0,1,"7000,1,16755456,90,7000,1,10813184,90,7000,1,65514,90,7000,1,16711903,90"]}\r\n
5. For a white color, something like this:
{"id":11,"method":"set_scene","params":["ct",3200,90]}\r\n
6. I think you can extend the light flow values, I remember playing with more than 4 colors for one flow/light, just copy more flow values in the command, in the right format
You have to pay attention, it's not just a copy paste, you have to replace the right values in the right place, but with a little exercise, you'll find the correct formula