How to connect to IP-Xiaomi camera: all ways + mistake-making

IP-Xiaomi cameras are some of the most popular smart home devices due to their combination of price, quality and integration with the Mi Home ecosystem, but connecting to them often raises questions: the router does not see the camera, the application gives an error, and you can not configure remote access. In this article, we will discuss all the current ways to connect to IP-Xiaomi cameras (including Mi Home Security Camera 360)Β°, Mijia Smart IP Camera and Xiaomi Smart Camera C400), and typical problems and their solutions.

It is important to understand that the method of connection depends on the purpose: whether you need live streaming through the application, recording on the app. SD-map, integration with video surveillance systems (RTSP) We'll look at every scenario, from basic settings through Mi Home to advanced ways like this. ONVIF and P2P. If you are a beginner, start with the first section; if you are looking for a solution to a specific problem, use the table of contents.

1.Preparation for connection: what to check before starting

Before you start setting up, make sure that the minimum requirements for a successful connection are met, most often due to small things: a discharged battery, an incompatible router or port locking.

Here is the checklist of mandatory conditions:

  • πŸ”‹ Camera power: Connect the camera to a power source (network adapter or PoE if supported). Make sure the indicator on the case is on or flashing. Battery-free models (e.g. Xiaomi Mi Home Security Camera) 2K) They won't turn on without power.
  • πŸ“Ά Wi-Fi network: Xiaomi cameras only work with 2.4GHz networks.If your router broadcasts two networks (2.4 and 5GHz) with the same name (SSID), Temporarily shut down 5GHz or rename the networks.
  • πŸ“± Mi Home app: Install the latest version of the app from Google Play or App Store. older versions may not support newer camera models.
  • 🌍 Account Region: In Mi Home settings, select Russia (or Mainland China if you use Chinese firmware) and this affects the servers and functionality available.

If you connect your camera to a smart home system (such as Home Assistant or Domoticz), check out:

  • πŸ”‘ Local area network: The camera and the control device (server, computer) must be on the same subnet, for example, if the router is giving away IP-addresses in the range 192.168.1.100–192.168.1.200, both devices must receive addresses from this range.
  • πŸ”’ Ports and protocols: For RTSP-You may need to open port 554 on the router. ONVIF β€” ports 80 and 37777.

⚠️ Attention: Xiaomi cameras with Chinese firmware (CN-version) may require an account with a phone number from China. If you bought such a camera, check with the seller before buying whether it supports Global firmware or if you need a firmware update.

2. Connect via the Mi Home application (basic method)

It is the easiest and most recommended method for most users, and it is suitable for all Xiaomi cameras that support the Mi Home ecosystem, including:

  • πŸ“· Mi Home Security Camera 360Β° 1080p/2K
  • πŸ“· Mijia Smart IP Camera (all generations)
  • πŸ“· Xiaomi Smart Camera C200/C300/C400

Step instructions:

  1. Adding Device to Mi Home: Open the Mi Home app, go to Devices tab β†’ press + (add) β†’ Select the category of Cameras β†’ Find your model in the list. If there's no model, select Another and scan. QR-camera-code.
  2. Wi-Fi Connection: Make sure your smartphone is connected to a 2.4 GHz network. The app will prompt you to enter a Wi-Fi password. If the camera is sending a voice message in Chinese, that's OK - just follow the instructions in Mi Home. πŸ’‘If the camera is not connected to Wi-Fi, try temporarily disabling network protection (WPA3) use WPA2-PSK. Some Xiaomi models do not support modern encryption protocols.
  3. Location setting: After connecting, specify a room (such as a Corridor or a Children's room) and allow access to geolocation (necessary for notifications to work).
  4. Broadcast Check: Click on the camera icon in the app to open the broadcast. If the image doesn't appear, check your internet connection or restart the camera (turn off power for 10 seconds).

If you have a β€œfailed to connect to the network” error at the Wi-Fi connection stage, try:

  • πŸ”„ Reboot the router and camera.
  • πŸ“΅ Make sure the name of the network (SSID) No Cyrillic symbols or spaces.
  • πŸ›‘οΈ Temporarily disable the firewall or antivirus on your smartphone.
πŸ“Š What Xiaomi Camera Are You Using?
Mi Home Security Camera 360Β°
Mijia Smart IP Camera
Xiaomi Smart Camera C200/C300
Another model
I haven't bought it yet.

3. Connection by RTSP: integration with NVR and video surveillance systems

Protocol RTSP (Real Time Streaming Protocol allows you to receive video stream from the Xiaomi camera to third-party programs: Blue Iris, iSpy, Synology Surveillance Station or even VLC Player. It's useful if you want to:

  • πŸ–₯️ Record the video to the server or NAS.
  • πŸ”„ Integrate the camera with a smart home system (Home Assistant, OpenHAB).
  • πŸ“Ή Use multiple cameras in one interface.

However, not all Xiaomi cameras support this. RTSP "out of the box. Here's the compatibility table:

Camera modelSupport for RTSPIs firmware required?URL flow (example)
Mi Home Security Camera 360Β° 1080p (CN)Yes.Yeah (castom)rtsp://[IP_ Cameras]/live/ch00_0
Mi Home Security Camera 2K (Global)Yes.No.rtsp://[IP_ Cameras]:554/stream1
Mijia Smart IP Camera (all versions)Yes.No.rtsp://[IP_camera]/live/ch0
Xiaomi Smart Camera C400Yes.No.rtsp://[IP_camera]:554/stream2 (max. authorization)

To connect to RTSP:

  1. Find it. IP-Camera address: In the Mi Home app, go to the camera settings β†’ General. β†’ Network. or check the list of devices on the router (usually at 192.168.1.1 or 192.168.0.1).
  2. Turn it on. RTSP In the settings: In Mi Home, go to the camera settings β†’ Additionally. β†’ Protocol RTSP and activate the option. Some models will require login/password (often by default). admin/password-free admin/123456).
  3. Connect via the player or program: VLC Player select Media β†’ Open up. URL and enter the stream address (see table above). For Synology Surveillance Station, add the camera as Other Protocol Device RTSP.

⚠️ Attention: If you are using RTSP For remote access, never open port 554 directly to the Internet without protection. This can lead to hacking of the camera. VPN Use Reverse Proxy with authentication.

Find it. IP-camera|Turn on RTSP in the Mi Home settings|Check the login/password (by default) admin/123456)|Open the port 554 on the router (only for the local network)|Install a program to view (VLC, iSpy and others.)

