Xiaomi Mi Temperature and Humidity Sensor 2 (or just a little bit more) Mi2) β One of the most popular smart home devices, because of its accuracy, compactness and low price, many users have difficulty connecting for the first time: the sensor is not detected in the application, constantly turns off or shows incorrect data. In this article, we will analyze all the current ways of synchronizing with the phone - from standard connection via Mi Home to alternative methods for advanced users.
Feature Mi2 It is based on Bluetooth Low Energy protocol (BLE), It's not Wi-Fi or Zigbee, like many other Xiaomi devices, which imposes a range limit of up to 10 meters in ideal conditions, and requires a smartphone or hub to be around at all times. Whether youβve just unpacked the sensor or are trying to reconfigure it after resetting, this guide will help you avoid typical errors and save time.
1.Preparation of the Xiaomi sensor Mi2 plug-in
Before syncing with your phone, you need to make sure that the sensor itself is ready to work, unlike newer models (for example, the Mijia Bluetooth Temperature and Humidity Sensor 2 with a display), Mi2 It doesn't have any buttons or status indicators, and it activates automatically when you first contact an app:
- π¦ Unpack the sensor and remove the protective film from the battery compartment (if any). CR2032, which is already installed in the factory.
- π Check the battery: if the sensor has been in storage for more than a year, replace it with a new one.
- π± Update the firmware of the phone: for stable operation with BLE-Devices recommended Android 8.0+ or iOS 12+.
- π Connect to the Internet: Mi Home requires a network to authorize and upload device profiles.
If the sensor has been used before, it needs to be reset.
- Remove the battery for 10 seconds.
- Put it back in, and the sensor will automatically reboot.
- Wait 1-2 minutes until it starts broadcasting the signal. BLE (On some phones, this can be checked through the Bluetooth menu in the system settings).
π‘
If the sensor does not respond to battery extraction, try gently wipe the contacts in the battery compartment with an alcohol wipe - oxidation can block power.
2. Standard connection via the Mi Home app
The official synchronization method is through the Mi Home app (renamed Xiaomi Home in some regions), which is suitable for most users, but has nuances related to the choice of server and software version.
Select the "Mainland China" region in the application settings|Enable Bluetooth and geolocation on your phone|Push "+" β "Add the device" β "Sensors" β "Temperature and humidity"|Bring the phone to the sensor at a distance <50 centimeter|Wait for the device to appear in the list and confirm the addition-->
Step 1: Set up the application
Download Mi Home from Google Play or App Store.
- Sign up or sign in to your Xiaomi account (required! without an account, the device will not be linked).
- Go to Profile. β Settings β Region and select Mainland China. This is critical: when choosing Russia or Europe, the sensor may not appear in the list of available devices.
- Return to the main screen and press. + β Add the device.
Step 2: Find and add a sensor
In the device category, select Sensors β Temperature and humidity. The app will request Bluetooth and geolocation, allow both:
- Hold the phone to the sensor at a distance of 30-50 cm.
- Wait until a device with a name appears in the list. LYWSD03MMC (It's the internal designation of the model. Mi2).
- Click on it and confirm the addition. The process can take up to 30 seconds.
Step 3: Configure the data display
Once connected successfully, the sensor will appear on the Mi Home home screen, where you can:
- π View current temperature and humidity indicators.
- π Adjust notifications when you go beyond a preset limit (for example, if humidity drops below 40%).
- π Exporting data history to CSV For analysis (available in the web version of Mi Home).
Mi Home (official appendix)|Home Assistant (for automation)|Alternative applications (e.g. SensorBlue)|Not yet plugged in.-->
3. Common mistakes and their solutions
Even when following the instructions, users often encounter problems, and below is a table of the most common errors and specific actions to correct them:
| Mistake. | Possible cause | Decision |
|---|---|---|
| The sensor is not in Mi Home. | Wrong region in the appendix | Change region to Mainland China in your account settings |
| Connection interrupted by 50% | Weak Bluetooth signal | Bring the phone closer to the sensor, make sure there is no interference (e.g., running microwaves) |
| The sensor shuts down in a few hours. | Energy-saving phone mode | Add Mi Home to Battery Optimization Exceptions (on Android: Settings) β Battery β Optimization) |
| Temperature readings are overstated by 2-3Β°C | The Effect of Heat from the Phone Battery | Place the sensor at least 1 meter away from the heat sources |
| The application asks to update the sensor firmware | Outdated device software | Connect the sensor to the Xiaomi gateway (such as Mi Gateway 3) for an update |
Important: If the sensor was previously linked to another Xiaomi account, it must first be removed from the old profile via Device Settings. β Delete. Otherwise, the new connection will not be possible.
What if the sensor is detected but the data is not updated?
4. Alternative ways of connecting (without Mi Home)
If the official app doesnβt fit (for example, due to region constraints or a desire to integrate the sensor into another smart home system), alternative methods can be used.
Method 1: Using Home Assistant (for automation)
Home Assistant is an open platform for smart home that supports Xiaomi Mi2 plugin ble_monitor. Advantages of this method:
- π± Local work without depending on the cloud Xiaomi.
- π Integration with other devices (e.g., automatic humidifier activation at low humidity).
- π Advanced data visualization via Grafana or embedded dashboards.
To connect:
- Install Home Assistant on Raspberry Pi or other server (instruction: official documentation).
- Add the following lines to the configuration file: sensor: - platform: ble_monitor devices: - name: "Xiaomi Mi2" mac: "XX:XX:XX:XX:XX:XX" # Replace it with MAC-address of your sensor restore_state: true
- Reboot Home Assistant and check for sensor appearance in Developer Tools section β States.
Method 2: Through SensorBlue (for Android)
SensorBlue app allows you to connect BLE-Xiaomi sensors are not tied to an account. This is convenient if you do not want to register with Mi Home or use the sensor temporarily:
- π Supports multiple sensors at the same time.
- π€ Exporting data to Google Sheets or CSV.
- π« No cloud sync β data is only stored on your phone.
Instructions:
- Download SensorBlue from Google Play.
- Run the scan. BLE-devices (Scan button in upper right corner).
- Select from the list LYWSD03MMC and press Connect.
- The sensor will be added to the list of devices where you can configure alerts and survey intervals (recommended 5-10 minutes to save battery).
π‘
Alternative ways of connecting are suitable for power users, but require additional skills (for example, working with the Internet). YAML For most tasks, the official Mi Home application is sufficient.
5. Optimization of the sensor: advice on placement and settings
To testify Xiaomi Mi2 have been accurate and the connection to the smartphone is stable, follow these guidelines:
- π Accommodation: Install the sensor at a height of 1-1.5 meters from the floor, away from direct sunlight, heating batteries and air conditioning. Avoid places with poor ventilation (for example, inside cabinets).
- π Update interval: In Mi Home, the default sensor sends data every 5 minutes. To save battery, increase the interval to 10-15 minutes in the device settings.
- πΆ Signal amplification BLE: If the sensor is at the edge of the coverage area, use the Xiaomi Bluetooth Gateway (such as the Mi Bluetooth Temperature and Humidity Sensor Hub) to relay the signal.
- π Battery monitoring: If the charge drops below 20%, the readings may become inaccurate. Replace the battery every 12-18 months (depending on the intensity of use).
For sensor calibration (if the readings seem inaccurate):
- Place it. Mi2 near a reference thermometer (e.g. mercury) for 24 hours.
- Compare the readings if the difference is greater than Β±1Β°C or Β±5% humidity, try resetting the sensor (remove the battery for 30 seconds).
- If the problem persists, check the sensor on another phone - a hardware defect is possible.
π‘
To test the sensor's accuracy, you can use a salt test: place it in a sealed bag with wet salt (humidity should stabilize at 75%). After 6-8 hours, compare the readings with the reference ones.
6.Integration with other Xiaomi devices
One of the key advantages Mi2 β The ability to create automation with other devices in the Xiaomi ecosystem:
- π¬οΈ Utilizer: Automatic on when humidity drops below 40%.
- βοΈ Air conditioning: Switching modes when a set temperature is reached.
- π‘ Smart lamps: Change in color temperature depending on the time of day and sensor indicators.
- π Notifications: Notifications to the phone if the temperature in the nursery exceeded 25Β°C.
To set up automation in Mi Home:
- Go to the Automation section β Create β Smart scene.
- Select the condition: Temperature > [value] or Humidity < [significance].
- Add an action (for example, turn on the humidifier).
- Save the script and activate it.
An example of complex automation:
β οΈ Warning: If you use a sensor to control the heater, set hysteresis (the difference between turning on and off) at least 2Β°C. For example, add at 20Β°C, turn off at 22Β°C. This will prevent frequent relay switching and extend the life of the equipment.
7. Prolongation of the life of the sensor
Xiaomiβs average service life Mi2 It's 3 to 5 years old, but if you use it properly, you can make it longer:
| Factor. | Impact | Recommendation |
|---|---|---|
| Frequency of the survey | The more often the sensor transmits data, the faster the battery discharges. | Set an interval of at least 10 minutes |
| Operating temperature | Working at extreme temperatures (<0Β°C or >50Β°C) reduces the life of the sensor | Use the sensor in the range 0-40Β°C |
| Environmental humidity | Constant humidity >80% can cause contact corrosion | For the bathroom, use waterproof models (for example, Aqara Temperature and Humidity Sensor) |
| Battery quality | Cheap batteries CR2032 They are quickly discharged and can leak | Use batteries from Duracell, Energizer or Panasonic brands |
If the sensor has stopped responding to the reset or shows clearly incorrect values (for example, temperature -50).Β°C), this may indicate a hardware malfunction:
- Try replacing the battery.
- Check the integrity of the body β cracks can lead to moisture.
- If nothing helps, contact Xiaomiβs support team (if warranty is available) or consider buying a new sensor.