How to connect Xiaomi smart lamp to Wi-Fi: full instruction with error solutions

Xiaomi smart lamps are one of the most popular smart home gadgets, but their first Wi-Fi connection often raises questions: Why does the lamp not find the network? How to fix the β€œfailed to connect” error? Can it be managed without the Internet? In this article, we will analyze all the current ways of synchronization (including Mi Home, Google Home and Apple HomeKit), and also solve typical problems from router incompatibility to firmware failures.

Special attention will be paid to new models of 2023-2026 (Xiaomi Smart). LED Bulb E27, Yeelight Pro, Mijia LED Desk Lamps, which require an updated connection algorithm, if you've tried to set up the lamp and you've got an error, skip the basic steps and go straight to Common Errors and Solutions".

Xiaomi’s modern smart bulbs support not only smartphone control, but also integration with voice assistants (Alice, Google Assistant, Siri). However, you first need to connect the device correctly to your Wi-Fi network. Unlike conventional incandescent bulbs, it requires configuration through a proprietary application and compliance with several key conditions: from the router firmware version to the type of network encryption.

Important: If your lamp has already been connected to another network (for example, in the office or at the previous owner), it must be reset to the factory settings.

1.Preparation for connection: what to check before starting

Before you start synchronizing, make sure that all the conditions are met, which will save time and eliminate the typical errors like "Can't find the device."

Minimum connection requirements:

  • πŸ“± Smartphone on Android 6.0+ or iOS 12.0+ (Mi Home is the latest version).
  • πŸ“Ά Router with support for 2.4 GHz (Lamps Xiaomi does not work with networks 5 GHz!).
  • πŸ”’ Type of network encryption - only WPA2-PSK (AES). Open the router settings and check it out.
  • πŸ”Œ The lamp must be plugged into the socket and flash white/yellow (connection waiting mode).

If your router is broadcasting 2.4 GHz and 5 GHz simultaneously under the same name (SSID), The lamp will not be able to connect. In this case, you need to divide the networks in the router settings or temporarily disable 5 GHz. How to do this, see the instructions for your router model (for example, for TP-Link path: Wireless mode). β†’ Wireless network settings β†’ Separate the networks).

⚠️ Note: Xiaomi Lamps do not support networks with hidden SSID (When the name is not broadcasting, make the network visible in the router settings before connecting.

πŸ“Š What Xiaomi Smart Lamp Is It You Use?
Yeelight (colored)
Mijia (white light)
Xiaomi Smart LED Bulb
Another model
I haven't bought it yet.

2.Reset Xiaomi lamp before connecting

If the lamp has already been connected to another network (or you bought it used), you need to return it to the factory settings.

Method 1: via the Mi Home app (if the lamp is still online)

  1. Open Mi Home, go to the Devices section.
  2. Find your lamp and open its settings (icon) βš™οΈ).
  3. Select Delete Device β†’ Confirm the action.

Method 2: Hardware reset (if the lamp is not on the network)

  • πŸ’‘ Put the lamp in the socket.
  • πŸ”„ Turn it off and on 5 times in a row (with intervals) ~The lamp should start flashing yellow quickly, signaling a successful reset.

For Yeelight models, the reset is done differently: hold the power button on the lamp body for 5-10 seconds until it starts flashing.

⚠️ Warning: After resetting, the lamp automatically switches to standby mode for only 10 minutes. If synchronization fails during this time, repeat the reset.

3. Connecting Xiaomi lamp to Wi-Fi via Mi Home

The Mi Home app is the most reliable way to connect.

Step 1: Install and configure Mi Home

  • πŸ“² Download Mi Home from Google Play or App Store.
  • 🌍 Choose the region of Russia (or Mainland China if you have a Chinese version of the lamp).
  • πŸ”‘ Sign up or log in to your Xiaomi account (required! without an account, management will not work).

Step 2: Adding a device

  1. Press + in the upper right corner β†’ Add the device.
  2. Select the Lighting category β†’ Find your model of lamp (e.g. Xiaomi Smart) LED Bulb).
  3. Bring your smartphone to the lamp (at a distance) < 10 cm) and wait for the beep.
  4. Enter the password from your Wi-Fi network (2.4GHz only!) and confirm.

Step 3: Completion of the setup

  • 🏠 Assign a name to the lamp (e.g., "Bedroom") and select a room.
  • βœ… Wait for the "Device added" message!

The lamp flashes white/yellow|

Smartphone connected to Wi-Fi 2.4 GHz |

Mi Home selected region "Russia" |

Wi-Fi password on hand-->

4. Alternative ways of connecting

If Mi Home doesn’t work or you prefer other platforms, use these methods:

Method 1: Through Google Home (for the first time) Android/iOS)

  • πŸ”— First plug the lamp into Mi Home, then Google Home + β†’ Set up the device β†’ Already?.
  • πŸ” Select Xiaomi from the list of brands and sign in to your Mi Account.
  • πŸŽ›οΈ The lamp will appear in the list of devices – now it can be controlled by voice through Google Assistant.

Method 2: Through Apple HomeKit (iOS only)

⚠️ Note: Xiaomi lamps do not officially support HomeKit, but you can use a workaround through Home Assistant or HOOBS (requires separate server configuration).

Method 3: Through the Yeelight app (for Yeelight lamps)

  • πŸ“± Download Yeelight from the app store.
  • πŸ”„ Press. + β†’ Add the device and follow the instructions (similar to Mi Home).
  • 🎨 Yeelight has more color and scripting options than Mi Home.

Comparison of connection methods:

