Connecting the lamp Xiaomi to the phone and Wi-Fi: full instruction with photos and tips

Xiaomi smart bulbs are some of the most popular smart home devices that allow you to control lighting from your smartphone, customize scripts, sync with music, and even change color temperature depending on the time of day. However, beginners often have difficulties with the first connection: the lamp does not find the network, the application gives an error, or the device refuses to sync with the Mi Home.

In this article, we will analyze all the ways to connect Xiaomi lamps - from simple Yeelight models to multicolored Mi lamps. LED Smart Bulb. You'll learn how to reset your settings correctly, which Wi-Fi networks are supported, and how to integrate the lamp into Google Home or Apple HomeKit (if the model allows it), and also the typical bugs that cause the connection to break down halfway.

What Xiaomi lamps are and how they differ

Xiaomi has several smart lamp lines, and their capabilities vary greatly. Here are the main series you can find on sale:

  • πŸ’‘ Yeelight – budget series with basic functions (brightness adjustment, color temperature 2700–6500K). Supports voice assistants, but does not always work with HomeKit.
  • 🎨 Mi LED Smart Bulb (multicolor) - models with RGB-Backlights, 16 million shades and dynamic scenes (like Sunset or Party) require a bridge for some features.
  • 🌑️ Mi LED Desk Lamps are table lamps with light sensors and automatic brightness control. Connect via Bluetooth or Wi-Fi.
  • πŸ”† Xiaomi Smart Ceiling Light – ceiling lights with modular design (you can combine panels). Often require professional installation.

Before buying, check whether the model supports the Zigbee protocol (you need to work with the Xiaomi Mi Home Gateway hub) or only Wi-Fi. LED Bulb works directly over Wi-Fi, and Mi LED Smart Bulb Pro may require a bridge for advanced features.

⚠️ Note: Xiaomi lamps do not support 5GHz Wi-Fi networks. If your router only works in this range, connection will not be possible. Switch to 2.4GHz or create a separate network.

Model lampType of connectionColor temperatureRGB-lightingVoice control
Yeelight LED BulbWi-Fi (2.4 GHz)2700–6500K❌ No.βœ… Yes (Google, Alexa, Alice)
Mi LED Smart BulbWi-Fi/Zigbee (with hub)1700–6500Kβœ… Yes, 16 million flowers)βœ… Yes, including Siri)
Xiaomi Smart Ceiling LightWi-Fi / Zigbee2700–6500Kβœ… Yes, some models)βœ… Yes.

Preparation for connection: what to do before installing the lamp

Before screwing the lamp into the cartridge, follow several mandatory steps:

  1. Check the compatibility of the cartridge.Most Xiaomi lamps have a cap. E27, But there are models with E14 (for sconces or table lamps, specify this point in the characteristics of the device.

Turn off the VPN or proxy.

Xiaomi

Xiaomi’s lamp will not work on a client isolation network, which is often included in public Wi-Fi or guest networks. If you connect your device in an office or hotel, use a mobile hotspot.

πŸ“Š What kind of Xiaomi lamp do you use?
Yeelight (white)
Mi LED Smart Bulb (colored)
Desktop lamp.
Ceiling lamp
I haven't bought it yet.

Step-by-step: how to connect a Xiaomi lamp to Wi-Fi

Let’s look at the universal connection algorithm using Yeelight as an example. LED For other models, the steps may differ slightly (for example, for Mi). LED Smart Bulb will need to select China region in the app settings).

Step 1: Installation of the lamp in the cartridge

Plug the lamp into the cartridge and turn on the power. Make sure it flashes yellow or white light, which means that the device is ready to pair. If the lamp is on even light, reset the settings (more on this below).

Step 2: Adding the device to Mi Home

Open the Mi Home app and do the following:

  1. Press + β†’ Add the device.
  2. Select the Lighting category.
  3. Find your lamp model (e.g. Yeelight) on the list. LED Bulb).
  4. Confirm the flashing of the lamp (press Yes, flashing).

