Yeelight Integration Troubleshooting

I recently tried integrating my Yeelight light bulb into Home Assistant, but I encountered some issues. Here’s my experience and the steps I took to resolve it:

  1. Initial Setup: I followed the official Home Assistant documentation to set up the Yeelight integration. I left the host field empty, hoping it would discover my bulb automatically. However, it didn’t find any devices.

  2. Network Configuration: I realized my Yeelight bulb was on a separate VLAN, not on the main LAN where Home Assistant resides. This might have been the reason for the discovery failure. I decided to move the bulb to the main LAN to test if this resolves the issue.

  3. Manual Configuration: Since the automatic discovery didn’t work, I tried manually entering the IP address of my Yeelight bulb. To find the IP, I used my router’s device list and cross-referenced it with the Yeelight app.

  4. LAN Control Activation: I double-checked that LAN control was activated on my Yeelight bulb. This is crucial for Home Assistant to communicate with the bulb. I also ensured that the bulb’s firmware was up-to-date.

  5. Firewall and Network Segmentation: I reviewed my network settings to ensure there were no firewalls or segmentation rules blocking Home Assistant from accessing the Yeelight bulb. It’s important that both devices are on the same network segment for smooth communication.

  6. Factory Reset: As a last resort, I performed a factory reset on my Yeelight bulb and re-added it to Home Assistant. This step ensured that any previous configuration issues were cleared.

  7. Verification: After these steps, my Yeelight bulb successfully connected to Home Assistant. I was able to control it through the interface, and it appeared in my device list.

Conclusion: The main issue was related to network segmentation. By placing the bulb on the same LAN as Home Assistant and manually specifying the IP address, I resolved the connectivity problem. If you’re facing similar issues, checking your network configuration and ensuring both devices are on the same network is a good starting point.