How to connect the Xiaomi temperature sensor to the Mi Home: full instructions from preparation to settings

Xiaomi’s temperature sensors are some of the most popular smart home devices due to their measurement accuracy, compact dimensions and integration with the Mi Home ecosystem. However, even such a simple device can raise questions when you first connect: why does the app not see the sensor, how to place it correctly or why the readings are confused? In this article, we will analyze all the stages of connection – from unpacking to setting up automatic scripts, and also talk about the hidden functions of the sensors, which the manufacturer does not advertise.

It is important to understand that the connection process may vary depending on the sensor model (e.g. Mijia Bluetooth Temperature and Humidity Sensor 2 or Aqara Temperature and Humidity Sensor) and the version of the Mi Home application. We will look at the universal algorithm that will work for most devices, and also point out the key differences for specific models. If you have tried to connect the sensor but encountered an error, skip the first steps and go straight to the "Problem Solutions" section.

What temperature sensors Xiaomi supports Mi Home

Before buying or connecting, make sure your sensor is compatible with Mi Home.Not all Xiaomi devices work with this app - some require Mi Home for the Chinese region or specialized hubs (such as the Aqara Hub).

Sensor modelType of connectionNeed a hub?Support for Mi HomeFeatures
Mijia Bluetooth Temperature and Humidity Sensor 2 (LYWSD03MMC)Bluetooth 5.0No.Yes (all regions)Up to 2 years of battery life from CR2032, BLE support
Aqara Temperature and Humidity Sensor (WSDCGQ11LM)ZigbeeYes (Aqara Hub)Yes (Chinese/European server only)Accuracy ±0.3°C, integration with Apple HomeKit
Xiaomi Mi Temperature and Humidity Monitor 2 (LYWSDJ)Bluetooth 4.2No.Yes (restrictions for Russia)Backlit display, data history for 30 days
Yeelight Temperature & Humidity SensorBluetooth 5.0No.Yes (via Yeelight App)Synchronize with Yeelight lamps to automatically adjust the light

If your model is not listed in the table, check its compatibility on the official Xiaomi website or on the product card. For example, the ClearGrass sensors (relabeled as Xiaomi) may require firmware via Tuya Smart instead of Mi Home. Also note regional restrictions: some devices (for example, Aqara) do not work with the Russian Mi Home server without changing the region in the account settings.

📊 What is the Xiaomi Temperature Sensor You Are Using?
Mijia Bluetooth (LYWSD03MMC)
Aqara Zigbee (WSDCGQ11LM)
Mi Temperature Monitor 2 (LYWSDJ)
Other (write in the comments)
I haven't bought it yet.

Preparation of the sensor for connection

Before syncing with Mi Home, you have to follow a few steps, and neglecting them can lead to errors like "Device not found" or "Disconnected." Here's what you need to do:

  • 📱 Update the Mi Home app to the latest version.Old versions may not support new sensor models.
  • 📶 Turn on Bluetooth on your smartphone. Mijia and Yeelight are connected by the same sensors. BLE, Not on Wi-Fi.

Pay special attention to the battery: if the sensor does not respond to the press of a button, try replacing it with a new one (even if it looks like it is working).Some users find that the sensor does not wake up after long storage, in which case short-term battery removal for 10-15 seconds will help.

💡

If the sensor was previously connected to another Mi Home account, reset it to factory settings. To do this, hold the button on the case for 5-10 seconds until the indicator blinks 3 times.

Step-by-step instructions for connecting

Now, the connection process itself, and the instructions are for most Bluetooth sensors (like LYWSD03MMC), so if you have an Aqara or other Zigbee device, connect the hub to the Mi Home first, and then add the sensor through it.

Install battery and activate sensor |Open Mi Home → Add device |Select Sensor category → Temperature and humidity |Follow the instructions on the screen (press the button on the sensor)|Paste the sync-->

