Detailed Writeup on how to use this Library
I hacked MiBand 3, and here is how I did it. Part I
pip install -r requirements.txt
Turn on your Bluetooth
Unpair you MiBand2 from current mobile apps
Find out your MiBand3 MAC address
sudo hcitool lescan
Run this to auth device
python main.py MAC_ADDRESS --init
If you having problems(BLE can glitch sometimes)
sudo hciconfig hci0 reset
sudo apt-get install libglib2-dev
sudo service bluetooth restart