I am using a Xiaomi Yeelight YLDP06YL E27 bulb integrated this way: https://www.home-assistant.io/components/light.yeelight/
The bulb gets unavailable after some time in HASS, but in the Yeelight app it is reachable all the time.
So, when the bulb gets unavailable in HASS, I am still able to control it with the Yeelight app.
After disconnecting the bulb from power en reconnect, most of the times it gets available again in HASS.
They do not have a fixed IP address, but the IP address is not changed since I have added them to HASS. I suppose I have added the light manually by adding this to my configuration.yaml, or do you point to another way?
light:
- platform: yeelight
devices:
192.168.1.168:
name: TV
Not sure why en how, but I do not have this problem anymore. Sometimes the bulbs sure unavailable for a moment, but they will come back online a minute or so later.
I’m using manual configuration as per the integration guide with discovery set to false and fixed the IP. I’m also encountering the bulb connection being disconnected. “Bulb closed the connection”. Is there a way to resolve this?
I’ve also tried to do an hourly update via homeassistant.update_entity service but it still occurs.
Any idea to keep the lights functioning is greatly appreciated
If you are having a problem with a second generation bulb. it could be due an firmware issue which has just been fixed by the yeelight devs. More info on it here. So if or when it is available for you, you can try updating to 2.0.6_0065 from within the yeelight app.
If you want it sooner you can try to add your MI ID to that topic maybe they will still whitelist you for the update depending on how long it takes to release the new firmware.
Thanks @Mister-Espria , the link was very insightful, though I wish that I have read it much earlier… That would save me many hours of troubleshooting. Guess I have to wait patiently for the updated firmware. I’ll try to post there too and see if the yeelight staff could expediate the release of the new firmware.
I’ve also upgraded my 2nd Gen color bulb to the new …065 firmware, but I can’t for the life of me get Home Assistant to recognise it. I’ve even reset the bulb and restarted Hassio, but it’s like it doesn’t exist.
Anyone else still having this problem? I’ve got other v1 Yeelight bulbs and strips that all work fine on automatic discovery
Also having this problem. Latest firmware (2.0.6_0065), LAN control enabled, fixed IP address, etc.
They work perfectly fine from the Yeelight app. In Home Assistant they are recognized as Homekit accessories in the Integrations tab, but I’m not a Homekit user, I want to be able to control them directly from Home Assistant.
So discovery doesn’t work and I’ve tried adding them manually about 10 times but nothing seems to work.
A bit lost at the moment. Any sugestions…?
I am facing exactly the same issue: latest firmware (2.0.6_0065), manually configured, fixed ip address, discovery disabled for yeelight. Bulb works ok with mi home app but in HA is displayed as “unavailable”.
Nothing interesting can be seen in logs, even the fixed ip address is not logged, its simply ignored.