How to set up Xiaomi camera for motion detection: a full picture guide

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.

πŸ“Š What Xiaomi Camera Are You Using?
Mi Home Security Camera 360Β°
Mi Basic Camera
Mi Camera 2/2 Pro
Mi Outdoor Camera
Another model

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:

  1. In the Mi Home app, go to Camera Settings β†’ Discovery zones.
  2. Click Add Zone and circle the desired area to the camera preview.
  3. For each zone, you can set a separate sensitivity (it is useful if there are areas with different illumination in the frame).
  4. 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

Done: 0 / 4

If your camera is installed outside, we recommend that you create a separate zone to prevent the movement of trees.

  1. Wait for the windy weather and watch the camera footage.
  2. Find out where the trees are most active.
  3. 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:

ConditionsRecommended sensitivityAdditional settings
Apartment with pets40-50Activate "People Only", exclude areas with bowls / ladles
Office or shop70-80Increase the recording interval to 15-20 seconds
Street camera (yard)60-70Use it. 3D-Detection, exclude the upper part of the frame (sky)
Children's room30-40Disable notifications at night, use the "Quiet Hour" mode

For accurate settings, use the test mode:

  1. Enable the record on the memory card (if supported).
  2. Set sensitivity to 50 and walk around the room.
  3. Watch the recording and note the moments of false/missed positives.
  4. 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?
In the Mi Home app, go to Profile β†’ Geozone and create a zone around your home. Then, in the camera settings, activate the option to turn off notifications in the geozone. Now, when you get home, the camera will ignore your movements.

If you use a camera to monitor pets, we recommend you create a separate notification profile with a reduced priority.

  1. In the camera notification settings, select Add the rule.
  2. Specify the condition: "If movement is in the area [feeder]", then "Send notification with low priority".
  3. 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:

  1. Go to Camera Settings β†’ AI-detection.
  2. Enable the option of object recognition.
  3. Select the types of objects to track (people, animals, cars).
  4. Set up separate notifications for each type.

For long-term storage of records, we recommend connecting cloud storage or NAS. Comparison of options:

Storage typePlusesConsCost
Xiaomi's CloudAutomatic download, access from any devicePaid subscription, storage time limit99.β‚½/month
MicroSD cardSingle purchase, no subscription feeLimited volume, risk of loss when stealing a camera500.β‚½ post 32GB
NAS (Network Storage)Large volume, reliability, access over the local networkComplex setup, high initial cost5000.β‚½ 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 Room

The 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:

  1. Restart the camera (turn off power for 30 seconds).
  2. Reset the settings to factory (Settings) β†’ General. β†’ Reset).
  3. 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:

  1. In Mi Home, go to Camera Settings β†’ Additionally. β†’ Local area network.
  2. Activate the option. RTSP-flow.
  3. Copy the reference of the species rtsp://IP_Cameras:554/stream1.
  4. 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.

FAQ: Answers to Frequent Questions

Can I set up motion detection without the internet?
Yes, but with limitations, the camera will record events on the memory card (if installed), but notifications will not come to the phone. β†’ Integration with a local server (e.g., Home Assistant via a RTSP). Connection to NAS Synology Surveillance Station: A camera with local storage support (e.g. Mi Home Security Camera) will be required to work fully without the Internet. 2K microSD-slot).
Why doesn't the camera record the movement at night?
There may be several reasons: IR filter turned off - check the settings Night mode β†’ Auto. Insufficient lighting -- IR lighting is running from a distance to the light. 7-10 If the object is further away, the camera won't see it. Energy saving is some model (e.g. Mi Camera). 2 Lite) turn off detection at night to save battery. Sensitivity - in the dark, it is recommended to increase it to 80-90. Check the test recording: if the image is too dark or noisy, try adding an external IR light.
How to set up motion detection on multiple cameras at the same time?
To do this, use device groups in Mi Home: In the main menu of the application, click + β†’ Group of devices. Add all cameras that need to synchronize. In the group settings, select Scenarios β†’ Motion detection. Set up general rules: for example, "If you move on any camera, turn on the siren and send a notification." For complex scenarios (for example, "movement on the external camera And no movement on the internal camera for 5 minutes") use Home Assistant or Node-RED.
How much traffic does the camera consume when detecting motion?
Traffic consumption depends on camera resolution and event frequency: Resolution Duration of clip File Size Traffic per day (100 events) 720p 10 sack 1-2 MB 100-200 MB 1080p 15 sack 3-5 MB 300-500 MB 2K 20 sack 8-12 MB 800-1200 MB To Save Traffic: Reduce the Resolution to 720p (If you don't need to be detailed, shorten the clips to 10 Use a memory card instead of a cloud.
Can Xiaomi’s camera be used to detect smoke or gas leaks?
No, Xiaomi cameras don't have smoke or gas sensors. However, you can: Connect a separate smoke sensor (e.g. Mi Smoke Detector) and create a scenario: "If the sensor is triggered, turn on the camera." Use video analysis in third-party applications (e.g., iSpy has plug-ins to detect smoke by visual signs); Set up an audible alert: some cameras can respond to loud noises (explosing, beating glass). For reliable protection, we recommend using specialized sensors, and the camera as an additional source of information.