Yeelight binding?

@clel: Could I ask you, how can I get the Device ID of my Yeelight LED Ceiling Lamp?

Normally I would search for the device using Paper UI. There you can find the needed id then. Problem might be that your device is currently not supported by the binding. Then it is hard to get the id and also you don’t need it then, because you cannot use your device with the binding then. Maybe I can try to add some log info with the model when a device is unsupported.

Let me know, whether discovering from PaperUI works for you. If not, feel free to visit this issue to add support for your device: https://github.com/openhab/openhab2-addons/issues/3665

1 Like

Hey,

I am happy that the original Yeelight Binding is living again. But I got a problem with discovering devices. I already had that with the old binding. I needed to turn off WLAN or so and then it worked. Can you guess any cause for that? I will try to find that out again when it works and when not.

Thank you for your work.

Greetings
Andy

Edit: With only WLAN active I find the bulbs. With only ethernet or both not… I added one bulb, but it shows offline all the time and I cannot change that anyhow…

Edit 2 (21.07.2018): I just went back to the version 2.1 from Coasterli. I got the same LAN/WLAN-problem, but there are different channels, so my configuration would be broken once more.

Sorry, I’m struggling to find the precompiled jar for the Yeelight binding on Github, could someone post the direct link. Thanks.

not directly from github, but from jfrog:
https://openhab.jfrog.io/openhab/libs-pullrequest-local/org/openhab/binding/org.openhab.binding.yeelight/
I use the binding 2.4 Snapshot with openhab 2.3 and it works
Greets Andy

1 Like

Hi I moved from windows plattform to raspberryPi updating to the latest version: opehab 2.3 and yeelight binding 2.4.0.
I see only two channels for my color bulb (color and colortemperature) while with the binding 2.1.0 I was using 3 channels (what is missing is the brightness channel).
Is this expected?
How should I handle the brightness?

1 Like

Hey, I tried several binding to make my yeelight ceiling light work, this model: image
but I had no succes, apart from begin able to turn it on and off thought an node-red addon. Is this the one you are using to and did you find a way to control it?

Any idea about the missing brightness channel?
without it is useless

Hey people.

Thanks for this binding… I love Yeelight for the quality/price. I have myself ceiling Yeelight too. And I had it running with Mi IO binding before. But it is hard to get the token and make it work. Is there any reason to not having it working with the yeelight binding ? Can I help/test ? I found as well some issues with Mi IO binding to handle brightness if I am remembering good.

ClĂŠment

1 Like

Hi there,

I own two Yeelight devices. The 2nd gen. color LED bulb works great with this binding. Thanks a lot for your work. The second device, though, is currently not recognized by this binding and It does not appear in PaperUI when searching for new things.

The unrecognized device is this fancy ceiling light with the starry lamp shade: http://www.yeelight.com/en_US/product/eos I hope it’s OK to mention Gearbest as well as I think their product description is even better than the original Yeelight page: https://gearbest.com/flush-ceiling-lights/pp_1119165.html

What do you need to get this device supported? Can I supply any useful information?

Thanks
Michael

I am in the same situation and looking forward for the solution. I think you can follow better there (link already posted in this thread): (If you have java skills you should help there, I unfortunately don’t know much java)

https://github.com/openhab/openhab2-addons/issues/3665

But here how to make it appears as mentioned in the PR below. (knowing there still issues)

In openhab console look for the current yeelight bundle bundle:list then delete it bundle:uninstall myID and then install this version https://github.com/openhab/openhab2-addons/files/2124473/org.openhab.binding.yeelight-2.4.0-SNAPSHOT.zip with bundle:install https://github.com/openhab/openhab2-addons/files/2124473/org.openhab.binding.yeelight-2.4.0-SNAPSHOT.zip

I see now my ceiling light and hope you will see yours…

1 Like

Thanks. I already noticed this PR and I’m also using that snapshot version of the plugin. Though, I can’t see the ceiling light in my inbox.

The device seems to announce itself with an WLAN id like “yeelink-light-ceiling3-xxx” to my router. Maybe “ceiling3” has to be added to the list of supported yeelight devices. I’ll do some more investigation and post on the Github PR.

1 Like

It is likely the reason yes. Sorry it did not helped.

Same here!!!

brightness channen is missing, any idea?

I’m using 2.4 yeelight snap binding

Solution:

// Light
Dimmer Yeelight_Dimmer_Brightness "Yeelight Dimmer" {channel="yeelight:wonder:0x0000000004564e9e:color"}
Switch Yeelight_Switch            "Yeelight Switch" {channel="yeelight:wonder:0x0000000004564e9e:color"}
Color  Yeelight_Color             "Yeelight Color"  {channel="yeelight:wonder:0x0000000004564e9e:color"}
Dimmer Yeelight_Temp              "Yeelight Temp"   {channel="yeelight:wonder:0x0000000004564e9e:colorTemperature"}
1 Like

I´ve tried to update the yeelight binding, but 2.3 and 2.4 are not working for me.
I previously had 2.1.0 snapshot installed and it works fine with my yeelight bulb 2, but I´m afraid it wont run with OH 2.3.

My yeelight is beeing discoverd, but also no function nor the brightness channel. Whats wrong with this binding, 2.1 was allready working… now nothing.

Same here! Brightness channel is missing, too…

1 Like

seems that anybody is interested in propose a solution for this dimmer channel issue…

rad1xs are you suggesting to use the color channel as brightness dimmer?

I just installed the jar file from here:
https://openhab.jfrog.io/openhab/libs-pullrequest-local/org/openhab/binding/org.openhab.binding.yeelight/2.4.0-SNAPSHOT/

I got no message in the logs that the binding was installed but it appears if i check in paper ui under bindings.

But it seems auto discovery is not working, lan mode is active.

How can I get the device id ? (i have an android phone)

How do you even get the Wonder bulb to work at all?

If I manually create things/items/sitemap files it doesnt work, if I use paperui it does but I can only get the colour picker to work, temperature does nothing and there is no channel for brightness…

I bought these bulbs and was really looking forward to integrating them with OH and now it seems the binding is totally worthless.

I think it would save everyone a massive amount of time if admins added known issues to the bindings page to save everyone hours of googling and playing around when its apparent there is no solution.

I tried your solution rad1xs but doesn’t work.
Even assigning a dimmer control to the color channel the lamp doesn’t change the brightness.
So today I’m not able to control the yeelight color bulb using openhab2.
Is there any idea to fix the binding? previous version was working perfect