Smartphone surveillance has become an integral part of the security of a modern home or office. Xiaomi phone owners can connect almost any camera, from budget Wi-Fi models to professional ones. IP-camera-support RTSP — But the setup process often raises questions about how to sync devices properly, what programs to use, and why the image might slow down or disappear.
In this article, we will discuss three main ways of connecting (via Mi Home, third-party apps, and live streaming via ONVIF), and give specific recommendations for network setup, solving common errors, and optimizing system performance. We will focus on the nuances of compatibility with MIUI firmware and the limitations that camera manufacturers impose. If you want to not just see a picture from the camera on the phone screen, but configure remote access, motion recording and notifications, read on.
1.What security cameras are compatible with Xiaomi phones
Before you start connecting, it’s important to understand what type of camera your smartphone might be working with, and all devices fall into three categories:
- 📱 Xiaomi’s cameras (Mi Home Security Camera, Xiaomi Smart Camera, Aqara Camera, etc.) – connect directly via Mi Home or Mi Home Lite without additional applications. Support cloud storage and integration with other Mi Ecosystem devices.
- 🌐 IP-camera-back ONVIF/RTSP (Hikvision, Dahua, TP-Link Tapo, Ezviz – require configuration through third-party applications (TinyCAM Pro, iSpy) or built-in web interface. 4K), but they need static. IP-address DDNS.
- 📡 Analog cameras with DVR – connect to the phone indirectly through NVR (Network video recorder) or hybrid devices such as Xiaomi Mi Box S with support DLNA. Require additional equipment and port configurations on the router.
The easiest way to work with Xiaomi cameras is that they are automatically detected in the Mi Home app and do not require manual network configuration, but if you have a model from another manufacturer, you will have to understand the ONVIF or RTSP protocols, and you may need to port port port port port port port port port port porting on the router. Below we will discuss each option in detail.
⚠️ Note: Cameras that only support proprietary protocols (such as some Yi Technology or Wyze models) may not connect to a Xiaomi phone without using proprietary apps.
2. Method 1: Connect via the Mi Home app (for Xiaomi cameras)
If you have a Xiaomi camera (such as the Mi Home Security Camera 360° 1080p or Xiaomi Smart Camera C300), the easiest way is to use a proprietary app. It automatically finds the device on the local network and configures the connection.
- Install the Mi Home app from Google Play or the App Store. Chinese versions of cameras may require Mi Home (China).
Once connected successfully, the camera will appear on the device list, allowing you to watch live video, enable two-way audio (if supported), configure motion detection zones, and receive notifications. Importantly, for the camera and phone to work smoothly, both devices must be connected to the same Wi-Fi network (or to a router via Ethernet in the case of an NVR).
Is power connected to the camera?|The camera emits an audible signal when turned on?|Phone connected to 2.4 GHz Wi-Fi (Xiaomi cameras do not work with 5 GHz)?|The Mi Home app version is updated?|Bluetooth enabled on the phone (needed for initial setup)-->
Method 2: Connection IP-Cameras via TinyCAM Pro or iSpy
If your camera is not from Xiaomi, but supports ONVIF or RTSP standards, you can connect it to your phone through third-party apps.
- 📹 TinyCAM Pro is a paid app with support for more than 2,000 camera models, motion recording and cloud backup.
Let’s look at the TinyCAM Pro example:
- Select the method of adding: ONVIF — If the camera supports this protocol (most of the current ones) IP-camera). RTSP URL — if a direct flow is known, for example, rtsp://192.168.1.100:554/stream1). Camera model – select from the list (e.g. Hikvision) DS-2CD2042WD).
Enter the data for connection
- IP-Camera address (can be found on the router or through Advanced) IP Scanner).
- Login and password (often admin/admin or admin/empty by default).
- Port (usually 554 for RTSP or 80 for HTTP)
- Set up resolution and bitrate (select 720p instead of 1080p to save traffic).
If the camera is not connected, check:
- 🔌 Is the firewall on the router or camera turned off.
- 📶 Does the camera support 2.4 GHz Wi-Fi (many) IP-Cameras don't work 5 GHz).
- 🔒 Is the password correctly entered (characters are log-sensitive!).
Hikvision|Dahua|TP-Link Tapo|Ezviz|Xiaomi|Another brand |I don't know-->
4. Method 3: Direct connection to RTSP/ONVIF (power-user)
For those who want maximum control over the video stream, manual configuration via RTSP or ONVIF protocols is suitable.
- 🎥 Configure multiple threads with different resolution.
- 🔒 Encrypt traffic through HTTPS or RTSPs.
- 📡 Provide remote access without cloud services.
Instructions for connection via RTSP:
- Find it. RTSP-Camera address: usually listed in documentation or can be found through the camera web interface (enter IP-Browser address. Examples: rtsp://192.168.1.100:554/cam/realmonitor?channel=1&subtype=0 rtsp://admin:password@192.168.1.101:554/stream1
- Check the availability of the stream through a player application (e.g., VLC on PC).
- Set up port forwarding on the router (if you need remote access): Open the router settings (usually 192.168.1.1 or 192.168.0.1). Go to Port Forwarding (or Virtual Servers). Add the rule: external port 554 → internal IP camera port 554.
Use DDNS.
No-IP
Critical detail: Many providers block incoming connections to ports below 1024 (including 554), in which case you will have to use alternative ports (for example, 1935 for RTMP) or VPN.
| Protocol | Port by default | Example of a URL | Is port forwarding required? |
|---|---|---|---|
| RTSP | 554 | rtsp://192.168.1.100:554/stream1 | Yes (for remote access) |
| ONVIF | 80 or 8000 | http://192.168.1.100:80/onvif/device_service | Yes. |
| HTTP (MJPEG) | 80 | http://192.168.1.100:80/video/mjpg.cgi | No (only locally) |
⚠️ Warning: Opening ports on a router reduces the security of your network.Always change the standard passwords on the camera (admin/admin) And you can use complex combinations. For extra protection, set up a whitelist. IP camera-setting.
5. Set up notifications and traffic records
One of the key functions of video surveillance is to alert you to suspicious activity, and depending on the application, the settings may vary, but the overall algorithm is this:
At Mi Home:
- Open the camera card → “Settings” → “Motion Detection”.
- Turn on the option and adjust the sensitivity (from 1 to 10).
- Select detection zones (e.g., ignore movement outside the window).
- Set up a schedule (for example, only at night).
- Enable notifications and link them to your Xiaomi account.
💡
If the camera often fires on false events (such as shadows or pets), reduce the sensitivity to 3-4 and adjust the areas of neglect.
6. Solving typical connection problems
Even with the right setup, there can be errors, and let's look at the most common ones and how to fix them:
| Problem. | Possible cause | Decision |
|---|---|---|
| The camera is not in Mi Home. | The camera is connected to 5 GHz Wi-Fi | Reconnect your camera to a 2.4GHz network or use a dual-band router with the same SSID |
| Image slows or tears. | Low Wi-Fi speed or high bitrate | Reduce resolution in camera settings or switch to wired connection (Ethernet) |
| Remote access is not working. | Closed ports on the router or dynamic IP | Set up port forwarding and use DDNS (e.g. No-IP) |
| The app gives an error "I failed to connect" | Incorrect password or IP-Camera address changed. | Check network settings, fix IP cameras in the router (DHCP reservation) |
If the camera is plugged in but the video doesn’t show, try:
- Reboot the camera (turn off power for 10 seconds).
- Update the camera firmware through the web interface.
- Change the protocol from RTSP to HTTP (MJPEG) (less network-required).
- Turn off the VPN or firewall on your phone.
What if Xiaomi’s camera doesn’t connect to Mi Home after resetting?
7. Optimizing the camera on the Xiaomi phone
To ensure that video surveillance works stably and does not discharge the phone, follow these tips:
- 🔋 Turn off background camera application activity in battery settings (Settings) → Annexes → Permits → Auto-start).
- 📶 Use it. 4G/5G For remote viewing if Wi-Fi is unstable, you can enable the option "Mobile Network Only" in Mi Home for notifications.
- 🛡️ Set up geofences (in Mi Home): The camera will only activate when you are not at home.
- 📥 Limit the permission for mobile traffic (for example, 480p instead 1080p).
For owners of Xiaomi phones with MIUI 12+, it is useful to know:
- The “Second Space” function (Settings → Special Features) allows you to create a separate profile for video surveillance applications with your own notification settings.
- Charge Saving Mode (Settings → Battery) can block the background work of the camera – add the app to the exceptions.
- If you use TinyCAM Pro, turn on the “Use H.265 codec” option to save traffic (but make sure the camera supports this format).
💡
For maximum autonomy, turn off the camera's constant video viewing. Use push notifications and turn on the broadcast only when necessary.