Why Xiaomi Temperature Sensors Are Needed and How They Work With a Smartphone
Xiaomi's temperature sensors are compact devices that monitor indoor climate in real time and transmit data directly to your smartphone. They become indispensable tools for monitoring the microclimate in a children's room, greenhouse, aquarium or even refrigerator. But how exactly do these miniature gadgets interact with the phone?
All of Xiaomi’s current sensors (Mijia, Aqara, Yeelight) use Bluetooth Low Energy (BLE) or Zigbee to transmit data. The sensor’s information is sent to the gateway (if required) or directly to the phone via a special app. The main advantage is that there are no wires and the ability to remotely monitor over the Internet. However, not all models work the same way: some require a connection to the hub, while others can do without it.
In this article, we will examine the step-by-step connection of Xiaomi temperature sensors to Android and iOS smartphones, consider the nuances of setting notifications, compatibility with different models and ways to eliminate typical errors. Mijia Bluetooth Temperature and Humidity Sensor (LYWSD03MMC) Aqara Temperature and Humidity Sensor (WSDCGQ11LM).
What Xiaomi Temperature Sensors Can Be Connected to Your Phone
Xiaomi offers several types of temperature sensors, differing in communication protocol, measurement accuracy and connection method.
- 📱 Mijia LYWSD03MMC — Bluetooth sensor with display, works without gateway, connects directly to the phone via Mi Home. ±0,3°C. Supports data history.
- 🌐 Aqara WSDCGQ11LM — Zigbee device, requires an Aqara Hub or Mi Gateway gateway. ±0,3°C, integrated with Apple HomeKit.
- 🔋 Yeelight Temperature & Humidity Sensor – Bluetooth sensor with replaceable battery, compatible with Mi Home and Yeelight App.
- 🏠 Mijia LYWSDCGQ/01ZM — The outdated model on Zigbee, only works through the Mi Gateway v3.
The key difference between the models is the communication protocol:
- 🔵 Bluetooth (BLE) — Connects directly to the phone, but the range is limited (~10 meters. Example: LYWSD03MMC.
- 📡 Zigbee – requires a gateway but provides stable communication over long distances (up to 50 meters indoors: WSDCGQ11LM.
Before buying, check if your smartphone supports Bluetooth 4.0.+ (for BLE-Also note regional limitations: some sensors (such as Aqara) are officially sold only in China, but can work with European servers through a change of region in the application.
Preparation for connection: what will be needed
Before you start setting up, make sure you have everything you need:
Smartphone on Android 6.0+ or iOS 12+
Installed Mi Home or Aqara Home app
Xiaomi Temperature Sensor with Charged Battery
Gateway (if the sensor is running on Zigbee)
Stable Internet connection (for data synchronization)
-->
Pay special attention to the management application:
- 📲 Mijia sensors: Mi Home (download to Google Play or App Store).
If you are using a Zigbee sensor, check the compatibility of the gateway:
| Sensor model | Demanded lock | Support for Mi Home | Support for Aqara Home |
|---|---|---|---|
| Aqara WSDCGQ11LM | Aqara Hub M2 / Mi Gateway v3 | Yes. | Yes. |
| Mijia LYWSDCGQ/01ZM | Mi Gateway v3 | Yes. | No. |
| Yeelight Sensor | Not required | Yes. | No. |
Important: Zigbee-based sensors won’t work without a gateway, even if you see them in the list of available devices in the app. If you don’t have a hub, opt for Bluetooth models (like LYWSD03MMC).
⚠️ Note: When using Mi Home in Russia, select the "Mainland China" region in the application settings - this will allow you to connect more devices than in the European version.
Step-by-step: Connecting a Bluetooth sensor (on the example of LYWSD03MMC)
Consider the setup process using the popular Mijia LYWSD03MMC sensor, which connects directly to the phone via Bluetooth.
- Put the battery in the sensor. Use the CR2032 battery (included). There's a special slot on the back of the sensor to open the lid -- put a nail or a flat screwdriver on it.
- Turn on Bluetooth on your smartphone and launch the Mi Home app.
- Press "+" in the upper right corner → "Add device" → select the category "Sensors".
- In the list, search for the Mijia Bluetooth Temperature and Humidity Sensor and click on it.
- Hold the sensor to the phone at a distance of no more than 5 cm and wait for the automatic connection. the message "Device found" will appear on the screen.
- Select a sensor room (such as a “Bedroom”) and confirm the addition.
Once successfully connected, the Mi Home home screen will have a tile with current temperature and humidity readings to adjust the notifications:
- Put it on the sensor. → "Settings" (cog in upper right corner).
- Select "Temperature Notifications" → set thresholds (e.g., "Below 18°C" or "Above 25°C").
- Activate the “Push Notification” option and save the changes.
Important: Bluetooth sensors only transmit data when the phone is in range (up to 10 meters). For remote monitoring, use the gateway or choose models with Zigbee.
💡
If the sensor is not an app, try rebooting Bluetooth on your phone or removing/inserting the battery into the sensor, sometimes changing the region in Mi Home to Mainland China helps.
Connecting a Zigbee sensor via a gateway (on the example of Aqara WSDCGQ11LM)
Zigbee devices like the Aqara WSDCGQ11LM require a gateway (Aqara Hub or Mi Gateway) and the setup process is a bit more complex but provides more stable operation.
Instructions for the Aqara Home app:
- Connect the Aqara Hub gateway to the outlet and wait until the indicator starts flashing yellow (pairing mode).
- In the Aqara Home app, click "+" → "Add device" → "Sensors".
- Select Temperature and Humidity Sensor and follow the instructions on the screen.
- Press and hold the button on the sensor for 5 seconds until the indicator blinks quickly. This activates the pairing mode.
- Wait until the process is complete (usually 10 to 30 seconds) and after a successful connection, the sensor will appear in the list of devices.
To set up notifications:
- 🔔 Go to the sensor card. → "Automation".
- 📊 Create a new rule, for example: If the temperature > 28°C. then send a notification".
- 🔄 Save the script and activate it.
The advantage of Zigbee sensors is that you can access remotely over the Internet, even if you are far from home, and the data is updated every 5-10 minutes (depending on the settings of the gateway).
⚠️ Note: If the sensor does not connect to the gateway, check: Distance between devices (maximum 10-15 meters without obstacles).Availability of firmware updates for the gateway (under Settings section) → Software updates. No interference from other wireless devices (Wi-Fi routers, microwaves).
How to reset the Aqara sensor to factory settings?
Set up notifications and automations
One of the main advantages of temperature sensors is the ability to adjust automatic notifications and scenes (for example, turning on the heater when the temperature drops).
At Mi Home:
- Open the sensor card → “Settings” → “Notifications”.
- Set temperature and humidity thresholds (e.g., “Notify if the temperature is below 16°C”).
- Turn on the "Push notification" option and select the notification method (sound, vibration, banner).
At Aqara Home:
- Go to the section "Automation" → "Create automation".
- Select the condition: "Temperature [sensor] > [value]."
- Add an action like “Send Notification” or “Enable Smart Socket”.
- Save the script and activate it.
Examples of useful automation:
- 🌡️ "If the temperature is childish < 20°C, turn on the heater” (through a smart socket).
- 💦 "If the humidity in the bathroom > 80%, turn on the hood".
- ❄️ "If the temperature is on the balcony < 0°C, send a notification" (to control the freezing of pipes).
For advanced users, integration with Google Assistant or Apple HomeKit (for Aqara devices) is available, allowing you to control sensors by voice or through third-party applications.
💡
To keep notifications running smoothly, make sure the Mi Home/Aqara Home app allows auto-start and work in the background (setting in the phone menu: "Settings → Applications → Permissions").
Typical errors and their solution
When connecting Xiaomi temperature sensors, users often face typical problems, and let’s look at the most common errors and how to fix them.
| Problem. | Possible cause | Decision |
|---|---|---|
| Sensor is not in the app. | Bluetooth is disabled or sensor is discharged | Turn on Bluetooth, check the battery, reboot the sensor (remove/insert the battery) |
| Sensor is connected, but does not show data | Weak signal or interference | Bring the sensor closer to the phone/gateway, remove sources of interference (Wi-Fi routers, microwaves) |
| Notifications don't come in. | There are no permissions for the application | Check notification settings in the phone and in the app itself (Settings → Notifications) |
| The sensor shuts down in a few days. | Weak battery or firmware error | Replace the battery, update the sensor firmware (if available) |
If the Zigbee sensor is not connected to the gateway:
- 🔌 Check the power of the gateway (the indicator should burn blue or green).
- 📶 Make sure the gateway is connected to Wi-Fi (Mi Home status must be "Online").
- 🔄 Reboot the gateway (turn off power for 10 seconds).
For Bluetooth sensors:
- 📱 Try connecting the sensor from another phone (possibly the problem with your device’s Bluetooth module).
- 🔄 Reset the sensor to factory settings (for LYWSD03MMC: Remove the battery for 10 seconds).
If none of these methods worked, check the sensor’s compatibility with your region. Some models (such as Aqara) require changing the region in the app to Mainland China.