How to add a Xiaomi lamp to Mi Home: full instructions from unpacking to automation

Xiaomi smart bulbs are some of the most popular smart home devices, thanks to their combination of affordable price, wide functionality and easy setup, but even with these devices, users often have questions about how to connect the lamp to the Mi Home app, why it is not detected on the network, or how to sync it with voice assistants like Google Assistant or Alice.

In this article, we will discuss the process of adding a Xiaomi lamp (including the Yeelight, Mi models). LED Smart Bulb and others, from the ground up, from unpacking to configuring complex automation scenarios, focusing on the common bugs that prevent successful connectivity and how to solve them. If you have tried to add a lamp but failed, here you will find a checklist to diagnose the problem.

The material is relevant for 2026 and takes into account the latest updates to the Mi Home app (including the European version), as well as changes in the protocols for connecting Xiaomi smart devices to third-party platforms.

1.Preparation for connection: what to do before installing the lamp

Before you start setting up, make sure you have everything you need, which will eliminate unnecessary problems during the connection phase.

Minimum requirements:

  • πŸ“± Smartphone on Android (version 6.0 and higher) or iOS (version 12.0 and higher) with the Mi Home app installed (you can download from the App Store or Google Play).
  • πŸ”Œ Stable 2.4GHz Wi-Fi connection (Xiaomi lamps don't work with 5GHz networks!) If you have a dual-band router, make sure the 2.4GHz network is on and has a unique name (SSID).
  • ⚑ Power supply for the lamp: 220V cartridge (for Russian networks) or adapter if the lamp is designed for 110V (for example, brought from the USA).
  • πŸ”§ Screwdriver (if the lamp is installed in the ceiling lamp or sconces).

Important: if you are using a Wi-Fi mesh system (e.g. Xiaomi Mi Wi-Fi Router) AX3600), Temporarily disable the automatic switching function between ranges 2.4/5 GHz in router settings. That's a common reason the lamp doesn't find the network.

⚠️ Note: Some lamp models (e.g. Yeelight) LED Ceiling Light requires you to connect to a neutral wire in the electrical wiring. If you have only a phase in the cartridge, the lamp will not work correctly.

πŸ“Š What kind of Xiaomi lamp do you connect?
Yeelight (colored)
Mi LED Smart Bulb (white light)
Mi LED Desk Lamp (desktop)
Another model

Installation and first lighting of the lamp: step-by-step instructions

Start with the physical installation of the lamp. This step seems simple, but errors here can lead to connection problems later.

Step 1. Installation in the cartridge

  1. Turn off the power on the switch or machine (if the lamp connects to the ceiling lamp).
  2. Put the lamp in the cartridge to the point. Don't put too much effort into it, because smart lamps often have plastic threads.
  3. Turn on the power. The lamp should flash once with a white light, which is a signal that you're ready to connect. If there's no blinking, check the contacts in the cartridge or try another power source.

Step 2: Reset the lamp to factory settings (if it has already been used)

If the lamp was previously connected to another Mi Home account, you need to reset it.

  • Put the lamp on the network.
  • Turn off and turn on the power 5 times in a row with an interval of 1 second.
  • After the fifth lighting, the lamp should start flashing yellow and blue, which is reset mode. Wait until it slowly pulses white (about 30 seconds).

Step 3: Check the indication before connecting

Before adding to the app, make sure the lamp is in standby mode:

  • 🟒 Slow flashing white - ready to connect.
  • 🟑 Yellow constant light – Wi-Fi connection error (you need to reset settings).
  • πŸ”΅ Blue constant light – the lamp is already connected to the account.

β˜‘οΈ Preparation of the lamp for connection

Done: 0 / 4

3. Adding a lamp to the Mi Home app

Now, the most important step is to connect the lamp to the application, and it's important to follow the instructions precisely to avoid synchronization errors.

Step 1: Start the addition process

  1. Open the Mi Home app and go to the Devices tab (bottom of the screen).
  2. Click on the + icon in the upper right corner and select Add Device.
  3. In the category list, select Lighting, then find your lamp model. If the model is not listed, select Other β†’ lamp.

Step 2: Selecting a region and Wi-Fi network

The app will suggest selecting a region (it is important to specify Russia or Europe if you use European firmware).

  • Make sure your smartphone is connected to a 2.4GHz Wi-Fi network (Xiaomi lamps don’t support 5GHz!).
  • Enter your Wi-Fi password. If your password contains Cyrillic or special characters (e.g.!, @), try temporarily changing it to Latin.
  • Click Next and wait until the app starts searching for the device.

Step 3: Synchronize the lamp with the application

