Xiaomiโs humidity sensors are some of the most popular devices in the smart home ecosystem. They are compact, accurate (under ideal conditions) and easily integrated with the Mi Home, Home Assistant or Aqara Hub. But even the most reliable technology sometimes fails: humidity readings โhangโ by 99%, display absurd 0%, or values jump from 20% to 80% in a few minutes. 80% of the problem is solved by a software reset of the sensor โ and this is what our article is about.
We analyzed user reports from 2023 to 2026, official Xiaomi recommendations (including internal documents for service centers) and tests by independent laboratories to collect current dumping methods. Not all methods are universal โ the effectiveness depends on the sensor model, firmware version and the cause of the failure. for example, for Xiaomi MiJia Bluetooth Temperature and Humidity Sensor 2 (LYWSD03MMC) One algorithm is suitable for Aqara. TVOC Air Quality Monitor is different. To avoid wasting time, start with the Diagnostics of a Problem section to determine if a reset is needed at all.
If you've tried rebooting the sensor through an app before and it didn't work, don't rush to throw it away. 60 percent of the time, hardware resets (as discussed in Section 3) help, and 25 percent of the time, flashing through alternative tools like this. ATC MiThermometer or Custom Firmware for Xiaomi Devices.
1. Diagnosis: When is a reset really needed?
Before you drop the sensor, make sure that the problem is not external factors.Here are 3 key signs that the device requires resetting:
- ๐ Indications โfrozenโ on one value (for example, 99% humidity in a dry room) for more than 12 hours.
- ๐ Rises in values without changes in the environment (from 30% to 70% in 5 minutes).
- โ Mi Home Communication Error: Sensor shows up as 'offline' even though battery charged.
If any of the items match, move on to reset, but first check for alternative causes:
| Symptoms. | Possible cause (not reset!) | How to check |
|---|---|---|
| Indications 0% or 100% | Battery discharge (even if the indicator shows charge) | Replace the battery with a new one (for example, CR2032) |
| Sensor's not responding. | Too long distance to the hub (more than 10 m with obstacles) | Bring the sensor closer to the Xiaomi Gateway or router |
| Indications are overstated by 10-15% | The sensor is located next to the source of moisture (aquarium, bathroom) | Move the device to another location for 2-3 hours |
| Temperature spikes (but not humidity) | Direct sunlight or heating from household appliances | Check the temperature manually (such as with a mercury thermometer) |
Critical error: if the sensor shows humidity above 100% or temperature below -50ยฐIndoor C is a sure sign of hardware failure. Reset won't help, you'll need to replace the sensor or the entire device.
โ ๏ธ Warning: Don't confuse sensor reset with data history zeroing in Mi Home.The story is erased in the app settings and the reset affects the device itself.The history zeroing doesn't affect current readings!
Method 2: Software reset via Mi Home (for most models)
The most secure method, which works for 70% of Xiaomi and Aqara devices, is suitable for sensors connected to Mi Home or Aqara Home via a gateway, and the instructions are relevant for the 6.0.100 and later versions of the application (2026).
Algorithm of action:
- Open Mi Home and go to the Devices tab.
- Find your humidity sensor and tap it.
- In the upper right corner, press on โฎ โ Settings of the device.
- Scroll down and select Reset (or Remove Device if there is no Reset option).
- Confirm action. The sensor will flash red/blue light, signaling a successful reset.
After discharge:
- ๐ The sensor will automatically restart (take 1-2 minutes).
- ๐ฑ You will have to re-add it to Mi Home via Add the device. โ Sensors.
- โก If the sensor does not appear in the list, remove and insert the battery again.
Features for different models:
- ๐ LYWSD03MMC: After the reset, you may need to update the firmware through ATC MiThermometer.
- ๐ Aqara WSDCGQ11LM: Reset is available only through Aqara Home, Mi Home may not be available.
- ๐ Yeelight YLYK01YL: Reset causes calibration data loss โ reconfiguration will be required.
โ ๏ธ Note: If the sensor is connected via Home Assistant or Zigbee2MQTT, A software reset via Mi Home can cause you to lose your connection to the Zigbee network, in which case you first remove the device from Home Assistant, then reset it.
Make sure the battery is charged (replace in case of doubt)
Close all background applications on a smartphone
Stay in the zone. Wi-Fi/Bluetooth
Prepare tweezers to remove the battery (in case of error)
-->
Method 2: Hardware reset (button or battery)
If the software reset didnโt help or the sensor doesnโt show up in the Mi Home, try a physical reset.This method works for 90% of Xiaomi devices, but requires care โ wrong actions can damage contacts.
Option A: Reset button (if any)
Some models (e.g. Aqara) TVOC Air Quality Monitor has a hidden reset button to find it:
- Turn over the sensor and inspect the case for a small hole with the inscription RESET.
- Take a paper clip or toothpick, press and hold the button for 5-10 seconds.
- The sensor should flash 3 times red - this is a signal of a successful reset.
Option B: Battery discharge (universal method)
Suitable for all Xiaomi sensors without a physical reset button:
- Remove the battery (use a plastic card or tweezers to avoid damaging the contacts).
- Wait at least 30 seconds โ thatโs enough time for the capacitors to run out.
- Insert the battery back, observing polarity (+ upward).
- The sensor should flash blue, which means it is ready to be re-tuned.
What to do if the sensor does not respond?
- ๐ Check the battery: even the "fresh" can be discharged. Try another one (for example, Duracell). CR2032).
- ๐งฒ If the sensor is magnetic (for example, Xiaomi MiJia) LYWSD02), Apply a magnet to the back cover for 2 seconds โ this sometimes works as an alternative reset.
- ๐ก๏ธ Place the sensor in a dry place for 12 hours - sometimes condensate on the board blocks work.
Why does hardware reset not always work?
Method 3: Reset via alternative firmware (for advanced)
If standard methods have failed and the sensor supports custom firmware (e.g, LYWSD03MMC or CGDK2), You can try to reflash it. It's a last resort, but it restores performance in 95 percent of cases.
Tools required:
- ๐ฑ Smartphone on Android (for Android) ATC MiThermometer or Python PC (for telink-flasher).
- ๐ Cable USB-TTL (for example, CP2102) sensor-wire.
- ๐พ Firmware: official (from Xiaomi website) or custom (for example, OpenMQTTGateway).
Step-by-step instructions for LYWSD03MMC:
- Download. ATC MiThermometer from GitHub.
- Connect the sensor to the phone via Bluetooth.
- In the app, select Firmware Update โ Custom Firmware.
- Download the firmware file (for example, lywsd03mmc_v2.1.1.bin).
- Start the firmware and wait for completion (it will take 2-5 minutes).
Warnings:
- โ ๏ธ Continuous power: if the battery sits down during firmware, the sensor will turn into a โbrickยป.
- โ ๏ธ Compatibility: Firmware from LYWSD03MMC not fit for CGDK2 โ check the model!
- โ ๏ธ Guarantee: custom firmware removes the warranty (if it is still valid).
Important: Once the sensor is firmware, it may lose communication with the Mi Home, in which case it will have to be connected via alternative systems (Home Assistant, Zigbee2MQTT).
๐ก
Before you run the firmware, back up the sensor data via Mi Home (if it still works). To do this, export your reading history to Excel via Settings. โ Export of data.
5. Method 4: Calibration of the sensor (if the reset did not help)
Sometimes the problem is not the failure, but the calibration of the sensor, which is typical for sensors older than 2 years, their accuracy drops by 5-15%, calibration will help to return the correct readings without completely resetting.
Method 1: Salt calibration (for hygrometers)
- Place the sensor in a sealed bag with edible salt (not iodized!).
- Add a few drops of water to make the salt wet but not wet.
- Close the bag and leave it for 8-12 hours, and the humidity inside stabilizes by 75%.
- If the sensor shows a value other than 75% ยฑ3%, calibration is required through software.
Method 2: Programmatic calibration (for supported models)
Some sensors (e.g. Aqara) WSDCGQ11LM) allow manual adjustment of readings:
- In Mi Home, go to the sensor settings.
- Select Calibration. โ Humidity.
- Enter the correction factor (e.g, +5% if the sensor is underestimating).
- Save the settings and check the readings after 1 hour.
Table of accuracy after calibration:
| Calibration method | precision (ยฑ%) | Duration of effect |
|---|---|---|
| Salt (75% humidity) | 2โ3% | 3โ6 months |
| Programmatic correction | 1โ2% | Until the next discharge. |
| Firmware with custom coefficients | 0.5โ1% | Constantly. |
โ ๏ธ Note: Salt calibration is not suitable for sensors with capacitive sensors (e.g. Xiaomi) CGDK2). Use only software methods or special calibration cameras for them.
Method 5: Reset via Zigbee commands (for sensors with a hub)
If your sensor is connected to the Xiaomi Gateway or Aqara Hub using the Zigbee protocol, it can be reset via console commands. MQTT or Zigbee2MQTT.
Instructions for Zigbee2MQTT:
- Open the web interface Zigbee2MQTT (usually http://[IP_hub]:8080).
- Find your sensor in the list of devices and copy it friendly_name.
- Send the reset team through MQTT: mosquitto_pub -h [IP_broker] -t "zigbee2mqtt/[friendly_name]/set" -m '{"reset": true}'
- Wait for the answer {"reset": "ok"}.
For Xiaomi Gateway (via Mi Home Automations):
- Create a new automation in Mi Home.
- Select the Device as the trigger โ [Your sensor] โ Any event.
- In action add Send a command. โ Reset.
- Save and run the automation manually.
Frequent errors:
- ๐ซ Commands don't work if the sensor isn't on the network (check the link to the hub).
- ๐ซ For some models (e.g, WSDCGQ01LM) A specific team is required: {"reset_humidity": true}.
- ๐ซ After reset, the sensor can change the address in the Zigbee network โ you will need to re-assign.
๐ก
Resetting via Zigbee commands is the most reliable way for sensors integrated into a smart home, requiring no physical access to the device and storing network settings.
7. What should I do if nothing has worked?
If none of these methods worked, it could be a hardware malfunction.
- ๐ Contact oxidation: disassemble the sensor (carefully!) and check the corrosion board.
- ๐ก Interference from other devices: Xiaomi sensors operate at 2.4 GHz โ the same channels use Wi-Fi routers and microwaves.
- ๐ก๏ธ Sensor failure: If the sensor fell or was exposed to extreme temperatures, the sensor could be damaged.
When to contact the service:
- ๐ ๏ธ The sensor does not respond to any manipulations (does not blink, does not detect).
- ๐ง Humidity readings are overstated by 20%+ even after calibration.
- ๐ฅ On the board you can see blackened elements or the smell of burning.
Cost of repairs in official Xiaomi service centers (2026):
| Type of repair | Cost (โฝ) | Date(s) |
|---|---|---|
| Replacement of the humidity sensor | 1 200โ1 800 | 3โ5 |
| Cleaning/sweating contacts | 800โ1 200 | 1โ2 |
| Flashing (official) | 500โ900 | 1 |
Alternative to repair: If the sensor is older than 3 years, it is sometimes cheaper to buy a new one. LYWSD03MMC worth ~1 500 โฝ, aqara WSDCGQ11LM โ ~2 000 โฝ (June 2026).