Yeelight binding?

hue
Tags: #<Tag:0x00007f51ea4e6108>

(Stephan K) #244

I also have that issues , that my bulbs and ceilings goes offline and won’t come back. Sometimes after restarting openhab some comes back … sometimes I need to remove the bulbs and hope that they will get discovered again .


This is the source from the yeelight binding from iobroker, it’s working perfekt without issues. I can also change to moon mode on my ceilings.
Still hopes that someday the OH bindings will work like this :wink: … ATM it’s not usable for me, most time the things are offline.

The original dev from this binding is an official Yeelight dev.As far as I know he didn’t had the time to work on this anymore.

Also thanks for your work clel :slight_smile:


(Jan Odvarka) #245

Believe it or not but I have never used git before. I will do my homework (I will need it anyway) but right now I have no idea how to create issues yet. But at least I can cooperate with whoever wants to contribute as well :slight_smile:


(Claudius Ellsel) #246

Sad to hear that. I assume it has something to do with the library used for communicating with the devices. Maybe it just has problems with many (more than one or two) devices.

Github actually is only one possible (and convenient) way to host git files. Issues are completely managed by Github. Here is a link to the openHAB Addons issue page on Github: https://github.com/openhab/openhab2-addons/issues
All you need to do is to set up an account at Github and create your issues there :slight_smile:


(Stephan K) #247

I removed all my devices, and only added two bulbs and it’s working without any issues know. As you said, too many devices cause the offline issue.


(Claudius Ellsel) #248

Thanks for letting me know. Since there did not seem to be an existing issue for this, I went ahead and created one: https://github.com/openhab/openhab2-addons/issues/4896


(Claudius Ellsel) #249

@Selter I noticed your problem now, I guess. You need to link the item to the correct channel. Instead of

Switch	Color_Toggle	 (Gyeelight,Glicht)	{ channel="yeelight:wonder:0x000000000xxxxx:colorTemperature" }

you need to do

Switch	Color_Toggle	 (Gyeelight,Glicht)	{ channel="yeelight:wonder:0x000000000xxxxx:color" }

(Dominik) #250

Honestly, I have only one Yeelight stripe connected and the same error. Online for 5-7 days and then offline.
If I switch server from Germany to China and backwards, I get it online again after a restart of OH.

Is there anything I can do to improve the situation?


(Stephan K) #251

Maybe it isn’t a issue with to many devices and only the bulbs doesn’t have this issue?!
If I have some time I will try to only use on ceiling light


(Claudius Ellsel) #252

I already created an issue for that: Yeelight binding?
Now I added a comment that you are experiencing it with one device only. If you want, you can maybe help with debugging, best would be to join the discussion on GitHub and offer your help there.


(Selter) #253

Dear Jan,

Could you please provide an example.
Thanks!