Xiaomi Mijia weather station (models) LYWSD02MMC, LYWSD03MMC or ClearGrass. CGDK2) β It's a compact device that turns your home into a mini-meteorological center, and it measures temperature, humidity, atmospheric pressure, and even levels. COβ In some versions, the data is transmitted directly to the Mi Home or Mi Fit app, but many users have problems with the first connection: the sensors do not sync, the readings are confused, and the instruction in Chinese does not help. In this guide, we will analyze all the stages of configuration - from unpacking to fine calibration, and also tell you how to avoid typical errors.
The peculiarity of Xiaomi weather stations is that they work through the Bluetooth Low Energy protocol (BLE), This means that to work reliably, the device must be within a 10-15-meter radius of a smartphone or a Xiaomi Gateway, and if you plan to use the station in a country house or in a country house, you will have to consider the range limitations. In this article you will find unique tips to increase the range without buying additional gateways.
1. Preparation for setup: what to check before unpacking
Before you start connecting, make sure you have everything you need. Xiaomi Mijia weather station comes in minimalist packaging, but sometimes there are no critical elements in the kit, such as batteries or a power adapter (depending on the model).
- π± Smartphone on Android 6.0+ or iOS 10.0+ with the Mi Home app installed (version no lower than 6.5.400).
- π Two batteries like this. AAA (model LYWSD02MMC and LYWSD03MMC) or micro-USB cable (for ClearGrass) CGDK2).
- π‘ Gateway Xiaomi Gateway (optional, but recommended for stable operation without a smartphone).
- π‘οΈ Additional temperature/humidity sensors (if you plan to expand the system).
Also check if your weather station supports the Russian/Europe region. Some Chinese devices may have firmware restrictions. To avoid problems, check with the seller before buying the firmware version _CN, She'll have to go through it.
β οΈ Note: If you buy a Xiaomi Mijia weather station on AliExpress or in unofficial stores, there is a risk of getting a device with a lock by region. In this case, you will need to change the region in Mi Home to Mainland China, but this will limit the functionality of other Xiaomi devices in your ecosystem.
If you've already unpacked the device, check it for physical damage.
- π Display β it should not be scratched or broken pixels.
- π Battery compartment β contacts should be clean, without oxidation.
- πΆ antennae BLE (usually hidden under the body β if the device fell, the communication may be unstable.
Installation of batteries and first activation
Most Xiaomi Mijia models are battery-powered, so installing them is the first step to launch.
- Turn over the weather station and find a battery compartment (usually it is closed with a lid on the latches).
- Put two batteries in. AAA polarity (the diagram inside the compartment indicates where "+" and "β").
- Close the lid before you click. The device should automatically turn on.
If the display does not catch fire after installing the batteries:
- π Try removing and inserting the batteries again (sometimes the contacts don't press).
- π Check the battery charge with a tester β they should give at least 1.2V each.
- π οΈ If the display flashes and goes out, the capacitors may have discharged. Leave the battery device for 10-15 minutes, then turn on again.
After successful inclusion, the Mi logo will appear on the screen, followed by the current temperature and humidity readings. --.-Β°C or ---%, It means that the sensors are not calibrated yet. Don't worry, it's normal at the first setup stage.
3. Connection to the Mi Home application: a step-by-step process
Now you need to connect the weather station to your smartphone via Mi Home, a stage that is often complicated by protocol. BLE. Follow the instructions carefully:
- Open the Mi Home app and go to Devices β Add Device (+).
- Type the name of the model (e.g. Mijia Temperature and Humidity Monitor) into the search box.
- Choose your weather station from the list. If you don't have one, try the other option. β Sensors. β Temperature and humidity.
- Press Connect and wait for the app to find the device. This can take up to 2-3 minutes.
- When the weather station appears on the list, confirm the connection. The device will emit a short beep (if it supports).
If the application does not find a weather station:
- π± Make sure your smartphone has Bluetooth and geolocation enabled (without it, Mi Home wonβt be able to identify nearby devices).
- π Reset the weather station: Remove the batteries for 30 seconds, then insert back.
- πͺ Move the device closer to your smartphone (maximum 1-2 meters) β walls and furniture can block the signal BLE.
- π΅ Check if the device is connected to another smartphone or gateway, in which case it must first be reset (press the button on the back for 5-10 seconds before the beep).
Once successfully connected, the weather station will appear in the main list of devices, and now you can start configuring the display of data and integration with other Xiaomi gadgets.
Make sure Bluetooth is on on your smartphone |
Close background applications using Bluetooth|
Locate a weather station next to a smartphone|
Check the battery charge (if less) 1.2V β replace)|
Update Mi Home to the latest version-->
4. Sensor calibration: why readings can lie
One of the most common problems with Xiaomi Mijia weather stations is inaccurate readings, for example, the temperature can differ from the real one by 2-3Β°C, and humidity is 5 to 10 percent, which is because the sensors in the factory are calibrated to standard conditions that may not match your home's climate.
To calibrate the weather station:
- Place it next to a reference thermometer (such as mercury or electronic from a proven brand) for 12 to 24 hours.
- Compare the readings if the difference is greater than Β±1Β°C or Β±3% humidity, manual adjustments will be required.
- In the Mi Home app, go to the weather station settings (Device) β Settings β Sizing).
- Enter correction factors (for example, if Xiaomi shows the corrective factors). 22Β°C, and the real temperature 20Β°C, insert the amendment -2).
If your model does not have a calibration function in the application, you can use alternative firmware (for example, Custom Firmware for the application). LYWSD03MMC). This will not only allow you to correct the readings, but also add support for Home Assistant or Apple HomeKit.
| Problem. | Possible cause | Decision |
|---|---|---|
| Temperature is 2-3 inflatedΒ°C | The sensor is heated by the electronics inside the case | Place the station away from heat sources or use an external sensor |
| The humidity is 99% under normal conditions. | Condensation inside the housing or sensor malfunction | Dry the device in a dry place for 24 hours or contact the service |
| Pressure's not updated. | No communication with satellites (for barometer models) | Move the station closer to the window or recalibrate manually |
| The testimonials are lost after the firmware update | Bug in the new version of the software | Reverse to the previous firmware or wait for the patch |
β οΈ Note: If you use the Xiaomi Mijia weather station in a high humidity room (bathroom, greenhouse), the sensor may fail after 6-12 months. IP67.
5. Smart Home Integration: Gateways, Automation and Voice Assistants
Xiaomi Mijia weather station may be part of the smart home ecosystem, but it will require additional equipment.
- π Through the Xiaomi Gateway: allows you to receive data even when the smartphone is turned off. Supports automation type "if the temperature is below 18".Β°C, turn on the heater".
- π€ With Google Assistant or Alice: you need to connect Mi Home to the corresponding service in the application settings.
- π Home Assistant: Requires custom firmware installation or Mi Home Integration plugin.
- π HomeKit: Only possible through intermediate bridges such as HomeBridge.
To set up automation through Xiaomi Gateway:
- Open Mi Home and go to Automation section β Create a script.
- Select a condition, for example: If the temperature < 18Β°C.
- Add the action: Then turn on the smart socket with the heater.
- Save the script and test it by temporarily changing the readings (e.g., bringing ice to the station).
If you use Home Assistant, add a weather station through YAML-configuration:
sensor:
- platform: mitemp_bt
mac: 'XX:XX:XX:XX:XX:XX' # MAC- address of your weather station
monitored_conditions:
- temperature
- humidity
- batteryFor voice control via Alice or Google Assistant, you just need to link your Mi Home account to the appropriate service in the app settings, and then you can ask questions like, "Alice, what's the temperature in the nursery?"
π‘
If the weather station often loses contact with the gateway, try to place it at a height of 1-1.5 meters from the floor. BLE.
6. Common mistakes and their solutions
Even after a successful setup, the Xiaomi Mijia weather station may not work as smoothly, and here are the typical problems and ways to fix them:
- π΄ Device not responding: Check the batteries (they can run out in 3-6 months if used actively); Reset the weather station by removing the batteries for 1 minute; Remove the device from Mi Home and reconnect.
- πΆ Continuously lost communication: Reduce the distance between the station and the smartphone/gateway. Turn off the power saving mode on the smartphone for Mi Home. Check if other Bluetooth devices (earphones, fitness bracelets) interfere with the device).
- βοΈ Temperature freezes on one value: This may be caused by the sensor getting stuck. Try resetting the device to factory settings (Reset button on the back). If the problem recurs, update the firmware via Mi Home.
If none of these methods worked, your weather station may have a hardware defect, in which case contact Xiaomi Service Center or the seller for replacement under warranty, warranty service for most models is 12 months from the date of purchase.
How to verify the authenticity of Xiaomi weather station?
7. Alternative firmware: when to re-flash
The standard firmware of Xiaomi Mijia weather stations has a number of limitations:
- π No possibility to change the data update interval (default: 10 minutes).
- π No support for third-party smart home systems (Home Assistant, OpenHAB).
- π No logs of the history of the indications (only current values).
Custom firmware helps solve these problems, such as:
- π οΈ ATC MiThermometer adds support MQTT, Accelerate data updates to 1 minute.
- π Custom Firmware for LYWSD03MMC β It allows you to integrate with Home Assistant without a gateway.
- π± Telink Flasher β a tool for firmware via Bluetooth (does not require a soldering iron).
The process of flashing involves several stages:
- Download the firmware from the official repository (for example, ATC_MiThermometer on GitHub).
- Connect the weather station to the PC through USB-TTL adapter (requires soldering for models without a connector).
- Run a firmware program (e.g. Flash Tool for Telink chips).
- Select a firmware file and wait for the process to be completed (2-5 minutes).
β οΈ Warning: Firmware will void the warranty and may cause the device to break if something is done wrong.If you are not sure about your soldering iron and firmware skills, it is better to consult a specialist or use the weather station in a standard configuration.
After successful firmware, you will be able to:
- π Set up individual refresh intervals (e.g. every 30 seconds for a greenhouse).
- π Send data to external servers (e.g. ThingSpeak or InfluxDB for analysis).
- π Use the weather station without reference to Mi Home (useful for problems with Xiaomi servers).
π‘
Flashing is only justified if you need advanced features (integration with Home Assistant, frequent data updates).