RobertWojtowicz / export2garmin

Export Miscale and Omron data to Garmin Connect
GNU General Public License v3.0
171 stars 22 forks source link

Changed BT USB device and scan is empty #30

Closed vobo70 closed 1 year ago

vobo70 commented 1 year ago

`Hello Robert, regarding to your advice I changed BT adapter to EDUP EP-B3536 based on RTL8761B chipset. previously my adapter was able to scan but I had problem with range - my bathroom is next to room when I have PC with miscale2garmin software - there's one ytong wall between. My USB port is passed through from proxmox to VM with Debian 11. I installed firmware was you stated and even tried firmware from Debian Repo (backports non-free) when i run scan nothing shows: root@miscale:/opt/miscale2garmin-5# python3 ./scanner_ble.py Mi Body Composition Scale 2 Garmin Connect v5.3 (scanner_ble.py)

RobertWojtowicz commented 1 year ago

Hi, @vobo70

What does command "hcitool dev" return ?

BR, Robert

vobo70 commented 1 year ago

result: root@miscale:/opt/miscale2garmin-5# hcitool dev Devices: hci0 00:E0:4C:2F:1F:2C root@miscale:/opt/miscale2garmin-5#

RobertWojtowicz commented 1 year ago

Hi @vobo70

maybe reinstall python and bluepy library? In my case it works continuously for more than a year? another thing is that I never put it in /opt/ directory, maybe some special permissions ?

BR, Robert

RobertWojtowicz commented 1 year ago

Have you verified that it works from not too far away ?

vobo70 commented 1 year ago

Hi, Yes - the scale is less then 2m away. Usually scan finds more than 5 devices. I will try to reinstall. Thank you.