Why cloud storage is for IP-cameras, not luxury
IP-Xiaomi Mi Home Security Camera 360Β° (model MJSXJ02CM, MJSXJ05CM And they're also using analogs to record video on a microSD card, but the local storage has critical flaws: first, the memory card can fail or be stolen along with the camera; and second, if the device is physically damaged (fire, flooding), the data will be lost irretrievably. Cloud storage solves these problems by offering a solution:
β Remote access to archives from any device via the Internet;
β Hacking protection β video is stored on encrypted servers;
β Automatic redundancy in case of failures of local recording;
β Event notifications (movement, sound) with attached fragments.
But not everyone knows that Xiaomi offers two types of cloud storage: official (Mi Cloud) and third-party services through the Mi Home app or alternative firmware. In this article, we will discuss both options - from basic configuration to advanced solutions for tech-savvy users.
Step 1: Prepare your camera and Mi Account before connecting to the cloud
Before you set up the cloud, make sure that the Xiaomi 360 camera is in the right place.Β° It's connected to the network correctly and linked to the Mi Account, and without this step, cloud sync is impossible.
Requirements for successful connection:
- π± Installed application Mi Home (version not lower than 6.0.100);
- π The camera is connected to a 2.4 GHz Wi-Fi network (5 GHz not supported!);
- π Mi Account with a confirmed phone/email;
- π³ Linked bank card (to pay for a subscription to Mi Cloud).
If the camera is not already added to Mi Home, follow these steps:
- Open Mi Home β press + β Add the device.
- Select the Security category β model of your camera.
- Follow the instructions on the screen (scanning) QR-camera-body).
- After successfully connecting, check the statuses of the Online and the Video stream is working.
β οΈ Warning: If the camera was previously tied to another region (e.g. China), it should be reset to factory settings. To do this, hold the reset button on the case for 10 seconds until you hear voice confirmation.
The camera is connected to 2.4 GHz Wi-Fi|
Mi Account confirmed by email/phone|
The Mi Home version of the app is relevant|
There is enough money on the card to subscribe (if necessary)-->
Official Mi Cloud: How to Connect and Configure
Mi Cloud is Xiaomiβs own cloud storage, optimized for ecosystem devices. IP-It offers two rates for cameras:
- π Free - 7 days of event storage (up to 5 days) GB);
- π° Paid - 30 days of storage (from 99) β½/month for 50 GB).
Instructions for connection:
- Open Mi Home β Choose your camera.
- Go to Settings (βοΈ) β Cloud storage.
- Click Activate Trial Period (7 days free) or select a paid rate.
- Confirm the payment (if applicable) and wait for the synchronization.
After activation in the camera settings, new options will appear:
- π Autoboot upon detection of movement;
- πΉ Continuous recording to the cloud (for paid rates only);
- π Notifications with video fragments.
| The Mi Cloud fare | Storage volume | Storage period | Price (Russia) |
|---|---|---|---|
| Free. | 5 GB | 7 days | 0 β½ |
| Basic | 50 GB | 30 days | 99 β½/moss. |
| Premium | 200 GB | 30 days | 299 β½/moss. |
β οΈ Note: When paying for a subscription via Mi Home, check the region of your account. If it is different from your country (for example, China instead of Russia), the rates can be calculated in yuan and the price will be higher.
π‘
If you use multiple Xiaomi cameras, the Mi Cloud subscription is valid for all devices in one account.
Alternative clouds: Google Drive, Yandex Drive and others
If Mi Cloud is not satisfied with the price or functionality, you can configure the video upload to third-party services.
- IFTTT (free of charge β for automating the loading;
- Home Assistant (advanced version) β for full control
- Python scripts (for technical users)
Method 1: Automation through IFTTT
Service IFTTT (If This Then That allows you to create a rule: "If the camera has detected movement" β upload the video to Google DriveΒ».
- π Register for the IFTTT;
- π Find the Mi Home Camera applet + Google Drive;
- π Connect to Mi Home and Google Drive accounts;
- βοΈ Set up a trigger (such as Motion detected) and an action (Upload file).
Method 2: Home Assistant + Cloud integration
For users using Home Assistant, the Xiaomi Miio component is available, which allows:
- π€ Automatically save videos to Yandex Drive or Dropbox;
- π Set rules by time (for example, record only at night);
- π Integrate with other smart devices (e.g., turn on lights when motion is detected).
A critical nuance: to work with Home Assistant requires a token Mi Home, which can only be obtained through informal tools (for example, Mi Home Token Extractor), which violates the terms of use of Xiaomi and can lead to the blocking of the account.
How to get Mi Home token without blocking?
Configuring continuous writing to the cloud: nuances and limitations
By default, Mi Cloud only saves fragments with movement (with a length of 10β60 seconds).
- Paid rate Mi Cloud (from 50) GB);
- Stable Internet connection (from 2 Mbit / s);
- The firmware camera is not lower. 1.4.6_0043.
How to enable continuous recording:
- In Mi Home, go to the camera settings β Cloud storage.
- Activate Continuous Record option (available only for paid rates).
- Select the permission of the record (720p or 1080p).
- Click Save and wait for sync (can take up to 24 hours).
Restrictions of Continuous Recording:
- β³ The delay between the event and the appearance of video in the cloud is up to 30 minutes;
- π When the Internet is weak, the camera automatically reduces the quality of the camera. 480p;
- π Videos are stored in the cloud in compressed format (bitrate up to 1 Mbps).
β οΈ Warning: Continuous cloud recording does not replace a local memory card. When you turn off the Internet, the camera will record video on a microSD, but will not sync it with the cloud until you restore communication. For critical objects (such as the front door), both types of storage are recommended.
π‘
Continuous recording in Mi Cloud is only available for cameras with support H.265 (2020 and newer models for older devices (MJSXJ02CM) Only the event recording is available.
Problems with connecting to the cloud and their solutions
Even when you set up correctly, users are faced with synchronization errors, and let's look at the typical problems and ways to fix them:
| Mistake. | Reason. | Decision |
|---|---|---|
| I couldn't connect to the cloud. | Unstable Internet or port blocking | Restart the router, check UPnP in the settings |
| Not enough space. | The trial period or quota has ended | Pay the rate or clear old records in Mi Cloud |
| Video doesn't load | Region restrictions (e.g., Chinese server) | Change your account region in Mi Home β Profile |
| The camera is offline | Firmware failure or conflict with the router | Update the camera and turn it off. IPv6 router |
Additional advice for errors:
- π If the video doesnβt appear in the cloud, check the motion sensor sensitivity settings (a too low value can block the recording).
- π‘ For cameras in Russia, it is recommended to use the server Russia (Moscow) in the Mi Cloud settings.
- π If your subscription is not activated after payment, please contact Xiaomi support via Mi Home. β Feedback.
What if the cloud doesnβt connect at all?
- Remove the camera from the Mi Home and add it again.
- Check if the antivirus (such as Kaspersky) is blocking access to Xiaomi servers.
- Update the camera firmware through Settings β Update of the PO.
- If nothing helps, reset the camera to factory settings (reset button for 10 seconds).
Cloud Storage Security: How to Protect Your Data
Storing video in the cloud raises the issue of privacy. Xiaomi claims to encrypt data, but there are nuances:
- π Videos are transmitted by protocol HTTPS, It is stored on servers in China (even for Russian users).
- ποΈ Xiaomi employees can view records at law enforcement request.
- π» When using third-party services (such as Google Drive), videos are not encrypted.
How to improve security:
- Use two-factor authentication in Mi Account (Settings) β Security).
- Set up a "White ListΒ» IP on the router so that only your devices can connect to the camera.
- Disable camera access from other regions in Mi Home β Camera settings β Permits.
- Change your Mi Account password regularly (every 3 months).
The alternative for paranoids:
If you donβt trust cloud services, consider local services. NAS-storage (e.g., Synology or QNAP). For that:
- Set up. FTP-server NAS;
- Use Home Assistant or Node-RED to automatically download videos.
- Set up. VPN for remote access to the archive.
β οΈ Attention: When in use FTP video-transmitting NAS Turn off anonymous access and set up SFTP (Otherwise, the video can be intercepted over the local network.