Xiaomi Mi Smart Home Hub sensor controller: what you need and how it works

Xiaomi’s smart home has long since ceased to be exotic β€” millions of users around the world control lighting, climate and security through the Mi Home ecosystem. But without a central link β€” a controller (hub) β€” most sensors and devices turn into useless β€œbricks.” Mi Smart Home Hub (also known as Xiaomi Mi Smart Home Gateway or Aqara Hub depending on version) performs the role of the brain system, connecting sensors, switches and actuators through the ZigBee 3.0 protocol.

Many people mistakenly believe that the hub is only for connecting sensors to Wi-Fi, but in fact its functions are much broader: it does not just relay signals, but also processes them locally (without the cloud), runs automation, and in some models even works as a nightlight, siren or radio. In this article, we will examine why you need the Mi Smart Home Hub, how it interacts with sensors, and why without it, the smart home from Xiaomi loses half of its capabilities.

If you’re just planning a purchase or have trouble setting up, here are some key questions to answer: from sensor compatibility to the intricacies of integrating with Google Assistant or HomeKit. And for those who doubt the need for a hub, here are some concrete examples where you can’t do without it.

What is Xiaomi Mi Smart Home Hub and What Does It Look Like?

The Mi Smart Home Hub is a palm-sized compact device that plugs into a socket and acts as a gateway between the sensors on the ZigBee protocol and your smartphone/Mi Home cloud. It looks like a small white cylinder with an indicator on the top panel, which can glow in different colors depending on the mode of operation.

On the back panel are:

  • πŸ”Œ Power connector (5V, usually via USB Type C or microUSB depending on the model).
  • πŸ“Ά Reset button (to return to factory settings).
  • πŸ”Š In some versions, a speaker for sound alerts (for example, in the Aqara Hub) M2).
  • 🌐 Ethernet port (only in advanced models, such as Aqara Hub) E1).

The standard equipment includes the hub itself, the power supply and a brief instruction, and it is worth noting that the device only works from the mains - there is no autonomous power, so when the power is turned off, the smart home "falls asleep", which is important to consider when planning security systems.

The hubs are similar but different in functionality, such as the Mi Smart Home Hub 2 (2020) which supports up to 128 ZigBee devices, while the first version was limited to 32, and the new models also feature Thread support and improved compatibility with Apple HomeKit.

πŸ“Š What Xiaomi Hub Are You Using?
Mi Smart Home Hub (Version 1)
Mi Smart Home Hub 2
Aqara Hub M1S/M2
Other
I don't use it.

The main functions of the controller: why it is necessary

The hub's main mission is to integrate sensors and actuators into a single system, but it also performs a number of critical functions:

1. Local processing of data

Most automations (like turning on lights when driving) work without the cloud β€” the hub itself analyzes signals from sensors and sends commands to devices, which reduces latency and increases reliability.

2 Support for ZigBee 3.0 Protocol

Unlike Wi-Fi, ZigBee consumes minimal power, allowing sensors to last from batteries to 2-5 years.

3. Integration with voice assistants

Through the hub, you can manage Xiaomi devices using Alice (Yandex), Google Assistant or Siri (if the model supports HomeKit).

4.Working as a siren or night-light

In some models (for example, Aqara Hub) M2) built-in speaker for sound alerts (for example, when the smoke sensor is triggered) and RGB-lighting that can be used as a nightlight.

Backup link

If Wi-Fi goes down, the hub will continue to manage devices over ZigBee (for example, scheduled automation will work).

Without a hub, most Xiaomi sensors (e.g. Mi) Door/Window Sensor or Aqara Temperature Sensor will not be able to connect to the system, except for devices with direct Wi-Fi (such as Mi Home Security Camera), but their capabilities will be severely curtailed.

πŸ’‘

The hub is required for ZigBee sensors, but is not needed for Wi-Fi devices (e.g. Yeelight lamps or Mi Smart Plug outlets).

What sensors and devices does the hub work with?

The Mi Smart Home Hub is compatible with most of the Xiaomi and Aqara ecosystem devices running on the ZigBee 3.0 protocol. Below is a table with the main types of supported gadgets:

