Mainland Xiaomi Connection to Mi Home: A Complete Error Dealing Guide

If you purchased a Xiaomi device from mainland China (the so-called β€œChinese version” with a suffix) CN In the model, when you try to connect it to the Mi Home app, you may have encountered errors such as β€œThe device is not supported in your region” or β€œCan not add the device”, the problem lies in the regional restrictions that Xiaomi sets for its equipment: Devices released for the Chinese market are by default tied to cn.xiaomi.com servers and do not want to work with international accounts.

In this article, we will discuss all working ways of connecting – from the official change of the region in Mi Home to workaround methods using alternative applications like Mi Home (CN) We will pay special attention to typical errors (for example, Error 1002 or Error 2202) and explain why some devices (for example, Xiaomi Mi Robot Vacuum Mop 2 Pro or Aqara Camera Hub) G3) You'll also find the 2026 list of supported regions and the device compatibility table.

Warning: Some methods (such as changing your account region) can lead to loss of access to previously connected devices or problems with voice assistants (Alice, Google Assistant). β†’ Settings β†’ Backup.

1.Why isn't mainland Xiaomi connecting to Mi Home?

The main reason is that the device is tied to a Chinese server, and Xiaomi has three types of servers:

  • 🌏 Global (api.io.mi.com) – for international versions of devices (Global suffixes, EU, US).
  • πŸ‡¨πŸ‡³ Chinese (cn.xiaomi.com) – for devices sold in mainland China (CN).
  • 🏝️ Regional (e.g. in.xiaomi.com for India) – for local markets.

When you try to add a device to your device via Mi Home, the app sends a request to a server that corresponds to the region of your account, if the device is locked to a Chinese server and your account is tied to a Chinese server. Europe/Moscow, This is not only true for smart lights or outlets, but also for complex devices like Xiaomi Smart Door Lock or Aqara Air Conditioning Companion.

Additional causes of errors:

  • ⚠️ Outdated firmware of the device (especially relevant for gadgets 2020-2022 release years).
  • πŸ”’ Lock-in IMEI (It is found in some models of vacuum cleaners and robot vacuum cleaners).
  • πŸ“± Mi Home incompatible version (for example, the Chinese version of the app does not work with global accounts).

⚠️ Note: Some devices (e.g. Xiaomi Mi Air Purifier 4 Pro) may require a physical connection to the Chinese network (via a mobile phone). VPN Or proxies for the first setup, without which they don't activate even after the region changes.

2.Official method: change of region in Mi Home

The most reliable, but also the most risky, method is to change the region of your Xiaomi account to China, which will allow you to connect devices destined for mainland China, but has side effects:

  • πŸ”„ Loss of access to devices connected through other regions (for example, if you already have a europe version of the lamp).
  • πŸ—£οΈ Voice assistant problems (for example, Alice will stop managing devices).
  • πŸ“± Need to use the Chinese version of Mi Home (Chinese language interface).

Step-by-step:

  1. Open Mi Home and go to Profile β†’ Settings β†’ Region.
  2. Choose China and confirm the change.
  3. Close the app and clear the cache (phone settings) β†’ Annexes β†’ Mi Home β†’ Warehouse β†’ Clear the cache).
  4. Start Mi Home again and log in to your account, and now the app will connect to Chinese servers.
  5. Try adding the device in the standard way (via Add the device). β†’ Select a category).

Make sure you have a backup of your Mi Home settings

Write it down. IMEI/MAC-addresses of all connected devices

Remove devices from Mi Home that do not support China (e.g. global versions)

Prepare an interpreter for the Chinese version of the app-->

If after changing the region, the device still does not connect:

  • πŸ”Œ Try resetting the device (usually press the power button for 5-10 seconds before the indicator flashes).
  • πŸ“Ά Connect your phone to Chinese. VPN (For example, Shadowrocket or Clash and try again.
  • πŸ“± Install the Chinese version of Mi Home (you can download from the official Xiaomi website, selecting the region of China).

⚠️ Warning: After changing region to China, you won't be able to return the old region within 30 days.If you need to manage devices from different regions, create a second Xiaomi account specifically for Chinese gadgets.

Change of region to Mi Home

Use of Mi Home (CN)

Aqara Home (Home Assistant)

VPN + Original Mi Home

I haven't tried it yet.-->

3. Alternative applications: Mi Home (CN) Aqara Home

If the official change of region doesn’t suit you, you can use specialized applications that work with Chinese servers by default, and the main advantage is that you don’t need to change the region of your main account.

3.1. Mi Home (CN) β€” Chinese version of the app

It's a standalone app designed for the Chinese market, and it supports all Xiaomi and Aqara devices released for China, but it has a fully Chinese interface.

  • πŸ“± From the official Xiaomi website (select China region).
  • πŸ€– APKMirror (Search for Mi Home) CN).

