How to connect Xiaomi devices: a step-by-step guide

Xiaomi’s ecosystem has long outgrown the boundaries of smartphone production to become a giant conglomerate of smart devices that can make a home truly interactive. Connecting gadgets is the first and most important step to creating a comfortable environment, whether it’s controlling the light of the voice or automatically turning on the humidifier when humidity drops. The process of synchronizing equipment with a mobile application can seem difficult for a beginner, but with the right approach takes only a few minutes.

In this article, we will take a closer look at the nuances of how devices interact with the Mi Home and Xiaomi Home platform, explore the differences between communication protocols, and help you avoid common errors in the initial setup. You will learn why it is important to choose the right server region and how the stability of Wi-Fi affects the response speed of smart outlets or motion sensors. Competent integration of all elements of the system ensures stable scenarios in the future.

It’s worth noting that different categories of devices require a personalized approach: if a smart light bulb is easy enough to screw in and find in Bluetooth, then a Zigbee gateway or video camera is more complex. We have prepared a comprehensive guide that covers the entire range of popular technology, from robot vacuum cleaners to water leakage sensors, providing you with the knowledge to build a reliable smart home network.

Infrastructure preparation and application selection

Before you start directly pairing gadgets, you need to make sure that your smartphone and home network are ready to work with the Internet of Things. The foundation of the entire system is a stable Wi-Fi connection running at 2.4 GHz, since the vast majority of budget IoT devices do not support the 5 GHz band. If your router combines both frequencies under the same name (Smart Connect feature), it can be difficult to find the device, so it is recommended to temporarily split the networks or disable 5 GHz during the setup.

The main management tool is the official application, which in different regions can be called Mi Home or Xiaomi Home. When registering an account, it is critical to choose the right server region, since this depends on the list of available devices and their response speed. For example, for equipment purchased in China, you often need to choose the region “China”, whereas for global versions, “Russia” or “Europe” will suit.

⚠️ Note: If you change the region in the application, all previously added devices will disappear from the list and you will have to configure them again.

Also make sure that all the necessary permissions are included on the smartphone: geolocation (GPS), Bluetooth and LAN access. GPS-The Android app module may not see Nearby devices in the search process. System constraints of modern operating systems require precise location for detection protocols to work, and ignoring this item is a common cause of errors at the start.

💡

Use guest Wi-Fi for smart devices if you’re afraid for the security of the main network, but make sure that the router’s settings allow interaction between customers within the guest network.

Algorithm of connection via Wi-Fi and Bluetooth

The most common scenario is to connect devices directly to the router via Wi-Fi or Bluetooth Low Energy.The process is usually triggered by clicking the Add Device button in the upper right corner of the app's home screen.The system will automatically start the scan, and if the gadget is in pairing mode, it will appear in the Finded Devices list.

For devices with a screen or reset button, you need to put them in the (pairing) mode. Most often, this requires you to pinch a certain key combination for 5-7 seconds before the voice message or indicator flashes. Visual status indication helps you to determine whether the device is ready for data transfer.

☑️ Connection readiness

Done: 0 / 5

Once you have selected a device, the app will suggest you enter a password for your Wi-Fi network, and it's important to be careful: if the password contains special characters, make sure that they are entered correctly, as some simple devices may not handle complex character combinations correctly. During the setup process, the phone may switch between Wi-Fi and mobile Internet several times - this is normal system behavior.

  • 📱 Make sure your smartphone is connected to a 2.4 GHz network, not 5 GHz.
  • 🔋 Check the battery charge of the device if it is autonomous, or the presence of power in the socket.
  • 📶 Get closer to the router during the initial setup for a better signal.
  • 🔄 Restart your router if the device search takes more than 2 minutes without a result.

If the automatic search failed, you can use manual mode by selecting the device from the catalog by category or brand, in which case the application will provide accurate instructions for entering into pairing mode for a particular model, whether it is a kettle or an air purifier.

Setup Zigbee devices through the gateway

Zigbee differs from Wi-Fi in that the devices do not connect directly to the router, but form a mesh network through a central hub (gateway), which allows you to significantly reduce the power consumption of sensors and increase the range of the network by relaying the signal by each device. To start, you will need the gateway itself, which is pre-connected to Wi-Fi in the way described above.

Once the gateway is set up, the process of adding peripherals (sensors, switches) takes place through the hub's menu itself. You open the gateway interface in the application, select Add a Subordinate Device, and activate the sensor search mode (usually with a short press of a button). Zigbee automatically assigns each new member a unique ID and encrypts the data transmitted.

The advantages of Zigbee over Wi-Fi
Zigbee devices consume significantly less power, which allows sensors to work for years on a single battery, and they do not create a load on the main Wi-Fi channel of the router, which is important with a large number of gadgets.

