Using surveillance systems in places where there is no stable wireless connection is often a necessity for owners of country houses, warehouses or garages. Many users mistakenly believe that Xiaomi smart cameras and the Yi sub-brand are completely useless without constant access to the global network, but this is not the case. Local operation of the device allows you to broadcast video directly to the screen of the smartphone, being in the coverage area of the camera signal.
There are several proven methods of communication between the gadget and the security device, each of which has its own technical features and limitations. In this article, we will discuss in detail how to set up a direct connection using the Hotspot mode of the camera itself, or using a wired connection via an Ethernet adapter, you will learn which functions will remain available and which will cease to work in the absence of the Internet, and how to properly prepare the equipment for autonomous operation.
Before you start to complex manipulation of network settings of the router or purchase additional equipment, it is worth trying the standard features of the Mi Home application. Understanding the principles of LAN will help you create a reliable security system that does not depend on providers and external servers. Letβs consider the main ways to implement this task and choose the most suitable for your situation.
Principles of Xiaomi cameras offline
Fundamentally, the process of transmitting video from camera to phone depends on communication protocols that can function both on the global network and inside the closed loop. When you connect a device to the Internet, the video stream often passes through the manufacturer's cloud servers, allowing you to see the picture from anywhere in the world. However, if you do not have access to a WAN (global network), the camera switches to operating mode exclusively within the local network created by the router or access point.
It is important to understand that in this scenario, the camera does not become fully autonomous in a vacuum, it still needs some central node to create a Wi-Fi signal to which the phone will connect. This node can be the camera itself (access point mode), a mobile phone (modem mode) or a conventional router without connecting the provider's cable. P2P In such circumstances, it is often replaced by direct appeal. IP-network-address.
β οΈ Note: When working without access to the global network, the function of push notifications about movements on the phone will not work, since their delivery requires an active Internet connection on the camera side.
Technically, the Mi Home app can detect that the device is on the same subnet as the smartphone and switch to direct stream.This requires that both devices are in the same address range. For example, if the camera received 192.168.1.5, then the phone must receive the address of the type 192.168.1.X. Violation of this rule will lead to a connection error, so the correct configuration of DHCP or static IP is critical.
Also, consider the power consumption and heat generation of the equipment. With continuous video broadcasting to the local network, the load on the camera processor increases, as buffering and encoding occur continuously. Using high-quality memory cards with a high recording speed class will help reduce the load on internal memory and ensure smooth video streaming when viewing in real time.
Method 1: Connect via the cameraβs access point
The most offline way, which does not require a router at all, is to use the built-in Wi-Fi camera module as an access point. Many Xiaomi and Yi Home models have the function of creating their own network that you can connect to directly. To activate this mode, you usually need to physically press the reset button or a special key on the device body before a voice message or an indicator flashes.
Once the camera goes into standby mode, it will create a network with a name that contains the device model or its unique ID. You need to go to the Wi-Fi settings on your smartphone, find that network and enter the password. The standard password is often listed on the sticker at the bottom of the camera case or in the instructions, usually a combination of 8 characters or the word 12345678.
- π± Press the reset button on the camera before the beep.
- π‘ Find a Wi-Fi network with the camera name in the list available on your phone.
- π Enter the default password (specified on the case).
- π₯ Open the app and add the device through a search on the local network.
Once successfully paired in the Mi Home app, the camera can be defined as a new device or as an existing device that works locally, in which the video latency is minimal because the data does not pass through external servers, but the range of such a connection is limited by the power of the camera antenna, usually no more than 10-15 meters of line of sight.
Restrictions of the access point mode
An important nuance is that when you connect to the Wi-Fi camera, your phone loses access to the Internet through mobile networks (many Android smartphones block data transmission over the cellular network by default if Wi-Fi is active without the Internet). To get around this, you need to find the "Transfer mobile data" item in the phone settings or a similar one that allows simultaneous operation.
Method 2: Organizing a local network through a router
A more stable and professional option involves using a conventional Wi-Fi router that is not connected to the provider's cable, in which the router acts solely as a switch that creates a local network to which both the camera and the smartphone connect, which allows you to organize a video surveillance system in the country or garage where there is electricity, but there is no wired Internet.
To do this, you'll need to pre-set your camera, connect it to your home Wi-Fi with the Internet, so it can remember the network, and then you can take the router, set it up with the same network (SSID and password must match your home) and install it on the facility, and the camera automatically connects to this router, thinking it's home, and it's ready to go.
| Parameter | Home network | Local area network (object) |
|---|---|---|
| Network name (SSID) | MyHomeWiFi | MyHomeWiFi |
| Password. | StrongPass123 | StrongPass123 |
| Access to the Internet | There is. | No. |
| Camera connection | Automatic. | Automatic. |
When you arrive at the facility, you will need to connect your phone to the router's Wi-Fi network. Since the name and password are the same as what the camera "knows" the connection will be established automatically. In the Mi Home app, the device may appear as "Offline" due to lack of communication with the cloud, but when you try to log in to the camera interface, the video stream must start.
π‘
Use guest-enabled routers to isolate the camera from other devices if you decide to connect this router to the internet in the future to update your firmware.
It is worth considering that in this configuration, the time on the camera can be lost, since synchronization through the camera is not possible. NTP-To correctly display the time on the records, it is recommended to periodically connect the system to the Internet or use cameras with built-in battery and support for synchronization of the system. GPS (But for Xiaomi home cameras, itβs rare).
Using an Ethernet Adapter for Wired Connection
Some Xiaomi camera models (mainly street versions and professional ranges) are equipped with an Ethernet cable port or support this feature via a mobile phone. USB-Adapter: This is the most reliable way to ensure a stable video stream, because a wired connection is less prone to interference and breaks than a wireless connection.
To connect, you'll need the adapter itself (if it's not built-in), a patch cord, and a router. The camera is connected by cable to the device. LAN-The port of the router, which, like the previous method, may not have access to the global network, the smartphone connects to the Wi-Fi of the same router, the advantage of the method is that the camera receives constant power (if using PoE or a separate unit) and maximum data transfer speed.
Checking IP- camera addresses:
1. Open the network scanner application (e.g., Fing).
2. Find a device with a vendor "Xiaomi" or "Yi".
3. Write down IP- an address, for example 192.168.0.105.In some cases, if the Mi Home app refuses to see the camera without the internet, you can try adding the device manually to the camera. IP-address, if the application functionality allows it, or use specialized ONVIF-Xiaomi cameras often support the standard ONVIF, Which makes them compatible with many third-party video surveillance software.
β οΈ Note: When using USB-Ethernet adapters, make sure that the camera supports a specific adapter model.Not all chipsets are compatible, it is recommended to use original accessories or proven analogues based on chips. ASIX.
Set up the Mi Home app for local work
The correct operation of the entire system depends not only on the hardware, but also on the software settings of the Mi Home application. First of all, you need to make sure that the application is allowed to use the local network. On iOS, it is a security requirement of the system, on Android, it is a permission setting.
Go to your phone's settings, find the Mi Home app and check the permissions. Local Network access rights and, preferably, location permission (required to scan Wi-Fi networks on Android) must be activated. Without those permissions, the app simply won't "see" the camera in the local perimeter.
βοΈ Checking the application settings
Also in the application itself, you should disable the Smart Scenes feature, which may try to activate other devices in the house, which in the absence of the Internet will lead to errors and delays. Go to Profile β Settings β General and make sure that the region is chosen correctly (often the βChinaβ region works better for working without the Internet, but this depends on the model).
If the camera still doesn't connect, try changing the video encoding mode. In the camera settings, find "Video quality" or "HD" and switch it to "Balance" or "Traffic Savings." This will reduce the bitrate of the stream, which can help break through the connection through the local network with an unstable signal.
Possible problems and ways to solve them
The most common problem is that the camera displays as "Offline," but when you log in, it shows a black screen or an infinite connection, which is often because the phone tries to access the cloud server for an access token, doesn't get a response, and freezes. Solution: force the application to close, turn on and off the air mode on the phone, then try again.
Another common situation is time out-of-synchronization. NTP-So, the camera resets the time to the factory every time it reboots, and that's critical for the record archive. Solution: some users install a Raspberry Pi on the local network, or an old open source router (OpenWrt), which gives out the correct time over the protocol. NTP, web-server.
- π Reboot: Turn off the camera and router power for 10 seconds.
- πΆ Wi-Fi Channel: Make sure the camera and phone are on the same frequency (2.4GHz).
- π Power: Use a power supply with sufficient current (usually 2A).
- π² Cash: Clear the cache of the Mi Home app in your phone settings.
If you use a method with a router without internet, make sure it is turned off. DHCP-server if there is another active server on the network DHCP, Or vice versa, if the router is the only one, conflict. IP-Addresses are a common reason devices donβt see each other.
π‘
The stability of local video surveillance depends on the quality of the router and the absence of conflicts. IP-web-address.