Why Xiaomi Sensors Need the Right Connection
Xiaomiβs temperature and humidity sensors have become an integral part of smart home systems because of their accuracy, compactness and affordable price, allowing them to monitor the indoor climate in real time, retrieving data directly to a smartphone. However, many users face difficulties already at the stage of pairing the sensor with the phone - especially when it comes to models. LYWSD03MMC, Aqara TH1 Mijia Bluetooth Temperature and Humidity Sensor 2.
Problems arise from the variety of communication protocols (Bluetooth, Zigbee, Wi-Fi), regional limitations in the Mi Home application, as well as the features of the firmware of the sensors themselves (BLE) The device requires a constant presence of the phone in range, whereas Zigbee devices need a hub like Xiaomi Gateway. Incorrect setting can lead to loss of communication, incorrect readings or even complete inoperability of the gadget.
In this article, we will look at all the stages of connection, from choosing a compatible model to setting up notifications and integrating with other devices in the Xiaomi ecosystem, and focus on the typical errors that users make when they first start up and how to fix them without going to the service center.
What Xiaomi sensors are compatible with your phone
Before you buy a sensor, it is important to make sure that it supports connecting directly to the smartphone. Not all Xiaomi models work on this principle β some require additional equipment. Below is a table with the current devices for 2026 and their features:
| Sensor model | Protocol of communication | Need a hub? | Support for Mi Home | Features |
|---|---|---|---|---|
| LYWSD03MMC | Bluetooth BLE | No. | Yes (China region) | Autonomous operation up to 2 years, accurate sensor SHT30 |
| Aqara TH1 (WSDCGQ11LM) | Zigbee | Yes (Xiaomi Gateway) | Yes (all regions) | Automation support, external sensor |
| Mijia Bluetooth 2 (LYWSD02) | Bluetooth BLE | No. | Yes (China/Europe region) | E-ink display, battery life 1 year |
| Xiaomi ClearGrass (CGG1) | Zigbee | Yes. | Yes (all regions) | For greenhouses, high water protection |
Note: Bluetooth sensors (for example, LYWSD03MMC) Zigbee devices require a gateway (Xiaomi Gateway 3 or Aqara Hub) but provide stable communication at a distance of up to 50 meters and support automation via Mi Home Automations.
β οΈ Note: If you buy a sensor outside of official channels (e.g. AliExpress), check its regional firmware. Devices for the Chinese market may not support Russian in the application or require you to change the region in Mi Home.
Preparing the phone for connection
There are several mandatory steps to follow before pairing the sensor with the phone, and neglecting them can cause malfunctions or inability to detect the device.
First, make sure that your smartphone has the latest version of the Mi Home app, which you can download from official stores:
- π± Android: Google Play (version no lower than 6.5.0)
- π iOS: App Store (version no lower than 6.4.6)
Second, turn on Bluetooth and geolocation (for mobile phones) BLE-Devices) or connect to the same Wi-Fi network as the Xiaomi Gateway (for Zigbee devices:
- π Update your phoneβs firmware to the current version (especially important for Android 12 devices)+ Due to limitations on background processes).
- π΅ Disable power saving modes that can block Bluetooth in the background.
- π Provide Mi Home with all necessary permissions: access to location, notifications and contacts (for some features).
β οΈ Note: On Xiaomi, Redmi or POCO shelled MIUI Check AutoRun and Without restrictions for the Mi Home app, otherwise communication with the sensor may be interrupted after locking the screen.
Install/update Mi Home to the latest version|
Enable Bluetooth and geolocation |
Connect to Wi-Fi (for Zigbee devices)|
Disconnect power saving modes|
Provide all permissions to the application-->
Step-by-step instructions for connecting the sensor
Letβs consider the pairing process on the example of a popular sensor LYWSD03MMC (Bluetooth BLE). For Zigbee devices, the algorithm will be different β we will talk about this in the next section.
Step 1: Removing the sensor from the package
Take the device out of the box carefully, and on the back you'll find a protective film that you need to remove, which blocks the battery contacts, and after removing the film, the sensor will automatically turn on (blinds the blue indicator).
Step 2: Adding the device to Mi Home
- Open the Mi Home app and go to the Devices tab β Add the device (badge Β«+Β» top-right).
- Select the Sensors category β Temperature and humidity.
- In the list of models, find LYWSD03MMC (If the device is not listed, click on the Other Device and select Bluetooth.
- Click Next and wait for the app to detect the sensor. This can take up to 30 seconds.
Step 3: Set up the parameters
After successful connection:
- π Specify the room where the sensor will be located (for example, βBedroomβ or βChildrenβs roomΒ»).
- π Select a region (important for correct display of units of measurement).
- π Set up notifications about the outlier of the normal values (for example, humidity below 40% or temperature above 28).Β°C).
Step 4: Checking the performance
Go to the device's home page in Mi Home, where you'll see the current temperature and humidity readings, and the graph of changes over the past 24 hours. If the data isn't updated, try:
- π Reboot the sensor (remove and insert the battery back in).
- π± Re-launch the Mi Home app.
- π Reconnect the device (remove it from the list and add it again).
π‘
If the sensor is not detected, try to bring it as close to the phone as possible (at a distance of 1-2 meters) and turn off other Bluetooth devices that may cause interference.
Features of Zigbee sensors (Aqara, ClearGrass)
Zigbee-based sensors (e.g. Aqara) TH1 They don't connect directly to the phone, they need an intermediate device, a gateway (Xiaomi Gateway, Aqara Hub or Home Assistant with Zigbee-dongle). TH1:
Step 1: Connect the gateway
If you donβt already have a gateway, add it to Mi Home first:
- Connect Xiaomi Gateway to the socket (orange indicator will light up).
- In the app, select Add Device β Locks. β your model of the gateway.
- Connect the gateway to a Wi-Fi network (2.4 GHz! only).
Step 2: Adding a sensor to the gateway
Now add the sensor itself:
- Press and hold the button on the Aqara sensor. TH1 5 seconds until the indicator starts flashing yellow.
- In Mi Home, select Add Device β Through the lock. β gateway.
- The sensor should appear in the list of available devices. Select it and complete the setup.
Step 3: Set up automation
The advantage of Zigbee sensors is that you can create scripts, for example, you can configure:
- π‘οΈ Automatically turn on the smart heater if the temperature has dropped below 20Β°C.
- π§ Notification to the phone when the humidity is 70% (mould risk).
- π Synchronize data with Google Home or Apple HomeKit (via Aqara Hub).
β οΈ Note: If the sensor is not added through the gateway, check its compatibility.Some Aqara models (e.g., Aqara, FP1) Require a branded hub Aqara Hub and do not work with Xiaomi Gateway.
How to reset the Zigbee sensor to factory settings?
Typical errors and their elimination
Even with the right connection, users often face problems, and the following are the most common errors and ways to solve them:
| Problem. | Possible cause | Decision |
|---|---|---|
| No detectable sensor. | Bluetooth disabled or occupied by another device | Reboot Bluetooth on your phone, disable other gadgets |
| Indications not updated | Power saving mode blocks background work of Mi Home | Add the app to battery optimization exceptions |
| Incorrect data (e.g. temperature 85Β°C) | Failed sensor or damage during transportation | Check the device on another phone or contact for support |
| The sensor shuts down in a few hours. | Weak Bluetooth signal or interference from other devices | Place the sensor closer to the phone or hub, avoid metal obstacles |
If the sensor LYWSD03MMC It's connected, but the data is updated less than once every 10 minutes, and the problem may be in the firmware of the device, and some of the sensor batches come with Chinese firmware, which limits the frequency of updates to save battery life. The solution is to reflash the device through alternative applications like ATC MiThermometer or Custom Firmware for LYWSD03MMC.
For Zigbee sensors, a common problem is the loss of communication with the gateway.
- π Reboot the gateway (turn off power for 30 seconds).
- πΆ Check the distance between the sensor and the gateway (maximum 10-15 meters without obstacles).
- π Update the gateway firmware in Mi Home (Glue Settings) β Update of the PO).
π‘
If the sensor stopped updating data after the Mi Home update, try rolling back the app version or clearing its cache in the phone's settings.
Advanced settings and integration with other systems
Once the sensor is successfully connected, you can configure additional functions for maximum convenience.
1. Export of data to third-party services
The Mi Home app does not allow you to export your reading history, but it can be done through:
- π Home Assistant: Integration with Xiaomi Miio BLE Monitor.
- π Google Sheets: using Python scripts and API Mi Home.
- π IFTTT: creating applets to send data to Telegram or Discord.
2. Set up notifications
In Mi Home, you can configure alerts according to the following parameters:
- π‘οΈ Temperature: For example, a notification when falling below 18Β°C or climb above 30Β°C.
- π§ Humidity: alerts below 30% (risk of drying skin) or above 60% (risk of mold).
- π Battery: Reminder to replace battery when charged below 20%.
3. Integration with smart devices
With Mi Home Automations, the sensor can be linked to:
- πͺ Smart sockets: turning on the humidifier at low humidity.
- π¬οΈ Air conditioning: automatic cooling at temperatures above 25Β°C.
- π¦ Lighting: lighting the lamp when entering the room (if the sensor supports the presence function).
For advanced users, you can set up via Yandex Alice or Google Assistant.
- Connect your Mi Home account to the appropriate voice assistant.
- Give a command like, "Alice, what's the temperature in the bedroom?" or "OK Google, turn on the humidifier if the humidity is below 40%."
π‘
To ensure notifications come even when the app is closed, in the phone settings, turn off battery optimization for Mi Home and allow background activity.