An important feature is the ability to create scenarios that work locally even when there is no Internet, if the gateway and the control device are on the same network. However, for remote control from the outside, a stable connection to the cloud will still be required. Xiaomi gateways often act as night lights or sound emitters, performing several functions simultaneously.

ParameterWi-Fi devicesZigbee devices
Energy consumptionHigh.Low.
Dependence on the lockNot requiredHub required
Router loadTall.Absent.
AutonomyLow.Tall.

When you expand, remember that every Zigbee device powered by the network (like a smart socket) becomes a signal repeater, increasing the network coverage in the home. The battery-powered sensors do not relay the signal, but only send data.

📊 What type of connection do you use more often?
Wi-Fi Directly
Through the Zigbee gateway
Bluetooth Mesh
Matter/Thread only

Integration of specific equipment: vacuum cleaners and cameras

Connecting robotic vacuum cleaners and IP-The cameras have their own characteristics related to the volume of data transmitted and security requirements. Robot vacuum cleaners in the Roborock or Mijia series often require not only a connection to Wi-Fi, but also binding to the manufacturer's account to obtain room maps and map updates. After turning on the vacuum cleaner, you must press the combination of buttons (usually “Home” and “On / Off”) before the appearance of a voice message about the pairing mode.

Security cameras require special attention to setting the time and date, since in the absence of synchronization, archive recordings can be incorrect. When first turned on, the camera may not have access to the Internet, so the application will transmit to it the Wi-Fi settings via the phone’s ultrasonic speaker signal or via the phone’s ultrasonic signal. QR-The stability of the channel is critical here: for high-resolution video transmission (1080p and above) a confident signal is required.

⚠️ Warning: When setting up cameras, be sure to immediately change the standard password and enable two-factor authentication if the model supports this feature to protect privacy.

Some vacuum cleaners and cameras may require a separate partner app (e.g. Roborock or Yeelight) which then links to the main Mi Home account via the Profile -> Add Mi Account section, which allows all devices to be combined into one interface despite software differences.

Scenario creation and automation

Once all devices are connected, the stage of creating a smart home that works itself comes. The Scenarios section (or Automation) allows you to link the actions of some devices to the reactions of others. The logic is simple: "If" (condition) - "That" (action) The conditions can be the time of day, the sensor reading, the user's geolocation or a voice command.

For example, you can set up a “I’m at home” scenario that will automatically turn on the lights in the hallway, trigger the air purifier, and open the curtains as soon as your phone connects to your home Wi-Fi. Complex scenarios can include delays, “I”/”OR” conditions, and interacting with external weather services.

  • 🌅 Morning: At 7:00 smoothly turn on the lights and report the weather.
  • 🔒 Security: When activating No Home mode, turn off the lights and turn on the camera.
  • 🌡️ Climate: If the temperature is above 25°C, air conditioning on.
  • 🚿 Bathroom: When the motion sensor is activated, turn on the hood.

💡

Local scenarios tied to Zigbee sensors and gateways are faster and more reliable than cloud-based scenarios that depend on internet speed.

Don't overload the system with too complex chains of action, as this can lead to desynchronization. Start with simple bundles and gradually complicate the logic as you test each step. The application allows you to create script shortcuts on your smartphone desktop or widgets for quick access.

Typical Problem Solving and Diagnostics

Even with perfect preparation, there may be situations when the device does not connect or periodically loses communication. The most common reason is a change in the Wi-Fi password or a change in the settings of the router (for example, turning on filtering by using the router). MAC-In this case, a complete reset of the device to the factory settings (usually pressing the button for 10 seconds) and re-binding helps.

If the device is “Offline”, but is in the network coverage area, try to change the server region in the application to “China” (for Chinese versions) or reboot the router. Also, problems can be associated with updating the firmware of the gadget itself: in the “Profile” -> “Settings” -> “Updates Check” section, you can find the current version of the software.

The way to reset the network:


Settings → About the device → Reset (or physical button Reset)

For advanced users, diagnostics is available through log files that can be uploaded to support. In the Mi Home app, this is done through the device menu: three dots in the corner -> Feedback or Diagnostics. An accurate description of the problem and a router model will help engineers find a solution faster.

What if the device is not visible in the search?
Make sure that Bluetooth is on and the app has permission to access it. Try to get closer to the device (up to 1 meter). If it doesn't work, remove the device from the socket for 10 seconds and turn it on again, then start the search immediately. For Wi-Fi devices, make sure that the phone is not using mobile Internet at the time of search (you can temporarily turn off 4G/5G).
Can I connect a device without the internet?
Initial configuration of almost all Xiaomi devices requires Internet access to log in and obtain encryption keys. However, once set up, some devices (especially Zigbee and local Wi-Fi) can run on-premises scenarios without access to the outside world, but external control through the application will not be available.
How to untie the device from an old account?
If the device was linked to another account, the new user will not be able to add it, either asking the previous owner to remove the device from their application, or performing a full hardware reset if the model allows you to unlock the device with a long pressing of buttons.