Connecting Xiaomi’s Temperature and Humidity Sensor to Phone: Full Instruction 2026

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 modelProtocol of communicationNeed a hub?Support for Mi HomeFeatures
LYWSD03MMCBluetooth BLENo.Yes (China region)Autonomous operation up to 2 years, accurate sensor SHT30
Aqara TH1 (WSDCGQ11LM)ZigbeeYes (Xiaomi Gateway)Yes (all regions)Automation support, external sensor
Mijia Bluetooth 2 (LYWSD02)Bluetooth BLENo.Yes (China/Europe region)E-ink display, battery life 1 year
Xiaomi ClearGrass (CGG1)ZigbeeYes.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.

πŸ“Š What kind of sensor Xiaomi is using?
LYWSD03MMC
Aqara TH1
Mijia Bluetooth 2
Other
I haven't bought it yet.

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

  1. Open the Mi Home app and go to the Devices tab β†’ Add the device (badge Β«+Β» top-right).
  2. Select the Sensors category β†’ Temperature and humidity.
  3. In the list of models, find LYWSD03MMC (If the device is not listed, click on the Other Device and select Bluetooth.
  4. 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:

  1. Connect Xiaomi Gateway to the socket (orange indicator will light up).
  2. In the app, select Add Device β†’ Locks. β†’ your model of the gateway.
  3. 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:

  1. Press and hold the button on the Aqara sensor. TH1 5 seconds until the indicator starts flashing yellow.
  2. In Mi Home, select Add Device β†’ Through the lock. β†’ gateway.
  3. 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?
For the Aqara dump TH1 Press and hold the button on the device for 10 seconds until the indicator flashes red. After that, the sensor can be added again).

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 causeDecision
No detectable sensor.Bluetooth disabled or occupied by another deviceReboot Bluetooth on your phone, disable other gadgets
Indications not updatedPower saving mode blocks background work of Mi HomeAdd the app to battery optimization exceptions
Incorrect data (e.g. temperature 85Β°C)Failed sensor or damage during transportationCheck the device on another phone or contact for support
The sensor shuts down in a few hours.Weak Bluetooth signal or interference from other devicesPlace 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.

  1. Connect your Mi Home account to the appropriate voice assistant.
  2. 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.

FAQ: Frequent questions about Xiaomi sensors

πŸ”Ή Can I connect the Xiaomi sensor to my phone without the Mi Home?
Yes, but with limitations. Bluetooth sensors (e.g, LYWSD03MMC) Alternative applications can be used: ATC MiThermometer - shows temperature/humidity without registration. SensorBlue - supports data export to the region CSV. Home Assistant is for integration into a smart home without the Xiaomi cloud, but Zigbee sensors are not without Mi Home or Aqara Home – they require a gateway.
πŸ”Ή How often do sensor data updates?
The frequency of updates depends on the model and firmware: LYWSD03MMC: Every 10 minutes (by default), you can change by 1-5 minutes through custom firmware. TH1: Every 5-15 minutes (depending on the load on the gateway). Mijia Bluetooth 2: every 2 minutes (when you are actively connected to the phone). To increase the frequency of updates, keep the phone closer to the sensor or use the gateway.
πŸ”Ή Why does the sensor show the wrong temperature?
Causes of incorrect testimony: πŸ”‹ Replace the battery with a new one. CR2032). 🌑️ Location near heat sources (battery, kitchen stove). πŸ› οΈ Sensor damage (check on another phone). πŸ“± Outdated sensor firmware (update via Mi Home or alternative tools) for calibration of some models (e.g. Aqara) TH1) You can use the official Aqara Home software.
πŸ”Ή Can I use a sensor outside?
Most Xiaomi sensors are not designed for street use because of the: 🌧️ Lack of water protection (IP-lower IP65). 🌑️ Limited operating temperature range (usually 0)Β°C +50Β°C). β˜€οΈ Exposure to direct sunlight (distorting readings) except for Xiaomi ClearGrass (CGG1), defended IP67 and designed for greenhouses.
πŸ”Ή How to transfer the sensor to another room?
To change position: Open Mi Home and select the sensor. Press three dots in the upper right corner β†’ Settings β†’ Room. Choose a new room from the list or create one. Zigbee sensors may need to re-connect to the gateway after transfer if the distance exceeds 15 meters.