Step 3: Connect to a Wi-Fi network

The app will prompt you to connect to the lamp’s temporary network (the name will start with yeelink-light-..).

  1. Return to the main Wi-Fi network in your phone settings.
  2. Enter your 2.4GHz network password in the Mi Home app.
  3. The device is connected (usually takes 10–30 seconds).

If you fail to connect at this stage, try:

  • πŸ”„ Reboot router.
  • πŸ“± Disable the energy-saving mode on the phone (it can break the connection).
  • 🌐 Switch to another Wi-Fi network (e.g., a mobile access point).

Lamp cap checked (E27/E14)

Mi Home or Yeelight app installed

Wi-Fi operates in the 2.4 GHz band

Unplugged. VPN proxy

The lamp flashes (does not burn straight)-->

How to reset the Xiaomi lamp settings to factory

If the lamp was previously connected to another account or network, it should be reset.

Method 1: Through a button on the body (for Yeelight)

Some Yeelight models have a physical button to reset the settings:

  1. Turn off and turn on the lamp again 5 times in a row at an interval of 1 second.
  2. After the fifth turn on, hold the button on the case for 5-10 seconds until the lamp starts flashing yellow.

Method 2: Through the application (for Mi) LED Smart Bulb)

If the lamp has already been added to the Mi Home, but does not respond:

  1. Open the device in the app.
  2. Go to Settings. β†’ Remove the device.
  3. Confirm the deletion and reconnect.

Method 3: Through the voice assistant (if the lamp is synchronized)

If the lamp is tied to Google Assistant or Alice, say:

  • 🎀 Β«Okay, Google, untie the lamp [device name]Β».
  • 🎀 Β«Alice, remove the device [name of lamp]Β».

⚠️ Note: After resetting the lamp Xiaomi Mi LED Smart Bulb may require re-authorization in an app with a selection of China region. Without this, some features (e.g. dynamic scripts) will not work.

What to do if the lamp does not drop?
If none of these methods worked, try: 1. Turn off the lamp for 10 minutes, then re-switch the current. 2. Use another application (e.g. Yeelight App instead of Mi Home). 3. Connect the lamp via another smartphone (sometimes changing the device helps).

Lamp setting after connection: scripts, schedule, voice control

When you connect the lamp to Wi-Fi, you can customize it to your needs.

1. Creation of illumination scenarios

In the Mi Home app, go to Automation section β†’ Add a script. You can customize it, for example:

  • πŸŒ… Dawn simulation: The lamp gradually increases brightness from 6:00 to 7:00.
  • 🎬 Movie mode: when you launch a movie on Xiaomi TV lamp dims to 10%.
  • πŸšͺ No-Home Mode: Accidentally Turning on Lights in Your Absence.

Set-up of the schedule

To turn the lamp on/off in time:

  1. Open the device in Mi Home.
  2. Go to the schedule. β†’ Add.
  3. Select the days of the week, time and action (turn on/off/change color).

3. Voice control via Alice, Google or Siri

To set up the voice assistant:

  • 🎀 Alice (Yandex): Open the Mi Home skill in the Yandex application and synchronize.
  • 🎀 Google Assistant: In Mi Home, go to Profile β†’ Settings β†’ Google Assistant and Link Accounts.
  • 🎀 Siri (HomeKit): Only for models with HomeKit support (e.g. Mi) LED Smart Bulb Pro. Scanning required QR-packet-code.

Examples of voice commands:

  • "Alice, turn on the lamp in the living room 50%."
  • β€œOkay, Google, make the lights in the bedroom blue.”
  • "Hi Siri, turn off all the lights in 30 minutes."

1. Is the Mi Home account linked to an assistant?

2. is the correct name of the device (without spaces and symbols).

3. whether the lamp is connected to the same Wi-Fi network as the phone.-->

