Xiaomi cameras have long become the standard for smart video surveillance thanks to a combination of affordable price and advanced features. One of the most popular features is motion detection, which turns a regular camera into a security alert system. But many users face problems: false positives on pets, missed events due to low sensitivity or delayed notifications. In this article, we will analyze all the nuances of the configuration, from the basic activation of the function to fine-tuning the tracking zones and integration with other Mi Home devices.
It is important to understand that the motion detection algorithms of Xiaomi vary depending on the camera model.Β° 2K It uses AI analysis to recognize people, while budget models like the Mi Basic Camera rely on changing the pixels in the frame. Weβll look at the universal settings that work on most devices, and also point out features for specific models where itβs critical (e.g. setting up a PIR sensor on the Mi Camera 2 Pro).
Before you start setting up, make sure your camera is connected to the Mi Home app (or Xiaomi Home for European regions) and has the latest firmware. If you use the camera outdoors, check its protection class - unmarked models. IP65/IP66 Not designed to work in rain or sub-zero temperatures.
1. Basic Motion Detection Settings in Mi Home
Start by enabling the feature itself. This process is the same for most Xiaomi cameras, regardless of model. Open the Mi Home app and select your camera from the device list. β Motion detection (on some firmware, the item may be called Motion Alerts or Smart Monitoring).
Turn on the main function switch. After that, additional parameters will be available:
- π Sensitivity β regulates the threshold of response (from the 1 before 100). For home use, the optimal value 50-70.
- β±οΈ Record interval: Minimum time between activations (default 10 seconds) and lowering the value will increase the load on the cloud.
- π± Notifications β the choice of the notification method (push, email or both).
- π₯ Video recording β duration of the clip when triggered (usually 10-30 seconds).
Note: if you have a camera that supports human recognition (e.g. Mi Home Security Camera) 2K Pro, the settings will add an additional option, Only people, and activating it will significantly reduce the number of false positives on pets or wobbly plants.
2.Setting up detection zones: how to eliminate false positives
One of the most useful features is the ability to highlight active areas in the frame, which allows you to ignore movement in unimportant areas (for example, outside the window) and concentrate on key areas (door,-safe). To set up zones:
- In the Mi Home app, go to Camera Settings β Discovery zones.
- Click Add Zone and circle the desired area to the camera preview.
- For each zone, you can set a separate sensitivity (it is useful if there are areas with different illumination in the frame).
- Save the changes and test by going through the boundary of the zone.
On models with support 3D-Detection (e.g. Mi Home Security Camera 360)Β° 2K) You can adjust the depth of tracking, so you can ignore the movement in the background (for example, behind the glass) and focus only on the near objects. β 3D-detection.
βοΈ Verification of detection zones
If your camera is installed outside, we recommend that you create a separate zone to prevent the movement of trees.
- Wait for the windy weather and watch the camera footage.
- Find out where the trees are most active.
- Create a separate profile for these areas with minimal sensitivity (10-20).
3.Sensitivity optimization: balance between safety and comfort
Incorrect sensitivity is the main reason for frustration with detection functions, too high a value will lead to hundreds of notifications about a cat or shadows, too low a value will lead to the omission of important events, and we recommend the following configuration algorithm:
| Conditions | Recommended sensitivity | Additional settings |
|---|---|---|
| Apartment with pets | 40-50 | Activate "People Only", exclude areas with bowls / ladles |
| Office or shop | 70-80 | Increase the recording interval to 15-20 seconds |
| Street camera (yard) | 60-70 | Use it. 3D-Detection, exclude the upper part of the frame (sky) |
| Children's room | 30-40 | Disable notifications at night, use the "Quiet Hour" mode |
For accurate settings, use the test mode:
- Enable the record on the memory card (if supported).
- Set sensitivity to 50 and walk around the room.
- Watch the recording and note the moments of false/missed positives.
- Adjust the sensitivity with step Β±10 to achieve optimal balance.
π‘
If the camera often works on lighting changes (lights on, car headlights on), reduce the sensitivity to 30 and activate night mode in the image settings.
4.Setting up notifications: how not to miss the important and not spam yourself
By default, Xiaomi cameras send push notifications to the smartphone every time it fires, which is convenient for security, but can get boring quickly. Fortunately, the alert system can be configured flexibly:
- π΅ Do Not Disturb β Disables notifications at specified hours (e.g. at night) and is configured in the Device Profile β Notifications β Schedule.
- π Type-by-type filtering β You can turn off sound alerts, leaving only movement (or vice versa).
- π§ Email alerts are useful for archiving events. β Security β Notifications by email.
- π Grouping of notifications β if the movements follow each other, they are combined into one message (configurable in the Mi Home app globally).
For multi-camera owners, smart scenarios are useful, for example, you can set up a rule: "If motion detection is on an external camera and the time is between 22:00 and 6:00, turn on the smart lamp and send a notification to the phone." β Add β User-generated script.
How to turn off traffic notifications while you are present?
If you use a camera to monitor pets, we recommend you create a separate notification profile with a reduced priority.
- In the camera notification settings, select Add the rule.
- Specify the condition: "If movement is in the area [feeder]", then "Send notification with low priority".
- For important areas (door), create a rule with a high priority and an audible signal.
5. Advanced Features: AI Analysis, Cloud Storage and Integration
Xiaomiβs modern cameras support video AI analysis, which allows not only to capture movement, but also to classify objects. 2K Pro can distinguish between people, animals and transport, to activate this function:
- Go to Camera Settings β AI-detection.
- Enable the option of object recognition.
- Select the types of objects to track (people, animals, cars).
- Set up separate notifications for each type.
For long-term storage of records, we recommend connecting cloud storage or NAS. Comparison of options:
| Storage type | Pluses | Cons | Cost |
|---|---|---|---|
| Xiaomi's Cloud | Automatic download, access from any device | Paid subscription, storage time limit | 99.β½/month |
| MicroSD card | Single purchase, no subscription fee | Limited volume, risk of loss when stealing a camera | 500.β½ post 32GB |
| NAS (Network Storage) | Large volume, reliability, access over the local network | Complex setup, high initial cost | 5000.β½ baseline NAS |
Integration with other smart home systems (such as Home Assistant or Google Home) will require the use of a home. MIOT-Instructions for Home Assistant:
# Add to Configuration.yaml
camera:
- platform: xiaomi_miio
host: IP_Adress Camera
token: YOUR_TOKEN
name: Xiaomi Camera Living RoomThe token can be retrieved using the Mi Home Token Extractor app (available on GitHub). Once integrated, you can use motion detection as a trigger for other devices, such as turning on lights when a person is detected.
π‘
AI analysis significantly reduces the number of false positives, but requires a stable Internet connection (at least 2 Mbps per camera) and subscription to premium features in Mi Home.
6. Common Problems and Their Solutions
Even after setting it up properly, users face problems, and we've collected the most common cases and ways to solve them:
- β Camera's not recording any movement. β Check: Sensitivity (increase to the 70-80) Detection zones (make sure movement is in the active zone) Lighting (in total darkness only works with IR illumination)
- β Persistent false positives β Solutions: Reduce sensitivity to 30-40 Eliminate areas with fans/curtains Activate the βPeople Onlyβ function (if supported)
- β Delayed notifications (30)+ seconds) β Reasons and fixes: Weak Wi-Fi signal (check the speed at the camera installation site) Overloaded Xiaomi servers (try changing region in Mi Home) Power saving mode on the phone (add Mi Home in exceptions)
If the camera stopped recording movement after updating the firmware, try:
- Restart the camera (turn off power for 30 seconds).
- Reset the settings to factory (Settings) β General. β Reset).
- Install the beta version of the firmware via Mi Home (not available for all models).
π‘
If the camera is installed outside the window, in winter it may stop working due to condensation.Solution: use silica gel bags in the case or heated models (for example, Mi Outdoor Camera). 1080p).
β οΈ Note: On battery-powered cameras (e.g. Mi Home Camera) 2C Battery) motion detection is turned off when the charge level is below 20%. This is done to save energy, but can create a false sense of security. Regularly check the charge or connect the camera to the network.
7. Alternative applications for motion detection
If the standard Mi Home features donβt suit you, you can use third-party apps that offer advanced video analysis capabilities, but require more resources:
- π± TinyCam Pro supports up to 16 cameras, smart zones, facial recognition. TV.
- π₯οΈ iSpy β free PC software with motion recording, sensor integration and cloud.
- π Home Assistant β an open platform for smart home with support for Xiaomi cameras MIOT or RTSP.
- π HomeCam β Optimized for iOS, supports Widgets and Siri Shortcuts.
To connect the camera to third-party software will need to enable RTSP-Instructions:
- In Mi Home, go to Camera Settings β Additionally. β Local area network.
- Activate the option. RTSP-flow.
- Copy the reference of the species rtsp://IP_Cameras:554/stream1.
- Insert it into the settings of a third-party application.
Please note: when using RTSP Motion detection will work on the app side, not the camera side, which increases the load on the smartphone or PC, but gives you more flexibility in settings.
β οΈ Attention: Inclusion RTSP-The stream may disrupt the encryption of data transmission. Do not use this feature if the camera is installed in a public place or transmits sensitive information. VPN router.