-->

4. Connection through ONVIF: professionally

Protocol ONVIF It allows you to control the camera through a standard interface that is compatible with most surveillance systems. RTSP, ONVIF Supports not only video stream, but also turn control (PTZ), Image quality setting and other functions.

To connect to ONVIF:

  1. Check the support ONVIF: Not all Xiaomi cameras support all of them. ONVIF. For example, the Mi Home Security Camera 360.Β° (Chinese version requires firmware, and Xiaomi Smart Camera C400 It supports it out of the box. Check the documentation for your model.
  2. Find the port. ONVIF: By default, port 80 (HTTP) or 37777. Check the camera settings or through the program ONVIF Device Manager (you can download it here).
  3. Add the camera to your system: In a video surveillance program (such as Milestone XProtect or Axxxon Next), select the device by adding it to your computer. ONVIF, enter IP-Camera address, port and credentials (usually admin/123456).

If the camera is not detected by ONVIF, try:

  • πŸ”§ Update the camera firmware through Mi Home.
  • πŸ”„ Reboot the camera and router.
  • πŸ› οΈ Use the program ONVIF Device Manager for Manual Detection.
How to turn it on ONVIF Xiaomi cameras without official support?
For some models, for example, Mi Home Security Camera 360° 1080p CN) You need custom firmware, like Dafang-Hacks or OpenIPC, and these firmwares add support. ONVIF, RTSP and even the possibility of recording FTP. ⚠️ Warning: Installing unofficial software will void the warranty and may cause the camera to fail.

5 Remote Camera Access: How to Watch Video From Anywhere

By default, Xiaomi cameras only allow you to view the stream through the Mi Home app, but what if you need to connect through a browser or third-party software?

Method 1: Through the Xiaomi Cloud (the easiest one)

By linking the camera to your Mi Home account, you automatically access the cloud stream.

  1. Open Mi Home on any device (even mobile).
  2. Select a camera and stream will start through Xiaomi servers.

Cons: dependence on Xiaomi servers (can slow down), a limitation on the number of connections.

Method 2: Through P2P (peer-to-peer)

Technology P2P It allows you to connect to the camera directly, without the cloud:

  1. In the camera settings in Mi Home, turn on the option P2P-connection (if any).
  2. Use programs like TinyCam Pro (Android) or iSpy (Windows) UID Cameras (can be found in Mi Home in device information).

Method 3: Through VPN or port port transfer (for experienced port transfers)

If you want complete control, set up VPN-server on a router (such as OpenVPN or WireGuard) or toss ports 80 (HTTP), 554 (RTSP) 37777 (ONVIF) on IP-Then connect to the home network via the camera address. VPN or enter the outside IP-router address in the program to view.

⚠️ Note: Ports to the Internet without password protection and VPN Makes your camera vulnerable to hacker attacks. If you're not sure about your security settings, use Xiaomi's cloud or P2P.

πŸ’‘

For maximum safety, use a combination. RTSP + VPN: The video stream is transmitted only inside the encrypted tunnel, without the risk of interception.