Typical Connection Errors and How to Fix Them

Even if you follow the instructions, you can have problems.

Mistake.Reason.Decision
The lamp does not flash when switched onAlready linked to another accountPerform a discharge (see section above)
App fails to find lampLamp not in pairing modeTurn off / turn on 5 times in a row
Error β€œI failed to connect to the network”Wrong Password or 5 GHz NetworkCheck the network name and password, switch to 2.4 GHz
The lamp connects but does not respond to commands.Problems with Xiaomi serversRestart the router and lamp, wait 10 minutes

If the lamp is plugged in but periodically shuts off from Wi-Fi, check:

  • πŸ“Ά Signal level: the lamp should be no further than 10 meters from the router (walls weaken the signal).
  • πŸ”Œ Power stability: voltage surges can knock settings. Use a network filter.
  • πŸ”„ Network congestion: If more than 20 devices are connected to the router, the lamp can β€œfly outΒ».

πŸ’‘

If the Xiaomi lamp doesn’t connect despite all the effort, try using the Yeelight App instead of the Mi Home app – it often works more stable with the devices in the series.

Integration of Xiaomi lamp into smart home systems (Home Assistant, Yandex IoT, Apple HomeKit)

Xiaomi lamps can be connected not only to the native application, but also to other smart home platforms.

1. Connect to Home Assistant

This will require:

  1. Install the Xiaomi Miio component via HACS or manually.
  2. Get Token devices (e.g., through the Mi Home Token Extractor app).
  3. Add the lamp to configuration.yaml: light: - platform: xiaomi_miio name: "Xiaomi Lamp" host: 192.168.1.100 # IP-token: YOUR_TOKEN_HERE

2. Synchronization with Yandex Smart Home (Alice)

To the lamp appeared in the application Yandex:

  1. Open Mi Home and go to Profile β†’ Settings β†’ Yandex.
  2. Log in and allow access to the devices.
  3. In the Yandex application, update the list of devices (Add device) β†’ Xiaomi).

3. Connect to Apple HomeKit (supported models only)

HomeKit-enabled models (e.g. Mi) LED Smart Bulb Pro is connected to this:

  1. Open the Home app on your iPhone.
  2. Click Add Accessory and Scan QR-lamp-packing.
  3. Follow the instructions on the screen.

⚠️ Note: Xiaomi lamps purchased in China (with China Mainland region in Mi Home) may not support HomeKit even if the model provides for it!

FAQ: Frequent questions about Xiaomi lamps

Can you control a Xiaomi lamp without the internet?
Yes, but with limitations. The lamp will work on a local network if: You use the Mi Home or Yeelight app on the same Wi-Fi network. Cloud scripts (e.g., Internet control) are not configured. Voice assistants (Alice, Google) require the Internet to process commands.
Why does Xiaomi light flicker or spontaneously turn off?
Causes of flickering: πŸ’‘ Low voltage on the mains (check the stabilizer). πŸ“‘ Bad Wi-Fi signal (move router closer). πŸ”‹ Faulty lamp driver (replacement required) If the lamp turns off, check the energy saving settings in Mi Home (Schedule section).
How to update the firmware of the Xiaomi lamp?
Updates are set automatically, but you can check manually: Open the lamp in Mi Home. Go to Settings β†’ Update firmware. If a new version is available, click Update. ⚠️ Do not turn off the lamp during the upgrade!
Can I use a Xiaomi lamp with a switch?
Yes, but with caveats: If the switch breaks phase, the lamp will reset the settings each time it shuts down.Solution: Use a circuit-free switch or Xiaomi's smart switch (like the Mi Smart Wall Switch).
How to change the Xiaomi account to which the lamp is attached?
To transfer the lamp to another user: The owner must remove the device from his Mi Home account. The new user reconnects (the lamp must flash). If the previous owner is not available, perform a hardware reset (see section above).