Connection IP-Xiaomi cameras: from unpacking to remote access

Why Xiaomi cameras require a special approach to connectivity

IP-Xiaomi cameras differ from traditional analog solutions not only in high resolution and smart features, but also in a specific setup procedure. Unlike other brands (like Hikvision or Dahua), Xiaomi devices are tied to the Mi Home or Xiaomi Home ecosystem, which imposes restrictions on how to connect. For example, without a Mi Account account, you won’t be able to use cloud storage or push notifications.

Another feature is regional restrictions: Cameras purchased in China (CN models) may not support servers outside Asia, leading to errors such as β€œDevice offline” even when connected to Wi-Fi correctly. In this article, we will look at universal customization methods relevant to Xiaomi Mi Home Security Camera 360Β°, Xiaomi Mi Home Security Camera 2K, Xiaomi Smart Camera C300 and others, and also analyze the nuances for devices with firmware for different regions.

What you need to connect IP-Xiaomi

Before you start setting up, make sure you have everything you need, and without these components, the process can stall in the very first step:

  • πŸ“± Smartphone on Android 6.0+ or iOS 12.0+ with Mi Home installed (you can download it from Google Play or App Store).
  • πŸ”Œ Power source: Xiaomi cameras are usually powered by a power outlet 5V/1A-2A (Use the original power supply unit!).
  • πŸ“Ά Router with support for Wi-Fi standard 2.4 GHz (most Xiaomi cameras do not work with 5 GHz networks). C400 Newer ones that support dual-band.
  • πŸ”‘ Login and password from your Wi-Fi network (make sure the network is not hidden or used) WPA3-Enterprise).
  • πŸ“ Mi Account (you can register at account.xiaomi.com).

If your router only works in the 5GHz band, you will have to temporarily turn on 2.4GHz or use a separate signal repeater. MAC-Addresses – some Xiaomi cameras may not connect to networks with this feature.

πŸ“Š What model? IP-Xiaomi cameras you set up?
Mi Home Security Camera 360Β°
Mi Home Security Camera 2K
Smart Camera C300/C400
Another model
I haven't bought it yet.

Step-by-step: Connecting the camera to Wi-Fi via Mi Home

This is the most reliable and recommended way to set up, and follow the instructions carefully, because even one step can be missed, and you can make the error "I failed to connect to the device."

  1. Install the camera. Place the device in Wi-Fi coverage (not further than 10 meters from the router). Connect the power supply - the indicator on the camera should flash yellow (waiting mode).
  2. Launch Mi Home. Open the app and log in. Click Add Device (+) β†’ Select Security category β†’ find your camera model in the list.
  3. Scan. QR-Point the smartphone camera at the QR-Keep the distance between 10 and 20 cm – too close or far away may interfere with scanning.
  4. Select a Wi-Fi network. The app will offer a list of available networks. Select your 2.4 GHz network and enter a password. If the network is not listed, make sure the router does not hide the SSID.
  5. Waiting for sync. The camera will beep and blink blue, which means it's connected successfully, and the app will have a preview with a picture.

If the scanning stage QR-When the camera is not responding, try it:

  • πŸ”„ Restart the camera (turn off/on the power).
  • πŸ“± Reinstall the Mi Home app (sometimes cache cleaning helps).
  • 🌐 Switch the region in the Mi Home account settings to China (for some models).

Wi-Fi network operates in the 2.4 GHz band |

Wi-Fi password entered without errors |

The camera is in standby mode (flashing yellow) |

In the settings of the router, the filter is turned off MAC-address-->

Solving common connection errors

Even with the correct following of the instructions, users often face problems. Below is a table of the most common errors and their solutions:

Mistake.Possible causeDecision
"The device is offline."The camera is connected to Wi-Fi, but cannot communicate with Xiaomi servers.Check the region in Mi Home (should match the region of the camera). If the camera is Chinese (CN), try a VPN with servers in China.
"The wrong Wi-Fi password"The password contains special characters or is written in the wrong layout.Enter your password manually (don't copy!) Use only Latin and numbers.
The camera flashes red and doesn't connect.Not enough power or firmware failure.Try another power supply (current at least 1A). If it doesn't work, reset the camera with the Reset button (hold 10 seconds).
This device is not supported in your area.The camera is designed for a different market (e.g. CN for China).Change your region in Mi Home to China or use alternative software (e.g. Home Assistant).

If none of the methods helped, try connecting the camera through the smartphone access point:

  1. Turn on mobile hotspot on your phone (network name – no spaces, password – simple, for example 12345678).
  2. Connect the camera to this network via Mi Home.
  3. After successful synchronization, reconnect the camera to the main Wi-Fi.
What if the camera is connected but the image is not transmitted?
This problem is often related to router settings: 1. MTU-The meaning must be no less 1400 (router-setting). 2. Firewall – temporarily turn it off and check the connection. 3. IPv6 β€” Turn off this option if it's on. If the image only appears when you connect to the mobile Internet, the problem is that your ISP has blocked ports. TCP 80, 443, 8000 and UDP 10000-20000.

Configure Remote Access and Cloud Storage

Once connected to Wi-Fi, the camera will only be available on the local network, and to view video from anywhere in the world, you need to configure remote access:

  1. Turn on the cloud. In the Mi Home app, go to the camera settings β†’ Storage β†’ select the tariff (free test period – 7 days).
  2. Set up notifications. In the Alerts section, turn on the Motion Detection option and specify sensitivity zones (e.g., ignore movement outside the window).
  3. Check access rights. Make sure that the Mi Account settings allow notifications for the Mi Home app (Phone Settings β†’ Applications β†’ Mi Home β†’ Notifications).

To improve safety:

  • πŸ”’ Enable two-factor authentication in your Mi Account.
  • πŸ“Ή Turn off the microphone sound if you are not using audio (Camera settings) β†’ Sound).
  • 🌍 Limit the notification geozone to avoid getting false positives.