Let's take each step in more detail:

  1. Activate the sensor. Remove the protective film from the battery (if any) or press the button on the body once. The indicator should flash blue or green. If there is no reaction, check the battery or try to hold the 3-second button.
  2. Start a search in Mi Home. Open the app, go to Profile → Settings → Add Device. In the search box, type the model name (e.g., “LYWSD03MMC”) or select Sensors → Temperature and Humidity.
  3. Bluetooth pairing. When the app asks you to confirm your connection, press the button on the sensor again, and the message will appear on the screen, "Device found." If the search lasts more than a minute, check if the phone is on Bluetooth and does not block the power saving mode.
  4. Room selection and setup: Once connected successfully, the app will suggest that you give the sensor a name (e.g., "Bedroom") and select a room, which is important for further work with automation scenarios, and you can also turn on notifications that the readings are out of order.

If the sensor is connected but not displaying data, wait 5-10 minutes – sometimes the first sync takes time. Also make sure that the correct region is selected in the Mi Home app settings (for example, “China mainland” for some Aqara models).

What if the Mi Home does not find the sensor?
1. Reboot your smartphone and sensor (remove the battery for 10 seconds). 2. Make sure there is no active VPN or firewall on your phone blocking Bluetooth connections. 3. Try connecting from another device (e.g. a tablet). 4. If the sensor was previously on another network, reset it (hold the 10+ second button until the indicator blinks). 5. For models with Zigbee, check that the hub (Aqara Hub) is connected to the same Mi Home account.

Set up notifications and automation

Simply connecting a sensor isn't enough -- you need to set up notifications and scenarios to make it work, for example, you can get alerts if the temperature in the nursery drops below 18°C, or automatically turn on the heater when the temperature drops.

To set up notifications:

  1. Open the sensor card in Mi Home.
  2. Go to “Settings → Notifications”.
  3. Set temperature and humidity thresholds (e.g., “Warn if temperature > 28°C”).
  4. Select the notification method: push notification, SMS or email (if attached).

To create automation:

  1. In the Mi Home main menu, go to Automation → Create a script.
  2. Select the condition: "Temperature [sensor] [more/less] [value]."
  3. Add an action like “Enable [smart socket]” or “Send notification.”
  4. Save the script and test it by changing the temperature (for example, by bringing the sensor to a warm battery).

💡

Automation only works if the phone and sensor are on the same Wi-Fi network (for Bluetooth devices) or connected to a hub (for Zigbee).

Example of a useful scenario:

  • 🌡️ Smart heating: if the temperature is below 20°C, the heater is turned on through the smart socket Xiaomi Smart Plug.
  • 💧 Humidity control: humidity below 40% is turned on by the air humidifier.
  • 🚨 Warning about frost: if the temperature on the balcony falls below 0°C, the notification comes on the phone.

Optimal placement of the sensor

The sensor's readings depend not only on its accuracy, but also on the location of the installation. Incorrect placement can lead to false automation alarms or incorrect data.

  • 🚫 Avoid direct sunlight – they heat the sensor case, distorting the readings.
  • 🚫 Do not install near heat sources (batteries, stove, computer).
  • ✅ Optimal height - 1.2-1.5 meters from the floor (at the level of human breathing).
  • ✅ Use airtight models for the street (for example, Aqara with protection). IP54).

If the sensor is installed in an air-conditioned room, place it at a distance of at least 1 meter from the flow of cold air. To accurately monitor the microclimate in the nursery, it is recommended to use two sensors: one at the level of the crib, the second at the window (for monitoring drafts).

⚠️ Attention: sensors with Bluetooth connection (e.g, LYWSD03MMC) They have a limited range of up to 10 meters in ideal conditions. If the sensor is installed far from a smartphone or hub, the data can be updated with a delay or disappear).

Solving common problems

Even with the right connection, users are faced with errors, and the most common problems and solutions are summarized below:

