Xiaomi LYWSD02MMC: How to connect to the phone and smart home 5 minute

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.

πŸ“Š What Smart Home System Are You Using?
Xiaomi Mi Home
Home Assistant
Apple HomeKit
Google Home
The other/nothing

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:

  1. Install the Mi Home app (you can download it for Android or iOS).
  2. Sign up or log in. Important: when registering, select China (+86).
  3. Go to Profile. β†’ Settings β†’ Region and Establish China.
  4. Click Add Add the device (+) β†’ Select the Sensors category β†’ Thermometer and hygrometer β†’ MiJia Bluetooth Thermometer 2 (LYWSD02MMC).
  5. Hold the button on the clock for 5 seconds until the indicator starts flashing blue. In the app, press the device flashes.
  6. 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

Done: 0 / 5

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:

  1. Download. ATC MiThermometer from Google Play.
  2. Launch the app and press Scan (scan).
  3. In the list, find a device with a name LYWSD02MMC or Mi Thermometer.
  4. Press it. β†’ Connect β†’ Wait for the data to synchronize.
  5. 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:

  1. Install Bluetooth Proxy (for remote scanning).
  2. Add integration BLE Monitor or Mi Temperature 2.
  3. 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: 60

MAC-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?
1. Enable scan mode on PC using the command: hcitool lescan 2. In the list, find a device with the name LYWSD02MMC β€” near MAC. 3. If hcitool is not installed, use bluetoothctl: bluetoothctl scan on

4. Common mistakes and their solutions

Even with the right connection, users face problems. Consider the most common:

Mistake.Reason.Decision
10001 in Mi HomeNo device found.Check out the region in Mi Home (must be China), reboot Bluetooth
40012 at Mi HomeIncompatible firmwareUpdate your Mi Home to the latest version or use it ATC MiThermometer
Data not updatedWeak signal. BLEPlace the watch closer to the smartphone/gateway (max. 10 meters without obstacles)
The clock goes off in 5 minutes.Energy saving AndroidAdd 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.

  1. Try updating the watch firmware through Mi Home (if available).
  2. Use alternative firmware (for example, ATC1441 or PVVX).
  3. 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:

  1. Open the device card in Mi Home.
  2. Go to Settings (βš™οΈ) β†’ Notifications.
  3. Activate the Temperature/Humidity Alert Switch.
  4. Set thresholds (e.g. temperature) > 30Β°C or humidity < 40%).
  5. 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).

  • πŸ”§ 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.

  1. adapter USB-TTL (for example, CP2102).
  2. Flash Tool program (for example, TLSR Flash Tool).
  3. The firmware is in.bin format (you can download it on GitHub).

Step-by-step:

  1. Connect. USB-TTL by the clock (contacts: TX β†’ RX, RX β†’ TX, GND β†’ GND, 3.3V β†’ VCC).
  2. Launch it. TLSR Flash Tool and select firmware.
  3. Press Erase. β†’ Program β†’ Verify.
  4. 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:

ParameterLYWSD02MMCLYWSD03MMC
Type of communicationBluetooth 5.0 (BLE)Bluetooth 5.0 (BLE) + Wi-Fi (through the gateway)
Communication rangeUp to 10m.Up to 50m (with lock)
AutonomyUp to 2 yearsUp to 1 year
Support for Mi HomeOnly with a Chinese accountWorks 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).

FAQ: Frequent questions about Xiaomi LYWSD02MMC

❓ How to Reset the Watch to Factory Settings?
Hold the button on the body for 15 seconds until the indicator flashes blue twice, and then the device will be reset, and it can be reconnected.
❓ Can I connect? LYWSD02MMC Apple HomeKit?
There is no direct support for HomeKit, but you can integrate through Home Assistant with the HomeKit Controller plugin. Alternatively, use the Athom Homey gateway or Hoobs.
❓ Why Mi Home Data Is Updated Every 10 Minutes?
This is a limitation of standard firmware. To speed up the upgrade, click through. ATC1441 or PVVX β€” They allow you to adjust the interval from 1 minute.
❓ How to check the battery level?
In Mi Home, the battery level is displayed in the device card (State section). ATC MiThermometer - in the main screen next to the sensor data, critical is considered to be below 20%.
❓ Can I use it? LYWSD02MMC street-side?
Technically yes, but the device body is not sealed (protection class) IP44). With prolonged exposure to moisture or dust, the sensor can fail. LYWSDCGQ (protected IP67).