How do they work? IP-Xiaomi cameras: architecture and principles of operation

Modern video surveillance systems are no longer bulky complexes with DVRs and kilometers of coaxial cable. IP-Xiaomi cameras are compact devices that turn any smartphone into a monitoring center. Understanding how video streaming and device management takes place will help you to properly configure security and avoid typical installation errors.

The work is based on digital data transmission over a local network or the Internet, where unlike analogue predecessors, the video signal is immediately converted to a digital format within the device itself, which allows you to use powerful compression and encryption algorithms, making the picture clear even at low bandwidth of the channel.

Mi Home and Yeelight often share similar software platforms, which unifies how they interact with the router. The 2.4GHz Wi-Fi connection stability is a critical element, as most models do not support the 5GHz standard due to the radio module, a nuance that often causes problems with the primary connection.

Device architecture and hardware

The camera’s internal design resembles a minicomputer, with a central element being a processor (SoC) that handles video streaming, Wi-Fi module operation and AI algorithm execution. Popular models like the Xiaomi Mi Home Security Camera 360Β° are equipped with Sony or OmniVision sensors that provide high resolution even in low light conditions.

The data transfer uses an integrated radio module that supports IEEE 802.11 b/g/n standards. The antenna is usually integrated into the housing, but in professional models of the Pro series there are external signal amplifiers. Buffer memory (RAM) allows the device to buffer the video stream before sending, which smooths out jerks in unstable Internet.

The infrared lighting system deserves special attention: the light sensor automatically switches the camera to night mode, activating IR LEDs. The new models use AI Night Vision technology, which analyzes the scene and adjusts the brightness of the backlight to avoid highlighting objects near the lens.

  • πŸ“· Optical module: matrix, fixed or variable focal length lens, IR filter.
  • πŸ“‘ Communication unit: Wi-Fi antenna, Bluetooth module for fast pairing (Mi Fast Connect).
  • 🧠 Computing core: image processing processor and neural network module for motion detection.

All components are mounted on a single board and covered with a protective casing, which allows you to minimize the size of the device, while maintaining high functionality.

Data protocols and video compression

Key point in the work IP-The camera is an effective compression of the video stream. Xiaomi actively uses the codec H.265 (HEVC), which provides better picture quality with less bitrate compared to the outdated H.264. This is especially important for cloud storage and saving mobile operator traffic.