Problem.Possible causeDecision
Sensor not found at Mi HomeBluetooth is off, sensor is discharged, incompatible regionTurn on Bluetooth, replace the battery, change the region to China
Indications not updatedWeak signal, sensor in sleep modeBring the sensor closer to the phone/hub, press the button to wake up.
Incorrect data (e.g. temperature 85°C)Sensor failure, direct sunlight exposureReset the sensor, check the placement conditions
The sensor shuts down in a few days.Weak battery, conflict with other Bluetooth devicesReplace the battery, disable other Bluetooth gadgets while you connect

If the sensor is connected, but after a while disappeared from the list of devices, check:

  • 📵 Is it accidentally deleted via the Device Management menu in Mi Home.
  • 🔄 Has your account changed in the application (the sensor is linked to a specific profile).
  • 📡 Have you changed the settings of the region – some devices “fall off” when changing the server.

⚠️ Warning: If you're using an Aqara sensor with a hub and the data has stopped updating, check the hub's firmware (1.0.0_0043 You may lose communication with sensors. Update the firmware through Mi Home in the section "Hub Settings».

Xiaomi’s Hidden Sensor Functions

Many users are unaware that Xiaomi’s temperature sensors have additional features that are not described in the official instructions.

  • 📊 Data export: in Mi Home you can save the history of readings for the month in the format CSV (open the temperature chart → «Exports. This is convenient for microclimate analysis.
  • 🔄 Customization of updates: for LYWSD03MMC You can change the time interval for sending data (by default, every 10 minutes.
  • 🌐 Home Assistant integration: Xiaomi sensors are supported by the popular smart home system. MQTT-Broker or plugin Mi Home Integration.
  • 🔋 Battery check: the sensor settings in the Mi Home display the charge level. If it is below 20%, replace the battery in advance - when discharged, the sensor may send incorrect data.

For advanced users: sensors LYWSD03MMC It can be used with alternative scoring (for example, ATC_MiThermometer), Increase the frequency of updates to 1 time-in 5 But it requires skills in working with ESP32 and may deprive of the guarantee.

How to flash the LYWSD03MMC sensor with alternative firmware?
1. Buy an adapter. NRF24LU1+ or use ESP32 Bluetooth-enabled. 2. Download the firmware. ATC_MiThermometer GitHub. 3. Connect the sensor to the adapter and run through nRF Connect or ESP-Flasher. 4. Set up the update settings (interval, data format) Warning: Unofficial firmware may disrupt the sensor!

FAQ: Frequent questions about Xiaomi temperature sensors

❓ Can I connect a single sensor to multiple phones?
No, the sensor is linked to one Mi Home account, but you can share the device with other users through Sharing in the sensor settings, go to Device Settings → Sharing and enter your email or trusted phone.
❓ Why does the sensor show the temperature at 2-3°C above the real?
This is a typical error for indoor sensors, especially if they are located near heat sources (for example, on a windowsill in the sun). To check the accuracy, compare the readings with a mercury thermometer, placing the sensor in the center of the room for 30 minutes. If the difference is greater than ± 1 ° C, contact Xiaomi support - you may need calibration.
❓ How to reset the sensor to factory settings?
For most models: hold the button on the body for 10-15 seconds until the indicator blinks 3 times (usually red or blue). For Aqara with the hub, the reset is done via the app: Hub settings → Devices → Remove the sensor. After reset, the sensor will be ready for a new connection.
❓ Does the sensor work without the internet?
Yes, the sensor continues to measure temperature and humidity, but data transfer to Mi Home requires an Internet connection (for Bluetooth models, having a smartphone nearby). Local scenarios (for example, turning on the socket through the Aqara hub) work without Internet, if all devices are on the same network.
❓ Can I use a sensor outside?
Only if the model has moisture protection (IP44 and above). Most Xiaomi sensors are designed to work in the range of -10 ° C... + 50 ° C. For the street, it is better to choose the Aqara Outdoor Sensor or place a standard sensor in a sealed case (for example, from a food container with ventilation holes).