Xiaomiβs smart home ecosystem is famous for its ease of device integration, but even here, users are faced with nuances when connecting motion sensors. The main problem is the incompatibility of protocols between old and new gateway models, as well as the features of the Mi Home and Aqara Home branded applications. This article will help avoid typical mistakes, from choosing the right gateway to adjusting automation with the latest firmware updates in 2026.
Many mistakenly believe that any Xiaomi motion sensor will fit any brand gateway.In practice, the Mijia series sensors (e.g., the Mijia series, RTCGQ11LM) They only work with Mi Home gateways. v3, a) Aqara devices (e.g, RTCGQ13LM) They demand an Aqara Hub lock. M2 or E1. We will discuss all combinations, including cross-platform synchronization workarounds, with a focus on setting up detection zones and integrating with Google. Home/Apple HomeKit β These are rarely covered in standard instructions.
Before you start, check out three key points:
- π Sensor battery charge β the discharged device will not be detected by the gateway (minimum threshold: 20%).
- πΆ Distance between devices β maximum distance for Zigbee: 10 (m) in line of sight (walls reduce radius by 30-50%).
- π± The app version - use Mi Home 6.5+ Or Aqara Home 3.2.+ Support for new protocols.
1. Compatibility of motion sensors and gateways Xiaomi: table of correspondence
The main mistake of newcomers is to buy a sensor and gateway from different lines. Xiaomi manufactures devices under two brands: Mi Home (Mijia series) and Aqara, which use different data exchange protocols. Below is the current compatibility table for 2026:
| Sensor model | Supported locks | Protocol | Features |
|---|---|---|---|
| RTCGQ11LM (Mi Home) | Mi Home Gateway v3, Aqara Hub M2 (2.0.7 firmware+) | Zigbee 3.0 | Requires a link to the region of China in Mi Home |
| RTCGQ13LM (Aqara) | Aqara Hub M2, Aqara Hub E1, Mi Home Gateway v3 (narrowly) | Zigbee 3.0 | Supports sensitivity adjustment in 3 levels |
| MS-C01 (Aqara FP1) | Just the Aqara Hub. M2/E1 | Zigbee 3.0 + MMWave | Detecting presence (not just movement) |
| VIB-C01 (Aqara) | Aqara Hub M2/E1 | Zigbee 3.0 | Combined motion sensor + vibration |
Note: Mi Home Gateway Gateway v2 (round RGB-It doesn't support the motion sensors of the new series. If you have this model, you'll have to buy a modern gateway or use workarounds through Home Assistant.
β οΈ Note: Xiaomi motion sensors with index CN in the title (e.g, RTCGQ11LM-CN) You may not be able to work in the European Mi Home region, check the labeling before buying or change your account region to "China mainland".
Step-by-step instruction: connecting the sensor to the gateway
The connection process takes no more than 5 minutes if you do the proper preparation.
- Set the gateway to the network: π Connect the gateway to the socket 220V. πΆ Wait for the blue indicator to flash (connection waiting mode). π± Add the gateway to the Mi app Home/Aqara Home via Add the device β Locks.
- Activate sensor pairing mode: π Press and hold the button on the sensor for 5 seconds (until the red LED flashes). π² In the app, select Add Device β Sensors. β Motion sensor.
- Complete the setup: π Assign a sensor room in the app. βοΈ Adjust sensitivity (recommended value for the corridor: "Average value").
Make sure the gateway is connected to 2.4GHz Wi-Fi|
Check that the sensor removed protective film (blocks the IR sensor)|
Update the lock firmware to the latest version|
Place the sensor at altitude 1.5-2.2 floor-->
If the sensor is not detected:
- π Reboot the gateway (turn off power for 30 seconds).
- π‘ Check for interference β other Zigbee devices (e.g. Yeelight bulbs) can block the signal.
- π± Change region in the Mi Home account settings to China (for index sensors) CN).
π‘
If Xiaomiβs motion sensor is constantly firing falsely, place it away from heat sources (batteries, cookstoves) and direct sunlight.
Setting up detection and sensitivity zones
By default, Xiaomi motion sensors have a viewing angle of 120Β° It's a 7-meter range, but you can adjust these parameters software-wise:
- π― Detection Zones: You can divide the area into 3 segments and disable unnecessary ones (for example, if the sensor "looks" outside the door).
- β± Delayed operation: time after which the sensor is ready to detect again (default: 4 seconds).
- π‘ Sensitivity threshold: 3 levels (low/medium/high). For pets, choose "low".
For fine tuning:
- Open the sensor card in the application.
- Go to Settings. β Extended.
- Activate Zone Testing mode β the sensor will flash when motion is detected in each zone.
- Adjust the position of the sensor physically or turn off unnecessary areas in the app.
Example of optimal settings for different scenarios:
| Script | Sensitivity | Delay (sec) | Active zones |
|---|---|---|---|
| corridor | Medium | 4 | All 3 zones. |
| Children's room | Low. | 8 | Zones 1 and 2 (exclude the bed) |
| Office | Tall. | 2 | All zones. |
π‘
Xiaomi motion sensors with firmware 2023+ Supports Pet Immunity, activated in sensitivity settings and reduces false positives on cats/dogs weighing up to 20 kg.
Integration with automation: examples of scenarios
The main advantage of motion sensors is triggers for a smart home.-5 Automation that can be customized via Mi Home or Aqara Home:
- π‘ Smart lighting: IF the motion sensor is triggered AT turn on the Yeelight lamp at 70% brightness and turn off after 2 minutes without movement
- π¨ Security mode: IF the motion sensor is activated and No-Home mode is active to activate the Aqara siren T1 and send a push notification
- π‘ Climate control: IF the movement in the bedroom from 22:00 to 7:00 TO set the temperature of the Xiaomi Mi Air Conditioner at 22Β°C
To create automation:
- In the app, go to Automation. β Create β Smart scene.
- Select the trigger: Motion sensor β Traffic detected.
- Add an action (for example, turning on the lamp).
- Set the conditions (time, mode, other sensors).
β οΈ Attention: Automation with motion sensors consumes up to 15% of battery power per month. If the sensor is discharged faster than 12 months, check the number of active scenarios and reduce the frequency of the gateway polling (in the gateway settings). β Extended. β Frequency of the survey).
How to get around the 8 automation limit in Mi Home?
5. Solving typical connection problems
Even with the right setup, users are faced with errors, and here are the most common ways to fix them:
| Problem. | Possible cause | Decision |
|---|---|---|
| Sensor not detectable by the gateway. | Protocol incompatibility or discharged battery | Check compatibility with the table in section 1. Replace the battery (CR2450). |
| Persistent false positives | High sensitivity or interference from other devices | Reduce sensitivity in the settings. Move the sensor away from the windows. |
| Sensor deactivates from the lock | Zigbee signal weak or network congestion | Reduce the number of devices on a single Zigbee network (maximum 32 per gateway). |
| Automation is not working. | Script conflict or outdated firmware | Update the airlock and sensor firmware, check the priority of the scripts. |
If the sensor is connected but does not respond to movement:
- π Check the installation angle - the optimal slope: 15-30Β° down-ceiling.
- π Make sure the object moves across the sensor beam (not along it).
- π Reboot the sensor: Remove the battery for 10 seconds, then insert back.
To diagnose problems in Aqara Home, use the built-in tool:
- Open the sensor card.
- Go to Settings. β Diagnostics.
- Press the Connection Test β the application will show the signal level and response delay.
6. Alternative ways of connecting (without a branded gateway)
If you donβt have a Xiaomi gateway, the motion sensor can be integrated into the smart home system in other ways:
- π₯ Home Assistant: Zigbee adapter is required (e.g., Zigbee adapter, CC2531 or ConBee II). All sensor models are supported Xiaomi/Aqara. Instructions: Settings β Devices β Add β Zigbee β Select a sensor.
- π€ Google Home / Apple HomeKit: First connect the sensor to the Xiaomi gateway, then integrate the gateway into Google Home via Works with Google. M2 2.1.3 firmware+.
- π Cloud services (IFTTT, Yandex Alice: Create an applet in IFTTT Xiaomi Mi Home trigger. for Alice, use the Xiaomi Smart Home skill".
Example of connection via Home Assistant:
# Fragment of configuration.yaml
zha:
zigbee:
device: /dev/ttyACM0
baudrate: 115200
After the Home Assistant reboot, the sensor will appear in the Devices section.β οΈ Note: When connecting Xiaomi sensors to third-party hubs (such as Hubitat or SmartThings), alternative software may need to be firmware, which voids the warranty.
7. Update of sensor firmware and gateway
The manufacturer regularly releases updates to fix bugs and add new features to update the firmware:
- π² Through the app: Open the gateway or sensor card. If an update is available, a notification will appear. New firmware is available. Click Update and wait until it is completed (don't turn off the power!).
- π₯ Manual (for experienced users): Download the firmware from the official website (Support section) β Use the MiHome Firmware Updater for Windows.
Up-to-date versions of firmware (June 2026):
- Mi Home Gateway v3: 1.5.6_0046 (Added Matter support).
- Aqara Hub M2: 2.1.3 (Integration with HomeKit).
- Sensor. RTCGQ13LM: 20230720 (false positives corrected).
After the update:
- π Reset the gateway and sensor.
- π Check the automation work β some scenarios may reset.
- π Aqara Home will have a new section Motion Analytics with activity charts.
8. Xiaomi motion sensor comparison: which one to choose in 2026
Xiaomi's range of motion sensors includes more than 10 models, and we selected the 4 best options for different tasks:
| Model | Price (β½) | Features | Better for you. |
|---|---|---|---|
| RTCGQ11LM | 1 200 | Basic model, angle 120Β°, 7m range, compatible with Mi Home v3 | Corridors, stairs |
| RTCGQ13LM | 1 500 | 3 levels of sensitivity, the function "Ignoring animals" | Pet homes. |
| MS-C01 (FP1) | 3 500 | MMWave radar + IR, detection of presence (not just movement) | Bedrooms, offices. |
| VIB-C01 | 1 800 | Combo: Movement + vibration + illumination | Security systems |
For most users, the best choice is β RTCGQ13LM: cheaper FP1, It has all the functions that you need, including sensitivity adjustment, and if you want maximum accuracy (for example, for climate control), you should consider it. MS-C01 radar-powered.
When buying, pay attention to:
- π¦ Package β there must be a battery in the box CR2450 double-sided.
- π· Labeling - models with index CN They may not be working in Europe.
- π Guarantee β official dealers (Xiaomi Store, Svyaznoy) give 12 months.