πŸ’‘

If you use a camera to monitor your home, set up automatic recording on a microSD (if there is a slot). To do this, select Local Storage in the camera settings β†’ format the memory card (recommended class is Class 10 or UHS-I).

Connecting Xiaomi Camera to Third Party Systems (Home Assistant, NAS)

If you don’t want to depend on the Xiaomi cloud, you can integrate the camera into your local smart home systems. xiaomi_miio:

camera:


- platform: xiaomi_miio




host: 192.168.1.100 # IP- camera address on the LAN




Token: YOUR_TOKEN # Device Token (received via Mi Home Token Extractor)




name: Xiaomi Cam

To receive the token:

  1. Install the Mi Home Token Extractor app (Android required).
  2. Sign in to your Mi Account.
  3. Select the camera in the list of devices – the application will show the token.

Alternative ways of integration:

  • πŸ–₯️ Synology Surveillance Station supports Xiaomi cameras ONVIF (You need to turn on the protocol in the camera settings).
  • πŸ“Ή iSpy or Blue Iris – universal video surveillance software with support RTSP-flow.
  • 🌐 RTSP-protocol - allows you to broadcast video to any device via a link of the type: rtsp://[IP_camera]/live/ch00_0 (IP-The camera address can be found in the router settings).

πŸ’‘

Use of the RTSP-The stream requires this option to be enabled in the camera settings ("Additional"). Without this, external programs will not be able to access the video.

Reset Xiaomi camera to factory settings

If the camera stopped responding or you forgot the password from the Wi-Fi to which it was connected, a hard reset will help.

  1. Turn the camera off the power.
  2. Find the Reset button on the case (usually hidden in the hole next to the power connector).
  3. Hold the button for 10-15 seconds while connecting the power. The indicator should flash red.
  4. Release the button – the camera will restart and return to the factory settings (blinking yellow).

After resetting, the camera needs to be reconnected, as in the first setup, and note that the reset removes all local records from the memory card (if it was inserted).

πŸ’‘

If the Reset button doesn't work, try using a paper clip or toothpick - sometimes contact doesn't come through due to dust. Don't use excessive force to avoid damaging the micro-switch!

FAQ: Answers to Frequent Questions

Can I connect a Xiaomi camera without the Mi Home app?
Yes, but with limitations. Alternative ways: ONVIF (You need to turn it on in the camera settings. RTSP-stream (device token required) via Home Assistant or OpenHAB (technical skills required) but without Mi Home you will lose access to cloud features (notifications, record history).
Why Xiaomi’s camera doesn’t work with 5GHz Wi-Fi?
Most Xiaomi models (except for the C400 and newer) are equipped with a Realtek RTL8188 Wi-Fi module, which supports only 2.4 GHz. This is done for: Decreasing the device. Increased communication range (2.4 GHz better passes through walls); Compatibility with outdated routers. If your router does not support 2.4 GHz, use a signal repeater or replace the router.
How to reduce lag (latency) when watching video from the camera?
Latency is caused by: Low Internet speed (minimum requirements are 2 Mbps for HD, 5 Mbps for 2K); Xiaomi servers far away (for Chinese cameras); overloaded router (try to turn off other devices); Solutions: Connect the camera via Ethernet cable (if the model supports, for example, Xiaomi Smart Camera C400); In the router settings, turn on QoS and prioritize for camera traffic. Use local browsing via RTSP instead of cloud.
Can I use a Xiaomi camera without the internet?
Yes, but with limitations: πŸ“Ή Local browsing – works through the Mi Home app on the same Wi-Fi network. πŸ’Ύ MicroSD recording – if there is a memory card slot in the camera. ❌ Will not work: Cloud notifications, remote access from another network, firmware update. For full battery life, set up the camera through RTSP To a local server (e.g., ZoneMinder or MotionEye).
How to update the firmware of Xiaomi camera manually?
Usually, the firmware is automatically updated via Mi Home. If you need to manually update: Download the latest firmware for your model from miwifi.com (Smart Home section). Unpack the archive and rename the firmware file to miio_update.bin. Put the file in the root of the microSD card, paste it into the camera. Turn on the camera, the update will start automatically (the indicator will flash green). ⚠️ Warning: Do not turn off the camera during the upgrade! this may cause the device to blink (inoperability.