Why Yeelight is the Best Choice for Smart Lighting
Xiaomi Yeelight smart lights have long been the standard for those who want to make home lighting not just functional, but truly βsmart.β These devices support 16 million shades of color, integrate with voice assistants (Alice, Google Assistant, Siri) and allow you to create automation scenarios β from a smooth wake-up alarm to simulate the presence of a home during a vacation.
But many users are struggling to connect, so the router doesn't see the lamp, the Mi Home app gives you a Device offline error, the light flashes blue, but it doesn't turn on. In this article, we will analyze all the current ways of connecting (via Wi-Fi, Bluetooth, Mi Gateway gateway), as well as give unique tips for eliminating rare errors that are not in the official documentation, LED Strip, Bulb (Color/Mono), Desk Lamp and others.
Before you start, make sure your fixture is regional firmware compatible. For example, lamps for the Chinese market (with the CN suffix in the model) may not work with European Mi Home servers. If you bought a device on AliExpress or Gearbest, check this detail - later we will tell you how to get around the restriction.
1. Connection Preparation: What to Do Before Installation
Before you turn the light on, follow a few critical steps, and ignoring them leads to 90% of connection errors:
- π Check the voltage: most Yeelight models work from 220B, but some LED-The tapes require a power supply unit on 12V/24C. Clarify the parameters in the instructions.
- πΆ 2.4GHz Wi-Fi: Lamps do not support 5GHz networks. If you have a dual-band router, temporarily turn off 5G Or create a separate network for smart devices.
- π± Update the app: Use the latest version of the Mi Home (or Yeelight App for advanced features.
- π Turn it off. VPN/Proxy: If you use services to change your region, it may block access to Xiaomi servers.
Pay special attention to the location of the router. If the lamp is installed in another room, the Wi-Fi signal may be too weak. In this case, use a repeater or Mesh system (for example, Xiaomi Mi Wi-Fi Repeater 2). To test, connect the lamp next to the router, and after successful setting up, move to a permanent place.
β οΈ Note: If you connect a Yeelight Ceiling, donβt hold it to the ceiling until you have completed the setup. First check the workability on the table or temporary fixing β this will save time to dismantle in case of problems.
2. Connection methods: choose the best option
There are 4 main ways to connect Yeelight to a smart home system, each with its pros and cons:
| Method | Pluses | Cons | For which models? |
|---|---|---|---|
| Wi-Fi (Mi Home) | Simplicity, access to cloud scenarios | Dependence on Xiaomi servers, possible delays | All models (except Yeelight Pro with Zigbee) |
| via Bluetooth (Yeelight App) | Working without internet, low latency | Limited functionality, small range of action | Bulb II, Desk Lamp 1S, new models |
| Through the Mi Gateway | Stable operation, integration with other Xiaomi sensors | Additional costs for the gateway, setting up Zigbee | Yeelight Pro, some LED Strips |
| Through Home Assistant | Full control, local scenarios, no cloud dependency | Difficulty of setting up, requires technical knowledge | All models with support LAN-protocol |
For most users, the first option is to connect via Mi Home over Wi-Fi, which requires no additional hardware and gives access to all basic functions, and if you want maximum stability (for example, for automating on a schedule), consider a Home Assistant or gateway.
π‘
If you have multiple Yeelight fixtures, connect them one at a time. Simultaneously configuring 3+ devices often causes crashes due to router overload.
3. Step-by-step instruction: connection via Mi Home
Follow this algorithm to connect the light to the Mi Home app:
- Install the lamp in the cartridge (or connect the LED Strip to the power supply).
- Start Mi Home, press + β Add the device.
- Select Lighting category, then find your Yeelight model.
- Turn on the light. The lamp should flash yellow.
- Confirm the blinking in the app, then select your Wi-Fi network and enter your password.
- Wait until the process is completed (up to 2 minutes). The lamp flashes white - the connection is successful.
If the lamp is not flashing yellow in step 4, it means that it has already been connected before. To reset, press and hold the button on the case (or turn off / turn on the power 5 times in a row at intervals of 1 second). LED Strip use the button on the power supply.
Make sure Wi-Fi is running at 2.4GHz |
Turn off VPN/Proxy on your phone |
Update Mi Home to the latest version|
Place the lamp next to the router |
Check the power supply voltage-->
β οΈ Note: If the app is experiencing a Device not found error, try restarting the router. Often the problem lies in blocking the multicast packets that Yeelight uses to find devices.
4. Solving common connection errors
Even with proper preparation, there can be failures.-5 errors and ways of eliminating them:
- π΄ The lamp flashes blue, but does not connect: this means that the device received the IP-address, but cannot contact Xiaomi servers. DNS on a router (try using 8.8.8.8 or 1.1.1.1).
- π‘ The app freezes at 99%: cancel the process, restart Mi Home and try again. If it doesn't work, drop the lamp and try another phone.
- π’ The light is connected, but does not respond to commands: check whether the firewall on the router blocks outbound connections to ports 54321 and 80.
- βͺ LED-tape turns on but doesnβt change color: update firmware via Yeelight App (Mi Home may not have this feature).
- β« The lamp turns off after 5 minutes: in the router settings, turn off the Energy Saving function - it breaks the connection with inactive devices.
For models with Chinese firmware (e.g. Yeelight Color 2 CN), you may need to change the region to Mi Home:
- In the app, go to Profile β Settings β Region.
- Choose China and confirm the change.
- Restart the application and reconnect.
After successful configuration, return the region back.
How to check if your lamp is Chinese?
5. Advanced customization: Integration with Home Assistant
If you use Home Assistant, connecting Yeelight over a local network will give you instant response and independence from the Xiaomi cloud.
- Make sure that the lamp and the Home Assistant server are on the same network.
- In the configuration.yaml file, add:
light:
- platform: yeelight
devices:
192.168.1.100: # Replace your lamp with IP
name: "Yeelight Ceiling"
transition: 1000 # Smoothness of transition (MS)- Reboot Home Assistant.
- There will be a new entity in the interface light.yeelight_ceiling.
For automatic detection IP-Use the discovery component or set up a static lamp address IP If the lamp is not detected, check that its settings in Mi Home are enabled. LAN Control (Device settings) β Local area network).
π‘
Local control via Home Assistant reduces latency from 200β500 ms (cloud) to 50β100 ms, which is critical for motion sensor scenarios.
6.Operation optimization: tips for durability and stability
To keep the lamp running smoothly for years, follow these guidelines:
- π‘ Update your firmware every 3-6 months, fix synchronization errors and add support for new features (e.g. Sunrise Mode for smooth wake-up).
- π Reset the lamp once a month: turn off the power for 10 seconds.This clears the device cache and prevents "hangsΒ».
- π‘ Use a backup Wi-Fi channel: If you have a dual-band router, set up 2.4GHz on a fixed channel (such as 6 or 11) β this will reduce interference.
- π οΈ Clear the contacts: for LED Strip once a year, check the reliability of the connections in the power supply and at the joints of the tape.
If you use Yeelight in automation scenarios (e.g., with Xiaomi Motion Sensor), set the shutdown delay. By default, the lamp goes off immediately after the sensor is triggered, which is inconvenient. In Mi Home, set the delay to 1-2 minutes:
- Open the script in Mi Home.
- In the βIfβ block, select a motion sensor.
- In the To block, add the action Turn on the lamp + Turn off the lamp in 2 minutes.
β οΈ Warning: Don't use cheap LED-Yeelight tapes (models below Lightstrip Plus) in high humidity areas (bathroom, kitchen above stove) even with the declared waterproofing IP65 Condensate can cause corrosion of contacts. For these areas, choose specialized models with a high-quality corrosion system. IP67.