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.
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."
- 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).
- Launch Mi Home. Open the app and log in. Click Add Device (+) β Select Security category β find your camera model in the list.
- 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.
- 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.
- 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 cause | Decision |
|---|---|---|
| "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:
- Turn on mobile hotspot on your phone (network name β no spaces, password β simple, for example 12345678).
- Connect the camera to this network via Mi Home.
- After successful synchronization, reconnect the camera to the main Wi-Fi.
What if the camera is connected but the image is not transmitted?
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:
- Turn on the cloud. In the Mi Home app, go to the camera settings β Storage β select the tariff (free test period β 7 days).
- Set up notifications. In the Alerts section, turn on the Motion Detection option and specify sensitivity zones (e.g., ignore movement outside the window).
- 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 CamTo receive the token:
- Install the Mi Home Token Extractor app (Android required).
- Sign in to your Mi Account.
- 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.
- Turn the camera off the power.
- Find the Reset button on the case (usually hidden in the hole next to the power connector).
- Hold the button for 10-15 seconds while connecting the power. The indicator should flash red.
- 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!