Ecosystem Xiaomi Smart Home allows you to automate household processes—from lighting control to climate control. But the first thing a user encounters is connecting devices to the home network. Wi-FiWithout proper setup, gadgets either refuse to work or lose connection after a few hours. In this article, we'll cover not only the basic connection steps but also the nuances that manufacturers often overlook: from selecting a router channel to troubleshooting errors. "The device is not responding".
Many people mistakenly believe that it is enough to download the application Mi Home and follow the wizard's prompts. In practice, users encounter problems: devices are not detected and only connect to the network. 2.4 GHz, and after a router reboot, they require reconfiguration. We analyzed typical scenarios and compiled checklists for various situations—from initial setup to moving the system to a new home.
We will pay special attention to router compatibilityNot all models support the protocol. 802.11r (fast roaming), which is critical for the smooth operation of motion sensors or cameras. And if there are multiple access points in the house, you'll have to configure roaming manually - otherwise the smart home will “get lost” when moving between rooms.
Finally, let's figure it out hidden feature in Xiaomi firmware, which allows you to connect devices to the network 5 GHz even if they only officially support 2.4 GHzThis trick doesn't work on all models, but it can save the day if your router doesn't broadcast at 2.4 GHz.
1. Preparation before connection: what to check in the router
Before you start setting up your devices Xiaomi, make sure your router meets the minimum requirements. Most connection issues are caused by incorrect network settings, not the devices themselves.
First, check Wi-Fi operating modeXiaomi Smart Home devices (with rare exceptions) only support networks 2.4 GHzIf your router is broadcasting simultaneously on 2.4 And 5 GHz under one name (SSID), separate the networks in the settings. Otherwise, the application Mi Home may not "see" the device.
Secondly, disable the following features in your router (if they are active):
- 🔄 Fast Roaming (802.11r/k/v) - interferes with stable connection of sensors;
- 🛡️ MAC address filtering - blocks new devices;
- 🔒 WPA3 encryption - use
WPA2-PSK (AES); - 📡 Automatic channel selection — fix the channel manually (optimally 1, 6 or 11 for 2.4 GHz).
Also make sure that in your router settings AP Isolation mode is disabledThis feature blocks interactions between devices on the local network, which is critical for automation scenarios (for example, when a motion sensor turns on a light bulb).
2. Step-by-step instructions: how to connect your first Xiaomi device to Wi-Fi
Let's look at the process using a connection example Xiaomi Smart Socket (smart plug). The algorithm is similar for most devices in the ecosystem—from lamps Yeelight to the sensors Aqara.
Step 1: Install the app Mi Home (or Aqara Home, if you use devices of this line) from App Store or Google PlayWhen registering, please specify your actual region—it determines the availability of Xiaomi servers. For Russia, select Russia (RF), for other countries - the corresponding region.
Step 2. Connect the device to a power source. For example, for a power outlet, plug it in. Wait for the indicator to blink (usually orange or blue color (indicates pairing mode).
Step 3. In the app Mi Home click “+” → “Add device” and select a category. If your device is not listed, use the "Other" and enter the model manually.
Step 4. Follow the wizard instructions:
- 📶 Confirm the indicator flashing (press
"The indicator is blinking"); - 🔑 Enter your Wi-Fi network password (make sure you are connected to
2.4 GHz); - 🔄 Wait for the process to complete (may take up to 2 minutes).
Make sure your router is broadcasting at 2.4 GHz|
Disable VPN on your phone|
Check the battery charge on your mobile device (at least 30%) |
Place the Xiaomi device closer to the router (at a distance of up to 2 m) -->
If an error occurs during the connection stage "Failed to add device", try the following steps:
- Reboot your router and Xiaomi device;
- Check that the network name (SSID) does not contain Cyrillic characters or spaces;
- Temporarily disable the firewall or antivirus on your phone.
3. Features of connecting Aqara devices and other Xiaomi sub-brands
Branded devices Aqara (for example, door opening sensors or a control cube) require a separate application - Aqara HomeHowever, they can be integrated into Mi Home through Aqara gateway (model M1S or E1).
Gateway connection process Aqara There is a nuance to Wi-Fi: after adding it to the application, you need to sync it with Xiaomi serversTo do this:
- Connect the gateway to the network
2.4 GHz; - Wait until the indicator flashes blue;
- In the appendix Mi Home select
“Add device” → “Aqara Gateway”; - Press and hold the button on the gateway until you hear a beep.
After successful connection the gateway will become bridge for other devices Aqara, which do not have their own Wi-Fi module (for example, leak sensors or buttons). These gadgets connect to the gateway via the protocol Zigbee, and not directly to the router.
Important: If you use devices Aqara And Xiaomi at the same time, it is recommended to link them to one account V Mi HomeThis will allow you to create complex automation scenarios (for example, turning on a lamp Yeelight when the motion sensor is triggered Aqara).
What should I do if my Aqara gateway won't connect to Wi-Fi?
If the gateway's indicator light is flashing yellow, this indicates a connection error. Try:
1. Reflash the gateway via the app Aqara Home (section "Firmware update").
2. Temporarily disable protection against DDOS attacks on the router.
3. Use a different phone for setup (sometimes changing the device helps).
4. Troubleshooting common Wi-Fi connection errors
Even with a properly configured router, users still encounter common problems. Let's look at the most common errors and how to fix them.
Error 1: "The device is not responding"
Reason: The device is connected to Wi-Fi but cannot contact Xiaomi servers. This occurs because:
- 🌍 Blocking access to Xiaomi servers at the provider level (relevant for some regions);
- ⏳ Unstable internet connection (ping to servers exceeds 200 ms);
- 🔌 Router overload (too many connected devices).
Solution:
- Check Xiaomi server availability through the website
status.mi.com; - Reboot the router and device;
- Temporarily connect your phone to the mobile Internet (3G/4G) and repeat the setup.
Error 2: The device connects but disconnects after an hour.
Reason: The router disconnects due to DHCP timeout or power saving.
Solution:
- 🔧 In your router settings, increase the DHCP lease time to
24 hours; - 📶 Disable the feature
Wi-Fi Energy Saver(if any); - 🔄 Reserve an IP address for your Xiaomi device in DHCP settings.
Error 3: The application does not detect the device
Reason: The device is in pairing mode, but the phone is connected to another network (for example, to 5 GHz, and the device is searching 2.4 GHz).
Solution:
- Make sure your phone and Xiaomi device are connected to the same network;
- Restart the device (remove/insert batteries or turn off the power for 10 seconds);
- Try using a different mobile device.
5. Optimizing your Wi-Fi network for stable smart home operation
To devices Xiaomi To ensure they work without interruption, simply connecting them to the network isn't enough. Optimizing the coverage and router settings is essential.
1. Selecting a Wi-Fi channel
In apartment buildings there are channels 2.4 GHz are often overloaded. Use apps like Wi-Fi Analyzer (Android) or NetSpot (iOS) to find the least congested channel. Optimal options for 2.4 GHz: 1, 6, 11 (do not intersect with each other).
2. Signal strength
If the devices are located far from the router (for example, a leak detector in the bathroom), consider the following options:
- 📡 Install repeater (repeater) Wi-Fi;
- 🔌 Use Mesh system (For example, Xiaomi Mi Wi-Fi Router AX3600);
- 🔗 Connect critical devices (e.g. gateway Aqara) By Ethernet (if the model supports it).
3. QoS settings
Turn on Quality of Service (QoS) on the router and set a high priority for smart home devices. This will prevent delays in executing commands. For example, in routers ASUS this is done in the section Adaptive QoS.
4. Firmware update
Update your router and device firmware regularly XiaomiNew versions often fix connection issues, such as in the gateway firmware. Aqara M1S versions 1.4.5 The problem with connection loss when rebooting the router has been fixed.
6. How to connect Xiaomi devices to a 5GHz network (unofficial method)
Officially, most devices Xiaomi Smart Home support only 2.4 GHzHowever, some models (for example, smart lamps Yeelight or sockets Smart Plug) can be "tricked" into working for 5 GHzTo do this you will need:
Step 1: Turn on the router compatibility mode (if any) or create guest network with a name identical to the main one, but on a frequency 5 GHz.
Step 2. In the app Mi Home Start the process of adding a device. When the system asks to connect to Wi-Fi, select 5 GHz guest network (its name must match the main network 2.4 GHz).
Step 3: If the device is connected, record its IP address in the router settings to avoid connection loss when changing channels.
⚠️ Attention: This method does not work on all devices and may lead to unstable operation. For example, sensors Aqara don't support this trick - they require a mandatory connection to 2.4 GHz through the gateway.
Below is a table of popular Xiaomi devices' compatibility with networks. 5 GHz:
| Device | Official 5 GHz support | Possibility of unofficial connection | Stability of work |
|---|---|---|---|
| Xiaomi Smart Socket | ❌ No | ✅ Yes (via guest network) | Average (may contain breaks) |
| Yeelight LED Bulb | ❌ No | ✅ Yes | High |
| Aqara Hub M1S | ❌ No | ❌ No | — |
| Xiaomi Mi Robot Vacuum | ✅ Yes | ✅ Not required | High |
| Xiaomi Smart Camera | ✅ Yes (2022+ models) | ✅ Not required | High |
If your device does not support 5 GHz even unofficially, the only way out is to use dual-band router with separate network names (SSID) for 2.4 And 5 GHz.
7. Transferring your Xiaomi smart home to a new router or another home
When changing a router or moving, all devices Xiaomi You'll need to reconnect. However, there are ways to simplify the process:
Method 1: Save settings via Mi Home
In the appendix Mi Home go to “Profile” → “Settings” → “Backup”Create a backup copy of your configuration. After connecting to the new router, restore the settings—this will preserve your automation scripts, but the devices will still have to be reconnected.
Method 2: Cloning a Wi-Fi Network
If the new router supports the function MAC address cloning, activate it and copy the settings from your old router. Some Xiaomi devices (for example, gateways) Aqara) can maintain connection if the network name (SSID) and password remain the same.
Method 3: Gradual transfer
Connect the new router to the old network via LAN-port (mode bridge). This will allow your Xiaomi devices to stay online while you reconfigure them to a new access point.
⚠️ Attention: When moving devices to another region (for example, from Russia to Europe), you may need to change the server in the application Mi HomeTo do this:
- Go to
Profile → Region; - Select a new country;
- Confirm the change - all devices will be unlinked and will require re-linking.
8. Smart Home Security: How to Protect Xiaomi Devices from Hacking
Smart home devices are a potential vulnerability for hackers. If an intruder gains access to your network, they can control outlets, cameras, or even door locks. Follow these recommendations:
1. Change default passwords
By default, many devices Xiaomi use simple passwords (for example, 12345678 for gateways Aqara). Generate a complex password (at least 12 characters) and set it in the settings of each device.
2. Set up a guest network
Create a dedicated Wi-Fi network with limited permissions for your smart home. In your router settings:
- 🔒 Deny access to the local network (
AP Isolation); - 🚫 Limit internet speed for the guest network;
- 🔄 Disable access to router settings from this network.
3. Update firmware
Turn on automatic update For all Xiaomi devices. Vulnerabilities are often exploited through outdated software versions. Check for updates manually once a month in the section Firmware update applications Mi Home.
4. Two-factor authentication
Activate 2FA for Xiaomi account:
- Go to
"Profile" → "Security" → "Two-step verification"; - Link a phone number or authenticator app (Google Authenticator);
- Please keep your backup codes in a safe place.
5. Disable unnecessary features
In the device settings (for example, cameras Xiaomi Smart Camera) disable:
- 📹 Remote access (if not needed);
- 🎤 Microphone (if not used);
- 🌍 Cloud storage (if recording to a memory card).
⚠️ Attention: If you are selling or transferring a Xiaomi device to another user, be sure to reset it to factory settingsTo do this, hold the reset button (usually located on the back panel) for 10-15 seconds until the indicator light starts flashing rapidly. Without this, the new device may remain linked to your account.
FAQ: Frequently asked questions about connecting a Xiaomi smart home
Is it possible to connect Xiaomi devices to Wi-Fi without the Mi Home app?
No, officially all devices Xiaomi Smart Home require applications Mi Home (or Aqara Home for the corresponding devices) for initial setup. However, once connected, some gadgets (for example, lamps) Yeelight) can be controlled through third-party applications like Home Assistant or Google Home, if they support the protocol Mi Home API.
Why does my Xiaomi device connect to Wi-Fi but appear offline in the app?
This problem occurs due to:
- Blocked access to Xiaomi servers (check your firewall or antivirus settings);
- Mismatch between the region in the account and the device firmware;
- Time synchronization failure (the device cannot obtain the correct time from NTP servers).
Solution: Restart your router, check your phone's date/time settings, and update your device's firmware.
How to connect a Xiaomi device to a hidden Wi-Fi network?
Hidden networks (with SSID broadcast disabled) are not supported by most devices. Xiaomi Smart HomeHowever, this limitation can be circumvented:
- Make the network visible temporarily;
- Connect the device;
- After successful addition, hide the SSID again.
Some routers (eg. Keenetic) allow you to add devices manually via MAC address, but this method does not work with all Xiaomi gadgets.
Can Xiaomi devices be used without internet?
Yes, but with restrictions:
- 🔌 Local control (on/off) will work if the phone and device are connected to the same network;
- ⏰ Automation and scenarios (e.g. time-based or sensor-based) will not work without access to Xiaomi servers;
- 🔄 Firmware updates and data synchronization will become impossible.
For full offline operation you will need a local server like Home Assistant with integration Mi Home.
How to reset a Xiaomi device if it won't connect to Wi-Fi?
To reset, use the physical button on the device:
- 🔌 For sockets and lamps: hold the button for 5-10 seconds until the indicator flashes quickly;
- 📡 For gateways Aqara: Press and hold the reset button (usually on the back panel) until you hear a beep;
- 🎥 For cameras: Hold the reset button for 15 seconds until you hear a voice confirmation.
After the reset, your device will return to factory settings and be ready to connect again.