Library to work with Xiaomi Mi Band
Library based on Yojesh Ojha's library:-
https://github.com/yogeshojha/MiBand3
https://medium.com/@yogeshojha/i-hacked-xiaomi-miband-3-and-here-is-how-i-did-it-43d68c272391
Yojesh Ojha's library is amazing. But there are quite a few bugs and out-dated. So, I fixed the bugs and made some minor changes.
The Heart rate feature seems to glitchy even after some fixes. (I am working on it!) Please report any bugs.
sudo pip install -r requirements.txt
sudo hcitool lescan
sudo python main.py
sudo hciconfig hci0 reset