hcoohb / hass-yeelightbt

Home assistant custom component for Yeelight bluetooth
50 stars 16 forks source link

Hassio always lost connection in a few minutes/hours #13

Closed robiecz closed 2 years ago

robiecz commented 3 years ago

Hi, I have the Candela light, always connected to power. It works with this integration well, but in random time hassio lost connection. Candela is still reported like connected, but nothing happens when I try turn it on. The switch automatically return back to off in a few seconds. Any ideas?

hcoohb commented 3 years ago

Unfortunately, ble connections are still very not overly stable, or I should stay the bt stack available in python.... The stack used to access python (bluepy) is quite temperamental and I have noticed as well that sometimes, it goes banana and does not respond. Restarting HA should fix the issue. I know it is worse when some other integration are trying to use bt at the same time...

Sorry, but I don't think there's anything we can do about it... At some point HA was talking of unifying the access to bt stack, which would help, but not sure when.

hcoohb commented 2 years ago

Closing this issue for now.