whobin / MiBand3

Library to work with Xiaomi MiBand 2

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

MiBand3

Library to work with Xiaomi MiBand 3

Base lib provided by Leo Soares Additional debug & fixes was made by Volodymyr Shymanskyy

Run

Install dependencies

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

If you have trouble installing bluepy

sudo apt-get install libglib2-dev

About

Library to work with Xiaomi MiBand 2


Languages

Language:Python 100.0%