# \[APP\] Yeelights LAN

**URL:** <https://community.homey.app/t/app-yeelights-lan/21134>\
**Category:** Apps\
**Tags:** app, lights, yeelights\
**Created:** [November 22, 2019, 10:13pm UTC](https://community.homey.app/t/app-yeelights-lan/21134 "2019-11-22T22:13:16Z")\
**Posts on this page:** 20\
**Page:** 16

<div class="post-metadata">

**Author:** ![Phuturist](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/phuturist/32/49_2.png) [@Phuturist](https://community.homey.app/u/Phuturist)\
**Post date:** [October 10, 2023, 5:49am UTC](https://community.homey.app/t/app-yeelights-lan/21134/305 "2023-10-10T05:49:55Z")

</div>

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?

---

<div class="post-metadata">

**Author:** ![Sharkys](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/sharkys/32/54029_2.png) [@Sharkys](https://community.homey.app/u/Sharkys)\
**Post date:** [October 10, 2023, 6:26am UTC](https://community.homey.app/t/app-yeelights-lan/21134/306 "2023-10-10T06:26:01Z")

</div>

> [@Johanneso](#):
>
> I supposed to be able to use the set color card without triggering

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.

---

<div class="post-metadata">

**Author:** ![Sierra](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/sierra/32/22284_2.png) [@Sierra](https://community.homey.app/u/Sierra)\
**Post date:** [November 13, 2023, 4:05am UTC](https://community.homey.app/t/app-yeelights-lan/21134/307 "2023-11-13T04:05:40Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![Phuturist](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/phuturist/32/49_2.png) [@Phuturist](https://community.homey.app/u/Phuturist)\
**Post date:** [November 13, 2023, 6:10am UTC](https://community.homey.app/t/app-yeelights-lan/21134/308 "2023-11-13T06:10:45Z")

</div>

I did already answer your question.

> [@\[APP\] Yeelights LAN \[needs other developer\]](https://community.homey.app/t/app-yeelights-lan-needs-other-developer/21134/125):
>
> There is no way to set the light to an existing color flow. You will have to work it out by yourself and indeed use the send command action card. Below is a link to the documentation which can be used to create your command. You will have to look into the start\_cf method.

---

<div class="post-metadata">

**Author:** ![Sierra](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/sierra/32/22284_2.png) [@Sierra](https://community.homey.app/u/Sierra)\
**Post date:** [November 13, 2023, 6:33am UTC](https://community.homey.app/t/app-yeelights-lan/21134/309 "2023-11-13T06:33:08Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![Phuturist](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/phuturist/32/49_2.png) [@Phuturist](https://community.homey.app/u/Phuturist)\
**Post date:** [November 13, 2023, 7:36am UTC](https://community.homey.app/t/app-yeelights-lan/21134/310 "2023-11-13T07:36:25Z")

</div>

This is not coding. Try it yourself first.

---

<div class="post-metadata">

**Author:** ![Sierra](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/sierra/32/22284_2.png) [@Sierra](https://community.homey.app/u/Sierra)\
**Post date:** [November 13, 2023, 8:11am UTC](https://community.homey.app/t/app-yeelights-lan/21134/311 "2023-11-13T08:11:13Z")

</div>

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?

 ![IMG_20231113_111020](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/6/c/6ce593ac9c2584d963b5bd32c04a3e1b84245b9f.jpeg)

---

<div class="post-metadata">

**Author:** ![Phuturist](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/phuturist/32/49_2.png) [@Phuturist](https://community.homey.app/u/Phuturist)\
**Post date:** [November 13, 2023, 10:56am UTC](https://community.homey.app/t/app-yeelights-lan/21134/312 "2023-11-13T10:56:31Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Sierra](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/sierra/32/22284_2.png) [@Sierra](https://community.homey.app/u/Sierra)\
**Post date:** [November 13, 2023, 11:28am UTC](https://community.homey.app/t/app-yeelights-lan/21134/314 "2023-11-13T11:28:47Z")

</div>

Like this? Still nothing.

 ![IMG_20231113_142544](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/6/d/6dc3ffa7ce3297683bd3d4fd09a603e336a69df5.jpeg)

---

<div class="post-metadata">

**Author:** ![Phuturist](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/phuturist/32/49_2.png) [@Phuturist](https://community.homey.app/u/Phuturist)\
**Post date:** [November 13, 2023, 3:49pm UTC](https://community.homey.app/t/app-yeelights-lan/21134/315 "2023-11-13T15:49:55Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![Sharkys](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/sharkys/32/54029_2.png) [@Sharkys](https://community.homey.app/u/Sharkys)\
**Post date:** [November 13, 2023, 4:47pm UTC](https://community.homey.app/t/app-yeelights-lan/21134/316 "2023-11-13T16:47:37Z")

</div>

FYI, this works for me for simple commands :

```auto
{ "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](https://forum.yeelight.com/t/start-cf-command-supports-color-mode-3-hsv-mode/514)

---

<div class="post-metadata">

**Author:** ![Sierra](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/sierra/32/22284_2.png) [@Sierra](https://community.homey.app/u/Sierra)\
**Post date:** [November 14, 2023, 4:42am UTC](https://community.homey.app/t/app-yeelights-lan/21134/317 "2023-11-14T04:42:20Z")

</div>

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：

```auto
{"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:

```auto
{"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](https://github.com/hphde/yeelight-shell-scripts/blob/main/yeelight-scene.sh) page that has command for each preprogrammed “scenes” as well.

---

<div class="post-metadata">

**Author:** ![Sierra](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/sierra/32/22284_2.png) [@Sierra](https://community.homey.app/u/Sierra)\
**Post date:** [November 14, 2023, 5:25am UTC](https://community.homey.app/t/app-yeelights-lan/21134/318 "2023-11-14T05:25:25Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![Leclettico](https://avatars.discourse-cdn.com/v4/letter/l/e9bcb4/32.png) [@Leclettico](https://community.homey.app/u/Leclettico)\
**Post date:** [December 8, 2023, 2:34pm UTC](https://community.homey.app/t/app-yeelights-lan/21134/319 "2023-12-08T14:34:32Z")

</div>

**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?**

---

<div class="post-metadata">

**Author:** ![Merlin](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/merlin/32/51500_2.png) [@Merlin](https://community.homey.app/u/Merlin)\
**Post date:** [January 14, 2024, 8:58am UTC](https://community.homey.app/t/app-yeelights-lan/21134/320 "2024-01-14T08:58:27Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![M\_a\_r\_c\_o](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/m_a_r_c_o/32/146_2.png) [@M\_a\_r\_c\_o](https://community.homey.app/u/M_a_r_c_o)\
**Post date:** [January 14, 2024, 9:58am UTC](https://community.homey.app/t/app-yeelights-lan/21134/321 "2024-01-14T09:58:14Z")

</div>

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).

---

<div class="post-metadata">

**Author:** ![Merlin](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/merlin/32/51500_2.png) [@Merlin](https://community.homey.app/u/Merlin)\
**Post date:** [January 29, 2024, 10:09am UTC](https://community.homey.app/t/app-yeelights-lan/21134/322 "2024-01-29T10:09:43Z")

</div>

In one card, to turn off:

 ![1000007965](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/b/f/bf906cbb0108e66a757f8a0d1c7ffb8f217dba78.jpeg)

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

---

<div class="post-metadata">

**Author:** ![Phuturist](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/phuturist/32/49_2.png) [@Phuturist](https://community.homey.app/u/Phuturist)\
**Post date:** [January 29, 2024, 5:38pm UTC](https://community.homey.app/t/app-yeelights-lan/21134/323 "2024-01-29T17:38:14Z")

</div>

> [@Merlin](#):
>
> 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`.

---

<div class="post-metadata">

**Author:** ![Shane\_Whatley](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/shane_whatley/32/82276_2.png) [@Shane\_Whatley](https://community.homey.app/u/Shane_Whatley)\
**Post date:** [March 13, 2024, 11:30pm UTC](https://community.homey.app/t/app-yeelights-lan/21134/324 "2024-03-13T23:30:03Z")

</div>

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).

---

<div class="post-metadata">

**Author:** ![JeroenIam](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jeroeniam/32/78909_2.png) [@JeroenIam](https://community.homey.app/u/JeroenIam)\
**Post date:** [July 23, 2024, 3:43pm UTC](https://community.homey.app/t/app-yeelights-lan/21134/325 "2024-07-23T15:43:22Z")

</div>

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

[Previous page](https://community.homey.app/t/app-yeelights-lan/21134.md?page=15)

[Next page](https://community.homey.app/t/app-yeelights-lan/21134.md?page=17)