Instructions for connection:

  1. Install Mi Home (CN) Register a new Xiaomi account (or use an existing one with a region of China).
  2. Log in to the app and select (Add device).
  3. Follow the instructions on the screen (use an interpreter if you don't know Chinese).
  4. Once connected, the device is only available in Mi Home (CN). To control from the global Mi Home will require a device transfer (more on this below).

Aqara Home – for Aqara devices and parts of Xiaomi

The Aqara Home app supports many Xiaomi devices (especially those that run on the Zigbee protocol, such as sensors or smart sockets).

  • 🌍 Works with international accounts.
  • πŸ”„ It allows you to transfer devices between Mi Home and Aqara Home.
  • πŸ“Š More flexible automation than in the standard Mi Home.

How to connect:

  1. Download Aqara Home from Google Play or App Store.
  2. Create an account or log in through Xiaomi/Apple/Google.
  3. Press. + β†’ Add the device and select your model.
  4. If the device is not located, try resetting it and repeat the search.
What Xiaomi devices are running in Aqara Home?
Aqara Home allows you to connect most Xiaomi Zigbee-based devices (e.g. Xiaomi Mi Smart Sensor Set, Xiaomi Mi Smart Plug Zigbee) and some Wi-Fi devices (e.g. Xiaomi Mi Smart Socket). However, some gadgets (e.g. vacuum cleaners or smart speakers) are not supported. A full list of compatible devices can be found on the official Aqara website.

4. Transfer of the device between regions (Mi Home) β†’ Mi Home CN)

If you have already connected a device to the global Mi Home, but it does not work correctly (for example, there are no features), it can be transferred to Chinese servers.

  1. In Global Mi Home, go to device settings (Device) β†’ Settings β†’ General).
  2. Click Transfer Device (or Transfer Device in English).
  3. Choose China as your target region.
  4. Confirm the transfer (the device will be disconnected from the current account).
  5. Now connect to Mi Home (CN) And add the device again.

Limitations:

  • ❌ Not all devices support portability (e.g. Xiaomi Mi Band or some models of vacuum cleaners).
  • ⏳ The transfer can take up to 24 hours.
  • πŸ”„ Once transferred, the device cannot be returned to the global region.
The deviceSupports the transfer?Notes
Xiaomi Mi Robot Vacuum Mop 2 Proβœ… Yes.Requires reset before transfer
Xiaomi Mi Smart Air Purifier 4 Proβœ… Yes.Transfer takes ~1 hour
Aqara Camera Hub G3❌ No.Only through Aqara Home
Xiaomi Mi Smart Socket (Wi-Fi)βœ… Yes.No restrictions.
Xiaomi Mi Band 7❌ No.Tied to Mi Fitness

5. Circumvention of restrictions: VPN and modified firmware

If none of the above methods worked, you can try technical bypasses, which are suitable for advanced users and require additional manipulation.

5.1. Connection via Chinese VPN

Some devices (e.g. Xiaomi Mi Air Purifier) 3H Xiaomi Mi Smart Door Lock – Geolocation checks when you first set up IP-If you're not in China, activation is blocked:

  1. Install. VPN servers in China (e.g. Shadowrocket, ExpressVPN or NordVPN with manual configuration).
  2. Connect to the Chinese server.
  3. Launch Mi Home (CN) And try adding the device.
  4. After successful connection VPN can be turned off.

Important: Some VPN Xiaomi is blocked. If it doesn't work, try it:

  • πŸ”„ Change protocol VPN (For example, from OpenVPN to WireGuard).
  • πŸ“‘ Use mobile internet with Chinese SIM-card (if possible).
  • 🌐 Connect via a proxy (for example, SOCKS5 Chinese IP).

5.2. Firmware through alternative methods (for advanced)

Some devices (such as Xiaomi Mi Router or Xiaomi Mi Smart Clock) can be reflashed to global or modified firmware, which removes regional restrictions, but can be fraught with:

  • ⚠️ Loss of guarantee.
  • πŸ”₯ Risk of "bricking" of the device.
  • πŸ”§ The need for use ADB, Fastboot or specialized utilities.

Examples of firmware:

  • πŸ“‘ For routers: OpenWRT or Padavan.
  • πŸ€– For Android devices (e.g. Xiaomi Mi) TV Box): LineageOS.
  • πŸ’‘ For smart lamps: Tasmota or ESPHome (requires soldering).

⚠️ Warning: Firmware of closed-loader devices (such as most vacuum cleaners or smart locks) can result in complete loss of functionality. 4PDA or XDA Developers for your model.

πŸ’‘

If you are not sure about the firmware, try first connecting the device through Home Assistant with Xiaomi Miio integration.This will allow you to manage the gadget without changing the firmware, but will require a constant running server (for example, on the Raspberry Pi).

6. Frequent errors and their solutions

When connecting mainland Xiaomi devices, users encounter typical errors.

Error codeReason.Decision
Error 1002The device is not supported in your area.Change your region to China or use Mi Home (CN)
Error 2202Incompatible device firmwareUpdate the firmware through Mi Home (CN) or reset the device
Error -4Problems with connecting to the serverCheck the internet, turn it off. VPN or change DNS at 8.8.8.8
Error 10008The device is already linked to another accountReset the device to factory settings
Error -133Activation error (often in vacuum cleaners)Connect via Chinese VPN and re-set the setup

