Xiaomi smart devices have long been an integral part of modern homes, and the Mi Basic line is an affordable way to automate lighting, sockets or sensors without unnecessary costs. However, even with simple gadgets, users often have questions: how to connect a device correctly, why it is not detected in the application, or how to avoid synchronization errors. This article will help you understand all the nuances from unpacking to integration into the Mi Home system or Apple HomeKit (for supported models).
We will look not only at the standard connection procedure, but also at common issues (for example, when the indicator flashes red or the device βhangsβ during the pairing stage), as well as alternative ways to configure via Mi Home Lite or third-party firmware. We will pay special attention to compatibility with different versions. Android/iOS branded MIUI β If you've just bought a Xiaomi Mi Basic (whether it's a power outlet, a lamp or a sensor), start with the first partition. If you've tried to plug in, but something's gone wrong, go straight to the problem-solving section.
1.What is included in the kit Xiaomi Mi Basic and how to check the complete set
Before connecting, it is important to make sure all the necessary elements are in place.Standard packaging Xiaomi Mi Basic (e.g. models) MJCTD02YL β temperature and humidity sensor or ZNCZ04LM β smart socket includes:
- π¦ The device itself (outlet, lamp, sensor, etc.) in the protective film.
- π Short instructions in several languages (often without Russian).
- π Power cable (for sockets/lamps) or battery (for sensors).
- π§ Fixing elements (if provided by the design, for example, for wall sensors).
Note the model markings, which are on the box and the device itself (usually on the back sticker), which can be used to find firmware or check compatibility, such as ZigBee sockets (e.g., ZigBee sockets, QBCZ11LM) Xiaomi Mi Gateway Hub and Wi-Fi-enabled models (like the ones) ZNCZ12LM) connect directly to the router.
If the kit is missing any of the above (for example, there is no battery for the motion sensor). RTCGQ11LM), check:
- π It may be hidden under a battery tray or in a separate bag.
- π Some models are sold without batteries (indicated in the product description).
- π If the equipment is clearly incomplete - contact the seller with a photo of the contents of the box.
Preparation for connection: telephone and network requirements
To make the connection go smoothly, you need to fulfill several preconditions. First, check the version of the operating system on your smartphone:
- π± Android: Minimum Version β 5.0, recommended 7.0 and above MIUI 12/13/14 work-in).
- π iOS: no lower than 10.0 (for full compatibility with Mi Home you need version 12.0)+).
Second, make sure your router meets the following requirements:
| Parameter | Minimum requirement | Recommended value |
|---|---|---|
| Wi-Fi standard | 802.11 b/g/n (2.4 GHz) | 802.11n (2.4 GHz) or dual-band with 5 GHz off at setup time |
| Type of encryption | WPA2-PSK | WPA2-PSK (AES) |
| Wi-Fi channel | 1β11 | 1, 6 or 11 (less loaded) |
| Internet speed | From 2 Mbps | 10 Mbps (for fast synchronization) |
Critical: Xiaomi Mi Basic (with rare exceptions) does not support 5GHz networks. If your router is dual-band, temporarily disable 5GHz network or create a separate 2.4GHz network with a different name (SSID). Also check that the router settings have turned off the filter. MAC-addresses and included DHCP (autoappointment IP).
β οΈ Attention: If you are using MIUI 14+ on the Xiaomi smartphone, before connecting, disable the function Private DNS It can block access to Mi Home servers, which will cause an error: "Unable to connect to the device".
3. Installation and configuration of the Mi Home app
The official Mi Home app (or Mi Home Lite for older devices) is the main tool for managing Xiaomi Mi Basic.
- π€ Google Play for Android).
- π App Store (for iOS).
After installation, follow the following steps:
- Sign up or sign in to an existing Xiaomi account (be sure to link your phone number to restore access).
- Choose Russia (or Mainland China if you are planning to use Chinese firmware).
- Allow all geolocation, Bluetooth and notification requests.
- Update the application to the latest version (in profile settings).
If the application requests access to the location, do not refuse β without this, some devices (for example, Mi Basic sensors) will not be able to determine their location for the correct operation of automatic scripts. We also recommend to enable Auto Update firmware in the application settings (Devices section). β Updates).
Install Mi Home|Registering a Xiaomi account|Select the region of Russia|Disable 5 GHz on the router|Allow geolocation in the annex-->
4. Step-by-step instructions for connecting the device
The connection process depends on the type of device, but the overall scheme is the same for most Mi Basic models.
- Turn on the device: π For sockets/lamps: insert the network and wait for the indicator to flash (usually orange or blue). π For sensors: insert the battery (polarity is indicated on the body).
- Activate the pairing mode: π Press and hold the button on the device for 5-10 seconds (for sockets β usually one button on the case). πΆ The indicator should start flashing quickly (blue or orange β depending on the model).
- Add the device to Mi Home: π± In the app, click + β Add the device. π Select a category (for example, "Rosettes" or "Sensors"). π Follow the instructions on the screen (the app will determine the model itself).
Connect to the Wi-Fi network:
- πΆ Select your 2.4GHz network and enter your password.
- β³ Wait for the process to be completed (may take up to 2 minutes).
For ZigBee-based devices (e.g., door opening sensor) MCCGQ11LM) You'll need a Xiaomi Mi Gateway, plug it into the outlet, wait for a voice greeting ("Device ready to go"), and then add it via Mi Home. β Locks. β Add it. Then we can start pairing sensors.
What if the device is not identified in Mi Home?
5. Common mistakes and their solutions
Even if you follow instructions correctly, users face problems, and here are the most common mistakes and ways to fix them:
| Mistake. | Possible cause | Decision |
|---|---|---|
| The indicator flashes red. | Misconnection to Wi-Fi or Xiaomi servers | Check the Wi-Fi password. VPN/antivirus.Reboot the router. |
| The device is "hang" by 99% | Unstable Internet connection or firewall blocking | Connect your smartphone to another network. Turn off the firewall on the router. |
| Mi Home doesn't see the device | Device not in pairing mode or incompatible firmware | Reset the device (hold the 15 sec button). Update the Mi Home to the latest version. |
| After connecting, the device is disconnected. | Energy-saving mode of router or phone | Turn off "Sleep Mode" for Wi-Fi on the router. Add Mi Home to the battery optimization exceptions (on Android). |
If the device is connected but is not working properly (for example, a smart socket) ZNCZ04LM It does not turn off by timer, check it out:
- π Time zone in Mi Home (must match the phone).
- π‘ Wi-Fi signal level at the installation site (must be at least 70%).
- π Availability of firmware updates (in the device card in Mi Home).
β οΈ Note: If you are using Xiaomi Mi Basic with firmware for the Chinese region (Mainland China), some features (such as voice control via Alice) may not be available.To fix this, change the region in Mi Home to Russia and perform a device reset.
6. Alternative ways of connecting (without Mi Home)
Not all users are comfortable using Mi Home, for example, due to a Xiaomi account or region restrictions, and alternatives may be considered:
- π Home Assistant: Open platform for smart home, supporting Xiaomi Mi Basic through Xiaomi Miio integration. You will need to get Miio Token (instructions are available on the official website).
- π Apple HomeKit: Some models (e.g. Xiaomi Mi Smart Socket) EU) Support HomeKit through third-party firmware (such as OpenMiHome) and require a Raspberry Pi or other server for the bridge.
- π€ Tasker/Automate: Automation without cloud services. HTTP-localization API Devices (documentation available on GitHub).
For experienced users, manual mode is also available through Telnet/SSH. For example, to control a smart outlet ZNCZ04LM commands can be used:
Connect to your device (replace IP with current)
telnet 192.168.1.100 9898
Powering the socket
{"method":"set_power","params":["on"]}
Turn off the socket
{"method":"set_power","params":["off"]}Please note: this method requires static IP for the device on the network and disable cloud synchronization in Mi Home (otherwise the settings will reset).
xiaomi_miio:
host: 192.168.1.100
token: YOUR_TOKEN_HERE
The token can be obtained through the Mi Home Token Extractor app (available on GitHub).-->
7. Integration with voice assistants (Alice, Google Assistant, Siri)
One of the main reasons for buying Xiaomi Mi Basic is the ability to control voice.
- π£οΈ Yandex Alice: Supports only devices connected via Mi Home with Russia region. β Smart home. + β Xiaomi and log in. Select the sync devices.
Google Assistant:
Mi Home
Home Assistant
- "OK Google, turn on the socket in the hallway."
- "Hey Google, set the temperature to 22 degrees" (for sensors with thermostat).
Siri (HomeKit):
OpenMiHome
HomeBridge
- "Hi Siri, turn off the lights in the bedroom."
If the voice assistant doesnβt see the device, check:
- π The device is tied to the same account as the assistant.
- π‘ Mi Home includes voice control (in device settings).
- π Update the device firmware and assistant app.
π‘
For stable work with voice assistants, use the Russia region in Mi Home. Chinese firmware (Mainland China) often blocks integration with Alice or Google Assistant.
8.Security and privacy when using Xiaomi Mi Basic
Xiaomiβs smart devices are regularly criticized for data collection, to minimize the risks:
- π Disable unnecessary permissions in Mi Home: Disable access to contacts and camera (unless you use Xiaomi cameras.
- π Use local management: Configure Home Assistant or OpenHAB to work without the cloud. Turn off Cloud Sync in your device settings (if the feature is available).
- π Regularly update your firmware: Check the updates once a month at Mi Home. For advanced users, install custom firmware (e.g. Tasmota for sockets).
If you are concerned about transferring data to China, consider the following measures:
- π‘οΈ Install Pi-hole on your home server to block Xiaomi telemetry.
- π§ Replace the standard firmware with ESPHome or Tasmota (requires soldering and skills to work with the company) ESP8266/ESP32).
- π΅ Disconnect your device from the internet after setting up (suitable for local management via Home Assistant).
β οΈ Note: Xiaomi Mi Basic devices with firmware for the Chinese market (CN ROM) They can send data to servers in China even when cloud sync is disabled. To completely eliminate leaks, use alternative firmware or isolate devices on a separate network with blocking external connections.