-
I have a Xiaomi LYWSD03MMC Thermometer / Hygrometer
Guess you already know but there is alternative firmware for this thermometer, it is pretty hackable device (Telink 8251 - 32K ram,512K flash). Was started by atc1441 and there is now nice fork here https://github.com/pvvx/ATC_MiThermometer with many additional features like logging data to flash. So if you would have issues with original Xiaomi firmware (like encrypted advertisement data) this one may be easier to work with. Also flashing that Telink chip is easy (both OTA and SWS over serial).
-
Hi @fanoush, thanks for the link, I initially saw something about: https://github.com/atc1441/ATC_MiThermometer
Then I saw that through Python, without any hacks, you can get the values easily.
Maybe later, I sacrifice one in the name of science :-)
Hi @Gordon, hi @Vlad
I have a Xiaomi LYWSD03MMC Thermometer / Hygrometer and with this CircuitPython library I can fetch its values:
https://github.com/adafruit/Adafruit_CircuitPython_BLE_LYWSD03MMC/blob/main/adafruit_ble_lywsd03mmc.py
Now I'd like to make everything work on Espruino thanks to your code.
I changed filters: [{serviceData: {"fe95": {}}}] the device is found (although its serviceData should be "ebe0ccb0") but all values remain null.
How do you think it could be solved?
THANK YOU