by Seyhan Özen
Version 1 (August 26, 2024)
Download (80 downloads)
This simple flow shows how to read temperature, humidity and battery datas from a Xiaomi Mijia (LYWSD03MMC) BLE based thermometer using the GATT actions without custom firmware hack.
The required MAC adress, UUID services and Characteristic of the device was scanned and investigated using "nrfConnect" or "BlueLight" apps. And broadcast data such temperature, humidity and battery level can be read by setting the appropriate data format.
If you set the device MAC adress it turns a log i.e.:
23.45°C, 70%, 100% (2.850V)
[temp °] - [hum%] - [bat%]