When the app asks you to press the button on the lamp, do the following:

  • If the lamp has a physical button (for example, the M/M button) LED Desk Lamp, press and hold it for 5 seconds until the indicator flashes.
  • If there is no button (as with most screw-in lamps), turn off and turn on the power 3 times at intervals of 1 second.
  • The lamp should start flashing white quickly, which is a signal of successful synchronization.

If you fail to connect the device at this stage, go to the section "Prevalent Errors and Their Solutions".

πŸ’‘

If the lamp is not in the app, try temporarily disabling it. VPN Proxies on your smartphone – they can block the connection to Xiaomi servers.

4. Tuning the lamp after connection: brightness, color, scenarios

Once added successfully, the lamp will appear in the Mi Home device list, and you can now start setting it up.

Basic parameters

Open the lamp card in the app. The following options are available here:

  • πŸ’‘ Brightness - adjust from 1% to 100%. For Yeelight lamps with color illumination, a slider Color Temperature (from warm) is available. 2700K coldly 6500K).
  • 🎨 Colour (for) RGB-models) - palette with the possibility of choosing a shade or ready-made presets (Dawn, Sunset, Reading).
  • ⏱️ Timer – setting up automatic on / off on a schedule.

Creating automation scenarios

To allow the lamp to respond to other devices or time of day:

  1. Go to the Automation section (Icon) βš™οΈ top-right corner of the lamp card).
  2. Click Add Automation and select a trigger: πŸ•’ Time (for example, to include the lamp in the 19:00). πŸšͺ By event (for example, when opening a door with a Xiaomi sensor) Door/Window Sensor). πŸ“± Geolocation (turn on the lights when you return home).

Set the action for the lamp (turn on, off, change color) and save the script.

Integration with voice assistants

To control the lamp with your voice via Google Assistant, Alice or Siri:

  1. In the lamp card in Mi Home go to Settings β†’ Voice assistant.
  2. Select the platform (Google Home, Yandex, Apple HomeKit) and follow the instructions for linking accounts.
  3. After syncing, tell the assistant, OK Google, turn on the lamp in the living room at 50% Alice, turn the light in the bedroom blue.

πŸ’‘

For stable voice control, make sure that the correct region is indicated in the Mi Home settings (Russia)./Europe) The lamp is tied to the main account, not the guest account.

5. Common mistakes and their solutions

Even if you follow the instructions accurately, the lamp may not connect, and here is a list of typical problems and ways to fix them.

Mistake.Possible causeDecision
The lamp does not flash when switched onFailure of the cartridge or wiringCheck the voltage in the cartridge with a tester, try another power source
App fails to find lampThe lamp is connected to another Wi-Fi networkReset the lamp (5 on/off) and make sure that the smartphone and lamp are on the same 2.4 GHz network
Error "Cannot connect the device"Blocking by router or firewallTurn off the firewall on your smartphone, temporarily disable the antivirus, check the router settings (open ports). TCP 80 and UDP 53)
The lamp connects but does not respond to commands.Conflict with another device on the networkReboot your router, change your Wi-Fi channel in your settings (Channel 6 or 11 is recommended)
Voice assistant can't see the lampUnsynchronized accountsUntie and re-connect your Mi Home account with Google Home/yandex

Additional advice:

  • πŸ”„ If the lamp is connected but is unstable (it turns off on its own, does not respond to commands), try reflashing it through the Yeelight app (for Yeelight models).
  • πŸ“Ά If you have a weak Wi-Fi signal at the lamp installation site, use a repeater or move the router closer.
  • πŸ”’ If the lamp was previously connected to another account, and the reset does not help, contact Xiaomi with the serial number of the device (located on the case).

⚠️ Note: Some lamp models (e.g. Xiaomi Mi) LED Smart Bulb Essential does not support connection to hidden networks SSID. Before setting up, make the network visible in the router settings.

What if the lamp is connected but does not save the settings?
This may be due to a firmware conflict. Try this: 1. Turn off the lamp for 10 minutes. 2. Remove it from the Mi Home app. 3. Re-add the lamp, but at the network selection stage, specify another access point (for example, a mobile hotspot of a smartphone). 4. Once successfully connected, return the lamp to the main network through the Wi-Fi settings in its card.

6 Advanced functions: lamp grouping, music synchronization and light games

If you have multiple Xiaomi smart bulbs, they can be combined into groups for synchronous control.

Creation of a lamp group

  1. In the Mi Home app, go to the Devices section.
  2. Click on the three dots in the upper right corner and select Add Group.
  3. Choose the lamps you want to combine and assign a name to the group (e.g., Living room).
  4. Now all the lamps in the group will respond to commands at the same time (e.g., OK Google, turn off the lights in the living room).

Synchronization with music (for the purpose of RGB-lamp)

