[APP] Yeelights LAN

Not sure, I don’t own that light and don’t really maintain the app anymore. But just to make sure, you are using the Yeelight LAN app from me and not the cloud based one from Athom?

Actually when I change the color, it turn on the light - I think it was always like that.
Also you can always test behavior using official Yeelight android app - I can confirm it’s the same also in official one.

Hello everyone, sorry for repeating my question, but I didn’t get a reply before. Is there a way to trigger dynamic scenes for lightstrips like in official yeelight app? Maybe through an advanced command? Trying to match my living room color flow, but yeelight strip can only be set to a static color using homey.

I did already answer your question.

Thank you so much for the file.
I’m not really familiar with coding, could you please give me a quick example of what such command would have to look like? I will play with the values and etc myself. I would really appreciate it.

This is not coding. Try it yourself first.

I’ve tried sending example request as shown in the file you provided: {“id”:1,“method”:“start_cf”,“params”:[ 4, 2, “1000, 2, 2700, 100, 500, 1,
255, 10, 5000, 7, 0,0, 500, 2, 5000, 1”]

As well as this:
{“id”:1, “method”:“start_cf”, “params”:[1,1,“30000,3,39,17,42”]}

Tested while device is on. Doesn’t seem to do anything…
Below is my test flow, maybe I’m doing it wrong?

You are using the wrong quotes. You can’t just copy and paste it as it will mess up the formatting. You need to use " quotes

Like this? Still nothing.

Looks ok, now start reading the documentation and come up with a command that should actually work. Perhaps even start with a simple on off command, just to make sure it works.

FYI, this works for me for simple commands :

{ "id": 1, "method": "set_power", "params":["off", "smooth", 500]}
{ "id": 1, "method": "adjust_bright", "params":[55,500]}

Sometimes it gets stuck for me and it helps, when you power off the light, then it works again.
Didn’t experiment with start_cf too much (it doesn’t work for me on my light) but you can read some examples also here : Start_cf command supports Color Mode 3 (HSV Mode)? - Yeelight LED Bulb (Color) - Yeelight Forum

Thank you!
I tried your commands and they do work, but unfortunately I cannot get start_cf commands to do anything.
I also saw that forum post because I tried googling some solutions, doesn’t seem like that person managed to get it working either.
However, after more googling I found these commands that start default “scenes” and they do work. What I want to do is to start a “scene” that I made in Yeelight app and saved as “favorite”, or use custom colors through start_cf command.

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

There is a github page that has command for each preprogrammed “scenes” as well.

1 Like

Nevermind. After trying to input the command on my PC, it seems to work. I guess it was a formatting issue after all because I was trying to do it from my phone. Now I got to figure out other parameters and how to get them to do what I need. Thank you all.

EDIT (the bulb that I have is incompatible with LAN Control)

I’m sorry if I’m bothering and asking a silly question.

The instructions in the app are unfortunately unclear and I could not find anything in this thread that could help me.

In order to install a Yeelight bulb, does it need to be installed in the Yeelight app first, or is it enough to just have the Yeelight app with LAN Control enabled?

Hi, I would like to dim a yeelight bulb from turned off to turned on 100% in 30 seconds in one card. Is it possible and how?
Regards,
William

Dont know itf it is possible in one card, but you can use the transitions function in the chronograph app for homey pro.

And within one standaard flow this is alos possible (use the delay functions).

1 Like

In one card, to turn off:

To turn on, need 2 cards, one to activate and another to dim to 100%

That is correct, this method is setting all these parameters with one command is, and this comes straight from the documentation: Only accepted if the smart LED is currently in "on" state.

1 Like

Hello, thanks for this great app! I’m wondering if anyone is able to utilize the “send advanced custom command” card to change effects for any of the newer Yeelight accessories (effects that would be accessible in the Yeelight Station app).

Great app, the only way to really control yeelights. So really happy with this app.
I am looking for some guidance in advance custom commands. I am looking for documentation.
Anybody have some pointers.
Thanks
J