Xiaomiβs motion sensors have become an integral part of modern smart home systems, combining affordable price, compact dimensions and wide-ranging functionality, enabling automating lighting, triggering motion alarms, or even running complex scenarios via Mi Home or Apple HomeKit (for compatible models), but many users face difficulties already during the installation phase, from choosing the optimal installation location to synchronizing with a hub or router.
In this article, we will look at the entire process, from unpacking the sensor to fine-tuning it, taking into account the nuances of different models (Mi Motion Sensor 2, Aqara Motion Sensor, Mi Home Security Motion Sensor).
1.Selecting Xiaomi motion sensor model: what to buy in 2026
Xiaomiβs motion sensor lineup and its Aqara sub-brand includes more than 5 models, differing in communication protocol, viewing angle and ecosystem compatibility.
- πΆ Communication protocol: Zigbee (requires hub) Mi/Aqara Gateway or Wi-Fi (works directly with the router) Zigbee is better for stability, it is less prone to interference.
- ποΈ Angle of view: from 120Β° 170Β°. 120 corridors are fine.Β°, for large rooms - 170Β°.
- π Power: batteries CR2450 (lasts for 2 years; or USB-C (rarely, for example, in Aqara FP2).
- π Compatibility: Check your ecosystem support (Mi Home, Home Assistant, Apple Home).
The most popular models in 2026:
| Model | Protocol | Viewing angle | Features | Price (β) |
|---|---|---|---|---|
| Xiaomi Mi Motion Sensor 2 | Zigbee 3.0 | 170Β° | Compact, works with Mi Home and Home Assistant | 1 200 β½ |
| Aqara Motion Sensor (FP1) | Zigbee 3.0 | 170Β° | Animal Protection, Apple HomeKit Support | 1 800 β½ |
| Aqara FP2 | Wi-Fi 2.4 GHz | 140Β° + PIR + mm-wave radar | High accuracy, no false positives, power from USB-C | 3 500 β½ |
| Xiaomi Home Security Motion Sensor | Zigbee 3.0 | 120Β° | Budget option, only for Mi Home | 800 β½ |
If you want maximum reliability, choose Aqara. FP2 β he uses a combination PIR-It's a sensor and an mm-wave radar, which eliminates false positives from drafts or pets. For simple tasks (lights on in the corridor) you can use Mi Motion Sensor 2.
Preparation for installation: tools and location selection
Before installing the motion sensor, check three key points:
- Hub presence (if Zigbee sensor) without Mi/Aqara Gateway or alternatives (e.g. Home Assistant with a Zigbee2MQTT) the device will not work.
- Network coverage quality. It is important for Zigbee that there are no thick walls or metal obstacles between the sensor and the hub. For Wi-Fi, check the signal strength at the installation site (at least 70%).
- If the sensor is battery-powered, prepare spares. CR2450. For models with USB-C (for example, Aqara FP2) think about the cable laying.
The best places to install:
- πͺ Corridors and stairs: at an altitude of 2-2.5 m, an angle of inclination of 15-30Β° This ensures maximum coverage of the traffic area.
- π‘ Room angles: The sensor must βseeβ the front door and key areas (such as a sofa or desktop).
- πΏ Bathrooms: only waterproof models (e.g. Aqara) FP1 classy IP54). Keep away from the sources of steam.
- π Garages/Subways: Avoid areas with direct sunlight β they can cause false positives.
Critical error: mounting a sensor against windows or air conditioners. PIR-sensor, leading to chaotic response.
Make sure the sensor is compatible with your ecosystem|Check the cover. Zigbee/Wi-Fi site|Prepare tools (drill, bilateral scotch, level)|Choose a place with minimal interference (draughts, sun)|Install the Mi app Home/Aqara/Home Assistant-->
Physical installation: fastening and power connection
Most Xiaomi motion sensors come with double-sided tape 3M And we'll look at both of these mountings:
Method 1: Scotch fastening (without drilling)
- Clean the surface of dust and fat with an alcohol napkin.
- Remove the protective film from the tape on the back of the sensor.
- Press the device against the wall for 30 seconds for a secure fixation.
- Check the angle of inclination with the level (optimum - 15-30)Β° downward).
Method 2: Fixing on screws (for reliability)
- Apply the sensor to the wall and mark the mounting holes with a pencil.
- Drill holes with a drill (diameter 2-3 mm) and insert dowels.
- Lock the sensor with screws from the kit. Don't pull it over - the case is plastic!
For models with USB-C (for example, Aqara FP2):
- π Use a cable no longer than 1.5 m long to avoid voltage losses.
- π‘ Lay the cable along the plinth or in the cable channel.
- β‘ Connect to the power supply. 5V/1A (Do not use βchargesβ from smartphones β they can give power surges).
β οΈ Warning: If the sensor is powered by batteries, do not install it in places with temperatures below 0Β°C or higher than 40Β°C. This reduces the life of the batteries by 2-3 times.
4. Connect to the ecosystem: Mi Home, Aqara, Home Assistant
The process of adding a sensor depends on the protocol and the ecosystem, and let's look at three popular options:
Option 1: Connect to Mi Home (Zigbee)
- Open the Mi Home app and go to Devices β Add the device.
- Select the Sensors category and find your model (e.g. Mi Motion Sensor 2).
- Press and hold the button on the sensor (usually 3-5 seconds) until the indicator blinks.
- Follow the instructions in the app. If the sensor is not located, check: Distance to the hub (maximum 10 m without obstacles). No interference from other Zigbee devices (for example, IKEA Tradfri).
Option 2: Connect to Aqara Home (Zigbee)
The algorithm is similar to Mi Home, but with nuances:
- π± In the Aqara Home app, select Add Device β Motion sensor.
- π If the sensor was previously paired with another hub, reset its settings: hold the button for 10 seconds until flashing yellow.
- π To integrate with Apple HomeKit after adding to Aqara Home, go to Device Settings β HomeKit and scan it QR-code.
Option 3: Connect to Home Assistant (Zigbee2MQTT or ZHA)
For advanced users:
- Make sure you have the setup. Zigbee2MQTT or ZHA (through HUSBZB-1 or CC2531).
- Transfer the sensor to pairing mode (hold the button until blinking).
- In Home Assistant, go to Settings β Devices and services β Add the device.
- Once the sensor is detected, assign it an area (area) and a room (room).
What to do if the sensor is not connected?
5.Sensitivity settings and automation scenarios
By default, Xiaomi motion sensors have an average sensitivity, which can lead to false positives. Adjust the settings depending on the task:
Setup in Mi Home/Aqara Home
- π Sensitivity: Select High (for detecting small movements), Medium (optimally for home) or Low (for street) in the device card).
- β±οΈ Delayed operation: sets the time during which the sensor ignores repeated movements (from 5 to 300 seconds). 30 seconds for lighting, 5 seconds for alarm.
- π Animal filter: in Aqara FP1/FP2 Turn on the option to ignore animals if the pet is less than the weight of the pet. 10 kilogram.
Examples of automation
| Script | Conditions | Action. | Example of devices |
|---|---|---|---|
| Smart lighting | Movement + time (18:00-23:00) | Turn on the lamp for 2 minutes. | Yeelight, Philips Hue |
| Security alarms | Movement + no-home regimeΒ» | Turn on the siren, send a notification | Aqara Hub, Mi Home Alarm |
| Saving energy | No movement for 30 minutes | Turn off the sockets with household appliances | Xiaomi Smart Plug |
To create scripts in Mi Home:
- Go to Automation. β Create β If.
- Select a motion sensor and condition (e.g., Motion Detected).
- Add an action (e.g., Enable Yeelight).
- Save the script and test it out.
β οΈ Warning: If the sensor is used for alarms, do not set the delay of more than 10 seconds.
π‘
To test the sensor sensitivity, use the Log mode in Mi Home, which shows all the positives in the last 24 hours, which will help you to find the optimal settings.
Typical problems and their solution
Even when installed correctly, Xiaomiβs motion sensors may not work properly, and here are the most common problems and ways to fix them:
Problem 1: The sensor is not responding to motion
- π Check the battery (Mi Home shows the level). If below 20%, replace the element. CR2450.
- π‘ Make sure the sensor is in the hub area. For the test, bring it closer (1-2 meters).
- π Reboot the hub: disconnect it from power for 10 seconds.
- π οΈ Check the angle of view β it is possible that the sensor is pointed at the wall or ceiling.
Problem 2: False positives
- π¬οΈ Eliminate drafts: Close windows or move the sensor to another location.
- βοΈ If direct sunlight hits the sensor, use a visor or change the angle of inclination.
- πΆ For models without an animal filter (Mi Motion Sensor 2), set the sensor above 2.5 m to reduce the response to cats and dogs.
- π Reduce sensitivity in device settings.
Problem 3: The sensor is disconnected from the network
- π For Zigbee sensors, check for interference from Wi-Fi routers (channels 11-14 often overlap with Zigbee.
- π If the sensor is battery-powered, replace them β even at the shown charge level of 30%, the device can turn off.
- π‘ For Wi-Fi sensors (Aqara) FP2): Check the stability of the 2.4 GHz network (5 GHz not supported!).
π‘
If Xiaomi's motion sensor freezes periodically, reset it to factory settings (hold the 10 seconds button) and reconnect it again, which solves the problem 80 percent of the time.
7. Integration with other systems: Home Assistant, Apple HomeKit, Yandex Alice
Xiaomi motion sensors can be used not only in native ecosystems, but also in third-party platforms.
Home Assistant (via Home Assistant) Zigbee2MQTT or ZHA)
For full control of the sensor:
- Make sure the sensor is connected to Zigbee2MQTT or ZHA.
- In the configuration file configuration.yaml add:
binary_sensor:
- platform: mqtt
state_topic: "zigbee2mqtt/[Friendly_Name]/occupancy"
name: "Motion sensor (living room)"
device_class: motion- Create automation through Automations in the Home Assistant interface.
Apple HomeKit (Aqara only) FP1/FP2)
For integration:
- Add the sensor to the Aqara Home app.
- Go to the device settings and select Add to HomeKit.
- Scan it. QR-code from the sensor body in the Apple Home app.
- Configure scripts through the Home app (for example, turning on lights when moving).
Alice Yandex (via Mi Home or Home Assistant)
Xiaomi doesnβt officially support direct integration with Alice, but there are workarounds:
- π Through Mi Home: connect your Mi Home account to Yandex.Smart Home in Alice Settings.
- π Home Assistant: Use the Yandex Smart Home component and export the sensor as a switch.
Limitation: Voice commands for motion sensors are only supported in scenarios, for example, you can't say "Alice, show sensor status," but you can create a rule "If you're moving, turn on the lights."