MethodSupported modelsPlusesCons
Mi HomeAll the lamps. Xiaomi/YeelightOfficial support, stable workRequires a Xiaomi account
Google HomeOnly after connecting to Mi HomeVoice management, integration with other devicesDepends on Mi Home.
YeelightOnly Yeelight lamps.Advanced color settingsNot suitable for Mijia

5. Common mistakes and their solutions

If the lamp does not connect, check these points:

Error: "Can't find the device"

  • πŸ“΅ Make sure the lamp flashes (if not, drop it).
  • πŸ“± Reboot your smartphone and router.
  • πŸ”Œ Try another power source (sometimes the problem is in the socket).

Error: β€œI couldn’t connect to Wi-Fi”

  • πŸ”’ Check that 2.4GHz network and encryption WPA2-PSK.
  • πŸ“‘ Turn off Band Steering (it automatically switches devices to 5 GHz).
  • πŸ”„ Restart the router and try again.

Error: "Device offline" after connection

  • 🌐 Check your router’s internet connection (Xiaomi lamps require access to Xiaomi servers).
  • πŸ”„ In Mi Home, update the lamp firmware: Device settings β†’ Update of the PO.
  • πŸ“΅ If the problem remains, remove the lamp from the application and connect again.
What if the lamp is connected but does not respond to commands?
This may be due to regional restrictions on Xiaomi servers.Try: 1. In Mi Home, change region to Mainland China (Chinese server is more stable). 2. VPN on a smartphone (it can block the connection to Xiaomi servers). 3. Check whether the router is not blocking access to the domains.mi.com or.xiaomi.com (sometimes it does β€œsmart” routers like Keenetic).

6. Set up automatic scripts

Once connected, the lamp can be integrated into smart scenarios, such as turning on on a schedule or reacting to other devices.

Example 1: Time-incorporation

  1. In Mi Home, open the lamp settings β†’ Automation.
  2. Press Add Add Add. β†’ Select Time by Time.
  3. Specify the time (e.g. 19:00) and the action (Enable, brightness 70%).

Example 2: Response to motion sensor

  • πŸ”„ Make sure you have a Xiaomi Motion Sensor).
  • πŸ”— In Mi Home, create a script: If the motion sensor is triggered β†’ Turn on the lamp.
  • ⏱️ Add a shutdown delay (for example, 5 minutes after the last move).

Example 3: Voice control via Alice

  • 🎀 Connect Mi Home to Yandex.Station with the skill "Xiaomi Smart Home".
  • πŸ—£οΈ Say, "Alice, turn on the lamp in the bedroom at 50%".

πŸ’‘

If the lamp often disconnects from Wi-Fi, attach a static lamp to it. IP-The address is in the router settings. MAC-address in Mi Home (section "About the device") and link to a fixed IP router-panel.

7. Update of the lamp firmware

Outdated firmware can cause malfunctions.

Step 1: Check the current version

  1. Open Mi Home β†’ pick a lamp β†’ Settings (βš™οΈ).
  2. Scroll down to the firmware version.

Step 2: Update

  • πŸ”„ If an update is available, click Update and wait until it is completed (don't turn off the lamp!).
  • ⏳ The process can take up to 5 minutes. The lamp will flash blue.

⚠️ Note: If the lamp is disconnected during the upgrade, it may stop responding to commands, in which case you will have to make a hardware reset (see section 2).

8.Light lamp control without internet

Xiaomi lamps can work locally (without internet access), but with limitations:

What will work:

  • πŸ’‘ Turn on / off via Mi Home, if the smartphone and lamp are on the same network.
  • 🎨 Change in color and brightness.

What won't work:

  • 🌍 Management from another network (e.g. from work).
  • πŸ€– Voice assistants (Alice, Google Assistant).
  • ⏰ Time-by-time automation (requires Xiaomi cloud service).

For full-time work without the Internet, you can configure a local server (for example, Home Assistant), but this requires separate configuration.

πŸ’‘

If the lamp is connected to Wi-Fi, but does not respond to commands, check whether the router blocks its access to the local network "DHCP") Make sure that the lamp allows traffic between devices.

FAQ: Frequent questions

Can I connect a Xiaomi lamp to Wi-Fi without Mi Home?
Yes, but with limitations. You can use the official Yeelight app for Yeelight lamps. Other models will require alternative protocols, such as the Home Assistant with the Xiaomi Miio plugin. However, without the Mi Home, you will lose some of the features (for example, cloud management).
The lamp plugs in, but it shuts down every other day.
This is a typical problem with: Unstable Wi-Fi signal (check the signal level at the lamp installation site); Too aggressive router energy saving settings (turn off Wi-Fi Multicast or Green). AP). Conflict IP-Addresses (assign a static lamp) IP router).
How to connect a Xiaomi lamp to 5 GHz Wi-Fi?
Impossible. Xiaomi lamps (including Yeelight and Mijia) only support 2.4GHz networks. If your router can't share networks, buy an inexpensive optional router (for example, TP-Link). TL-WR840N) and set it to only 2.4 GHz.
Can I control the Xiaomi lamp from a computer?
Yes, there are several ways: through the web version of Mi Home (limited functionality); through Home Assistant (full control, but requires customization); through IFTTT (Automation with other services).
Xiaomi lamp does not connect to Wi-Fi with Chinese firmware.
If you bought a lamp with Chinese firmware (for example, a version for the Chinese market), it may not work with Russian servers. Solutions: In Mi Home, change region to Mainland China. Update the lamp firmware to the international version (if available). Use alternative apps like Yeelight or Home Assistant. Note: some Chinese models (like Mijia) LED Desk Lamp 1C) They do not officially support changing the region and may require reflashing.