Smart home Xiaomi: the principle of work and a step-by-step start for beginners

Xiaomi Smart Home is not just a set of gadgets, but a full-fledged system of automation of everyday life that manages lighting, climate, security and even household appliances through a single application. But where to start, if you are just familiar with the concept of a smart home? Many people mistakenly think that it takes thousands of rubles and technical knowledge to start β€” in fact, enough basic hub and a couple of sensors to feel the benefits of automation.

In this article, we will explain the way Xiaomi’s smart home works, which devices are mandatory to start and which ones to do without, how devices interact with each other through the Zigbee protocol, why choosing a central hub is important, and how to avoid typical setup errors, and also evaluate the real cost of the launch kit and compare it with alternatives from other brands.

Spoiler: you can start with a budget of less than 5 000 rubles, and scale the system to fully automate the apartment - as needed. The main thing is to understand the basic rules of compatibility of Xiaomi devices: not all gadgets work with any hub, and some require a mandatory connection to a Chinese server (more about this in the section about setting up).

If you've tried to set up a smart home before, but you've run into problems -- like sensors refusing to connect or scripts being delayed -- here's a solution to the typical "diseases" of the Mi Home ecosystem. Let's get it straight.

1. How Xiaomi Smart Home Works: Architecture and Protocols

Xiaomi’s smart home is based on a decentralized network of devices where each gadget can interact with others through a central hub (gateway) or directly – if it supports the Zigbee 3.0 protocol. This protocol is not chosen by chance: it is energy efficient (sensors work from batteries for years), reliable (the network self-organizes when new devices are added) and supports up to 128 devices per hub.

Here’s what a typical workflow looks like:

  1. Devices (sensors, lamps, sockets) send data to the hub via Zigbee or Wi-Fi.
  2. A hub (such as Xiaomi Mi Smart Home Hub 2) processes signals and transmits them to the Mi Home cloud or locally to the smartphone.
  3. The application (Mi Home or Aqara Home) allows you to manage devices, configure automation and monitor the state of the system.

Key point: not all Xiaomi devices work through Zigbee, for example, smart outlets and some cameras use Wi-Fi, and door opening sensors – Zigbee. 2-3 device.

πŸ“Š What Smart Home Protocol Do You Know?
Zigbee
Wi-Fi
Bluetooth
I don't know what it is.

Another nuance is the regional restrictions: Xiaomi devices for the Chinese market (marked with the name of the device). CN) may require connection to Chinese servers, which makes it difficult to set up in Russia. EU) They don't have that disadvantage, but they cost more.

Where to start: Minimum set of devices to start

To test the capabilities of a smart home without large investments, it is enough to purchase a starter kit from the 3-4 Here's what we recommend for the first experience:

  • πŸ”Ή Central hub: Xiaomi Mi Smart Home Hub 2 (supports Zigbee 3.0, works with Russian servers) or Aqara Hub M2 (more stable but more expensive).
  • πŸ’‘ Smart Lamp: Xiaomi Mi LED Smart Bulb (9W color) or Yeelight LED (budgetary).
  • πŸšͺ Opening sensor of doors / windows: Xiaomi Mi Door/Window Sensor 2 (work-in 2 battery-year CR1632).
  • 🌑️ Temperature and Humidity Sensor: Xiaomi Mi Temperature and Humidity Sensor 2 (accurate readings, compact size).

This set will allow you to automate lighting (for example, turn on the lamp when opening the door) and monitor the microclimate in the room. The cost of the kit is about 4 000-6 000 rubles, depending on the choice of hub.

If you have a budget, you can start with a hub and a single sensor (like motion) to understand the logic of how the system works, but keep in mind that without a hub, most Zigbee devices will not work – they do not connect directly to Wi-Fi.

Select a hub with Zigbee 3.0 support (e.g. Mi Smart Home Hub 2)

Check the compatibility of devices with the hub (see the table below)

Buy batteries for sensors (usually) CR2032 or CR1632)

Install the Mi Home app before purchase (check your account region)-->

3.Hub selection: model comparisons and nuances

The hub is the brain of the smart home, so it needs to be approached responsibly, and in 2026 Xiaomi and its sub-brand Aqara have a few relevant models:

ModelProtocolMax. Devices.FeaturesPrice (2026)
Xiaomi Mi Smart Home Hub 2Zigbee 3.0128Support for Russian servers, built-in speaker for alerts~2 500 β‚½
Aqara Hub M2Zigbee 3.0128More stable firmware, support for HomeKit (through update)~3 500 β‚½
Xiaomi Mi Smart Home Hub 1Zigbee 1.232Outdated model, problems with connecting new devices~1 500 β‚½
Aqara Camera Hub G2HZigbee 3.0 + Wi-Fi128hub + camera in one device, support for local scenarios~5 000 β‚½

Which hub should I choose?

  • For testing and a small apartment: Mi Smart Home Hub 2 is optimal for price and functionality.
  • For reliable work and integration with Apple HomeKit: Aqara Hub M2.
  • If you need a camera + The hub in one device: Aqara Camera Hub G2H (But keep in mind that it requires stable Wi-Fi).

