M5Stack (Stick|Atom) with Xiaomi LYWSD03MMC
-
Hi,
Just wonder if anyone tried to read data from bluetooth xiaomi temp/humi sensors
I've seen examples with arduino/esp32 but Im looking for micropython code as its more convinient to build UI with it
Not interested in MQTT for now, just getting data and transmitting it on screen label
I can get thermometer ID with some phone bluetooth software but got no clue (yet) how to send handshake and aquire dataThanks
-
Most likely possible through GATT client
https://docs.micropython.org/en/latest/library/ubluetooth.html#gatt-client -
Sorry can't tolerate GATT with my problem,
trying with Arduino C++ right now -
did you find any micropython code any bluetooth communication for arduino. with arduino c code communication is not hard.i made reader
it is reads actual values and creates array for histogram.half part of the screen show histograms graph
i used nRF Connect app on android which bt id and details will be used on the code.