bbostock / Switchbot_Py_Meter

Python script to read temperature and humidity from Switchbot Meter and send via MQTT (for Home Assistant etc)
19 stars 2 forks source link

Arduino Library #3

Open DeeJayMX opened 4 years ago

DeeJayMX commented 4 years ago

Greatjob ! I'm trying to make the same type of connection from an ESP32 to a Meter but can't retrieve the "16b Service Data".

Do you have anyclue ? Or maybe do you think it's possible ?

bbostock commented 4 years ago

Hi DeeJayMX, I've not tried it on an ESP32, but see no reason why the code couldn't be converted using the Arduino IDE & existing libraries. As well as using the SwitchBot Ive got a bunch of Xiaomi Mijia Temperature and Humidity Sensors (Model LYWSDCGQ/01ZM), and I read them using an ESP32 running ESPHome BleHub implementation. The Switchbot meters definitely have a better range than the Mijia's. Regards Bill