Xiaomiβs Mijia 2 smart bulb (also known as the Yeelight LED Smart Bulb or Mi LED Smart Bulb 2) is one of the most popular lighting solutions in the Xiaomi ecosystem. It supports 16 million shades, brightness and color temperature adjustment, and integration with voice assistants. But before you enjoy all of these features, the device needs to be plugged in correctly. And here users often wonder why the lamp doesnβt find the network, how to reset or what to do if the Mi Home app canβt see the device.
In this article, we will look at all the ways Xiaomi Mijia 2 connects, from standard Wi-Fi sync to alternative methods using Bluetooth or third-party applications. We will focus on common errors (e.g. Error: -40403 or Unable to connect) and how to fix them. If you just unpacked the lamp or are trying to reconfigure it after resetting, this guide will help you avoid frequent problems and save time.
1.Preparation for connection: what to check before starting
Before you start synchronizing, make sure that all conditions are met, which will save you from most errors during the connection stage.
- π± Smartphone on Android/iOS with the Mi Home app installed (version no lower) 6.0). You can download it from Google Play or App Store.
- π Wi-Fi router with support for the standard 2.4 GHz (lamp does not work with 5 GHz.
- β‘ The Xiaomi Mijia 2 lamp is screwed into the cartridge and is on the network. It should flash white (standby connection mode).
- π The region in Mi Home is set in China or Russia (depending on the version of the lamp firmware).
Important: If the lamp was previously connected to another device, it should be reset. To do this, turn off and turn on the power 5 times in a row at intervals of 1 second, after reset, the lamp will start flashing quickly yellow.
β οΈ Note: Some routers (such as TP-Link or Keenetic) are hidden by default SSID 2.4 GHz network, combining it with 5 GHz under one name, in which case create a separate network for 2.4 GHz in the router settings.
2. Standard connection via Mi Home (Step-by-step)
This is the main way of synchronization, which works 90% of the time. Follow the instructions carefully to avoid errors.
- Open the Mi Home app and log in (if you haven't already done so) and make sure the region is selected correctly (see Preparation).
- Click on the + icon (add device) in the upper right corner.
- Select Lighting, then search for the Mi LED Smart Bulb (or Yeelight) model.
- Keep the lamp on until it blinks quickly (pairing mode).
- Enter the password from your Wi-Fi network (2.4GHz) and wait until the connection is complete. the process can take up to 2 minutes.
If it goes well, the lamp will stop flashing and light up with white light, and the app will display its icon with control.
The lamp flashes white/yellow|Smartphone connected to Wi-Fi 2.4 GHz|Mi Home app updated|Region in Mi Home - China/Russia|Router does not block new devices-->
3. Alternative ways of connecting
If the standard method didn't work, try one of these options, which is helpful in cases where the lamp can't see the network or the application is not seeing the network.
Method 1: Connect via Bluetooth (for new versions of Mi Home)
Some Mijia 2 models support initial Bluetooth tuning.
- Turn on Bluetooth on your smartphone.
- In Mi Home, select Add Device β Lighting β Mi LED Smart Bulb (Bluetooth).
- Follow the instructions on the screen. Once paired, the lamp will automatically connect to Wi-Fi.
Method 2: Use the Yeelight application
If Mi Home stubbornly doesn't see the lamp, try the official Yeelight app (available for Android and iOS).The algorithm is similar but sometimes works more stable.
Method 3: Manual Wi-Fi data entry
For advanced users: if the lamp is visible on the network but not connected, you can try to enter Wi-Fi data manually through ADB (root access is required on Android), however, this method is risky and only suitable for advanced users.
How do I find out the version of the lamp?
4. Typical errors and their solutions
Even with the right connection, there can be failures, and let's look at the most common errors and how to fix them.
| Error Code/Situation | Reason. | Decision |
|---|---|---|
| Error: -40403 | The lamp cannot connect to Wi-Fi | Check that the 2.4 GHz network is correctly entered, the router does not block new devices |
| Unable to connect | Weak Wi-Fi signal or interference | Bring the lamp closer to the router (up to 2 m) and try again. |
| The lamp flashes red | Firmware error or hardware failure | Reset the lamp (5 times to turn on/off) and update the firmware via Mi Home |
| App fails to find lamp | Lamp is not in pairing mode or conflict with other smart devices | Turn off other smart bulbs, reset Mijia 2 and repeat the search |
β οΈ Note: If the lamp after connection is unstable (it turns off independently, does not respond to commands), check the energy saving settings on the router. Some models (e.g. Xiaomi Mi Router) turn off sleeper devices to save battery power β disable this feature in the router control panel.
5.Configure after connection: what can be done
Once synchronized successfully, the lamp's full capabilities will be unlocked, and here are the basic functions that you should configure right away:
- π¨ Color and brightness: in the Mi Home application you can choose any shade from the palette or set the color temperature (from warm). 2700K coldly 6500K).
- β° Schedule: automatically turn on/off lights over time (e.g., simulate the presence of a home).
- π Scenarios: create combinations with other Xiaomi devices (for example, the lamp lights up when the motion sensor is triggered).
- π€ Voice control: connect to Alice, Google Assistant or Siri through the app settings.
Tip: If the lamp is used in the bedroom, set up a smooth awakening. In Mi Home, select Schedule β Add β Awaken and set the time, brightness and duration of the light increase (for example, from 1% to 100% in 30 minutes).
π‘
To prevent the lamp from flickering during dimming (brightness adjustment), in the router settings, turn off the Band Steering function (combining 2.4 and 5 GHz networks).
6. Connect to third-party systems (Home Assistant, Yandex, Google Home)
Xiaomi Mijia 2 supports integration with popular smart home platforms.
Integration with Home Assistant
If you use Home Assistant, add the lamp through the Yeelight component:
- Open the configuration.yaml file.
- Add the lines: light: - platform: yeelight devices: 192.168.1.100: # Replace the IP lamp name: "Bedroom lamp" transition: 1000
- Reboot Home Assistant.
Connection to Yandex Alice
To control voice through Alice:
- In Mi Home go to Profile β Settings β Yandex.
- Log in and allow access to the devices.
- Tell Alice, "Put the sleeping lamp on."
β οΈ Note: When integrated with Google Home, the lamp may lose some of its features (e.g., color temperature control).This is a limitation of the Mi Home protocol - use the original app for full control.
7. Reset and flashing: if nothing helps
If the lamp stops responding or connecting, you may need to completely reset or update the firmware.
Hardware discharge
Follow the sequence:
- Turn the lamp off the network.
- Turn it on for 2 seconds, then turn it off.
- Repeat 5 times. The lamp should flash yellow and drop.
Firmware update
In Mi Home, go to lamp settings β Device β Software update. If a new version is available, install it. Importantly, do not turn off the lamp during the upgrade, this can lead to its βbrickingβ (loss of performance).
π‘
If the lamp doesn't flash after it's dropped, check the power supply, and it's probably the cartridge or the wiring that's the problem, not the lamp itself.