Xiaomi Smart Home is one of the most affordable and functional systems for home automation. Since its launch in 2014, it has grown to hundreds of compatible devices, from simple sensors to complex robot vacuum cleaners. But many users are faced with the challenges of how to connect devices correctly, configure their interactions and avoid typical errors.
The feature of the Mi Home system (now Xiaomi Home) is its cross-platformity: devices work with both branded hubs (Mi Home Hub, Aqara Hub) and voice assistants (Alice, Google Assistant, Siri). At the same time, the prices for sensors start from 500 rubles, which makes a smart home available even for budget projects. However, without the right configuration, even the most advanced equipment turns into a set of useless gadgets.
In this guide, we'll take a look at:
- π How to Select and Connect a Central Hub to Manage All Devices
- π± Step-by-step setting up the mobile application Xiaomi Home (former Mi Home)
- π Creating automation scenarios with examples for different rooms
- β οΈ Typical Beginner Mistakes and How to Avoid Them (From Device Conflicts to Wi-Fi Problems)
1. Central hub: the heart of Xiaomi's smart home
Without a hub, most Xiaomi devices will work in isolation β for example, a motion sensor will only send notifications to the phone, but not turn on the lights. The hub connects all gadgets into a single system and allows you to create automation. In 2026, three models are relevant:
| Model | Support for protocols | Features | Price (cf.) |
|---|---|---|---|
| Xiaomi Mi Home Hub 2 | ZigBee 3.0, Wi-Fi, Bluetooth | Built-in speaker, support for HomeKit (through workarounds) | ~3 500 β½ |
| Aqara Hub M2 | ZigBee 3.0, Wi-Fi, Ethernet | Works without cloud (local scenarios), support IFTTT | ~4 200 β½ |
| Aqara Camera Hub G3 | ZigBee 3.0, Wi-Fi, Ethernet | hub + IP-rotary-camera | ~6 800 β½ |
For most users, the Mi Home Hub 2 is the best option β itβs cheaper than Aqara and supports all major Xiaomi devices. However, if you want local scripts (which work without the Internet), youβd better go for the Aqara Hub. M2. Note: Hubs are not compatible β devices tied to the Mi Home Hub wonβt work with Aqara, and vice versa.
β οΈ Note: Xiaomi hubs require a constant connection to the outlet. If the lights in the house turn off, the entire system will stop working. For critical devices (such as alarms), use UPS or backup batteries.
The process of connecting the hub:
- Download the Xiaomi Home app (App Store/Google Play).
- Register or log in to your Mi Account (be sure to link your phone number!).
- Connect the hub to the outlet and wait for the indicator to flash.
- In the app, click Add Device β Hub and follow the instructions.
2. Device connectivity: from sensors to robots
All Xiaomi Smart Home devices are divided into three types by the way they connect:
- πΆ Wi-Fi (robot vacuum cleaners, lamps, sockets) β connect directly to the router.
- π ZigBee (sensors, switches, relays) β work only through the hub.
- π΅ Bluetooth (some temperature sensors) β communicate directly with your phone.
The most popular devices and their features:
- π‘ Xiaomi Mi LED Smart Bulb β 16 million shades lamp, supports 1600β6500K (Warm/cold lights. Important: Neutral wire in the switch is required to operate!
- π Xiaomi Mi Smart Plug - power consumption socket with maximum load - 2200 watts (not suitable for heaters!).
- πͺ Aqara Door/Window Sensor - door/window opening sensor. 2 battery-year CR1632.
- π€ Xiaomi Robot Vacuum-Mop 2 Pro β vacuum cleaner with laser navigation and function of floor washing. Requires a clean card for correct operation.
The general connection algorithm:
- Make sure the device is charged/on-line.
- In the Xiaomi Home app, click Add Device and select a category.
- Follow voice prompts or instructions on the screen (for example, a lamp may need to turn on/off the lights 3 times).
- Call the device meaningfully (e.g., "Bedroom Lamp" instead of "Device 1").
Make sure the hub is on and connected to the internet|
Check battery power (for wireless devices)|
Name the device in advance (so as not to get confused)|
Shut down. VPN (It can block Xiaomi servers)-->
Critical feature: Xiaomi devices are tied to the region of the account in the app. If you choose China when you register, many devices (for example, European sockets) will not appear in the list of available.
- Go to Profile β Settings β Region.
- Choose Russia (or Europe).
- Restart the app.
Automation setup: scenarios for comfort and safety
The main advantage of a smart home is the ability to create scenes (simple commands) and automation (complex scenarios with conditions).
- π "Morning: at 7:00 the blinds rise, the coffee maker turns on, the warm lights light up.
- πͺ "No one at home: when all family members go out, the alarm goes on, the vacuum cleaner cleans the floor.
- π§ "Leakage: Water sensor is activated β The electric faucet is closing, it's coming. SMS.
How to create automation in the Xiaomi Home app:
- Go to the Automation section β Create.
- Select the trigger (activation condition): time, sensor, geolocation, etc.
- Add action (what should happen).
- Set up exceptions (for example, do not work at night).
Example of settings "Night mode":
Trigger: Time β 23:00
Action:
1. Turn off all lamps
2. Lower blinds by 80%
3. Turn on the nightlight at 10% brightness
4. Activate Do Not Disturb mode on your phone
Exceptions: If someone is home (by geolocation)β οΈ Attention: Too complex automation with many conditions can freeze or fail with a delay. Optimally, no more than 5 actions in one scenario.
How do you check why the script doesnβt work?
4.Integration with voice assistants
You can manage Xiaomi devices by voice via Alice (Yandex), Google Assistant or Siri (HomeKit).
- In the Xiaomi Home app, go to Profile β Settings β Voice assistant.
- Choose a service (Yandex, Google or Apple).
- Log in and allow access to the devices.
Examples of voice commands:
- π£οΈ "Alice, turn on the lights in the hall at 50%"
- π£οΈ "Okay, Google, run the kitchen vacuum cleaner"
- π£οΈ "Ciri, activate the scene of 'Cinema'"
Limitations of voice control:
- β Not all devices are supported (for example, some Aqara sensors are not visible in Google Home).
- β Delay in execution of commands can reach 2-5 seconds.
- β HomeKit requires additional configuration via Home Assistant or HOOBS.
1. Reconnect the device in the Xiaomi Home app.
2. Update the hub firmware.
3. Remove and reintroduce integration with the assistant.-->
Typical problems and their solutions
Even in a well-functioning system, there are periodic failures, and here are the most common problems and ways to fix them:
| Problem. | Possible cause | Decision |
|---|---|---|
| The device is not connected. | Disparity of the region in the account | Change the region to Russia in the profile settings |
| Delays in the work of scenarios | Weak Wi-Fi or ZigBee signal | Install a repeater or move the hub closer to the devices |
| Sensors discharge in a month. | Frequent surveys (e.g. every 5 minutes) | Increase the survey interval in the device settings |
| Hub doesn't answer | Overheating or malnutrition | Connect through the UPS and provide ventilation |
If the device has completely stopped responding, try resetting it to factory settings:
- For hubs: press the reset button for 10 seconds (until flashing yellow).
- For lamps: turn on / off 5 times in a row.
- For sensors: Remove and insert the battery, then press the button on the case.
β οΈ Warning: Once reset, the device will disappear from all scenarios. Before reset, take screenshots of the settings or export the configuration through Settings. β Backup.
6 Advanced Features: Home Assistant and Local Scenarios
Xiaomi Homeβs proprietary app limits functionality β for example, you canβt create a script with a delay of more than 60 minutes or use logical operators (OR).
The advantages of Home Assistant:
- π Local management without cloud (even without internet).
- π Detailed schedules of energy consumption, temperature, etc.
- π€ Support for Python scripts for custom automation.
How to connect Xiaomi to Home Assistant:
- Install Home Assistant on Raspberry Pi, NAS or PC.
- In the configuration file configuration.yaml add:
xiaomi_aqara:
discovery_retries: 5
gateways:
Key: YOUR_HUB_KEY # Key from the Mi Home app- Restart Home Assistant and add devices to the interface.
Example of automation in Home Assistant (turn on the light when driving, but only when it is dark):
automation:
- alias: "Corridor: light by movement"
trigger:
platform: state
entity_id: binary_sensor.motion_sensor_158d0001234567
to: "on"
condition:
- condition: numeric_state
entity_id: sensor.illumination_158d0001234567
below: 10
action:
service: light.turn_on
entity_id: light.corridor_lightπ‘
Home Assistant allows you to bypass the limitations of a proprietary app, but requires technical skills. For beginners, it is better to start with basic scripts in Xiaomi Home.