How the set of sensors Xiaomi Mi Smart Sensor Set: the principle of operation, configuration and nuances of use

Xiaomi Mi Smart Sensor Set is one of the most popular solutions for creating a budget-friendly but functional smart home system. This includes door/window, motion and temperature/humidity sensors that interact with the Xiaomi Mi Home Gateway hub via the Zigbee protocol. But how exactly do these devices communicate, what algorithms underlie their operation, and how to set them up correctly to avoid false positives? In this article, we will discuss the technical aspects, connection schemes and hidden features of the kit, which are rarely mentioned in standard instructions.

Many users mistakenly believe that it is enough to simply attach sensors to doors or walls and the system will work perfectly. In practice, the quality of work depends on the location of the devices, the signal level of Zigbee, sensitivity settings and even the materials from which the walls of your house are made. We will analyze typical installation errors, tell you how to check the stability of communication between sensors and the hub, and also give recommendations for integration with other Xiaomi devices (for example, with smart lamps or sockets) to create automated scenarios.

Composition of the set and technical characteristics of sensors

The Xiaomi Mi Smart Sensor Set includes three types of devices, each of which performs a unique function in the smart home ecosystem:

  • 🚪 Opening sensor of doors/windows (Xiaomi) Door/Window Sensor - detects the opening/closing of the magnetic contact, operates on the basis of magnetic reed, consumes minimal energy (battery) CR1632 serve up 2 years).
  • 👤 Xiaomi Motion Sensor – uses infrared (PIR) sensor for detecting movements in a radius of up to 7 meters at an angle of 170°. Sensitivity is regulated programmatically, but depends on ambient temperature.
  • 🌡️ Xiaomi Temperature & Humidity Sensor – Measures parameters with precision ±0.3°C and ±3%, respectively, equipped with a Swiss sensor Sensirion SHT3x, It is considered one of the most reliable in the budget segment.

All sensors communicate with the Xiaomi Mi Home Gateway (or Aqara Hub) hub via Zigbee 3.0, which provides low power consumption and stable networking with a large number of devices. It is important to note that sensors cannot work directly with Wi-Fi — they necessarily need a hub as an intermediary. This limitation is often a source of frustration for beginners who buy a kit without understanding the principles of its operation.

ParameterDoor/window sensorMotion sensorTemperature/humidity sensor
Protocol of communicationZigbee 3.0Zigbee 3.0Zigbee 3.0
Hub rangeup to 30 m (indoors)up to 30 m (indoors)up to 30 m (indoors)
NutritionBattery CR1632 (2 years)Battery CR2450 (1.5 years)Battery CR2032 (1 year)
Frequency of the surveyInstantly when triggered1 time in 60 seconds (on standby)1 time 5-10 mine (tuning)

⚠️ Note: Xiaomi Motion Sensor has a “dead zone” right below it (viewing angle starts at 15).° If you place it on the ceiling, it may not be able to detect movement within a radius of 50 cm from the floor.

The principle of operation of the Zigbee protocol and the scheme of interaction of devices

Zigbee is the foundation of the Mi Smart Sensor Set. Unlike Wi-Fi, it uses mesh network topology, where each device can act as a signal repeater, meaning that if the hub is too far from the sensor, the signal can jump through other Xiaomi devices (such as smart lamps or sockets), increasing the coverage area.

How this works in practice:

  1. The sensor detects an event (such as a door opening) and sends a hub signal.
  2. If there is no direct connection to the hub, the signal is transmitted via the nearest repeater device (if it supports Zigbee Router).
  3. The hub receives data and transfers it to the Mi Home cloud via Wi-Fi.
  4. The app on the smartphone displays a notification or triggers a pre-configured script (e.g., turning on lights).

Zigbee’s key advantage over Wi-Fi is low power consumption, which can run on batteries for years because the protocol is optimized for rare and short data transmissions. However, there are also disadvantages: if there are too many devices on the network, there can be a delay in signal transmission (before the signal is transmitted). 1-2 second) and in rooms with thick concrete walls communication may be interrupted.

📊 What Smart Home Protocol Are You Using?
Zigbee
Wi-Fi
Bluetooth
Thread
Other