⚠️ Attention: Xiaomi Hubs with Marking CN (For the Chinese market, you may not be able to connect to Russian servers. EU or RU When you buy it, if you've already bought it. CN-version, you will need to change the region of the account in Mi Home - this is fraught with loss of warranty and problems with updates.

After buying the hub, you need to connect it to the Mi Home app.

  1. Install the application and register an account (select Russia region).
  2. Connect the hub to the power and wait for the indicator to blink.
  3. In the app, click Add Device β†’ hubs β†’ Mi Smart Home Hub 2.
  4. Follow the instructions – the hub must issue a voice greeting in Chinese (this is normal).

πŸ’‘

If the hub doesn’t connect, try resetting it to factory settings: press the button on the case for 10 seconds until the indicator starts flashing yellow.

4. Connection and configuration of devices: step-by-step instructions

When the hub is connected, you can add other devices. Let's take a look at the Xiaomi Mi door opening sensor. Door/Window Sensor 2:

  1. Sensor Preparation: Remove the plastic pad between the parts of the sensor (it breaks the battery contact).
  2. Activate the pairing mode: Press and hold the button on the sensor for 3 seconds until the indicator starts flashing.
  3. Add to the app: in Mi Home, click Add Device β†’ Sensors. β†’ Door opening sensor.
  4. Placement: install the sensor on the door or window (the magnetic part is attached to the frame, the main - to the flap).

And other devices are connected in the same way.

  • πŸ”‹ Always check the battery power before connecting (in sensors commonly used). CR2032 or CR1632).
  • πŸ“Ά Make sure the distance between the device and the hub is less than 10-15 meters (walls weaken the Zigbee signal).
  • πŸ”„ If the device is not added, restart the hub (turn off power for 30 seconds).

Once you add the devices, you can combine them into rooms (e.g., kitchen, bedroom) and set up automation.

Scenario 1: If the motion sensor is triggered in the corridor at night β†’ You turn on the lamp at 30 percent brightness. Scenario 2: If the door opener goes off when you're not home. β†’ A push notification comes to the phone.

To create a script in Mi Home, go to Automation β†’ Add β†’ Choose a condition. Keep in mind that some scenarios only work when you connect to the Internet (cloud), while others work locally (even without a network).

How do you check if the script is running locally or through the cloud?
In the Mi Home app, open the script you created. If you have a cloud icon in the top corner, it depends on the Internet. If you don't have an icon, the script is executed locally (faster and more reliable).

Typical problems and their solutions

Even when you set it up properly, users are faced with typical problems, and here are the most common ways to solve them:

  • 🚫 Device does not connect to hub: Check that hub and device are on the same network (e.g. both connected to Mi Home in Russia region).Update hub firmware: Profile β†’ Hub settings β†’ Software update. If the device CN-Try changing your account region to China mainland (but it’s risky – see the warning below).
  • ⏳ Delays in scripting: Cloud scenarios always run slower than local ones. Remove the script to local (if possible). Check Wi-Fi network load - Zigbee uses a 2.4 GHz frequency that can conflict with the router.
  • πŸ”Š The hub is constantly speaking in Chinese: This is normal for most Xiaomi hubs - voice alerts are only in Chinese. To turn off voice, go to the hub settings and turn off the option Voice notifications.

⚠️ Warning: Changing your Mi Home account region from Russia to China mainland may result in loss of access to some devices if they are linked to another region, and Chinese servers are often blocked by ISPs in Russia, making it impossible to manage the system. We recommend buying devices with labels. EU or RU.

If the problem is not resolved, check the event log in the Mi Home app (Devices section). β†’ Choose a hub β†’ Logs show connection errors and crashes, for example, error code 1001 means loss of connection to the device, and 2003 - a firmware problem.

πŸ’‘

Before buying a new device, check its compatibility with your hub on the official Xiaomi website or in the database home.mi.com. Not all Aqara devices work with Xiaomi hubs, and vice versa!

Enhanced capabilities: integration with other systems

Xiaomi’s smart home can be made even smarter if it’s integrated with other platforms.

  • 🍎 Apple HomeKit: Supported by Aqara hubs (e.g. Hub) M2) After the firmware update, it allows you to manage devices through Siri and the iPhone Home app.
  • πŸ€– Google Assistant / Alexa: You can connect your account to Google Home or Amazon Alexa via the Mi Home app. Voice commands: OK, Google, turn on the living room light".
  • πŸ’» Home Assistant: An open platform for advanced automation (requires customization skills) allows you to create complex scenarios, such as linking Xiaomi sensors to devices from other brands.

To connect to Google Assistant:

  1. Open Mi Home and go to Profile β†’ Settings β†’ Smart home. β†’ Google Assistant.
  2. Sign in to your Google account and allow access.
  3. In the Google Home app, add Mi Home and assign room devices.

If you use Home Assistant, you will need Xiaomi Miio to integrate with Xiaomi. Here is an example configuration for configuration.yaml:

