How to connect a Xiaomi camera without the Internet: an expert guide

Many smart home users face a paradoxical situation: you need to configure the IP-A camera or babysitter, but a fixed Internet channel is temporarily unavailable or the router is not connected to the provider. The standard scenario for Xiaomi and Yi Home ecosystem devices is sharpened for cloud services, which often confuses beginners trying to organize local video surveillance.

However, technically, a local area network (LAN) allows you to transmit video streams and control the device without access to an external network, this is true for cottages, warehouses or apartments where the provider limits the number of connected devices or requires complex authorization through the browser.

In this article, we will explore the technical details of how MiOT protocols work in an isolated environment, and you will learn how to get around the stage of mandatory, seemingly online registration and make the camera work autonomously using only a smartphone and a router.

Technical limitations and work without a global network

The main difficulty is that the firmware of most modern Xiaomi cameras requires a connection to the server when they first turn on. However, if the device has already been activated or the model supports AP-Mode mode, connection is possible.

If you have a router, but you don't have a connection to the ISP, the problem is to create a local network, and the camera will connect to the router, and the application on the phone will see it on the LAN. IP-Cloud-based features, such as push notifications on your phone when you detect movement or write to the cloud, will not work.

⚠️ Note: No access to time servers (NTP) The camera can reset time every time the power goes off. The archive works correctly in time, requiring manual synchronization through the application at each start or installing an additional local time server.

There are two main scenarios: the use of local storage (microSD card) and live streaming via RTSP/ONVIF protocol. The first option allows you to record cyclically, the second - broadcast the image to a computer or TV without the delays typical of the cloud.

Some models, especially the Mijia budget line, can block basic functions without periodically β€œping” the server, in which case it helps to isolate the device in a separate VLAN or use modified software, although the latter requires a deep knowledge of Linux.

Preparation of equipment and choice of scenario

Before you start setting up, you need to clearly define what equipment is available. You need the camera, the power supply and the control device to run autonomously. If you plan to use the camera in a place where there is no electricity at all, consider Power Bank or solar panels.

The key element will be the router. Even the cheapest router without any SIM-The device's maps and connections to the provider will create the necessary habitat. The smartphone should also be able to switch between mobile Internet and Wi-Fi network without breaking the connection to the camera.

πŸ“Š Which use case is most interesting to you?
A cottage without wired internet
Temporary absence of the provider
Local area network for security
Just an experiment.

It is important to prepare a microSD memory card in advance. It is recommended to use U1 or U3 cards from trusted manufacturers, since the camera will have to constantly overwrite data, which is a load test for the drive.

Make sure that the smartphone has either Mi Home (for global devices) or Mi Home China (for Chinese versions) and the region in the app must strictly match the region chosen when the camera was originally set up, otherwise synchronization will not be possible.

Method 1: Configure via Local Router (LAN)

This is the most stable and functional way, and you're going to need a router that doesn't have to be connected to the ISP's Internet cable, but the key is that it's going to give you a Wi-Fi signal and assign you a Wi-Fi signal. IP-addresses to connected devices.

Connect the camera to the router. If the model supports wired connection, use the Ethernet cable for initial settings β€” this will eliminate errors when entering a password from Wi-Fi. If only Wi-Fi, use the WPS function on the router or temporarily connect the phone to the same network to transfer the password.

β˜‘οΈ Checklist of local network settings

Done: 0 / 5

Once you're physically connected, launch the app. In most cases, if the camera is new, it will require online activation. If you've already passed this step, the app must find the device on the LAN automatically. If the camera is not found, try adding it manually. IP-address.

To do this, go to the router settings (usually 192.168.0.1 or 192.168.1.1), find a list of connected clients (DHCP Client List) and copy IP-Camera address. In the app, select "Add device" ->"Other" ->"IP-camera" and enter the data received.

⚠️ Warning: Make sure the router has disabled the "Customer isolation" function AP" (AP If it is active, devices connected over Wi-Fi will not see each other and the phone will not be able to connect to the camera.

Once you pair successfully, you can watch the video in real time, record it to a memory card, and motion detection will work, but notifications won't come because they require an external channel.

Method 2: Access Point Mode (AP Mode) of the camera

Some Xiaomi and Yi camera models support a mode where the camera itself creates a Wi-Fi network, ideal if you don't have a router on hand, and in this mode, the camera acts as a mini router.

To activate this mode, you usually need to press the reset button or mode button on the camera body before the voice message appears or flashing in an indicator color. After that, a network named the camera model will appear in the list of Wi-Fi networks on the smartphone.