To check the stability of the connection, the Mi Home app has a hidden feature called the Zigbee network map, to open it:

  1. Go to Profile → Settings → About the program.
  2. Click 5 times on the app version until the developer menu appears.
  3. Select the Zigbee Network Map.

On the map, you will see all the devices on the network, the signal level between them and possible communication problems (denoted by red lines).

💡

If the motion sensor often works falsely, try to reduce its sensitivity in the Mi Home app settings or move it away from heat sources (batteries, cookstoves).

Step-by-step instructions for connecting and configuring sensors

The process of connecting sensors to the Xiaomi Mi Home Gateway hub takes no more than 5 minutes, but requires compliance with several key rules. First, make sure that the hub is already connected to the Mi Home application and is in standby mode for new devices. Second, keep the sensors near the hub (no more than 1 meter away) for the duration of pairing - this minimizes the risk of failures.

Install the Mi Home app and register|Connect the Mi Home Gateway Hub to Wi-Fi|Make sure the hub is in device add mode|Remove protective films from sensor batteries|Place sensors near the hub-->

Follow the instructions:

  1. Open Mi Home, go to Add Device → Smart home. → Sensors.
  2. Select the type of sensor (e.g., Door/Windows Opening Sensor).
  3. Press and hold the button on the sensor for 3 seconds until the indicator blinks.
  4. Wait for the confirmation of the connection in the application (the hub’s sound signal).

After connecting, it is recommended to immediately configure:

  • 📍 Sensor location (e.g., “Entering Door”, “Kitchen Window”) – this will help to quickly identify the source of notifications.
  • ⚙️ Sensitivity (for motion sensor) – by default is “Average”, but in the corridors it is better to set “High».
  • 🔔 Notifications – Turn off unnecessary alerts (such as closing a door if you don’t care about it).

⚠️ Warning: If the temperature sensor shows incorrect values (for example, +30°C in the room, most likely, it's located near the heat source. Move it at least 1 meter away from the batteries, refrigerator or electronics.

Typical problems and ways to solve them

Even if installed correctly, the Xiaomi Mi Smart Sensor Set sensors can be unstable.

Problem.Possible causeDecision
Sensor doesn't connect to hubZigbee signal weak or battery drainedBring the sensor closer to the hub, replace the battery
False motion sensor alertsHigh sensitivity or direct sunlightReduce sensitivity, move the sensor to the shadow
Temperature sensor shows incorrect dataEffects of External Heat/Cold SourcesMove the sensor to the center of the room at a height of 1.5 m
Delayed notifications (more than 5 seconds)Overloaded Zigbee network or weak Wi-Fi at the hubReboot the hub, reduce the number of devices in the network

The problem with the loss of communication between sensors and the hub deserves special attention. If you notice that notifications do not always come, check:

  • 🔋 Battery level – in the Mi Home app is displayed as a percentage.
  • 📶 Zigbee signal level – if it is below 20%, the sensor needs to be moved closer to the hub or add a repeater (for example, a smart socket Xiaomi Smart Plug).
  • 🔄 Network congestion – if more than 30 devices are connected to the hub, some sensors may fall out».
How to reset the sensor to factory settings?
To reset the sensor (for example, if it does not connect to a new hub), press and hold the button on it for 10 seconds until the indicator flashes quickly red.

Integration with other Xiaomi devices and scripting

The main value of the Mi Smart Sensor Set is revealed when integrated with other Xiaomi devices. For example, the motion sensor can automatically turn on the Yeelight smart lamp when entering a room, and the door opening sensor can start recording on the Xiaomi Mi Home Camera.

Examples of useful scenarios:

  • 💡 Smart lighting: If the motion sensor detects activity after sunset, turn on the lamp at 30% brightness».
  • 🚨 Security: If the door sensor is triggered at night, turn on the Xiaomi Mi Home Alarm siren and send a notification».
  • 🌬️ Climate control: If the room humidity is above 70%, turn on the Xiaomi Smartmi Air Humidifier dehumidifier».

To create a script:

  1. Open Mi Home, go to Automation → Create.
  2. Select If and specify a condition (e.g., “Motion Sensor Acted”).
  3. Press To and select an action (e.g., “Enable the lamp”).
  4. Save the script and test it out.

⚠️ Note: Scenarios only work when you have an active Internet connection, as the logic of the event processing is performed on Xiaomi servers. If Wi-Fi goes off, automation will not work (except for local scripts supported by some hubs).

💡

For maximum reliability, use local scripts (if your hub supports them), which work even without the Internet, since the logic is executed directly on the hub.

Comparison with analogues: which is better, Xiaomi or Aqara?

The Xiaomi Mi Smart Sensor Set is often compared to a similar set from Aqara (a subsidiary of Xiaomi brand), both of which run on Zigbee, but there are key differences:

ParameterXiaomi Mi Smart Sensor SetAqara Smart Sensor Kit
CompatibilityXiaomi Mi Home Gateway HubWorks with Aqara Hub, Home Assistant, HomeKit (over the bridge)
Communication rangeUp to 30 m (indoors)Up to 50 m (due to improved Zigbee-module)
Price.~2 500 ₽ complete~3 500 ₽ complete
Additional functionsBasicHomeKit support, advanced sensitivity settings

The choice between Xiaomi and Aqara depends on your goals.

  • If you need a simple and inexpensive system for basic door, traffic and climate control, the Xiaomi Mi Smart Sensor Set is the best option.
  • If you’re planning to integrate with Apple’s HomeKit or want a more stable experience in a larger home, it’s best to consider Aqara.

It is also worth noting that Aqara sensors are more robust (e.g., the door opening sensor is equipped with a metal mount, rather than a plastic one, like Xiaomi’s), but for most household tasks, the difference is not critical.

Hidden opportunities and undocumented features

In the official documentation, Xiaomi does not mention a few useful features that can be activated through non-obvious settings or third-party firmware:

  • 🔄 Night Patrol mode: If you create a scenario in the Mi Home app with the condition “If the motion sensor worked between 00:00 and 06:00”, you can set up smart lighting that will only turn on at night, saving energy during the day.
  • 📊 Data export: Through API Mi Home (or services like Home Assistant) can be uploaded to the temperature/humidity sensors. CSV for analysis in Excel.
  • 🔋 Extension of battery life: If in the temperature sensor settings to increase the survey interval to 30 minutes (instead of standard minutes) 5), battery will last 20-30% longer.