6. Solving typical errors when connecting

Even when you set it up properly, you can have problems, and we've collected some of the most common errors and ways to fix them.

Mistake.Possible causeDecision
"Unable to connect to the network" at Mi HomeCamera can't see 2.4GHz Wi-Fi or wrong passwordTurn off 5GHz on the router. Check the password character register. Reset the camera (turn off power for 15 seconds).
"Offline Device" at Mi HomeThe camera is not connected to the Internet or blocked by the routerCheck if the light on the camera is on. Turn off the router settings. AP Isolation. MAC-camera address in the list of permitted devices.
"RTSP-The flow does not open in VLCPort 554 closed or incorrect URLCheck if it's on. RTSP in the camera settings. Make sure that URL indicated IP-Open port 554 on the router for the local network.
The camera is constantly rebooting.Unstable nutrition or overheatingTry another power supply (5V/2A). Make sure the camera is not in direct sunlight.Refresh firmware through Mi Home.

If none of these methods helped, try resetting the camera to the factory settings:

  1. Press and hold the reset button (usually located on the bottom panel) for 10-15 seconds until you hear a voice message or see the indicator blink.
  2. After resetting, repeat the connection procedure from scratch.

πŸ’‘

If the camera is sounding in Chinese and you don’t understand what it’s saying, use a voice interpreter (e.g., Google Translate, which has a listening function).

7. Alternative ways of connecting

If standard methods don’t work or you need advanced features, consider these options:

Connection through Home Assistant

Home Assistant supports Xiaomi cameras through a component xiaomi_miio. For that:

  1. Install Home Assistant on a Raspberry Pi or other device.
  2. Add configuration.yaml: camera: - platform: xiaomi_miio host: IP_Token cameras: YOUR_TOKEN name: Xiaomi Camera
  3. Get token with the help of miio script or Mi Home Token Extractor.

Connection through FTP videotape

Some models (e.g. Xiaomi Smart Camera) C400) record-keeping FTP-To set up the server:

  1. In Mi Home, go to Camera Settings β†’ Storage β†’ FTP-server.
  2. Provide the server address (for example, ftp://192.168.1.100), login, password and folder to save.
  3. Set up a recording schedule or turn on a motion record.

Browser connection (only for some models)

Cameras with Dafang-Hacks firmware or OpenIPC allow you to open a web interface at the address http://[IP_There's video quality settings available, RTSP-flow and control PTZ.

FAQ: Frequent questions about connecting to IP-Xiaomi cameras

Can I connect a Xiaomi camera without the Mi Home app?
Yes, but with limitations. You can use it: RTSP/ONVIF It's a software that connects to surveillance systems, a firmware called Dafang-Hacks or OpenIPC for alternative management, software like TinyCam Pro (Android) or iSpy (Windows) for viewing through the Internet. P2P. However, for the initial setup (binding to Wi-Fi), Mi Home will still be required.
How do you know? IP-The camera address, if it is not displayed in the Mi Home?
There are several ways: Check the list of connected devices in the router’s admin panel (usually at the address). 192.168.1.1 or 192.168.0.1). Look for a device called lumi.camera or something like that. Use a network scanner like Fing (Android/iOS) or advancedd IP Scanner (Windows) If the camera is making voice cues, it can call its own. IP (For example, β€œMy IP is 192.168.1.105").
Why Xiaomi’s camera doesn’t record on the camera SD-map?
The problem might be in: πŸ”§ Incompatible Memory Card: Use Class Cards UHS-I U1 or U3 Capacity up to 128 GB (format) FAT32). πŸ“ Incorrect settings: In Mi Home, check the settings β†’ Storage β†’ Enable the option "Record by motion" or "Continuous recording". πŸ”„ File system failure: Format the map through camera settings or on PC (in format) FAT32).
How to turn on night vision on Xiaomi camera?
Night mode (infrared backlight) is automatically turned on in low light. If it does not work: In Mi Home, go to Camera Settings β†’ Night mode and select Auto or On. Make sure there are no obstacles (glasses, film) blocking IR rays in front of the camera. Check if the IR filter is contaminated (wipe the lens with soft cloth). C400) You can adjust the sensitivity of switching to night mode.
Can I use a Xiaomi camera without the internet?
Yes, but with limitations: πŸ“Ά Local area network: The camera will run on a local network without access to the Internet, you can watch the broadcast via Mi Home (if the phone is connected to the same Wi-Fi) or over the Internet. RTSP. ❌ Cloud features: Notifications, cloud recording and remote access over the Internet will not work. πŸ’Ύ Recording SD-Map: It will work locally. For full autonomy, set up the recording to FTP-server or connect the camera to the video surveillance system RTSP.