xiaomi_miio:


discovery_retry: 5




gateways:




- host: 192.168.1.100




token: YOUR_GATEWAY_TOKEN




model: lumi.gateway.mcn02

⚠️ Note: When integrating with Home Assistant, some Xiaomi devices may stop working in the original Mi Home app.We recommend that you first test the system in the basic version, and then move to advanced settings.

7 Cost and Scaling: How Much Does a Full Smart Home Cost?

One of the big advantages of Xiaomi's ecosystem is the flexibility to scale, you can start with a budget set of 5,000 rubles and gradually add devices. Here are the approximate prices for popular gadgets (2026):

The devicePrice (β‚½)Appointment
Xiaomi Mi Smart Home Hub 22 500Central hub for Zigbee devices
Xiaomi Mi Door/Window Sensor 2800Door/window opening sensor
Xiaomi Mi Motion Sensor 21 200Motion sensor (angle 170)Β°, range)
Xiaomi Mi LED Smart Bulb1 500Colored smart lamp (16 million shades)
Aqara Water Leak Sensor1 300Water leak sensor
Xiaomi Mi Smart Plug1 000Smart socket with monitoring energy consumption

The approximate cost of full automation of a one-room apartment (10-15 devices):

  • 🏠 Basic level (hub) + 3 sensors + 2 lamps): ~7 000 β‚½.
  • 🏑 Mid-level (hub) + 5 sensors + 3 lamps + plug + camera): ~15 000 β‚½.
  • 🏒 Full automation (several hubs, 20)+ Integration with climate control): ~30 000–50 000 β‚½.

Savings tip: watch out for sales on AliExpress (official Xiaomi and Aqara stores) or in Russian retailers (for example, Svyaznoy, M. Video). You can often buy devices 20-30% cheaper. But be careful with fakes - check the reviews and ratings of the seller.

πŸ’‘

Before buying a device, make an automation plan: what tasks should a smart home solve (safety, comfort, energy saving), which will help to avoid unnecessary spending on gadgets that will be useless.

Xiaomi Alternatives: Comparisons with Other Ecosystems

Xiaomi is not the only smart home option, but let’s look at the main alternatives and their features:

EcosystemPlusesConsStart-up cost
Xiaomi/AqaraLow price, wide range, ease of customizationCloud Addiction, Problems with Chinese Devices~5 000 β‚½
Apple HomeKitHigh reliability, local scripting, integration with iOSLimited choice of devices, high price~15 000 β‚½
Google HomeConvenient voice management, support for many brandsFewer devices with local management~10 000 β‚½
Home AssistantMaximum flexibility and support for any deviceComplicated configuration requires a separate server~20 000 β‚½

When to choose Xiaomi?

  • πŸ’° You need a budget start with the ability to scale.
  • πŸ› οΈ You are willing to put up with small bugs for a low price.
  • πŸ“± You don’t need deep integration with Apple or Google (or you use Aqara for HomeKit).

When should we consider alternatives?

  • 🍏 You have an Apple ecosystem (iPhone, Mac, HomePod) – then HomeKit will be more reliable.
  • πŸ”§ You need sophisticated automation (e.g., communication with heating systems or multimedia) – then Home Assistant.
  • πŸ—£οΈ You need to use Google Assistant or Alexa without restrictions.

Xiaomi is winning in price/feature ratio, but if you want stability and deep integration with other services, it’s worth considering alternatives. For example, for a home with a smart climate (warm floors, air conditioners), Home Assistant with modules for the home is better suited for the home. Zigbee2MQTT.

FAQ: Frequent questions about Xiaomi smart home

Can I use Xiaomi devices without a hub?
No, most Zigbee devices (sensors, buttons, some lamps) require a hub to work, except for Wi-Fi devices (such as Mi Smart Plugs or Mi Home Security Cameras), but their functionality will be limited.
How to reset the Xiaomi hub to factory settings?
Press the button on the hub for 10-15 seconds until the indicator flashes yellow quickly, and then the hub can be reconnected via the Mi Home app.
Why are Xiaomi sensors running out quickly?
This is most often due to poor Zigbee signaling, check the distance between the sensor and the hub (no more than 10-15 meters without obstacles) and replace the batteries with quality ones (for example, Duracell or Panasonic), and make sure that the sensor settings turn off the mode of β€œfrequent surveys” (if any).
Can you connect Xiaomi smart home to Yandex Alice?
There is no direct integration, but you can use workarounds: Connect the devices to Google Assistant, then link it to Alice through the Google Assistant skill. Use Home Assistant with a component for Yandex Smart Home. There is no official support from Xiaomi for Alice.
Which Xiaomi devices are better not to buy?
Avoid: Devices with labels CN (The Chinese version is server problems: older hub models (e.g. Mi Smart Home Hub 1) have limited support for new devices; sensors without Zigbee 3.0 support (e.g., early versions of motion sensors) may not connect to new hubs. Before buying, check the release date of the model (current - no older than 2022).