For advanced users, the possibility of firmware for the Xiaomi Mi Home Gateway hub with alternative software, such as OpenMQTTGateway, is interesting.

  • Integrate sensors with smart home systems that are not dependent on the Xiaomi cloud (e.g. Domoticz or ioBroker).
  • Configure local scenarios without being linked to the Internet.
  • Receive real-time sensor data via protocol MQTT.
How to use an alternative hub?
The firmware process requires soldering and risks losing warranty. 4PDA And GitHub, but for beginners, it's not recommended. The alternative is to use the Aqara Hub, which out of the box supports more protocols.

FAQ: Frequent questions about Xiaomi Mi Smart Sensor Set

Can I use sensors without the Xiaomi Mi Home Gateway hub?
No, the sensors only work on the Zigbee protocol, which requires a hub (either Xiaomi, Aqara, or Home Assistant compatible) without a hub, they can't transmit data to the network.
How often does the temperature sensor send data?
By default, every one. 5-10 Minutes, but the interval can be changed in the settings of the Mi Home app (in the device section.
Why does the motion sensor work on pets?
The sensor responds to changes in infrared radiation, so it can detect the movement of cats or dogs. To reduce false alarms, set the sensor higher (to height). 2-2.5 (m) or reduce sensitivity in settings.
Can I connect sensors to Google Home or Alexa?
There is no direct integration, but you can use workarounds: Link your Mi Home account to Google Assistant via the official app. Use Home Assistant as an intermediary between Xiaomi and Google. Google/Alexa. Functionality will be limited (for example, voice can only turn devices on/off, but not configure complex scenarios).
What if the sensor stopped responding to events?
Try the following steps: Replace the battery (even if the app shows you the battery) 20-30% Reconnect the sensor to the hub (hold the button). 10 Check the Zigbee signal level in the network map (if it is lower than the Zigbee signal level). 10%, If nothing helps, the sensor could fail – contact Xiaomi support.