Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 8023

Automation, sensing and robotics • Re: Getting Data From a Xiaomi Mijia LYWSD03MMC Temperature Humidity sensor

$
0
0
I finally got Chrome on Safari on a Mac to connect.

I downloaded the firmware from here:

https://github.com/pvvx/ATC_MiThermometer

I download a ZIP file from there which contained dozens and dozens of .bin files. I had no idea which to select so I chose the first one:

ATC_v54.bin

I flashed that to the firmware. The log now shows:

Code:

'Log:17:26:54: Searching for devices17:27:13: Connecting to: LYWSD03MMC17:27:18: Detected custom Firmware
So, the custom firmware was flashed. But, now, neither the new sensor or the old sensor work at all:

Old One That Used To Work

Code:

pi@raspsky:~/webcam $ timeout 15 gatttool -b A4:C1:38:C5:33:3A --char-write-req --handle='0x0038' --value="0100" --listen | grep "Notification handle" -m 1Terminated
No error message. Just no data.

New One

Code:

pi@raspsky:~/webcam $ timeout 15 gatttool -b A4:C1:38:00:FF:AD --char-write-req --handle='0x0038' --value="0100" --listen | grep "Notification handle" -m 1connect error: Transport endpoint is not connected (107)
So, both old and new sensors are now bricked and useless.

And once again, a Raspberry Pi project goes horribly wrong.
'
[rant]
'(I tried to move from Buster to Bookworm by rebuilding the entire boot drive. After two weeks of agony I gave up and put the Pi and external drive in a drawer never to be seen again. I still run Buster on all my Pies.)
[/rant]

Statistics: Posted by Ratsima — Fri Nov 28, 2025 11:02 am



Viewing all articles
Browse latest Browse all 8023

Trending Articles