Xiaomiβs smart home starts with a hub, a central device that links all sensors, lamps and outlets into a single system. Without the right hub connection, even the most advanced gadgets will remain βstupidβ accessories. In this article, weβll look at all the stages of setting up, from unpacking the box to creating the first automations, and also explain how to avoid the typical mistakes that cause the hub to refuse to work.
It doesnβt matter if you bought the first version of the Mi Home Hub, the Aqara Hub. M2 Or the new Xiaomi Smart Home Hub 2 β the connection principles are similar, but there are nuances that the manufacturer does not say, such as why the hub does not see sensors at a distance of more than 10 meters or how to make it work consistently with Home Assistant. We have collected up-to-date data for 2026, including bypassing restrictions for Russian users after changes in the Mi Home ecosystem.
1. What Xiaomi hubs are and which one to choose
Before connecting, it is important to understand what device you are holding. Xiaomi hubs are divided into three main lines, and each has its own characteristics:
- πΉ Mi Home Hub (1st version) is the simplest and cheapest option, works only with the ZigBee protocol, does not support Thread or Matter. Suitable for basic scenarios (lighting, motion sensors).
- πΉ Aqara Hub (M1S, M2, E1) β Advanced models with ZigBee 3.0 support, built-in speaker (for sirens) and Ethernet port. M2 It can work as a router for other hubs.
- πΉ Xiaomi Smart Home Hub 2 is the flagship of 2023 with support for ZigBee, Thread, Matter and Bluetooth Mesh. Perfect for complex systems with devices of different brands.
If you are just planning to buy, focus on the following tasks:
| Hub model | Protocols | Max. Devices. | Features | Price (2026) |
|---|---|---|---|---|
| Mi Home Hub | ZigBee | 32 | Budget, no Ethernet | ~1 500 β½ |
| Aqara Hub M2 | ZigBee 3.0 | 128 | Ethernet, siren, backup power | ~3 500 β½ |
| Xiaomi Smart Home Hub 2 | ZigBee/Thread/Matter | 200 | Support for Apple HomeKit, Bluetooth Mesh | ~5 000 β½ |
β οΈ Note: Mi Home hubs older than 2020 may not support new Xiaomi devices due to outdated firmware.
2.Preparation for connection: what to do before the hub is turned on
Many users include a hub in the socket and immediately try to set it up β this is a gross mistake. Without prior preparation, you risk endless connection errors or unstable system operation.
- π± Install the Mi Home app (or Aqara Home) and Aqara hubs are better served by a proprietary app, which is more stable with automation.
- π Select the right region. When registering for an account, please specify Russia or Mainland China (if you plan to use Chinese servers for greater stability).
- πΆ Check the Wi-Fi network. the hub does not support networks with: π Password from WPA3 (only WPA2-PSK) π‘ 5 GHz frequency (2.4 GHz only) π Hidden. SSID (The name of the network should be visible)
- π Prepare the hub for the optimal location: π At an altitude of 1-1.5 meters from the floor π« Away from metal objects and thick walls πΆ In the center of the house (for uniform coverage with the ZigBee signal)
Install Mi. Home/Aqara Home|Register an account (Russia/China region)|Connect to Wi-Fi 2.4 GHz (WPA2)|Unpack the hub and check the completeness|Select a place to install (center of the house, without interference)-->
β οΈ Note: If your router supports only WPA3, Create a separate network for a smart home WPA2. Xiaomi hubs are not able to work with modern encryption standards.
3. Step-by-step instructions: how to connect the Xiaomi hub to Wi-Fi
Now, the connection process itself, and the instructions are universal for all hub models, but we'll be highlighting the nuances for specific devices.
Step 1. Connect the hub to the power supply
- π Put the plug in the socket. The hub should flash a blue LED (Aqara Hub) M2 β yellow).
- β³ Wait 30 seconds β the device should issue a voice greeting (if there is a speaker) or blink at intervals of 1 time per second.
Step 2: Start the appendix process
- Open Mi Home β press + β Add the device.
- Select the Hub/Gateway category.
- Find your model in the list (e.g. Xiaomi Smart Home Hub 2).
Step 3: Connect to Wi-Fi
- πΆ The application will offer to connect to the temporary network of the hub (type name) Xiaomi_XXXX). Do it.
- π Enter a password from your main 2.4 GHz network.
- β³ The device is added. At this stage, the hub can restart (the LED blink will stop for 10-15 seconds).
Step 4: Update the firmware
Once connected, the hub will automatically check for updates.Don't interrupt the process! for Aqara Hub M2 Xiaomi Smart Home Hub 2 update can take up to 10 minutes:
- Turn off the power for 30 seconds.
- Reconnect and try again.
What to do if the hub does not connect to Wi-Fi?
Set up the region and servers: why it matters
One of the most common questions is, "What region to choose in Mi Home?" Not only does it affect the stability of the work, but also the availability of certain features, for example, when you choose China (Mainland China), you will get:
- β More supported devices (including Chinese versions of sensors).
- β Faster firmware updates.
- β English Interface (no Russian language).
- β Possible problems with geolocation (if you use location-based automation).
When choosing Russia (Russia):
- β Russian language in annex.
- β Local servers (less delays).
- β Limited list of supported devices (some Chinese gadgets won't be added).
How to change the region after setting up:
- Open Mi Home β Profile β Settings β Region.
- Select the right country and confirm the change.
- β οΈ All the devices will shut down! You'll have to add them again.
π‘
If you have chosen China, but you want Russian in the app, set Mi Home in English, and then add Russian as the main language in your phone settings. The app will automatically translate part of the interface.
5. Adding devices to the hub: sensors, lamps, sockets
Now that the hub is connected, it's time to add other devices to it, and it's a simple process, but that's where most of the mistakes are, and we'll take the step-by-step instructions and the typical problems.
Step 1: Preparation of the device
- π Make sure the device is charged/on (e.g., there is a battery in the motion sensor).
- π¦ Take it out of the box and donβt press the buttons before the addition process begins.
Step 2: Launch of the appendix in the annex
- At Mi Home, press + β Select the category of the device (for example, Sensors). β Motion sensor).
- Follow the instructions on the screen: π Press and hold the button on the device (3-5 seconds) until the LED blinks. π± Bring the phone closer to the device (for Bluetooth devices).
Step 3: Checking the connection
Following the successful addition:
- π The device will appear in the list on the main screen of Mi Home.
- π Check his status: if the name is burning green tick β all right.
- βοΈ Go to the device settings and update the firmware (if available).
β οΈ Note: If the device is not added, try: Reboot the hub (turn off power for 20 seconds). Make sure the distance between the hub and the device is no more than 5 meters (for the first connection).
π‘
To ensure a stable ZigBee network, avoid chains of more than 3-4 devices, and it is better to distribute the sensors evenly throughout the house, rather than connecting them sequentially.
6.Creating Automations: How to Make Devices Work Together
The great thing about a smart home is automation, where devices interact without you, like the lights go on when you're moving, and the power outlet goes off when you leave the house, and we'll figure out how to set that up.
Step 1. Go to Automation section
- In Mi Home, click Automation (or Automation) β Create automation.
- Select the type: If... then... (conditional) or Schedule.
Step 2: Set the condition (trigger)
Examples of triggers:
- πΆ Motion sensor β Traffic detected.
- πͺ Door opening sensor β Door open.
- π Time. β Every day at 22:00.
- π Geolocation β Everyone left home (requires switching on) GPS phone-on).
Step 3. Set the action.
What should happen when the trigger is triggered:
- π‘ Turn on the lamp (select a specific lamp from the list).
- π Turn off the socket.
- π Enable the siren on the hub (available for Aqara Hub) M2).
- π± Send notification to the phone.
Example of automation:
- If β Traffic sensor in the corridor β Traffic detected.
- And β Time between 18:00 and 23:00.
- To β Turn on the lamp in the corridor for 5 minutes.
π‘
To make automation work consistently, avoid challenging conditions with more than 3-4 triggers. Break them down into a few simple rules.
7. Common Problems and Solutions
Even after a successful setup, the hub can behave unstable. TOP-5 problems and ways of solving them.
| Problem. | Possible cause | Decision |
|---|---|---|
| Hub does not connect to Wi-Fi | Incorrect router settings (WPA3, 5 GHz, hidden SSID) | Switch the router to the router. WPA2, 2.4 GHz, make the network visible |
| Devices are disconnected from the hub | Weak signal ZigBee (many walls, interference) | Move the hub to the center of the house, add a repeater (e.g. Xiaomi ZigBee Repeater) |
| Automation doesn't work. | Disparity between hub region and devices | Reconfigure all devices to one region (China or Russia) |
| Hub constantly rebooting | Unstable nutrition or overheating | Connect through the network filter, provide ventilation |
| No firmware updates. | Blocking Xiaomi servers | Use it. VPN (China region or wait 1-2 days |
β οΈ Attention: If the Aqara Hub M2 After the update, the sensors stopped seeing, reset to factory settings (hold the button on the hub for 10 seconds until the sound signal.
8 Advanced Settings: Integration with Home Assistant and Matter
For power users, basic Mi Home features may not be enough. Let's take a smart home to the next level.
Integration with Home Assistant
Home Assistant is an open smart home management platform that supports Xiaomi hubs through a plugin. Zigbee2MQTT or Xiaomi Miio.
Steps for connection:
- Install Home Assistant on a Raspberry Pi or other server.
- Add Xiaomi Miio integration through HACS (Home Assistant Community Store).
- Enter. IP-Hub address and token (you can get it through the Mi Home application and the miio-cli tool).
- Example of a command to receive a token: miio --discover miio --ip 192.168.1.100 --token YOUR_TOKEN info
Support for Matter
The new hubs (Xiaomi Smart Home Hub 2) support the Matter protocol, which allows you to manage devices via Google Home, Apple HomeKit or Amazon Alexa without additional bridges.
How to connect to Matter:
- Update the hub firmware to the latest version.
- In Mi Home, go to the Hub settings β Matter β Add to another system.
- Scan it. QR-code from the hub in the Google Home or Apple Home app.
π‘
Integration with Home Assistant gives access to advanced automation (for example, communication with the Internet).-Xiaomi It requires technical skills, but for beginners it is better to start with the basic features of Mi Home.