Yeelight lamps support Music Mode, where the color and brightness change to the beat of the music.

  • Install the Yeelight app (separate from Mi Home).
  • Turn on the Music Mode mode in the lamp settings.
  • Start the music on your smartphone – the lamp will start to pulsate in the rhythm of the track.

Light games and dynamic effects

In the Yeelight application, ready-made scenarios are available:

  • πŸŒ… Dawn – a smooth increase in brightness for awakening.
  • πŸŒ™ Sunset – the gradual extinction of light before bedtime.
  • πŸŽ„ Holiday mode - flashing colors for parties.

To create custom effects, use third-party apps like Home Assistant or Node-RED that support integration with Xiaomi over the protocol. MQTT.

7. Compatibility with other smart home systems

Xiaomi lamps can be integrated not only with the native Mi Home app, but also with other platforms.

Connecting to Home Assistant

For this:

  1. Install the Xiaomi Miio component in the Home Assistant.
  2. Get your device token with the Mi Home Token Extractor (requires a Xiaomi account and access to the device) API).
  3. Add the lamp to configuration file configuration.yaml: light: - platform: xiaomi_miio name: "Xiaomi Lamp" host: 192.168.1.100 # IP-token: YOUR_TOKEN_HERE

Integration with Apple HomeKit

Xiaomi lamps don’t support HomeKit, but there are workarounds:

  • Use the Home Assistant Bridge with the HomeKit Bridge plugin.
  • Buy a universal hub (like Aqara Hub) that supports both protocols.

Working with Amazon Alexa

To manage through Alexa:

  1. In the Mi Home app, go to the lamp settings β†’ Voice assistant β†’ Amazon Alexa.
  2. Sign in to your Amazon account and sync your devices.
  3. Alexa, set bedroom light to red Alexa, turn on living room lamp to 30%

⚠️ Note: When integrated with Home Assistant or HomeKit, the lamp may lose communication with the Mi Home.

8. Update firmware and reset to factory settings

Regular firmware updates improve the stability of the lamp and add new features, but sometimes the update can go wrong.

How to update firmware

  1. Open the lamp card in Mi Home.
  2. Go to Settings (Icon) βš™οΈ) β†’ Firmware update.
  3. If a new version is available, click Update and wait for the process to complete (don’t turn off the lamp!).

If the lamp does not turn on after reset at all (does not flash, does not respond to power), this may indicate a hardware fault of the controller. In this case, contact the Xiaomi service center - self-repair can lead to loss of warranty.

πŸ’‘

Before updating the firmware, make sure the lamp is connected to a stable power source. interruption of the process can lead to the "bricking" of the device.

FAQ: Frequent questions about Xiaomi lamps

Can I connect a Xiaomi lamp without the Mi Home app?
Yes, but with limitations. Yeelight lamps support connectivity via the Yeelight app, as well as through third-party systems like Home Assistant or Google Home (after initial setup in Mi Home), but Mi Home or Yeelight is a must for the first setup.
Why does Xiaomi lamp not work with 5GHz Wi-Fi?
Xiaomi lamps are equipped with a Wi-Fi module that supports only the 2.4 GHz band. This is done for compatibility with most routers and reduce power consumption. If your router is only running in 5 GHz mode, you will need: Buy a separate router with support for 2.4 GHz. Use a repeater that converts 5 GHz to 2.4 GHz. Enable compatibility mode on your router (if supported).
How to reset a lamp if it is already connected to another account?
If the lamp is tied to someone else's Mi Home account, a standard reset (5 on/off) may not work. In this case: Try resetting the lamp through the Yeelight app (if the model is supported). Contact the previous owner and ask him to remove the lamp from your account. Contact Xiaomi support with the lamp serial number (located on the case or package) and proof of purchase (check, invoice).
Can I use a Xiaomi lamp without the internet?
Yes, but with limitations. The lamp will run on a local network, and you can control it through: the Mi Home app (if the smartphone is connected to the same Wi-Fi network); voice commands via Google Assistant or Alice (if they are set up for local management); third-party systems like Home Assistant (they communicate with the lamp directly over the local network); however, some functions (for example, control from the outside of the house or updating the firmware) require an Internet connection.
How to check if the Xiaomi lamp is original?
There are many fakes on the market that may be operating unstable or not connecting at all.Signs of the original lamp: 🏷️ On the package there is a hologram with the Xiaomi logo and serial number. πŸ”  The serial number on the lamp body matches the number on the box. πŸ“± Mi Home app defines a model of a lamp without errors (fakes are often displayed as Unknown device). πŸ” In the lamp settings in Mi Home, there is a tab Update firmware (forgeries usually do not have it).If in doubt, check the serial number on the official Xiaomi website.