Modern home security and automation systems increasingly rely on compact and energy-efficient devices. Xiaomiβs motion sensor is a key element in the smart home ecosystem, allowing instant responses to the movements of people or animals. Properly configured, this gadget opens up access to automatically turn on lights, send notifications to your smartphone and run complex scenarios.
The installation process may seem complicated for beginners, but it actually takes only a few minutes to follow the algorithm. In this article, we will discuss how to prepare the device, choose the optimal place to install and integrate it into the network through the Mi Home application.
It is important to understand that the stability of the entire system depends on the quality of the connection and the correct positioning of the equipment. The optimal height of the sensor is 2.1-2.5 meters for a viewing angle of 170 degrees. Ignoring these parameters can lead to false positives or, conversely, to skip traffic in the controlled area.
Preparation of equipment and selection of installation site
Before you start software setup, you need to physically prepare the sensor for operation. Complete with the main module, usually comes a special foot-stand and 3M double-sided tape for wall mounting. Make sure that the battery compartment already has a power battery type CR2032, otherwise the device will not be able to turn on.
The choice of location is critical to the proper operation of the pyroelectric sensor, the device responds to changes in infrared radiation, so it should not be directed directly to windows, heating appliances or draft sources. Temperature changes can cause false alarms, which will reduce confidence in the security system.
β οΈ Warning: Do not install the sensor in close proximity to routers or powerful sources of radio interference, as this may disrupt the stability of the Zigbee connection.
To check the performance before the final mounting, it is recommended to temporarily place the gadget in the intended place. Walk through the detection area and make sure that the LED indicator flashes blue at each step, this will avoid re-mounting and damage to the wall finish.
Installation and configuration of the Mi Home application
The management center of all smart home devices from the Chinese manufacturer is the Mi Home app (or Xiaomi Home). To start, you need to download the current version of the program from Google Play or the App Store, and then register an account. When registering, it is important to choose the right region, since the list of available devices and the server on which the data will be stored depends on this.
After logging in to the main menu, click on the plus in the upper right corner to add a new gadget. QR-code located on the back of the sensor or in the instructions, or select the device from the list manually. In the directory, you should search for the category "Security" or use the search bar by entering the Motion Sensor 2 model.
- π± Make sure your smartphone has Bluetooth and geolocation enabled β theyβre essential for your initial device search.
- πΆ Connect your phone to a 2.4GHz Wi-Fi network, as a 5GHz network is not supported by many gateways.
- π Check the battery charge in the sensor before starting the pairing procedure.
The search process can take anywhere from 10 to 30 seconds. If the app doesn't see the sensor, try bringing the smartphone closer to the gateway or restarting Bluetooth on the phone. Successful detection is accompanied by an audible signal and the device appears in the list available for addition.
π‘
If the app is looking for a device for a long time, try to remove and insert the battery into the sensor again just before searching to activate the pairing mode.
Connection of the sensor to the Zigbee gateway
Xiaomi's motion sensor itself doesn't connect directly to a Wi-Fi router, it needs a gateway that runs on the Zigbee protocol. It's an energy-efficient communication standard that creates a mesh network without overloading the main Wi-Fi channel. Without a compatible gateway (such as the Aqara Hub or the Mijia Smart Home Set), the sensor can't work.
To begin pairing, open the gateway app and select the device add mode, usually by long-pressing the gateway button or through the application interface. Once the gateway enters search mode (yellow indicator lights up or a corresponding notification appears), press the small circular button on the motion sensor body.
You don't have to hold the button for long, just one short press, and the LED on the sensor should flash blue to signal that the signal is being transmitted, and if it's successful, the gateway will make a confirmatory sound, and the name of the new device will appear in the application. If the connection is not established the first time, repeat the procedure by coming closer to the gateway.
| Parameter | Meaning/Description | Impact on work |
|---|---|---|
| Protocol of communication | Zigbee 3.0 | Low energy consumption, high stability |
| Viewing angle | 170 degrees. | Wide coverage area without blind spots |
| Range of action | Up to 7 metres (indoors) | Depends on the presence of obstacles |
| Nutrition | CR2032 (3B) | Up to 2 years without replacement |
Once successfully added, the device can be given a clear name, such as "Sensor in the hallway," and assigned to a specific room, making it easier to manage and create scenarios in the future, when many other gadgets will appear in the system.
βοΈ Connection check
Setting up scenarios and automation
The core value of a smart sensor is revealed when you create automation scenarios. Go to Automation (or Scenes) in the Mi Home app and create a new If scenario. Select your motion sensor and motion detected status as the condition, which will trigger action.
In the Then block, you can choose almost any action available in your ecosystem, which can be turning on a smart light bulb, running a robotic vacuum cleaner, sending it. PUSH-The logic can be anything limited to your imagination and equipment.
It's important to set the time intervals and delays to make sure the system works properly, for example, you can set a condition that the script only works at night, using data from the light sensor or on a schedule, and a timeout setting is also useful, so that the lights don't turn off if you're still in the room.
β οΈ Note: When creating lighting scenarios, consider the trigger delay that may be 1-2 Seconds to avoid the effect of blinking in rapid movements.
For complex security systems, you can set up a chain of action: when you detect movement, the camera starts recording, the light flashes red, and the phone receives a photo from the camera, such complex scenarios provide the maximum level of control over the situation in the house.
What is the re-operation delay?
Advanced Sensitivity and Time settings
The device itself has a subtle setup in the Mi Home app that allows you to adapt the sensor to specific conditions. The Sensitivity option has three levels: low, medium and high. The level choice depends on whether you need to record the movement of small animals or only adults.
The No motion time parameter determines how long after the last motion recorded, the sensor will signal that the motion has stopped, which is critical for automatic light-out, and the standard values range from 5 seconds to several minutes.
- π Low sensitivity is recommended if there are cats or dogs in the house to avoid false alarms.
- β± Short time of inaction (5-15 sec) ideal for corridors and bathrooms.
- π Long time of inactivity (1-5 min) is better suited for living rooms where people can sit still for a long time.
The changes take effect almost instantly, but new settings may require the sensor to wake up and contact the gateway. If you have changed the settings but they don't apply, try manually activating the sensor by walking in front of it.
Remember to check the battery level periodically in the device information section. Although power consumption is minimal, a discharged battery will result in communication loss and inoperability of security scenarios.
π‘
Properly calibrating sensitivity and latency is the key to avoiding false positives and making a smart home comfortable.
Solving problems and eliminating mistakes
Despite the reliability of the system, users may experience connection problems or unstable operation. If the sensor is displayed as "Offline" in the application, first check the battery power and distance to the gateway. Zigbee protocol has a limited range in the noisy air of an apartment building.
A common problem is to desynchronize the state of the device. If the application shows that there is movement, although there is no one in the room, try reconfiguring the sensitivity to a lower level or changing the installation location away from the heat sources. Also helps a complete reset of the device (holding the button 5-10 seconds) and re-add to the system.
Sensor Reset: Press and hold the 5 second button until the indicator flashes quickly.If the gateway does not see the sensor when you first set up, make sure the gateway firmware version is up to date. The gateway software update often includes Zigbee protocol bug fixes, which improves compatibility with newer versions of the sensors.
β οΈ Note: When the sensor is reset, all scenarios created for it may stop working, as the device will receive a new one. ID You're going to have to add it back to automation.
In case of persistent communication problems, consider installing a Zigbee repeater (such as a Zigbee-enabled smart outlet) that will amplify the signal and expand network coverage in the problem area.