How to connect Xiaomi Mi Basic to the phone and smart home: instructions with photos and tips

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.
πŸ“Š What Xiaomi Mi Basic device do you connect?
Smart socket
Temperature/humidity sensor
Lamp or LED tape
Motion sensor
Other

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:

ParameterMinimum requirementRecommended value
Wi-Fi standard802.11 b/g/n (2.4 GHz)802.11n (2.4 GHz) or dual-band with 5 GHz off at setup time
Type of encryptionWPA2-PSKWPA2-PSK (AES)
Wi-Fi channel1–111, 6 or 11 (less loaded)
Internet speedFrom 2 Mbps10 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:

  1. Sign up or sign in to an existing Xiaomi account (be sure to link your phone number to restore access).
  2. Choose Russia (or Mainland China if you are planning to use Chinese firmware).
  3. Allow all geolocation, Bluetooth and notification requests.
  4. 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.

  1. 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).
  2. 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).
  3. 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?
If the Xiaomi Mi Basic is not in the app, try: 1. Reboot the router and smartphone. 2. Make sure the device is in pairing mode (the indicator flashes quickly). 3. Check if the antivirus is blocking or not. VPN Access to Xiaomi servers. 4. For ZigBee devices: reboot the gateway (turn off power for 10 seconds). 5. Reset the device to factory settings (hold the 15-20 second button until the beep or color change indicator).

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 causeDecision
The indicator flashes red.Misconnection to Wi-Fi or Xiaomi serversCheck the Wi-Fi password. VPN/antivirus.Reboot the router.
The device is "hang" by 99%Unstable Internet connection or firewall blockingConnect your smartphone to another network. Turn off the firewall on the router.
Mi Home doesn't see the deviceDevice not in pairing mode or incompatible firmwareReset 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 phoneTurn 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.

FAQ: Frequent questions about connecting Xiaomi Mi Basic

Can I connect Xiaomi Mi Basic without the Mi Home app?
Yes, but with limitations. Alternative ways: Home Assistant with Xiaomi Miio integration (token needed); OpenHAB or ioBroker with Xiaomi plugin; For outlets/lamps: Tasmota firmware or ESPHome (requires firmware reflashing); Without the Xiaomi cloud service, you will lose access to management from anywhere in the world, but local management will work more stable.
Why Xiaomi Mi Basic is switching off Wi-Fi?
Main causes: πŸ“Ά Weak Wi-Fi signal (check the signal level at the installation site). ⚑ Energy-saving router mode (disconnect) WMM green AP customized). πŸ”„ Conflict IP-Addresses (set up static) IP router). πŸ“± Firmware update (sometimes resets network settings) Solution: reboot router and device, check settings DHCP.
How to reset Xiaomi Mi Basic to factory settings?
The method of reset depends on the model: πŸ”Œ Sockets/lamps: Hold the button for 10-15 seconds until the indicator flashes (usually 3 times). πŸ”‹ Sensors: Remove and re-insert the battery, then hold the reset button (if any). πŸ“‘ ZigBee Devices: Hold the button on the Mi Gateway 5 seconds before the sound signal, then reset the sensor (hold its 10 sec button.
Can you use Xiaomi Mi Basic with other smart homes (Yandex, Google, Apple)?> Yes, but with reservations: πŸ—£οΈ Yandex: Only through Mi Home with Russia region. 🎀 Google Assistant: Supports most devices with Mi Home or Home Assistant. 🍏 Apple HomeKit: Requires OpenMiHome firmware or HomeBridge Bridge. IFTTT Third-party services like Node-RED.
How to update the firmware on Xiaomi Mi Basic manually?
If the automatic update doesn’t work: Download the firmware for your model from the official website or GitHub. In Mi Home, go to your device settings β†’ Firmware update β†’ Local file. Select the downloaded file and wait until it is finished (don't turn off the power!). For ZigBee devices, the update is done via the Mi Gateway gateway.