Page 2 of 2

Re: Reading GATT Data from Xiaomi Flower Care

Posted: Fri Feb 21, 2020 10:10 pm
by JohnN
Should I write some kind of ticket?

Re: Reading GATT Data from Xiaomi Flower Care

Posted: Sat Feb 22, 2020 12:03 am
by jimmo
JohnN wrote:
Fri Feb 21, 2020 10:10 pm
Should I write some kind of ticket?
Yes please

Re: Reading GATT Data from Xiaomi Flower Care

Posted: Sat Feb 22, 2020 10:12 am
by JohnN

Re: Reading GATT Data from Xiaomi Flower Care

Posted: Sat Feb 22, 2020 4:58 pm
by iotman
Hi, just a quick note to let you know we're watching this thread with great interest. The Xiaomi Flower Care unit is a really good example of a BLE sensor, so if you can make this work, it will likely set a really good example for making BLE work with any sensor.

I have some Wemos ESP32 OLED boards (non SPI ram) that I will be using to implement the BLE code, and I bought some Xiamoi BLE sensors too, so that I can confirm that it is working.

Cheers, AB

Re: Reading GATT Data from Xiaomi Flower Care

Posted: Thu Apr 22, 2021 6:18 am
by MatthiasP
Hi All,

although this thread is rather old, I wanted to let you know that I got Xiaomi Flower Care sensors working with esp32-idf4-20210202-v1.14.bin and esp32-20210418-v1.15.bin. I still have to clean up the code - stay tuned.

Cheers,
Matthias

Re: Reading GATT Data from Xiaomi Flower Care

Posted: Tue May 04, 2021 3:55 pm
by MatthiasP
Hi,

the code is now provided on GitHub:
https://github.com/matthias-bs/MicroPython-MiFlora

Cheers
Matthias

Re: Reading GATT Data from Xiaomi Flower Care

Posted: Tue May 04, 2021 4:31 pm
by iotman
Great news, thank you Matthias!

Cheers, AB

Re: Reading GATT Data from Xiaomi Flower Care

Posted: Wed May 05, 2021 7:45 am
by Werner_G
also great job - thank you!

Re: Reading GATT Data from Xiaomi Flower Care

Posted: Mon Jan 03, 2022 12:39 pm
by scy
In case someone stumbles over this thread trying to parse the advertisement data from the Xiaomi LYWSDCGQ BLE Temperature/Humidity sensors, which work very similarly, I’m providing some code to parse their data. See the announcement thread or go directly to the library.