Xiaomi Mi Motion Sensor is one of the most popular smart home devices that allows you to automate lighting, security systems and other scenarios. 32ร32ร10 mm), this gadget is equipped with an infrared sensor that can record movements at a distance to the 7 yard-angle 170ยฐ. But how does it work, what technologies are involved, and how to integrate it into the Mi Home ecosystem or third-party platforms like Home Assistant?
In this article, we will discuss the sensorโs operation, its technical nuances (including polling frequency, reaction time and power consumption), and give step-by-step instructions for setting up, focusing on common user errors, such as why the sensor works on pets or why it โfalls asleepโ 30 seconds after activation. If you plan to use the sensor for security purposes or for light automation, here you will find unique recommendations for optimal location and sensitivity calibration.
Technical characteristics of the sensor Xiaomi Mi Motion Sensor
Before diving into the settings, it is important to understand the hardware base of the device. RTCGQ01LM or RTCGQ11LM International version built on the basis PIR-It's a sensor that responds to changes in infrared radiation in the coverage area, and unlike active sensors (such as radar), it doesn't emit signals itself, but passively listens to the thermal radiation of objects.
Key parameters of the device:
- ๐ Power: battery CR2450 (3V), service life up to 2 years in standard use.
- ๐ Detection range: up to 7 meters (real efficiency depends on the height of the installation and ambient temperature).
- ๐๏ธ Angle of view: 170ยฐ horizontally and 15ยฐ vertically.
- โฑ๏ธ Reaction time: 0.5-1 seconds per movement, delay re-activation - 4 seconds.
- ๐ก Communication protocol: Zigbee 3.0 (only works with Xiaomi Mi Gateway or Aqara Hub hubs).
- ๐ก๏ธ Operating temperature: from -10ยฐC +50ยฐC (at a temperature below 0)ยฐC. False positives are possible).
Importantly, the sensor doesn't have built-in memory, it only transmits movement data when the event is recorded, which means that if the Mi Gateway is disconnected from the network, the alert information will be lost, and the device does not support direct Wi-Fi or Bluetooth, which limits its use without a Zigbee hub.
| Parameter | Meaning | Note |
|---|---|---|
| Model | RTCGQ01LM / RTCGQ11LM | Chinese and International versions respectively |
| Frequency of the survey | 1 time in 60 seconds (on standby) | When motion is detected, instantaneous signaling |
| Energy consumption | ~0.1 mA in standby mode, up to 10 mA when activated | Battery discharges faster with frequent triggers |
| Protection from animals | Absent. | May work on cats/dogs by weight >5 kg |
Principle of work PIR-Sensor: Why the sensor responds to the motion
The Mi Motion Sensor is based on a pyroelectric crystal that generates an electric charge when the temperature changes in its field of view. When a person or animal moves within the range of the sensor, their thermal radiation (usually 36-37)ยฐC for a human) enters the sensor through a Fresnel lens, a special optics that divides space into segments.
The lens focuses infrared radiation on the pyroelectric element, creating a map of thermal changes. If the temperature changes dramatically in one of the segments (for example, a person passed by), the sensor detects this as movement and sends a signal to the gateway.
- ๐ฅ The sensor responds to temperature contrast โ if the person and background have the same temperature (for example, in a hot room), the response may not be effective.
- โ๏ธ At low temperatures (below 10)ยฐC) sensitivity decreases as the difference between background and object decreases.
- ๐ Pets can cause false positives if they weigh more than 5 kg (thermal radiation of a dog/cat is comparable to that of a human).
An interesting nuance: Xiaomi's sensor has a built-in delay timer (30 seconds default) that, after first activating, falls asleep for that time, ignoring new movements, designed to save battery, but can be uncomfortable in scenarios where constant monitoring is required (e.g., in security systems), and can only be changed through third-party firmware or Home Assistant.
Why doesnโt the sensor work on slow motion?
How to connect the sensor to Mi Home: step-by-step instructions
To work Mi Motion Sensor must have a Zigbee gateway โ Xiaomi Mi Gateway (any version) or Aqara Hub. Connection takes no more than 5 minutes, but there are nuances that are often forgotten.
Set the battery up. CR2450 (polarity is indicated on the body)
Download the Mi Home app (version no lower than 6.0)
Connect the Mi Gateway to the 2.4 GHz network
Place the sensor in the area of the gateway (maximum 10-15 meters without obstacles)-->
Follow the algorithm further:
- Open Mi Home, go to Devices section โ Add the device.
- Select the Sensors category, then search for the Mi Motion Sensor.
- Press and hold the button on the sensor (about 3 seconds) until the blue light flashes.
- Wait for the pairing to be completed (the โDevice addedโ notification will appear in the app).
Once connected, the sensor will appear in the main list of devices, and by default it will appear as a โMotion Sensorโ with the ability to configure:
- ๐ Notifications โ Enable push notifications when triggered.
- ๐ Automation โ create scenarios (e.g. turn on lights when moving).
- โ๏ธ Sensitivity โ in new versions of the gateway firmware, the option to adjust the trigger threshold (low / medium / high) appeared).
โ ๏ธ Warning: If the sensor doesn't connect, check the gateway firmware version.Old versions (below) 1.4.1_179) may not support RTCGQ11LM. Update the gateway through Settings โ Firmware update.
Integration with Home Assistant: Extended features
If Mi Home isnโt enough, you can connect the sensor to Home Assistant, an open platform for smart homes.
- ๐ Customize the delays (e.g. 5 minutes instead of 30 seconds).
- ๐ Create complex automations with conditions (e.g., โonly lights at nightยป).
- ๐ ๏ธ Use the sensor in scenarios with other devices (not just Xiaomi).
Integration will require:
- Install the Xiaomi Miio component in Home Assistant (via Configuration.yaml).
- Receive a gateway token using the miio-cli utility or via the Mi Home web interface (instruction below).
- Add the sensor as an entity to the configuration.
Example of code for configuration.yaml:
sensor:
- platform: mqtt
name: "Xiaomi Motion Sensor"
state_topic: "zigbee2mqtt/MiMotionSensor"
availability_topic: "zigbee2mqtt/bridge/state"
value_template: "{{ value_json.occupancy }}"To get the gateway token:
- In Mi Home, go to the gateway settings โ About this device. โ Click on the icon "three dotsยป โ Public access.
- Copy Token (a string of 32 characters).
- Insert it into the Home Assistant Configuration:
xiaomi_aqara:
gateways:
- key: YOUR_TOKEN_HEREโ ๏ธ Warning: After the gateway firmware update, the token may reset.Save it backup!
๐ก
If the sensor in Home Assistant is displayed as "unavailable", check the settings of the Zigbee channel in the gateway. Channels 11-14 can conflict with Wi-Fi at 2.4 GHz. Switch the gateway to channel 15-20 via Mi Home.
Typical problems and their solutions
Even when you set it up correctly, users are faced with common errors.
1.The sensor is not responding to motion
Possible causes:
- ๐ Battery discharged (check the voltage with the tester - should be at least 2.8 V).
- ๐ก Weak Zigbee signal (move the gateway closer or add a repeater, such as Xiaomi Smart Plug).
- โ๏ธ Direct sunlight or heating devices in the zone of action (sensor โblindโ from overheating).
2. False positives
Most often caused by:
- ๐ Pets (solution โ set the sensor above 1.5m or use Aqara) FP1 pet-proof).
- ๐จ By draughts or curtain movement (change the angle of installation).
- ๐ก๏ธ Acute temperature changes (for example, from the air conditioner).
3.The sensor "falls asleep" and does not send data
This is normal behavior for energy saving, but if the delay is too long:
- Update the lock firmware to the latest version.
- In Home Assistant, set the settings. illuminance_timeout (default 60 seconds).
| Problem. | Reason. | Decision |
|---|---|---|
| The indicator flashes red. | Low battery charge | Replace the battery. CR2450 |
| The sensor is not added to the Mi Home | Incompatible lock firmware | Update the gateway to the version 1.4.1_179 higher |
| Delayed response >1 second | Interference on the Zigbee network | Move the gateway or add a repeater |
๐ก
If the sensor stopped working after the Mi Home update, try removing it from the app and adding it again, often solving synchronization problems.
Optimal placement of the sensor: schemes and recommendations
The Mi Motion Sensor's efficiency is 70% dependent on the right location.
- ๐ Height of installation: 2-2.5 meters from the floor (to cover the maximum area).
- ๐ช Viewing angle: point the sensor parallel to the wall, not to the ceiling (otherwise the detection zone will narrow).
- ๐ณ Obstacles: Avoid installation behind glass, curtains or furniture โ infrared radiation does not pass through them.
- ๐ Cover zones: for large rooms, use 2-3 sensors with 30 zones overlap%.
Examples of accommodation for different scenarios:
| Script | Recommended location | Note |
|---|---|---|
| Security of the front door | On the wall opposite the door, 2 m high | Inclination angle 10-15ยฐ downward |
| Automation of lighting in the corridor | In the corner of the ceiling (if the height) >2.5 m m m m) | Use 2 sensors to cover the entire corridor |
| Traffic control in children | On the wall above the bed, 1.5 m high | Sensitivity is โlowโ to avoid false positives |
To test the coverage area, use the debugging mode in Mi Home:
- Open the sensor card in the application.
- Click on the icon ยซโ๏ธยป โ Settings โ Sensor test.
- Move around the room โ in real time, the sensor response will be displayed.
Comparison with analogues: Aqara, Philips Hue, Samsung SmartThings
Xiaomi Mi Motion Sensor is not the only smart home option. Consider its pros and cons against the backdrop of competitors:
| Model | Price (โ) | Pluses | Cons |
|---|---|---|---|
| Xiaomi Mi Motion Sensor | 800โ1200 โฝ | Compact, low power consumption, integration with Mi Home | No protection from animals, Zigbee Gateway addiction |
| Aqara FP1 | 2500โ3000 โฝ | Radar sensor (no animal response), Matter support | High price, large dimensions |
| Philips Hue Motion Sensor | 3500โ4000 โฝ | Built-in light sensor, work without a gateway (via Bluetooth) | Requires the Hue Bridge for full functionality |
| Samsung SmartThings Motion Sensor | 2000โ2500 โฝ | Support for Z-Wave and Zigbee, wide viewing angle (180)ยฐ) | Complicated setup, short battery life |
When to choose Xiaomi:
- ๐ฐ Budget solution for basic automation.
- ๐ There is already a Xiaomi ecosystem (gateway, lamps, sockets).
- ๐ ๏ธ Willingness to put up with restrictions (no protection from animals, lock dependency).
When to look for an alternative:
- ๐ถ Filter false positives from pets (select Aqara) FP1).
- ๐ Jobs without a hub are required (consider Philips Hue with Bluetooth).
- ๐ง Advanced settings are needed (e.g. adjustment of delay time).
๐ก
Xiaomi Mi Motion Sensor is the best choice for the Xiaomi ecosystem, but if you need professional features (animal protection, Matter, Z-Wave), look for Aqara or Samsung.