Xiaomiβs ecosystem offers dozens of smart devices, from Yeelight light bulbs to Mi Robot Vacuum vacuum cleaners, but they can only work fully when connected to the central Mi Home hub. Many users face difficulties in pairing: the gadget is not located, the application gives an error, or the device shuts down in a few minutes. In this article, we will analyze all the ways of connecting, typical problems and hidden settings that are not written in the official instructions.
It is important to understand: the connection process depends on the type of device (by Wi-Fi, Bluetooth, Zigbee or other protocols). RF), The firmware version and even the regional settings of the Mi Account. We tested the instructions on 15.+ We've looked at models from Mi Smart Socket to Aqara Camera, and we've identified key moments that save hours of time. If you're a beginner, follow a step-by-step guide. If you're a power user, look at the hidden features section.
1. Preparation before connection: what to do in advance
Most of the problems with pairing are due to missed preparatory steps.
- π± Mi Home version of the app: Outdated versions (below 6.5.400) do not support new devices.Update via Google Play or App Store.
- π Account Region: Some devices (e.g. Mi Air Purifier 4) only work with accounts registered in China, Singapore or Russia. β Settings β Country/region.
- πΆ Wi-Fi network: Xiaomi devices do not connect to networks with: π Password length of more than 32 characters π Frequency of 5 GHz (2.4 GHz only) π‘οΈ Hidden. SSID π‘ Enterprise authentication (WPA-Enterprise)
- β‘ Battery charge: If the device is battery-operated (e.g. Mi Band 7 or Aqara Door Sensor), the charge must be at least 50%.
Pay special attention to the application permissions. Mi Home requests access to:
- π Geolocation β for automatic region determination of servers.
- π· Camera - for scanning QR-device codes.
- π Microphone β for voice control (if supported).
- π± Notifications - for alerts about the operation of sensors.
β οΈ Attention: If you are using VPN Xiaomi servers can block requests from "suspicious" regions, which leads to the error Failed to connect to the server (10004).
2. Step-by-step instruction: connection via Wi-Fi
Most Xiaomi devices (e.g. Mi Smart Plug, Yeelight) LED) They're connected to you via Wi-Fi. Follow the algorithm:
- Open Mi Home and press + β Add the device.
- Select the category of the device (for example, Lighting) β If the model is not on the list, select Another β Add it manually.
- Bring your smartphone to the device and scan it. QR-code (usually on the box or the gadget itself). ID device (8-12 manually.
- Connect to the temporary network Xiaomi_XXXX (No password required. Then return to Mi Home, the app will automatically redirect you to the setup stage.
- Select your home Wi-Fi network and enter your password. The device will reboot and appear in the list.
If you fail to connect to the device (70012) in step 4, try:
- π Restart the router and device.
- π΅ Disable Bluetooth on your smartphone (sometimes causing interference).
- πΆ Switch Wi-Fi to a different frequency (if the router is dual-band).
Wi-Fi enabled on your smartphone|The device is located next to the router|QR-code is clearly scanned|Wi-Fi password entered without errors|Disabled. VPN proxy-->
| Mistake. | Reason. | Decision |
|---|---|---|
| 70002 | The device is not responding. | Reboot the gadget (take out/insert the battery or press the reset button) |
| 10004 | Problems with Xiaomi servers | Check the Internet or change your account region to China |
| 70012 | Incompatible Wi-Fi network | Switch the router to 2.4 GHz or change the encryption type to WPA2-PSK |
| 9999 | Unknown mistake | Remove the device from the list and reconnect. |
3. Bluetooth connection: features and nuances
Bluetooth-enabled devices (such as Mi Band, Mi Smart Clock or Aqara Cube) are connected differently, with the main difference being that no Wi-Fi is required, but the range is limited to 10 meters.
Algorithm:
- Turn on Bluetooth on your smartphone and allow Mi Home access to geodata.
- In the app, select + β Add the device β Bluetooth device.
- Activate the pairing mode on the gadget: For Mi Band: press the touch button 3 times. For Aqara Cube: shake the device. For Mi Smart Clock: press the Home button for 5 seconds.
Wait for the device to appear in the list and confirm the connection.
If the device is not located:
- π Check the battery (for Mi Band at least 20%).
- π± Reboot Bluetooth on your smartphone (turn off/on in settings).
- π Remove the device from the list of conjugated gadgets in the phone settings.
β οΈ Note: Some devices (such as the Aqara Door Sensor) require a gateway (such as the Mi Gateway 3) to operate over Bluetooth. Without it, they will show up in Mi Home but will not be able to send notifications.
π‘
If the device connects but permanently disconnects, try turning off the power saving mode for the Mi Home app in the smartphone settings.
4. Connecting Zigbee devices: working through the gateway
Zigbee devices (e.g., Aqara sensors, Mi Wall Switch switches) require a gateway (Mi Gateway 3, Aqara Hub or Mi Smart Multimode Gateway) without which they will not work even after connecting.
Instructions:
- Connect the gateway to the socket and wait for the orange indicator to blink.
- In Mi Home, add the gateway as a normal Wi-Fi device (see Section 2).
- After successfully connecting the gateway, press + β Add the device β Through the lock.
- Activate pairing mode on the Zigbee device: For Aqara sensors: press the button on the case 1 time. For Mi Wall Switch switches: hold the key for 5 seconds.
Wait for the airlock tone (the sound of "ding") - this means successful addition.
If no device is added:
- π Check the distance to the lock (maximum 10 meters without obstacles).
- π Reset the gateway (remove the plug from the socket for 30 seconds).
- π‘ Make sure the gateway is connected to 2.4 GHz network (not 5 GHz support).
| Gateway | Max. Number of devices. | Supported protocols |
|---|---|---|
| Mi Gateway 3 | 32 | Zigbee, Bluetooth |
| Aqara Hub M2 | 128 | Zigbee, Wi-Fi, Ethernet |
| Mi Smart Multimode Gateway | 64 | Zigbee, Bluetooth, RF 433 MHz |
How to reset a Zigbee device to factory settings?
5. Solving common mistakes
Even with the right connection, Xiaomi devices may not work properly. Letβs look at the typical problems and how to fix them.
5.1 The device connects but does not respond to commands
Causes and solutions:
- π΅ Weak Wi-Fi signal: Move the router closer to the device or use a repeater.
- π Unstable power: for sockets and lamps, check the voltage in the mains (should be 220V) Β±10%).
- π± Conflict with another app: Close background programs (like Google Home or Tuya Smart) that may block access.
5.2 The device disappears from the list after restarting
This is typical for devices with firmware CN (Chinese version) when using an account from another region:
- π Change your account region to βChinaβ in the Mi Home settings.
- π Update the deviceβs firmware through Mi Home β Settings of the device β Update of the PO.
- π¦ Reconnect the device manually (see Section 6).
5.3. Authentication error (10004 or 9999)
These errors are related to problems on Xiaomi servers or account locks.
- π Sign out of your account and re-enter Mi Home.
- π‘ Use mobile internet instead of Wi-Fi (sometimes ISP blocks requests).
- β³ Wait 1-2 hours and try again (servers may be overloaded).
β οΈ Note: If you use informal firmware (e.g. for Mi Robot Vacuum), some features in Mi Home may not work. In this case, try alternative apps like Valetudo or DreameHome.
π‘
If the device is plugged in but not updated, check the regional firmware version (CN) You need an account with the region of China, and global (Global) β any other.
6. Manual connection: if the automatic method does not work
If the device is not automatically determined, it can be added manually.
- π‘ Smart Lamps (Yeelight, Mi) LED Desk Lamp).
- π The power switch (Mi Smart Plug, Mi Wall Switch).
- π₯ The camera (Mi Home Security Camera).
Instructions:
- At Mi Home, press + β Add the device β Add it manually.
- Select a category and a model of the device. If it is not listed, select the nearest analogue (for example, for Aqara). T1 Choose Mi. Door/Window Sensor).
- Enter. ID device (on a sticker or box) Format: 8-12 digits or alphanumeric code.
- Confirm the addition and wait for synchronization (may take up to 5 minutes).
Some devices (such as Mi Air Purifier) require a token, which can be obtained from:
- Through the Mi Home app (in the device settings).
- Python script (for advanced users).
- In specialized forums (e.g, 4PDA).
Example of manual addition through ID:
Model: Mi Smart Socket
ID: 1234567890AB
Protocol: Wi-Fi
Region: Russia7. Hidden features and advanced settings
After connecting the device to the Mi Home, you can activate additional functions that are not visible in the main interface.
Configure automatic scripting
In Automation, you can create chains of action. Examples:
- π Morning mode: when the motion sensor (Aqara Motion Sensor) is triggered, the lamp (Yeelight) is turned on and the robot vacuum cleaner (Mi Robot Vacuum) is started).
- πͺ Security mode: If the Mi Door Sensor is triggered in your absence, the camera (Mi Home Camera) starts recording, and the smart socket (Mi Smart Plug) turns off all the appliances.
- π‘οΈ Climate control: with temperature rise above 25Β°C turns on air conditioning (Mi Air Conditioning Companion) and closes smart curtains (Mi Smart Curtain).
To create a script:
- Go to Profile β Automation β Create a script.
- Select a trigger (condition: time, sensor, voice command).
- Add action (what should happen).
- Save and activate the script.
7.2 Integration with Google Assistant and Alexa
To control Xiaomi devices by voice:
- In Mi Home, go to Profile β Settings β Voice Assistants.
- Select Google Assistant or Amazon Alexa and follow the linking instructions.
- After synchronization, tell me: π€ "OK Google, turn on the lamp in the living room). π€ "Alexa, start the vacuum cleaner (Mi Robot Vacuum).
If your devices are not displayed in Google Home:
- π Update the device's firmware.
- π Make sure that the region in Mi Home and Google Home is the same.
- π± Reinstall the Google Home app.
Local management without the Internet
By default, Xiaomi devices are dependent on cloud servers, but some models support local management via a home router.
- Make sure that the router and device are on the same network.
- In Mi Home, go to your device settings and turn on the Local Control option (if any).
- Use alternative applications (such as Home Assistant) for direct access.
β οΈ Note: Local control disables some functions (e.g. sensor alerts) and does not work for devices that require cloud authorization (e.g., Mi Home Security Camera 360).Β°).