Xiaomi's motion sensors have become an integral part of the smart home ecosystem through a combination of affordable prices, compact sizes and wide integration capabilities, used to automate lighting, security systems and even control climate equipment. But how exactly do they work? Why do some models respond to movement through walls and others only in line of sight? And why does the Aqara sensor work more often than the classic Mi Motion Sensor?
In this article, we will discuss the principle of infrared (PIR) The sensors that underpin all Xiaomi motion sensors will analyze the technical specifications of popular models (including the latest Mi Motion Sensor 2 from 2023), and show how to install and adjust them correctly to avoid false positives. Particular attention will be paid to hidden settings in the Mi Home application, which the manufacturer does not advertise, but which radically change the behavior of the device.
How the motion sensor is arranged: physics and technology
Xiaomi motion sensors are based on a passive infrared sensor (PIR) — a device that responds to changes in thermal radiation in the coverage area, unlike active sensors (for example, radar or ultrasonic), PIR-The sensors do not emit signals, but only detect heat waves 8-14 microns long, which emits the human body.
Structurally, the sensor consists of:
- 🔹 Fresnel lenses are a multifaceted plastic lens that focuses infrared radiation on a sensor, and it defines the detection zone (e.g., 120).° Mi Motion Sensor or 170° Aqara FP1).
- 🔹 A pyroelectric crystal, a material that generates an electric charge when heated, is commonly used in Xiaomi sensors. LiTaO3 (lithium).
- 🔹 Signal amplifier – a chip that filters interference and amplifies weak heat signals.
- 🔹 Microcontroller – processes data and sends a signal to the hub (for example, Xiaomi Gateway or Aqara Hub).
It is important to understand that PIR-The sensor does not respond to movement, but to changes in the background temperature, for example, if a person is standing still in the detection zone, the sensor may stop “seeing” after 1-2 minutes (time depends on the model). That is why smart homes often combine motion sensors with presence sensors (for example, Aqara). FP2), They use millimeter waves to track accurately.
Technical characteristics of popular models
Xiaomi has several lines of motion sensors, differing in range, viewing angle and supported protocols. Below is a comparative table of key models (currently for 2026):
| Model | Detection range | Viewing angle | Protocol of communication | Features | Compatibility |
|---|---|---|---|---|---|
| Mi Motion Sensor (1st generation) | 7m | 120° | Zigbee (2.4 GHz) | Basic model, sensitive to direct sunlight | Mi Home, Home Assistant |
| Mi Motion Sensor 2 (2023) | 9m | 140° | Zigbee 3.0 | Improved lens, fewer false positives | Mi Home, Aqara Hub |
| Aqara Motion Sensor | 7m | 170° | Zigbee | Completes with ceiling mount, supports scripts in Aqara App | Aqara Hub, HomeKit (via hub) |
| Aqara FP1 | 6m | 140° | Zigbee 3.0 | Presence sensor (millimeter wave) detects breath | Aqara Hub M2 newer |
| Aqara FP2 | 8m | 160° | Zigbee 3.0 | Hybrid sensor (PIR + mm waves, supports gestures | Aqara Hub E1, Home Assistant |
Note that the range is specified for ideal conditions (room temperature, no obstacles) and in reality it can be reduced by 30-50% due to:
- 🌡️ Temperature changes - if the room is hot (above 35)°C) or cold (below 10)°C), sensitivity PIR-sensor.
- ☀️ Direct sunlight – infrared radiation from a window can cause false positives.
- 🪟 Glass or mirror surfaces reflect thermal radiation, creating "dead zones".
- 🐕 Pet models without Pet Immunity will respond to cats and dogs weighing more than 10 kg.
⚠️ Warning: First-generation Mi Motion Sensors do not support Zigbee 3.0, so they cannot be connected to Aqara Hub hubs M2 Compatibility requires the original Xiaomi Gateway or firmware. Zigbee2MQTT.
Connection scheme and integration into the Xiaomi ecosystem
To make the motion sensor work, it needs to:
- Physically connect to the hub (via Zigbee).
- Add to the app (Mi Home or Aqara).
- Set up automation (scenes).
Let’s look at the Mi Motion Sensor 2:
Remove the battery (CR2450) and insert back in for activation|
Hold the button on the sensor for 5 seconds until the indicator flashes.|
Open Mi Home → «Add the device» → «Sensors» → «Motion sensor»|
Place the sensor at a height of 2-2.5 m from the floor (optimal viewing angle)|
Set the sensitivity in the device menu (by default – “Average»)-->
Once you add a sensor to your app, you can use it in automation, for example:
- 💡 Smart lighting: turn on the Yeelight lamp when detecting movement in the dark.
- 🚨 Security system: Send a notification to your phone if the sensor is triggered in your absence.
- 🌬️ Climate control: turn on the fan if there is someone in the room and the temperature is above 25°C.
For advanced users, integration via Home Assistant or Node-RED is available. In this case, the sensor can be programmed to:
- 📊 Logistics of events (for example, how many times someone has entered the closet).
- 🔄 Cross-platform scenarios (e.g., enable Xiaomi Camera camera when sensor is triggered).
- ⏱️ Delays in operation (e.g., turning off lights 5 minutes after last movement).
💡
If the sensor is not added to the Mi Home, try resetting it to factory settings: hold the 10 second button until the indicator flashes quickly (3 times).
Fine tuning: how to avoid false positives
One of the most common problems with Xiaomi motion sensors is false positives, which can occur due to:
- 🌬️ Sketch or air conditioning (air movement changes background temperature).
- 🔥 Heating appliances (batteries, heaters).
- 🐦 Birds or insects flying close to the sensor.
- 🚗 Vibrations from cars passing outside the window (if the sensor is installed on the wall facing the road).
You can solve these problems by using hidden settings in the Mi Home app (not available in all regions):
- Open the sensor card in the application.
- Go to Settings. → Additional (or Advanced in English version).
- Activate Pet Mode (if you have pets).
- Set the Retrigger Interval delay for 30 to 60 seconds.
- Turn off the High Sensitivity option if the sensor is triggered by small movements.
For Aqara models (such as the Aqara Motion Sensor), additional options are available in the Aqara App:
- 🔄 "Night" mode - the sensor works only in the dark.
- 🛡️ Insensitivity zone – you can exclude the lower part of the detection zone (useful if the sensor is triggered on passing cars outside the window).
- ⏳ Inactivity timer – automatically turns off the sensor after a predetermined time (e.g. overnight).
⚠️ Warning: First-generation Mi Motion Sensor doesn't have any animal protection hardware. If you have a cat or dog, use Aqara FP1 Pet Immunity or set the sensor at a height of at least 2.5 m.
How to check the detection area of the sensor without special equipment?
Power and autonomy: how much does the sensor work without replacing the battery
All Xiaomi motion sensors are powered by type batteries CR2450 (3 B) Their service life depends on the:
- 🔋 Response frequencies – the more often the sensor detects movement, the faster the battery discharges.
- 📶 Hub communication quality – if the signal is weak, the sensor spends more energy on repeated attempts to transmit data.
- 🌡️ Ambient temperatures - at sub-zero temperatures, the battery capacity drops.
Estimated battery life:
| Model | Average working hours | Notes |
|---|---|---|
| Mi Motion Sensor (1st generation) | 1.5-2 years | Fast discharge with frequent triggers (more than 100 per day) |
| Mi Motion Sensor 2 | 2–3 years | Optimized energy consumption, supports sleep patterns |
| Aqara Motion Sensor | 2.25 years | The consumption depends on the sensitivity settings |
| Aqara FP1/FP2 | 1-1.5 years | Higher power consumption due to millimeter radar |
To extend the life of the battery:
- ⚡ Turn off unnecessary notifications in the app (such as low charge).
- 🔄 Reduce the frequency of the sensor survey in the hub settings (if used) Zigbee2MQTT).
- 🛠️ Use batteries of well-known brands (Duracell, Energizer), as cheap analogues can leak.
💡
If the sensor has stopped responding to motion, first check the battery – even at a charge level of 20% in the application, the device may not work properly.
Comparison with peers: why Xiaomi and not other brands?
In the smart home market, motion sensors are offered by many manufacturers: Philips Hue, Samsung SmartThings, Tuya. Why Xiaomi remains one of the leaders?
| Parameter | Xiaomi/Aqara | Philips Hue | Samsung SmartThings | Tuya |
|---|---|---|---|---|
| Price (2026) | 800–2500 ₽ | 3500–5000 ₽ | 2000–3500 ₽ | 500–1500 ₽ |
| Protocol | Zigbee | Zigbee (requires Hue Bridge hub) | Zigbee/Z-Wave | Wi-Fi/Zigbee |
| Range. | 9m | 5m | 7m | 8m |
| Integration | Home, Home Assistant, HomeKit (via Hub) | Just Philip Hue. | SmartThings, Google Home | Tuya Smart, Alexa |
| Features | Low price, wide viewing angle, script support | High reliability, but expensive | Good ecosystem, but limited compatibility | Cheap but often false positives |
The main advantages of Xiaomi:
- 💰 Price – 2-3 times cheaper than analogues from Philips or Samsung.
- 🔄 Flexibility – sensors work with most smart homes Zigbee2MQTT or Home Assistant.
- 📦 Ecosystem – easily combined with other Xiaomi devices (lamps, sockets, cameras).
Disadvantages:
- 📶 Hub dependency – without Xiaomi Gateway or Aqara Hub sensors don’t work.
- 🔧 Configuration difficulties – some options are hidden in the “additional” menu.
- 🐌 Reaction delays – large Zigbee networks can cause lags of up to 1-2 seconds.
Frequent faults and ways to eliminate them
Even the most reliable motion sensors can fail, and let's look at the typical problems and their solutions.
| Problem. | Possible cause | Decision |
|---|---|---|
| Sensor's not responding to movement | Battery discharged, wrong installation angle, obstacles in the viewing area | Replace the battery, check the location, remove obstacles |
| False positives | High sensitivity, drafts, heating appliances nearby | Reduce sensitivity, move the sensor, activate Pet Mode |
| Sensor shuts off from hub | Weak Zigbee signal, interference from Wi-Fi or microwave | Move the hub closer, change the Zigbee channel in the settings |
| Delayed response (more than 2 seconds) | Zigbee’s overloaded network, too many devices on one hub | Break up your devices into multiple hubs or use Zigbee repetitors |
| The indicator flashes red, but the sensor is not working | Firmware failure, incompatibility with the hub | Reset the sensor to factory settings, update the hub firmware |
If the sensor stopped working after updating the hub firmware, try:
- Remove the device from the application.
- Reset the sensor (hold the button for 10 seconds).
- Add it again by manually selecting the model (sometimes the autodefinition works incorrectly).
⚠️ Note: Xiaomi sensors with Zigbee protocol are not compatible with Z-Wave-based hubs (like Fibaro Home Center). Zigbee2MQTT Raspberry Pi.