JsBergbau / MiTemperature2

Read the values of the Xiaomi Mi Bluetooth Temperature sensor 2 including custom encrypted format.
706 stars 162 forks source link

Use usb bluetooth dongle instead of builtin bluetooth #48

Closed acca84 closed 3 years ago

acca84 commented 3 years ago

Hello I'm using your library on a raspberry pi 4. i was using it with an odroid c2 and usb bluetooth adapter, the range was better.

is that possible to use this bluetooth dongle instead of the builtin bluetooth of pi 4 ? thanks

JsBergbau commented 3 years ago

Yes, this is possible, see Readme.md https://github.com/JsBergbau/MiTemperature2/blob/master/README.md#usage --interface N, -i N Specifiy the interface number to use, e.g. 1 for hci1

acca84 commented 3 years ago

Ok, thank you very much for your work !