Additional errors and their solutions:

  • πŸ”Œ Device not online: Make sure your router supports 2.4GHz (many Xiaomi devices don't run at 5GHz). WPA3 In the Wi-Fi settings, leave only WPA2.
  • πŸ“± App doesn't see device: Try using another phone (especially if you have an iPhone - Android sometimes helps).
  • πŸ”‹ The device does not turn on after reset: Connect it to charging for 10-15 minutes, then reset again.

πŸ’‘

If the device is running an Error 1002, it means it's tied to a Chinese server. The only working solutions are changing the region of the account, using Mi Home (CN) Or transfer the device through official Xiaomi tools.

7.Compatibility with voice assistants after connection

After successfully connecting the mainland device to the Mi Home (especially via Chinese servers), you may have problems integrating with voice assistants:

  • πŸ—£οΈ Alice (Yandex): Will not see devices connected via cn.xiaomi.com Solution - use Yandex Smart Home with manual addition via Mi Home API.
  • πŸ€– Google Assistant: Works only with devices on global servers. Chinese gadgets will require Home Assistant or IFTTT.
  • 🍎 Siri (HomeKit): Does not support Xiaomi devices directly, you need to use HomeBridge or HOOBS.

How to Set Up Alice Integration for Chinese Devices

  1. In Mi Home (CN) Get a device token through Miio CLI.
  2. In Yandex Smart Home, add your device through Other devices β†’ Xiaomi Miio.
  3. Enter the token and IP-device address on the local network.

For Google Assistant:

  1. Use Home Assistant with Xiaomi Miio integration.
  2. Configure Google Assistant in Home Assistant through Settings β†’ Voice assistants.
  3. Sync your devices with Google Home.

8. Alternative management systems: Home Assistant and others

If you can’t connect your device to the Mi Home, or if you want to manage it without regional restrictions, consider alternative platforms:

PlatformXiaomi supportPlusesCons
Home Assistantβœ… Complete (via Miio, Aqara)Local management, no cloud dependencyComplicated configuration requires a server
OpenHABβœ… Partial (through Mi Home Binding)Flexible automationLess friendly interface
ioBrokerβœ… Full (via the Miio adapter)JavaScript support for automationHigh entry threshold
Tuya Convert❌ Only for devices on a Tuya chipSimple Firmware for Alternative SoftwareIt doesn’t work with most Xiaomis.

Example of Home Assistant for Xiaomi Mi Robot Vacuum:

# Fragment configuration.yaml for connecting a vacuum cleaner


vacuum:




- platform: xiaomi_miio




host: 192.168.1.100 # IP- vacuum cleaner address




token: YOUR_TOKEN_HERE #Token from Mi Home




name:"Xiaomi Vacuum"

How to get a device token:

  1. Install Miio. CLI.
  2. Connect to the device on IP: miio --discover
  3. Get a token: miio --ip 192.168.1.100 --token YOUR_TOKEN command

πŸ’‘

For Aqara devices (such as sensors or cameras) in Home Assistant, it’s better to use Aqara integration instead of Miio – it supports more features and runs more stable.

FAQ: Frequent questions about connecting mainland Xiaomi

Can mainland Xiaomi be connected to Mi Home without changing the region?
Yes, but with limitations.Options: Use Mi Home (CN) β€” Chinese version of the app with a separate account, connect the device via Aqara Home (if supported), use Home Assistant with Miio integration (requires to get a token). However, some devices (such as Xiaomi Mi Smart Air Purifier 4 Pro) may require binding to a Chinese server.
What if the old devices stopped working after the region changed to China?
This is normal behavior – devices from different regions cannot be in the same account. Solutions: Create a second Xiaomi account specifically for Chinese devices. Move old devices to another account through Device Settings β†’ Use Home Assistant to manage devices from different accounts in the same interface.
How to Reset Xiaomi Mainland Device if It Doesn't React?
Reset method depends on the type of device: Smart sockets / lamps: Hold the power button 5-10 seconds until the indicator flashes. Vacuum cleaners: Press the Home buttons + Power for 3-5 seconds. Air purifiers: Hold the 10 seconds switch. Cameras: Press and hold the reset button (usually hidden under the lid). If the device doesn't reset, try plugging it into power and repeat the procedure.
Can the device be returned to the global region after being transferred to China?
No, it's not possible to port it back. Once you transfer it to Chinese servers, it stays permanently attached to them. The only way to get it back to a global account is to sell and buy a global version. Except that some devices (like Aqara) can be moved between Aqara Home and Mi Home, but that doesn't remove regional restrictions.
Which Xiaomi devices will not be able to connect to the global Mi Home?
The list of devices that do not support work outside the Chinese region (even through bypass methods): Xiaomi Mi Smart Door Lock (fingerprint locks); Xiaomi Mi Smart Air Conditioning Companion (air conditioners). Xiaomi Mi Smart Pet Feeder (automatic feeders). Xiaomi Mi Smart Projector (some projector models) Xiaomi Mi Smart Water Purifier (water purification systems (CN) Alternative systems such as Home Assistant.