Xiaomiβs Smart Home ecosystem is one of the most affordable and functional home automation platforms, but setting it up often raises questions for beginners. Even a simple task β connecting a light bulb or motion sensor β can become an hour of pain if you donβt know the nuances of working with the Mi Home (now Mi Home is renamed Xiaomi Home in new versions), this article will help avoid the typical mistakes of choosing a central hub to fine-tuning scenarios with the features of the Zigbee, Wi-Fi and Bluetooth Mesh protocols.
Weβll not only break down the basic steps (which are already in the official manual), but also covert settings that allow you to bypass the limitations of regional firmware, integrate third-party devices through Home Assistant, and optimize the system to reduce command delays. Particular attention is paid to solving connection problems β why the Mi Hub canβt see sensors, how to reset the device without losing data, and what to do if scenarios are triggered with a delay.
1. Selecting a central hub: what is needed for your system?
Without a central hub, most Xiaomi Smart Home devices wonβt be able to work together.
- π Connects devices using the Zigbee protocol (sensors, switches, relays) into a single network.
- π‘ Provides connectivity between devices and the cloud Xiaomi via Wi-Fi.
- π΅ Plays sounds (sirens, voice alerts) through the built-in speaker.
For 2026, three models of hubs are relevant:
| Model | Protocol | Support for Matter | Features |
|---|---|---|---|
| Xiaomi Mi Smart Home Hub 2 | Zigbee 3.0 | β No. | Classic model, requires region-specific binding in Mi Home |
| Xiaomi Mijia Hub (white) | Zigbee 3.0 | β No. | No speaker, only for device control |
| Aqara Hub M2 | Zigbee 3.0 | β Yes (through update) | Supports HomeKit, a more stable firmware |
β οΈ Note: Xiaomi hubs are tied to the region when you first connect. If you choose China, some devices (e.g. European versions of sensors) may not connect.
Preparation for connection: what to do before installation?
Before connecting the hub or devices, follow the mandatory steps:
Install the Xiaomi Home app (version no lower than 6.5.0)
Register a Xiaomi account (preferably with a phone link)
Select the correct region in your profile settings (e.g. Russia or Europe)
Connect the hub to the outlet within a radius of 5 meters from the router (for stable Wi-Fi)
Update the firmware hub through Settings β Update the software-->
Pay special attention to the Wi-Fi network:
- πΆ The hub only works with 2.4GHz networks. If your router broadcasts in two bands, create a separate network for 2.4GHz or turn off 5GHz while you configure.
- π Turn off Client Isolation in the router settings, otherwise the hub will not be able to manage the devices.
- π If you use VPN Or proxy, disable them β Xiaomi servers can block the connection.
π‘
If the hub is not connected to Wi-Fi, try changing the network channel to 1, 6 or 11 β these channels are least susceptible to interference.
3. Step-by-step instruction: how to connect the Xiaomi hub?
The process of connecting the hub takes no more than 5 minutes, if you follow the algorithm:
- Connect the hub to the outlet. Wait for the indicator to flash yellow (waiting mode).
- Open Xiaomi Home, click + β Add the device β Hub.
- Select the hub model from the list. If your model is not available, update the app.
- Connect to the temporary Wi-Fi hub network (the name begins with lumi-gateway-).
- Return to the app and select your 2.4GHz main network. Enter your password.
- Wait for the setup to be completed (the hub will deliver a voice message in Chinese β thatβs fine).
β οΈ Warning: If the hub is silent or does not respond to commands after connecting, check:
- π Does it power the socket (some models are sensitive to voltage surges).
- π± Application version - in older versions (<6.0) There may be connection bugs.
- π Account Region β if China is selected and the hub is European, it will not work correctly.
π‘
The hub's voice alert in Chinese is not a mistake, but to change the language, you need to change your account region to Europe or Russia and reconnect the hub.
4. Addition of devices: light bulbs, sensors, sockets
Once you connect the hub, you can add other devices, and the algorithm is universal for most gadgets:
- Make sure the device is discharged/on (for example, open the battery compartment cover for sensors).
- In Xiaomi Home, click + β Add the device and select a category (e.g. Lighting for a light bulb).
- Follow the instructions on the screen. For most devices, press and hold the reset button (usually 5 seconds) until the indicator starts flashing.
Typical problems and solutions:
| Problem. | Reason. | Decision |
|---|---|---|
| The device is not in place. | Too far from the hub | Bring the device to a distance of <1 meters from the hub |
| The indicator doesn't blink. | Battery discharged. | Replace the battery (e.g., sensors use CR2032) |
| "Can't Add" error | The device is already tied to another hub | Reset the device (hold the 10+ second button) |
How to reset a device without a button?
5. Setting up scenarios and automation
The main advantage of a smart home is the automation of routine activities. Xiaomi Home has two types of scenarios:
- β±οΈ Time - for example, turn on the light at 18:00.
- π For example, turn on the fan if the temperature sensor shows >25Β°C.
To create a script:
- Go to Profile. β Automation β Create.
- Select a condition (e.g. Motion Sensor β Motion Detected).
- Add an action (for example, the light bulb β Enable).
- Save the script and test it out.
β οΈ Note: Scenarios are triggered with a delay of 1-3 seconds if devices are connected through the Xiaomi cloud:
- πΆ Use local commands (if the device supports LAN control).
- π Configure scripts with Home Assistant β there are minimal delays.
π‘
To speed up the scripting, disable the Cloud Sync option (if any) in the hub settings, which will force devices to communicate directly, rather than through Xiaomi servers.
6.Integration with voice assistants and other systems
Xiaomi Smart Home can be controlled by voice via Alice (Yandex), Google Assistant or Siri (HomeKit).
- In Xiaomi Home, go to Profile β Settings β Voice Assistants.
- Select a service (e.g. Yandex) and log in.
- Tell the voice assistant, βFind my devices,β it synchronizes the data.
For advanced users, integration is available through Home Assistant:
- π οΈ Install the Xiaomi Miio component through HACS.
- π Get Mi Home Token for your hub (you can use the Mi Home Token Extractor app).
- π Add the hub to the configuration.yaml file:
miio:
devices:
- host: 192.168.1.100 #IP- Hub address
token: YOUR_TOKEN_HEREHow to get a token for Home Assistant?
7. Solving common problems
Even after successful setup, failures can occur, and here are the most common ways to fix them:
Problem 1: The hub is connected, but does not control the devices.
- π Check if the hub is on blue light (if flashing yellow, no connection to the cloud).
- π‘ Restart your router β sometimes DHCP-The server does not give the right hub IP.
- π Check if the firewall or antivirus is blocking the connection to Xiaomi servers (api.io.mi.com).
Problem 2: Sensors are constantly shut down.
- π Replace batteries β even if they are βnear new,β sensors are sensitive to voltage.
- πΆ Check the signal level of Zigbee in Xiaomi Home (Hub Settings) β If the signal is weak, add a repeater (e.g. Xiaomi Zigbee Repeater).
Problem 3: The scripts are not stable.
- β³ Increase the delay between commands in the script (in Home Assistant add delay: '00:00:02').
- π Break a complex scenario into a few simple ones (for example, instead of one scenario with 5 actions, do 5 separate ones).
π‘
If the hub has stopped responding to commands, try resetting it to factory settings. To do this, hold the button on the hub for 10 seconds until the indicator starts flashing quickly.