Xiaomi Smart Watches LYWSD02MMC (Also known as MiJia Bluetooth Thermometer 2, it is a compact temperature and humidity monitoring device with Bluetooth 5.0 support. Despite its modest size, the device is able to transfer data to a smartphone, integrate into smart home systems and even work autonomously for up to 2 years from a battery. CR2032. However, many users have difficulty connecting for the first time: the app doesnβt see the device, the data isnβt synchronized, or the watch is displayed as βunknown hardware".
In this article, we will discuss all ways of connecting. LYWSD02MMC β From standard binding via Mi Home to integration with Home Assistant and alternative firmware, we will focus on common errors (e.g. code 10001 or 40012 in Mi Home) and how to fix them. If you want not only to connect the watch, but also to set up notifications about exceeding the thresholds of temperature or humidity - here you will find step-by-step instructions with screenshots and explanations.
1.Preparation for connection: what to check before starting
Before you start pairing, make sure that the basic conditions are met. LYWSD02MMC requires specific smartphone settings and environments:
- π± Version. Android/iOS: Minimum supported versions β Android 5.0 iOS 10.0. On older devices, Mi Home may not recognize the clock.
- π Bluetooth: Turn on the module and allow the application to access geodata (yes, this is mandatory even for Bluetooth work!).
- π Region in Mi Home: The watch is officially only sold in China, so select China in the app settings.
- π Battery: If the watch is new, the protective film on the battery contacts can block the power.
Pay attention: LYWSD02MMC No Wi-Fi connection, Bluetooth Low Energy only (BLE). This means that remote monitoring (e.g. from another room) will require a Xiaomi gateway (e.g. Mi Gateway 3) or integration with Home Assistant.
β οΈ Note: If you have previously tried to connect the watch through third-party apps (for example, ATC MiThermometer or Custom BLE Sensor, reset their settings. To do this, remove the battery for 10 seconds, then insert it back in. This will clear the pairing cache.
2. Standard connection via Mi Home (official method)
This is the easiest method, but it only works for users with a Chinese Mi Account, and if you have a European or Russian account, skip this section and go to alternative ways.
Step instructions:
- Install the Mi Home app (you can download it for Android or iOS).
- Sign up or log in. Important: when registering, select China (+86).
- Go to Profile. β Settings β Region and Establish China.
- Click Add Add the device (+) β Select the Sensors category β Thermometer and hygrometer β MiJia Bluetooth Thermometer 2 (LYWSD02MMC).
- Hold the button on the clock for 5 seconds until the indicator starts flashing blue. In the app, press the device flashes.
- Wait until pairing is complete (it can take up to 30 seconds). Once connected successfully, the watch will appear in the main menu.
If Mi Home issues error 10001 (βDevice failed to findβ) during the device search phase, follow these steps:
- π Reboot Bluetooth on your smartphone (turn off/on the module in the settings).
- π΅ Make sure there are no other Bluetooth devices nearby (they may interfere with your Bluetooth).
- π Try connecting from another smartphone (preferably on Android 8.0)+).
βοΈ Preparing for connection via Mi Home
3. Alternative ways of connecting (without Mi Home)
If the official method didn't work or you don't want to use the Mi Home, there are a few workarounds.
Method 1: Annex ATC MiThermometer (for Android)
ATC MiThermometer β third-party software that supports all Xiaomi sensors on the Telink chip TLSR825x, including LYWSD02MMC. The advantage of this method is the ability to connect without being tied to the Chinese region.
How to connect:
- Download. ATC MiThermometer from Google Play.
- Launch the app and press Scan (scan).
- In the list, find a device with a name LYWSD02MMC or Mi Thermometer.
- Press it. β Connect β Wait for the data to synchronize.
- To save the device to the list, click Save and Assign Name (assign a name, such as "Bedroom").
V ATC MiThermometer features additional features available:
- π Export of data to CSV for analysis in Excel.
- π Configure notifications when temperature/humidity thresholds are exceeded.
- π Automatic synchronization every 10 minutes (in the background).
Method 2: Integration with Home Assistant (for advanced users)
If you are using Home Assistant, connect LYWSD02MMC It'll take no more than 10 minutes:
- Install Bluetooth Proxy (for remote scanning).
- Add integration BLE Monitor or Mi Temperature 2.
- Automatically update data through YAML-configuration.
Example configuration for configuration.yaml:
sensor:
- platform: mitemp_bt
mac: 'XX:XX:XX:XX:XX:XX' # Replace with MAC- the address of your watch
Name: "Xiaomi Thermometer"
force_update: true
median: 3
timeout: 60MAC-The address of the clock can be found through the application nRF Connect (available for the Android/iOS) Home Assistant logs after the first scan.
How to find out MAC-address LYWSD02MMC no-apps?
4. Common mistakes and their solutions
Even with the right connection, users face problems. Consider the most common:
| Mistake. | Reason. | Decision |
|---|---|---|
| 10001 in Mi Home | No device found. | Check out the region in Mi Home (must be China), reboot Bluetooth |
| 40012 at Mi Home | Incompatible firmware | Update your Mi Home to the latest version or use it ATC MiThermometer |
| Data not updated | Weak signal. BLE | Place the watch closer to the smartphone/gateway (max. 10 meters without obstacles) |
| The clock goes off in 5 minutes. | Energy saving Android | Add Mi Home to Battery Optimization Exceptions |
The 40012 error is particularly noteworthy, and it occurs when the firmware version of the watch is incompatible with the current Mi Home.
- Try updating the watch firmware through Mi Home (if available).
- Use alternative firmware (for example, ATC1441 or PVVX).
- Reset the clock to factory settings (hold the 15-second button until double blinking blue).
β οΈ Note: If you use Custom Firmware (e.g. from the PVVX), After firmware, the watch may stop working with the Mi Home, in which case, connect it only through the Home Assistant or ATC MiThermometer.
π‘
To increase communication range, place the clock at a height of 1-1.5 meters from the floor. Metal objects and walls of concrete can block the signal. BLE.
5. Set up notifications and automatic actions
One of the key functions LYWSD02MMC β You can set up these settings in Mi Home or in third-party applications.
At Mi Home:
- Open the device card in Mi Home.
- Go to Settings (βοΈ) β Notifications.
- Activate the Temperature/Humidity Alert Switch.
- Set thresholds (e.g. temperature) > 30Β°C or humidity < 40%).
- Select the notification method: push notification or audible signal.
At Home Assistant:
To create automation, add to configuration.yaml:
automation:
- alias: "High temperature warning"
trigger:
platform: numeric_state
entity_id: sensor.lywsd02mmc_temperature
above: 30
action:
service: notify.notify
data:
message: "Warning! Temperature over 30Β°C!"To get notifications to your phone, pre-set up a notify service (for example, via Telegram Bot or Mobile App).
V ATC MiThermometer:
- π Go to the Settings β Alerts.
- π Set minimum/maximum values for temperature and humidity.
- π Turn on Sound Alert (sound signal) or Notification (push).
- π Adjust the frequency of the check (recommended every 10-15 minutes).
π‘
For accurate monitoring, place your watch away from direct sunlight, heating batteries and air conditioners, the ideal distance from the walls is 20-30 cm.
Advanced capabilities: firmware and calibration
Standard firmware LYWSD02MMC It has limitations: data is updated every 10 minutes, there is no measurement history in Mi Home).
Popular firmware:
- π§ ATC1441: Adds support for data history, speeds up updates to 1 time per minute.
- π§ PVVX: It allows you to adjust the update interval, adds support for Home Assistant through MQTT.
- π§ OpenMijia: open source, flexible settings.
You'll need firmware.
- adapter USB-TTL (for example, CP2102).
- Flash Tool program (for example, TLSR Flash Tool).
- The firmware is in.bin format (you can download it on GitHub).
Step-by-step:
- Connect. USB-TTL by the clock (contacts: TX β RX, RX β TX, GND β GND, 3.3V β VCC).
- Launch it. TLSR Flash Tool and select firmware.
- Press Erase. β Program β Verify.
- Turn off the adapter and insert the battery.
β οΈ Attention: Incorrect firmware can cause the watch to fail. If the device does not turn on after firmware is installed, try flashing the original firmware again (you can download it here).
After the firmware PVVX The clock will transmit data in a format:
{
"temperature": 23.5,
"humidity": 45.2,
"battery": 98,
"rssi": -65
}7. Comparison with analogues: which is better, LYWSD02MMC or LYWSD03MMC?
Xiaomi is making several models of temperature/humidity sensors. LYWSD02MMC and LYWSD03MMC:
| Parameter | LYWSD02MMC | LYWSD03MMC |
|---|---|---|
| Type of communication | Bluetooth 5.0 (BLE) | Bluetooth 5.0 (BLE) + Wi-Fi (through the gateway) |
| Communication range | Up to 10m. | Up to 50m (with lock) |
| Autonomy | Up to 2 years | Up to 1 year |
| Support for Mi Home | Only with a Chinese account | Works with any region |
| Price. | ~1000β1200 β½ | ~1500β1800 β½ |
LYWSD03MMC It's a win-winner in functionality, but it's a loser in autonomy and price, LYWSD02MMC β It's best to think about the smart home with remote access. LYWSD03MMC or ClearGrass. CGDK2 (HomeKit-supported).