Xiaomi’s smart home ecosystem is one of the most affordable and functional on the market, but its setup often raises questions for beginners. Even with a smart light bulb or motion sensor, many people don’t know where to start integrating devices into a single system. The main problem is the lack of a universal algorithm: the process depends on the type of hub, the version of the firmware, and even the region of purchase of equipment.
In this article, we will look at all the current ways to connect to Xiaomi’s smart home in 2026, including working with Mi Home, Home Assistant and alternative platforms. Particular attention will be paid to typical errors (for example, the invisibility of devices on the 5 GHz network) and how to fix them without contacting the service. If you are just planning to buy, at the end of this article there is a comparative table of Xiaomi hubs with an indication of their capabilities and limitations.
1. Selection of a central hub: what is needed for your tasks?
Without a central hub, most Xiaomi devices will work in isolation — for example, a smart light bulb will turn on a timer, but it will not work when the motion sensor is triggered. The hub connects all gadgets into a single system and allows you to create automation. In the Xiaomi lineup, there are 4 main models:
- 🔹 Xiaomi Mi Smart Home Gateway 3 - Basic model with support for Zigbee 3.0 and built-in speaker for alarms. Suitable for apartments up to 50 m².
- 🔹 Aqara Hub M2 — Advanced version with HomeKit support (for integration with Apple) and an expanded set of protocols (Zigbee, Wi-Fi, Bluetooth).
- 🔹 Xiaomi Mi Smart Home Gateway 2 (E1) — Budget option without speaker, but with Matter support (for compatibility with Google Home and Alexa).
- 🔹 Aqara Camera Hub G3 — hub-hybrid IP-Face recognition cameras, perfect for security systems.
The critical point is that Xiaomi hubs are not compatible with each other, for example, the Aqara sensor will not connect to the Mi Smart Home Gateway 3, and vice versa. Before buying, check which devices the selected model supports on the official website.
⚠️ Note: Xiaomi Hubs for the Chinese Market (with Markings) CN) Mi Home servers may not work in Europe or Russia. EU or RU, even if they're more expensive.
2.Preparation for connection: what to do before installing the hub
Before unpacking the hub, follow 3 mandatory steps:
- Check the Wi-Fi network. Xiaomi hubs only work with 2.4 GHz networks. If your router broadcasts a unified network (2.4 + 5 GHz under one name), divide it in the router settings, otherwise the hub will not find the access point.
- Update the router’s firmware. Outdated firmware versions (especially those on TP-Link or ASUS routers older than 2020) may block Xiaomi devices from connecting due to protocol conflicts.
- Install the Mi Home app. Only download it from Google Play or the App Store. Third-party versions may contain malicious code.
If you already have Xiaomi devices (like Yeelight light bulbs or robot vacuum cleaners), they can be connected to the hub later - the main thing is that the hub is installed first.Exception: Xiaomi cameras (Mi Home Security Camera series) work independently and do not require a gateway.
Separate 2.4 GHz and 5 GHz networks in the router
Turn off the filtering. MAC-address
Enable compatibility mode with 802.11b/g/n
Reboot the router after the changes-->
3. Step-by-step instruction: connecting the hub to Mi Home
Let’s look at the Xiaomi Mi Smart Home Gateway 3.
- Connect the hub to power. Use only the original power supply (5V/1A). Connection through USB-Hub or power bank may cause failures.
- Wait for the light to flash blue. If the light bulb is red, the hub can't connect to the network (check Wi-Fi settings).
- Open Mi Home → Add Device → Gateway. The app will automatically determine the model.
- Select a region. Russia is the optimal server for Russia (Moskva). If you choose China (Mainland), some features (like voice assistant Alice) will not work.
- Update the hub firmware. Once connected, check for updates in Settings → Update. Outdated versions may not support new devices.
Once successfully connected, the hub will appear as a separate room on the Mi Home main menu, and you can add other devices to it. If the hub is not defined, try resetting it to factory settings by holding the button on the body for 10 seconds (until the beep).
What to do if the hub flashes yellow?
4. Adding devices to the hub: light bulbs, sensors, switches
The algorithm for connecting devices depends on their type:
| Type of device | Protocol | Connection method | Synchronization time |
|---|---|---|---|
| Smart light bulbs (Yeelight, Mi LED) | Wi-Fi / Zigbee | Through Mi Home or the button on the base (3x press) | 10.30 sec. |
| Motion/opening sensors (Aqara) | Zigbee | Press the button on the body until the indicator flashes | 5-15 sec. |
| Smart sockets (Mi Smart Plug) | Wi-Fi | Hold the 5 sec button until blinking | 20-40 sec. |
| Thermostats (Aqara Temperature Sensor) | Zigbee | Automatically when added to Mi Home | 1 min |
The general rule is that all devices are added through the Mi Home app. Except for gadgets with Matter support (for example, Yeelight Pro light bulbs), which can be connected via Google Home or Apple HomeKit without a Xiaomi hub.
A common mistake is to try to connect the device when the hub is in update mode. Before adding new gadgets, check the status of the hub in Mi Home (Device → Gateway → Status). If there is an update notification, wait until it is completed.
💡
If the Aqara sensor does not connect to the hub, bring it as close as possible (at a distance of 1-2 meters) and try again. Zigbee devices are sensitive to interference from other wireless devices (microwaves, wireless headphones).
5. Automation settings: scenarios and triggers
The main advantage of a smart home is automation, which is triggered by triggers (for example, turning on the lights when moving).
- 🔄 Simple automation – one action under one condition (e.g., “If the motion sensor is triggered” → light up").
- 🔀 Complex scenarios – multiple conditions (e.g., “If the motion sensor is triggered and time after 18:00) → light up").
- ⏱️ Time automation – schedule actions (e.g., “Every day at 22:00 turn off all outlets").
To create automation:
- Open Mi Home → “Automation” → “Add”
- Select a trigger (condition). For example, "Door Open Sensor → State: Open."
- Select an action. For example, "Smart light bulb → Turn on → Brightness: 100%."
- Save the script and test it (manually activate the trigger).
Mi Home: Maximum automation is 30. If you need more, use alternative platforms like Home Assistant or Node-RED. Mi Home also doesn't have an OR function for conditions (e.g., "turn on the light if the motion sensor is triggered or the switch is pressed").
💡
For stable operation of automations, turn off the energy-saving mode for the Mi Home application in the phone settings. Otherwise, scenarios can be triggered with a delay of up to 5 minutes.
6.Integration with voice assistants and other platforms
Smart home Xiaomi can be controlled by voice through Alice (Yandex), Google Assistant or Amazon Alexa.
- Connect your Mi Home account to the Assistant: For Alice: say “Plug in Xiaomi” or add the service manually in the Yandex app. For Google Assistant: open Google Home → “Add” → “Device Management” → Xiaomi Mi Home.
Assign devices understandable names
Check compatibility.
Xiaomi
official website
For advanced users: if you want to integrate Xiaomi’s smart home with Home Assistant, use the official Xiaomi Mi Home Integration plugin. You will need to get the Mi Home Token (the instructions are on GitHub).
⚠️ Note: When connecting to Google Home or Alexa, some of the features of Xiaomi devices may be limited. For example, in Google Home, you can not adjust the color temperature of Yeelight light bulbs - only on/off and brightness.
Typical problems and their solutions
Even when set up properly, Xiaomi’s smart home can be unstable, and here are the most common problems and ways to fix them:
| Problem. | Possible cause | Decision |
|---|---|---|
| Hub does not connect to Wi-Fi | Mi Home in the wrong region or conflict IP-address | Change region to Russia and turn on DHCP on router |
| Devices are turned off after 1-2 days | Energy-saving mode of router or hub | Turn off the “green mode” on the router and update the firmware of the hub |
| Automation is triggered with a delay | Zigbee weak signal or hub congestion | Reduce the number of devices on a single hub or add a repeater (e.g. Aqara Range Extender) |
| Lights flash without a command | Interference from other Wi-Fi devices | Change Wi-Fi channel to 1, 6 or 11 in router settings |
If the device stops responding, try:
To move to an alternative platform:
- Export the list of devices from Mi Home (Settings → Devices → Export).
- Install your chosen platform on Raspberry Pi, NAS or PC.
- Connect devices via plugins (e.g. Xiaomi Mi Home Integration for Home Assistant).
- Move automation using JSON-templates or visual editors.
Alternative platforms have the advantage of local management (without depending on Xiaomi servers) and advanced analytics, for example, Home Assistant can plot the electricity consumption of Mi Smart Plug outlets for a year, whereas Mi Home only stores the history for 30 days.
💡
If you use Home Assistant, set up a cloud backup (e.g., Google Drive Backup) to save your settings if your system crashes.