Type of deviceExamples of modelsFunctions
Motion sensorsMi Motion Sensor, Aqara Motion Sensor P1Motion detection, lights on, trigger for automation
Opening sensorsMi Door/Window Sensor, Aqara Door Sensor T1Door/window control, intrusion alerts
Temperature/humidity sensorsAqara Temperature Sensor, Mi Temperature & Humidity Sensor 2Microclimate monitoring, climate engineering management
Water leak sensorsAqara Water Leak SensorDetection of flooding, automatic water overlap (with valve)
Smart sockets and switchesAqara Smart Wall Switch, Mi Smart Plug (ZigBee)Power management, monitoring of energy consumption

Important: not all Xiaomi devices work with a hub. For example, Yeelight lamps or Mi Smart Plug (Wi-Fi) outlets connect directly to the router and do not require a ZigBee gateway. There are also restrictions by region - some sensors (for example, Aqara for the Chinese market) may not connect to European hubs.

To check compatibility, use the official list in the Mi Home app (Add Device section) and if the device doesn’t appear in the list, it’s not supported.

πŸ’‘

Before buying a sensor, check its protocol (ZigBee/Wi-Fi/Bluetooth). Hub is only needed for ZigBee devices.

How the hub interacts with sensors: the principle of operation

The system is built according to the following algorithm:

  1. A sensor (such as the Mi Door Sensor) detects an event (opening a door) and sends a signal to the hub via ZigBee.
  2. The hub receives a signal and checks if there are associated automations (for example, β€œturn on the light when the door is opened”).
  3. If the automation is set up, the hub sends a command to an executive device (such as a smart lamp) over ZigBee or Wi-Fi.
  4. In parallel, the hub can send a notification to the smartphone via the Mi Home cloud (if push notifications are enabled).

The whole process takes a fraction of a second if the devices are in a confident reception zone (usually up to 10-15 meters indoors). If the signal is weak, you can use ZigBee repeaters (for example, smart Aqara sockets), which strengthen the network.

Key features of interaction:

  • πŸ”„ The hub can operate autonomously (without the Internet) for local automation.
  • 🌍 Remote control (from a smartphone) requires connecting the hub to Wi-Fi.
  • ⚑ The maximum number of connected devices depends on the hub model (from 32 to 128).
  • πŸ”’ Data between sensors and hub is encrypted by protocol AES-128.

Important: if the hub stops responding, all automation on ZigBee will stop working, even if the sensors are good, so it is recommended to place it in the center of the house, away from sources of interference (microwaves, routers 2.4 GHz).

What if the hub doesn’t see the sensor?
1. Check that the sensor is on and the battery is not discharged. 2. Reboot the hub (pull out/insert the power plug). 3. Make sure the sensor is within a radius of 1-2 meters from the hub when you first connect. 4. Update the hub firmware in the Mi Home app (Profile) β†’ Settings β†’ 5. If the sensor is Chinese, try changing the region in Mi Home to China (but note that this may disrupt other devices).

How to connect and configure the hub: step-by-step instructions

The process of connecting the hub takes no more than 5-10 minutes.

  • πŸ“± Smartphone with Mi Home app (available for Android and iOS).
  • πŸ”Œ Rosetta 220V near the router (for a stable Wi-Fi signal).
  • πŸ“Ά Wi-Fi access (2.4 GHz only, 5 GHz not supported!).

Download the Mi Home app|Registering a Xiaomi account|Connect the hub to the outlet|Make sure the indicator flashes yellow|Located within 2 meters of the hub-->

Follow the instructions:

  1. Open Mi Home and click "Add Device" (Icon "+" top-right).
  2. Select the Gateways category and find your hub model (e.g. Mi Smart Home Hub 2).
  3. Click "Connect" and wait until the hub emits an audible signal (or blinks blue).
  4. Select your Wi-Fi network (2.4GHz only!) and enter your password.
  5. Wait for the setup to be completed (the hub should light up in blue and issue a voice greeting in Chinese).

Once connected, the hub will appear in the Mi Home main menu, and you can add sensors:

  1. Press "Add device" β†’ Select a category (e.g., "Sensors").
  2. Activate the sensor (usually press a button on it or remove the protective film from the battery).
  3. Wait until the hub detects the device (the indicator on the hub will flash green).

If the sensor doesn’t connect, try resetting it (hold the 5-10 second button until the indicator flashes) and repeat the process.

πŸ’‘

To speed up the connection of sensors, place the hub on a hill (for example, on a cabinet) – this will improve the coverage of the ZigBee network.

Common Problems and Their Solutions

Even with the right setup with the Mi Smart Home Hub, you can experience failures. Consider typical situations and ways to fix them:

1.The hub doesn't connect to Wi-Fi

  • πŸ”Œ Check that the router is running in 2.4 GHz mode (5 GHz is not supported).
  • πŸ“΅ Make sure that the router’s filter is turned off MAC-address.
  • πŸ”„ Reboot the hub and router.

2. Sensors are periodically switched off

  • πŸ“‘ Check the signal level of ZigBee in the Mi Home app (Device) β†’ hub β†’ State of the network).
  • πŸ”‹ Replace the batteries in the sensors (even if they show a charge of 50%).
  • 🏠 Move the hub closer to the center of the house or add a repeater (like an Aqara smart outlet).

3. Automation doesn't work

  • ⏱ Check that the automation settings indicate the correct trigger (e.g., β€œwhen opening the door” rather than β€œwhen closing").
  • 🌐 Make sure the hub is connected to the internet (for cloud automation).
  • πŸ”„ Update the hub's firmware and sensors.

4. The hub is emitting a constant beep.

This means that the device cannot connect to Xiaomi servers.

  • 🌍 Internet access (open in the browser status.miot-spec.com – should open) JSON-reply).
  • πŸ”’ Firewall/antivirus settings (they can block connection to Xiaomi servers).
  • ⏳ Wait 10-15 minutes – sometimes Mi Home servers are temporarily unavailable.

⚠️ Note: If the hub does not turn on after reset (the indicator does not burn), check the power supply.Some users face a problem when the original adapter fails - replace it with a similar one with parameters 5V/1A.

Comparison of Hub Models: Which to Choose

There are several versions of the hubs from Xiaomi and Aqara on the market, with key differences in protocols supported, number of connected devices and additional features.

ModelProtocolsMax. Devices.Additional functionsCompatibility with HomeKit
Mi Smart Home Hub 1ZigBee32RGB-lighting, siren❌ No.
Mi Smart Home Hub 2ZigBee 3.0128Thread support, improved stability❌ No.
Aqara Hub M1SZigBee 3.0128IR-remote, radio, sirenβœ… Yes.
Aqara Hub M2ZigBee 3.0, Ethernet128Giggbit Ethernet, backup powerβœ… Yes.
Aqara Hub E1ZigBee 3.0, Thread, Matter128Matter support, compatibility with Google Homeβœ… Yes.

Which hub should I choose?

  • 🏠 For a basic smart home (sensors) + The lights are enough Mi Smart Home Hub 2.
  • 🍎 If you want to integrate with HomeKit (for iPhone), take the Aqara Hub M1S/M2.
  • 🌐 For maximum compatibility with other ecosystems (Google, Alexa) is suitable Aqara Hub E1 matter-supported.
  • πŸ”Œ If your router is far away, choose an Ethernet model (like the Aqara Hub). M2).

⚠️ Note: Aqara and Xiaomi hubs are not always compatible, for example, Aqara sensors may not connect to the Mi Smart Home Hub 1.

FAQ: Frequent questions about Xiaomi Mi Smart Home Hub

Can I use a hub without the internet?
Yes, but with limitations. Local automation (like turning on the lights on while you're driving) will work, but remote control from your smartphone and cloud scenarios (like alerts) won't, and without the Internet, you won't be able to add new devices.
How many sensors can be connected to a single hub?
It depends on the model: Mi Smart Home Hub 1: before 32 The Mi Smart Home Hub 2 / Aqara Hub M1S/M2/E1: before 128 In practice, with a large number of sensors (50+) There may be delays, so it is recommended to use multiple hubs for larger systems.
How to reset the hub to factory settings?
Press and hold the button on the back of the hub for 10-15 seconds until the indicator starts flashing yellow. After that, the hub resets and it can be reconnected via Mi Home. Attention: reset will remove all connected devices and automation!
Can I connect the Xiaomi hub to another app (like Home Assistant)?
Yes, but you need additional customization. Xiaomi hubs can be integrated into Home Assistant through the Xiaomi Miio component, and Aqara hubs can be integrated through the Aqara Gateway. You need to get a device token (for example, through the Mi Home Token Extractor app for Android). # Example of configuration for Xiaomi Hub in configuration.yaml xiaomi_aqara: gateways: - key: YOUR_GATEWAY_KEY
Why is the hub flashing red?
Red light signals an error: πŸ”΄ No Internet connection. πŸ”΄ Xiaomi server error (check status at status.mi.com). πŸ”΄ Hub malfunction (try rebooting or resetting).If the blinking doesn't stop, contact Xiaomi with the Mi Home app logs.