suprabathk / CLI-Interface-For-Mi-Band

Communicate with your Mi band from Raspberry pi
25 stars 9 forks source link

How can we reconnect when band comes in Bluetooth range? #5

Closed sulabh9999 closed 2 years ago

sulabh9999 commented 3 years ago

Is there any way to reconnect already authenticated Mi Band 3 when band comes in range again? Please help.

suprabathk commented 3 years ago

Hi @sulabh9999

You can make the Raspberry Pi (Or any other device your using) to scan for nearby devices and connect to the Mi Band automatically. Use sudo hcitool lescan for scanning.

Above process can be achieved by writing a simple Python code.

If you need further help feel free to ask.