creotiv / MiBand2

Library to work with Xiaomi MiBand 2
Creative Commons Zero v1.0 Universal
544 stars 173 forks source link

Any Plans to Port The Code To ESP32? #13

Closed ianwillianb closed 4 years ago

ianwillianb commented 5 years ago

Since there are people who were able to read heart rate from the Polar H7 using ESP32, do you have plans to port the code to get data from the miband 2 using the ESP32?

creotiv commented 5 years ago

Sorry but no, this code was developed for my data science project on prediction of people activity type by gyro and heart rate, so i need only laptop.

On Mon, Sep 17, 2018, 7:06 PM ianwillianb notifications@github.com wrote:

Since there are people who were able to read heart rate from the Polar H7 using ESP32, do you have plans to port the code to get data from the miband 2 using the ESP32?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/creotiv/MiBand2/issues/13, or mute the thread https://github.com/notifications/unsubscribe-auth/AAPRDTLeFSf7l6_COwsrLa05XioII-o0ks5ub8iTgaJpZM4WsO9g .

CH3COOOH commented 5 years ago

Since there are people who were able to read heart rate from the Polar H7 using ESP32, do you have plans to port the code to get data from the miband 2 using the ESP32?

I have written a demo to get heart rate data from miband2 using ESP32. You can find it here: https://github.com/SiOnOu/esp32_miband2 (supports esp32 library 1.0.0, some unused codes may need to be removed). And now I wonder how to re-connect the band when ESP32 cannot connect to its services or it is lost (since the distance is too far or consuming of the battery)