Data is transmitted through secure channels. Real-time streaming is often done using a protocol. RTSP (Real Time Streaming Protocol, or its proprietary counterparts optimized for Xiaomi servers, is used when sending alarm notifications. PUSH-Technology that instantly wakes up an app on a smartphone.

Technical details of the H.265 codec
The H.265 codec reduces data by 50 percent compared to H.264 while maintaining the same quality, achieved by more complex motion prediction algorithms and splitting the frame into variable-sized blocks, but decoding such a stream requires a more powerful processor in the smartphone.

The traffic is encrypted using the TLS/SSL protocol, which means that the video stream that passes through the company’s servers cannot be intercepted by third parties, and the encryption keys are generated individually for each device when first activated.

It's important to note that the buffer is not sending every movement instantly to the cloud, because it would require enormous resources, but instead it analyzes the flow locally and sends short clips or screenshots only when the algorithms confirm the event.

Interaction with the cloud and local storage

Users often wonder where exactly the recording ends up. Xiaomi architecture provides a hybrid storage model. Locally, video is recorded on a microSD card installed in the camera slot. Cyclical recording ensures that old files are automatically overwritten by new ones when the space runs out.

Xiaomi Cloud cloud storage or partner services (such as Imou for some regions) offer backups for alarming events. Even if the camera is stolen or damaged, the last minutes of recording will remain available in your personal account.

There is also the option of configuring NAS (Network Storage) via SMB or FTP, although native support for this in the Mi Home application is limited and often requires the use of third-party scripts or middleware.

ParameterLocal Recording (SD)Cloud storageNetwork Storage (NAS)
Access when camera theft is doneImpossible.Save.Save.
CostThe price of a memory cardMonthly subscriptionPrice of equipment
Internet dependencyNo (for viewing)Tall.Local area network required
Duration of the archiveUp to 30 days (depending on the card)7-30 days (at the rate)Depends on the volume of the disks.

The choice of storage method depends on your priorities: speed of access or data security, and combining a local map and the cloud gives the best result.

πŸ“Š Where do you prefer to store a video archive?
Only on a memory card (SD)
Only in the cloud.
Combining SD and cloud
Use yours. NAS-server

Artificial Intelligence Algorithms and Detection

Xiaomi's cameras today are not just webcams, they're smart devices with an onboard computer, and they have an NPU (Neural Processing Unit) module that analyzes real-time images, which allows you to distinguish between curtain movement and human movement.

Human Detection has become standard, with cameras analyzing silhouette and motion patterns to minimize false positives, and more expensive models that recognize faces and even a crying baby, which is important for use as a baby monitor.

πŸ’‘

For maximum accuracy, place the camera at an altitude of 2-2.5 meters at an angle to cover the entry area, but avoid direct sunlight hitting the lens.

Zoning is another powerful tool: the user can programmatically highlight active areas in the frame, ignoring movement in other parts of the image (such as the street outside the window), which significantly reduces the load on the processor and battery of the smartphone when receiving notifications.

⚠️ Attention: AI algorithms are sensitive to sudden lighting changes. If the camera is pointed at a window, the automatic exposure can cause the image to blink, which sometimes provokes false detection of movement.

Tempering mode (intervention protection) tracks a sharp change in the viewing angle or lens gluing, and when such actions are detected, the device sends a critical notification to the owner.

Network setup and fixing connection problems

The process of establishing communication between the camera and the router is called peering. Xiaomi devices use Fast Pairing technology via Bluetooth. The smartphone transmits Wi-Fi settings directly to the camera, which speeds up the process and eliminates password input errors.

However, if you use routers with complex configuration (separate network names for 2.4 and 5 GHz, hidden is the main reason for the network. SSID, filter MAC-The camera only sees the 2.4 GHz network. If your router combines the bands under one name (Smart Connect), sometimes you need to temporarily divide them for initial configuration.

β˜‘οΈ Diagnostics of camera connection

Done: 0 / 4

Advanced users can access the protocol RTSP. By enabling this feature in settings (often requiring a region change to China or using modified software), you can stream to the Internet. VLC-player or third-party video surveillance systems.

If the camera often loses communication, consider installing a repeater's Wi-Fi or switching to a wired connection (for models with a LAN port).

Data security and privacy protection

Security issue IP-Xiaomi has a multi-layered security system. Two-factor authentication (2FA) Mi Home is a mandatory recommendation for all users, which prevents access to cameras even if the password is leaked from the account.

Video stream encryption happens at the device level. Even company employees can't theoretically view your cameras without physically accessing the device and resetting passwords. Regular firmware updates close vulnerabilities that security researchers can detect.

⚠️ Warning: Never use default factory password cameras on public networks. Always change standard settings and update your firmware to the latest version immediately after you purchase.

Physical protection is also important. Some models have a "Privacy" mode, where the lens turns up or down, blocking the view when you're not home or indoors.

πŸ’‘

Security IP-90% of the camera is user-dependent: a complex password 2FA Regular updates – the key to a secure system.

Why does Xiaomi’s camera not see the memory card?
The most common problem is the file system: Xiaomi cameras require the map to be formatted into the FAT32 file system. Maps larger than 32 GB are formatted in exFAT or NTFS by default, which the device does not read. You need to format the card through your computer or directly in the Mi Home application (Settings Storage section).
Can I use a Xiaomi camera without the internet?
It is impossible to work fully without a WAN, because it is managed through cloud servers. However, if the local router does not have Internet access, some models (rarely) can work in direct recording mode. SD-map, but remote viewing and notifications will not work. IP-router.
What do flashing lights on the camera mean?
Orange blinking usually means pairing mode. Blue even light is normal and connected to the network. Red often indicates a Wi-Fi connection error or no connection. SD-The exact decoding depends on the model and color of the LED, the description is always in the instructions of the particular model.