If you connect to this network, you lose access to the mobile Internet. Open the Mi Home app, and it should detect the camera in Local Connection mode. Further configuration is similar to working through a router, but the range will be limited to a few meters.

How to increase the range in AP mode?
If the built-in Wi-Fi camera module is weak, you can use a USB Wi-Fi adapter with an external antenna, if the camera model supports external modules through OTG or has an appropriate port, however, this requires soldering or the presence of specific drivers in the firmware, which is rare in stock devices.

The advantage of this method is that it's completely autonomous from other infrastructure, and the disadvantage is that you can't access remotely, and you can only see the image from the camera's immediate vicinity.

This method is often used to initially adjust the settings, after which the camera can be moved to the network with the router.

Use of RTSP and ONVIF protocols

For advanced users who want to get rid of their dependence on Xiaomi servers, there is the possibility of using standard video surveillance protocols. RTSP (Real-Time Streaming Protocol) allows you to stream video directly.

If your camera supports ONVIF (stanart IP-You can connect it to any video recorder (NVR) or a computer with software VLC Player or Blue Iris, and Mi Home is not needed at all.

ParameterDefault valueNote
Port Port RTSP554Standard port for video streaming
HTTP port80Used for the web interface
Login.adminOften a change in settings is required
Password.It's user-defined.Without a password, access may be denied
The flow/stream1Depends on the camera model.

To enable this feature, you often need to activate the developer mode in the application or use special scripts. rtsp://username:password@ip_address:554/stream1.

Using these protocols reduces the load on the camera processor, as it eliminates encryption used in Xiaomi cloud channels. However, the image quality can be limited by the bitrate of the local network.

πŸ’‘

To view RTSP stream on Android, use the VLC or MX Player app by entering the camera’s network address, allowing you to use the phone as a monitor without installing heavy branded apps.

Solving Frequent Problems with Local Connection

One of the common problems is conflict. IP-If the router is giving out addresses from a range that is already occupied by another device, the camera will not be able to connect. DHCP router and change the address pool, for example, to 192.168.100.x.

Users also often face incompatibility with encryption standards: Older cameras may not support WPA3, and newer routers default to WPA2-PSK (AES) for maximum compatibility.

If the camera is constantly writing "Device offline", check the time settings. Time out of sync for more than 5 minutes can result in a denial of security certificates, even on a local network.

⚠️ Note: When you reset the camera to factory settings (Reset button), all network configurations are removed. You will have to retransmit Wi-Fi passwords, which without the Internet can be difficult if the application requires online password validation.

In some cases, static registration helps. IP-This ensures that the address of the device does not change after the reboot, and the links to the video stream remain functional.

Security of the local video surveillance network

The lack of internet does not automatically make your network secure. If someone connects to your router physically or via Wi-Fi, they can access the video stream. Be sure to set a complex password on the Wi-Fi network.

Change the standard administrator passwords on the camera itself and in the router interface. Factory passwords like admin/admin are known to all attackers and are the first loophole to penetrate.

It's recommended that you create a guest Wi-Fi network for the camera, which isolates the video surveillance device from your personal computers and smartphones, and if the camera is hacked, a hacker will not be able to access your files on the PC.

πŸ’‘

A local network without Internet access is one of the safest ways to use a smart camera, as remote hacking from an external network becomes technically impossible.

Regularly update your camera firmware when Internet access is available, and manufacturers often close vulnerabilities in local communication protocols that can be used to attack.

Can you control Xiaomi’s camera via a 4G modem without a SIM card?
No, to work through the cellular network modem requires active SIM-A card with a data plan and Internet access, without a SIM card, the modem will not be able to register with the operator's network and transmit data.
Will a motion detector work without the internet?
Yes, image analysis algorithms run on the camera's processor, and the device will record motion and record a video to a memory card, but it won't be able to send you a notification to your phone.
How to view a record from a memory card without removing the card?
In the Mi Home app, local connection mode (when the phone and camera are on the same network) provides archive viewing, and you can view and download videos directly from the camera memory card to the phone.
Are the time settings reset after switching off?
Most Xiaomi models have a built-in battery to store time settings, but it does not hold the charge for long (a few hours), after a long downtime, the time will have to be synchronized again through the application.
Does all Xiaomi cameras support internet-free work?
Most models have basic mapping and LAN browsing functionality, but some new AI models may require periodic online activation to allow recognition algorithms to work.