Xiaomi Mi Thermometer: Zigbee thermometer just by changing the firmware from a Bluetooth thermometer.

The Bluetooth thermometer with relative humidity Xiaomi LYWSD03MMC is one of the most affordable sensors for smart homes. In its factory state, it only transmits data via Bluetooth Low Energy (BLE), which can be limiting—especially if you use a Zigbee network as the main connectivity for home automation. However, this can be changed with the z03mmc project by developer devbis.

From Twitter/X

Marty aka KutilDomaci has once again shared on social network Twitter/X a great upgrade for the popular Bluetooth Xiaomi Mi Thermometer. From this thermometer, which communicates via Bluetooth, he modified it by changing the firmware inside the thermometer to a Zigbee interface.

Below is a rewritten thread from his profile on Twitter/X:

Of all the firmware modifications for the Xiaomi Mi Thermometer, this one made me the happiest—it supports Zigbee.

The flashing process is straightforward—via OTA, you need to flash the intermediate firmware, and then the Zigbee firmware.

The action was quick; before flashing, it was enough to open the Zigbee network and wait for it to connect. It sends values every five minutes.

In #HomeAssistant, it naturally propagates from Z2M “automatically,” and everything can be conveniently controlled.

The post is very popular and has reached a significant number of views. Several other people shared their experiences in response to that tweet.

Several of them have been using this firmware for a long time. One commenter mentioned that he uses it together with the IKEA Dirigera Gateway. Another complained about lower battery life.

About the z03mmc Project

The z03mmc project is an open-source Zigbee 3.0 firmware that completely replaces the original BLE firmware of the sensor and adds full support for Zigbee networks. After uploading it, the device behaves like a regular Zigbee thermometer with standard Zigbee clusters for temperature, humidity, and battery status.

The firmware is compatible with a range of Zigbee coordinators and gateways (e.g., Zigbee2MQTT, ZHA, or Homey) and can be uploaded in two ways:

  • OTA via Bluetooth – conveniently through web tools (e.g., telink-zigbee flasher), which gradually overwrite the firmware from BLE to Zigbee.
  • USB-UART connection – the traditional method with a TTL adapter and serial flasher for cases where OTA does not work.

For DIY enthusiasts and hobbyists, z03mmc can be (and is) an interesting alternative: you can integrate an old BLE thermometer directly into the Zigbee network without additional Bluetooth proxies or ESP gateways, thus achieving a more stable and centralized solution for measuring temperature and humidity in your smart home.

Updates

According to several users, the battery, when using this firmware, drains much faster than with the Bluetooth version of the firmware. It seems that this is because when the network is not found, the device starts searching for where it could connect. This causes higher consumption and thus lower battery life on such a small battery.

Alternative firmware (for Bluetooth connectivity) that users have recommended is this one – https://github.com/pvvx/ATC_MiThermometer

Share the article:
Show your
Maker soul!
Buy a T-Shirt
Coffee for Chiptron
Give a boost to the next article

Related Articles

Originaly, this board – Meteo v2, was designed like replacement of general analog thermometer which costs ~1 USD. But, thanks to comments of makers, the board was redesigned to versatile board which you can use for everthing you need. Meteo…

BigClown, popular IoT platform, offers a lot of TAGs (board with sensor) and modules, but I still had missed versatile board for connection of cheap sensors from ebay and aliexpress – e.g. BMP280, Si7021 or SHT31. Notice: HARDWARIO s.r.o. doesn’t…

The 3D printed box, which you can easily overlook on the wall, is filled with various sensors for measuring air quality. Inside this inconspicuous box are sensors that measure temperature, humidity, CO2 concentration, as well as VOC and NOx air…

The article could be titled “How I Enhanced a 3D-Printed Box with a Radiation Shield for a Weather Station with the SEN5x Sensor and Air Board Controller.” This would perfectly capture my effort. I improved the box by adding space…

Wi-Fi module is used for Wi-Fi connection with your server and sending/receiving data with BigClown IoT platform. Wi-Fi connectivity is missing in the offer of BigClown. If you use Wi-Fi module and Wi-Fi connectivity is enough for your project, you…

MeshCore as an alternative to the popular off-grid text communication Meshtastic is now popular in the Czech Republic – what about your country? A strong community has quickly formed, working to improve coverage of the MeshCore network, which operates using…

Trends