# Yeelight not working

**URL:** <https://community.homey.app/t/yeelight-not-working/21698>\
**Category:** Questions & Help\
**Created:** [December 2, 2019, 7:11am UTC](https://community.homey.app/t/yeelight-not-working/21698 "2019-12-02T07:11:56Z")\
**Posts on this page:** 19\
**Page:** 2

<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:** [April 1, 2020, 11:04am UTC](https://community.homey.app/t/yeelight-not-working/21698/22 "2020-04-01T11:04:21Z")

</div>

If you know how to [run an app from the command line](https://community.homey.app/t/how-to-cli-install-method/198). I have created [debug branch on GitHub](https://github.com/jghaanstra/com.yeelight/tree/debug) which will spit out extra logging to the console to see what is going on using the `homey app run` command.

---

<div class="post-metadata">

**Author:** ![Ardjan](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/ardjan/32/16439_2.png) [@Ardjan](https://community.homey.app/u/Ardjan)\
**Post date:** [April 1, 2020, 2:30pm UTC](https://community.homey.app/t/yeelight-not-working/21698/23 "2020-04-01T14:30:05Z")

</div>

In Homey: Node.js version is v8.16.0

In Homey: Node.js version is v8.16.0  
I tried to do what you suggested; this is outcome of installing the app:

 ![cli](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/1/a/1a39200ea04ddc661edce70e9a990175cf71a877.png)

This is the result of running the Yeelight app, correct?

 ![run](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/b/9/b9779c79c0c374a0a36788c31e72e217284dd5bb.png)

After I tried to add the new Yeelight in Homey this info came:  
 ![add](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/e/7/e7f2c82992e6492aa36ff0bfda1ae77c608fd047.png)

more info appeared 9 minutes later:

 ![log](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/f/b/fb95c8d2315ccba3d24d3dd69e458a648c7ecd63.png)

---

<div class="post-metadata">

**Author:** ![Ardjan](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/ardjan/32/16439_2.png) [@Ardjan](https://community.homey.app/u/Ardjan)\
**Post date:** [April 1, 2020, 4:23pm UTC](https://community.homey.app/t/yeelight-not-working/21698/24 "2020-04-01T16:23:18Z")

</div>

Another trial: if adding the light in the app, it cannot be found.  
If waiting and do nothing, sometimes this information pops-up by itself.  
The Yeelight is indeed has that IP-address 192.168.1.67.  
Ping to that IP address also works with a reply.

 ![log2](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/b/1/b1b12bbb2e97fa423242e9f47e376ee0da6510c5.png)

Info from the Android Yeelight app:

 ![20200401_184043](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/0/a/0accebdd338c93de89ba301b44bf294a1feb701b.jpeg)

Restart of Homey didn’t help also

---

<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:** [April 1, 2020, 5:14pm UTC](https://community.homey.app/t/yeelight-not-working/21698/25 "2020-04-01T17:14:33Z")

</div>

It looks like either your router is blocking responses to SSDP Discovery Packets which is used to discover the light or there is something wrong in my code. The latter seems unlikely though as about 500 other users do not have this problem. I have added some extra logging in the debug branch which might tell me more. Could you redownload the debug branch from github and try to pair your device again: [https://github.com/jghaanstra/com.yeelight/tree/debug](https://github.com/jghaanstra/com.yeelight/tree/debug)

You could also look into the settings in your router and try and change something related to SSDP / UDP discovery.

---

<div class="post-metadata">

**Author:** ![Ardjan](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/ardjan/32/16439_2.png) [@Ardjan](https://community.homey.app/u/Ardjan)\
**Post date:** [April 1, 2020, 5:24pm UTC](https://community.homey.app/t/yeelight-not-working/21698/26 "2020-04-01T17:24:51Z")

</div>

![log3](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/7/a/7aa8da2568bf3139e7b9ad3b5adb6a663b61f992.png)

Inside the Router I couldn’t find something about SSDP.  
I disabled the firewall with no result.

Only following rules have to do with UDP, but not sure what it means or if can be editted.

 ![zyxel](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/5/3/53a0850d6356825cf351c188761b4a2ac0f302ee.png)  
Rule 1:  
 ![acl_rule1](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/d/5/d503fe0320021eb71d121dab8a595449f8b4d737.png)  
Rule 2:  
 ![acl_rule2](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/f/6/f684eb7d55fd56600a559276154d54d469d57cea.png)

latest log:

 ![log3](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/a/5/a54b59003dbe236509f690c3d742e75528ef9e00.png)

---

<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:** [April 1, 2020, 6:18pm UTC](https://community.homey.app/t/yeelight-not-working/21698/27 "2020-04-01T18:18:55Z")

</div>

I have updated the debug branch again. Could you try again.

---

<div class="post-metadata">

**Author:** ![Ardjan](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/ardjan/32/16439_2.png) [@Ardjan](https://community.homey.app/u/Ardjan)\
**Post date:** [April 1, 2020, 6:32pm UTC](https://community.homey.app/t/yeelight-not-working/21698/28 "2020-04-01T18:32:03Z")

</div>

Thanks for quick reply!

My second Yeelight (now model Yeelight YLDL01YL Meteorite LED Smart Dinner Pendant) will be received in a few days so I’m curious if it can be added.

Below the latest Log:

 ![log4](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/a/b/ab92e8152c84d91171b420820d19ee5a39407bb8.png)

Sometimes when I quit (Ctrl+C); suddenly extra info appears:

 ![log5](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/a/3/a3a41524234464798e019a02343229f858a440de.png)

---

<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:** [April 1, 2020, 6:38pm UTC](https://community.homey.app/t/yeelight-not-working/21698/29 "2020-04-01T18:38:09Z")

</div>

Will this confirms whay I said before. Either your light is not responding to the discovery broadcast message (because LAN control is not enabled for instance) or somehing in your network is preventing the device from responding to the broadcast message.

In plain English, my apps asks if there are any lights on the network and your light is not responding to this call.

There is not much I can do about that. It’s either your light or your network.

---

<div class="post-metadata">

**Author:** ![Ardjan](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/ardjan/32/16439_2.png) [@Ardjan](https://community.homey.app/u/Ardjan)\
**Post date:** [April 1, 2020, 7:00pm UTC](https://community.homey.app/t/yeelight-not-working/21698/30 "2020-04-01T19:00:35Z")

</div>

Hmm… can this light not be added manually?  
All info such as IP-address, MAC-address is known already.  
If automatic discovery doesn’t work, would an option to manual add it be possible?  
Or if my router is the problem, would adding the light temporary to a different router solve the problem? Or will the connection be lost again after switching back to original router?

 ![Screenshot_20200401-210459_Yeelight](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/e/e/ee3b5883b2349ee59913f9eef6bb571aff53cf72.jpeg)

---

<div class="post-metadata">

**Author:** ![Ardjan](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/ardjan/32/16439_2.png) [@Ardjan](https://community.homey.app/u/Ardjan)\
**Post date:** [April 1, 2020, 8:11pm UTC](https://community.homey.app/t/yeelight-not-working/21698/31 "2020-04-01T20:11:40Z")

</div>

You’re right, the router is the problem.  
I did the following:

1. setup Hotspot with a second phone

2. Connected the Yeelight to this Wifi hotspot  

3. Connected Homey to this Wifi hotspot.

4. After that I could add the Yeelight in Homey, and control it properly

5. However, now the Yeelight was connected to a different IP-address from my hotspot of course  

6. After I connected Homey back to my normal router, the Yeelight lamp was not working anymore

7. Then I resetted the Yeelight to the original router network again, but still the connection inside Homey app didn’t work. (because it was looking for a different IP-address I guess)

 ![Screenshot_20200401-215923_Homey](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/7/9/7907d54bb4aa2906805741a8fd100e9412cef8d0.jpeg)

I removed the Yeelight lamp, but then the Yeelight app crashed

 ![Screenshot_20200401-215953_Homey](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/1/5/158ca79317c65bc9dbcfe5f540cf8f037335dc1a.jpeg)

So I think that if in the Yeelight App in Homey it would be possible to change IP-address this light could be added manually?  
Would that be possible?  
Lamp was added in Homey automatically this way.  
If only IP-address could be changed, low-level? Then maybe lamp still worked after changing back to original network?

And why the lamp can be found using the Android Yeelight app? That app is probably also using a broadcast message to find 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:** [April 1, 2020, 9:25pm UTC](https://community.homey.app/t/yeelight-not-working/21698/32 "2020-04-01T21:25:38Z")

</div>

> [@Ardjan](#):
>
> You’re right, the router is the problem.

Ok, good to know it’s at least pointed.

> [@Ardjan](#):
>
> Then I resetted the Yeelight to the original router network again, but still the connection inside Homey app didn’t work. (because it was looking for a different IP-address I guess)

Indeed, the IP of the light is registered after it’s been connected.

> [@Ardjan](#):
>
> So I think that if in the Yeelight App in Homey it would be possible to change IP-address this light could be added manually?  
> Would that be possible?

Not manually, but I did built some sort of mechanism that will update the device IP if Homey receive a status broadcast from the light from a different IP. You should add it again and change it to your router and then leave it for at least an hour. The light will send a broadcast which Homey should pick up and update the IP. It’s worth a try although this mechanism is usually intended for people with non static IP addresses it might also work for this scenario.

> [@Ardjan](#):
>
> And why the lamp can be found using the Android Yeelight app? That app is probably also using a broadcast message to find it?

Correct, it uses the same mechanism for device discovery as my Homey app.

---

<div class="post-metadata">

**Author:** ![Ardjan](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/ardjan/32/16439_2.png) [@Ardjan](https://community.homey.app/u/Ardjan)\
**Post date:** [April 2, 2020, 7:31am UTC](https://community.homey.app/t/yeelight-not-working/21698/33 "2020-04-02T07:31:59Z")

</div>

Ok, I’ve added the Yeelight again in Homey.  
It’s registered on 192.168.43.13 (Hotspot network Android phone)  
Homey + Yeelight set back to original router.  
Yeeligt itself has now IP-address 192.168.1.73  
Now waiting…

 ![Screenshot_20200402-110955_Homey](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/e/c/ecfe4a2e342ab2328b02d389da0fbfe5064063d4.jpeg)

😀 😀 😀  
After some waiting, the Yeelight is now Online in the Homey-app, on my original router!  
Thanks for the help!

---

<div class="post-metadata">

**Author:** ![FEY](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/fey/32/17582_2.png) [@FEY](https://community.homey.app/u/FEY)\
**Post date:** [April 17, 2021, 5:45am UTC](https://community.homey.app/t/yeelight-not-working/21698/34 "2021-04-17T05:45:57Z")

</div>

Hello,

I’m using two E27 lamps with the Yeelight app on homey and it is working very well. I have added two GU10 multicolor lamps but I’m not able to add them to homey. They are working well with the Yeelight app itself.

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/5/3/53be7f6eaa11d0c519bbb9b7f566fd7142f1f8ec.jpeg) ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/5/6/564f8a039d48f62ea1cfcb870c3a73b5d5a03944.jpeg) ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/2/1/21155d71fdbe8fdf81e42757e76fdf1f61b4f30b.jpeg)

Any suggestion? Are these GU10 supported?

---

<div class="post-metadata">

**Author:** ![Rini\_Lurling](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/rini_lurling/32/17955_2.png) [@Rini\_Lurling](https://community.homey.app/u/Rini_Lurling)\
**Post date:** [March 6, 2022, 8:36am UTC](https://community.homey.app/t/yeelight-not-working/21698/35 "2022-03-06T08:36:21Z")

</div>

Hi There,

since a week or 3, i cannot control the yeelight by homey.

Nothing is changed, i allready reinstall de app / ledstrip in homey.  
What i saw is when i remotly set the strip on i see in de homey status to on, en vice versa.  
i cannot switch it on of off by homey

help 🙂

gr Rini

---

<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:** [March 11, 2022, 9:23am UTC](https://community.homey.app/t/yeelight-not-working/21698/36 "2022-03-11T09:23:43Z")

</div>

Do you have LAN control enabled ? Can you control them via officall app ?  
You may want to try also Yeelight Cloud version… [Yeelight App for Homey | Homey](https://homey.app/en-us/app/com.yeelight.cloud/Yeelight/)

---

<div class="post-metadata">

**Author:** ![Rini\_Lurling](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/rini_lurling/32/17955_2.png) [@Rini\_Lurling](https://community.homey.app/u/Rini_Lurling)\
**Post date:** [March 12, 2022, 6:59am UTC](https://community.homey.app/t/yeelight-not-working/21698/37 "2022-03-12T06:59:47Z")

</div>

Sharkys,

lan control is enable, i can control the ledtrip via offical app.

---

<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:** [March 12, 2022, 7:07am UTC](https://community.homey.app/t/yeelight-not-working/21698/38 "2022-03-12T07:07:06Z")

</div>

Try restarting Homey and if that does not help remove and re-add the strip.

---

<div class="post-metadata">

**Author:** ![Rini\_Lurling](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/rini_lurling/32/17955_2.png) [@Rini\_Lurling](https://community.homey.app/u/Rini_Lurling)\
**Post date:** [March 12, 2022, 7:41am UTC](https://community.homey.app/t/yeelight-not-working/21698/39 "2022-03-12T07:41:26Z")

</div>

Phuturist,

done, not working. i set off lan “beheer” and direct changed status in homey app in not conneted.  
When i changed it to on it was direct connected. so there is some communication but it is not working by the homey app.

also checked the app from Xiaomi, there it is fully working

gr Rini

---

<div class="post-metadata">

**Author:** ![Rini\_Lurling](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/rini_lurling/32/17955_2.png) [@Rini\_Lurling](https://community.homey.app/u/Rini_Lurling)\
**Post date:** [March 12, 2022, 7:49am UTC](https://community.homey.app/t/yeelight-not-working/21698/40 "2022-03-12T07:49:16Z")

</div>

Hi io installed the server app from yeelights, its looks that will do,

i will try this for a while

thanks Sharkys and Phuturist

[Previous page](https://community.homey.app/t/yeelight-not-working/21698.md?page=1)
