OpenTracksApp / OpenTracks

OpenTracks is a sport tracking application that completely respects your privacy.
https://OpenTracksApp.com
Apache License 2.0
1.06k stars 190 forks source link

Beurer AS99 not listed as heart rate sensor #311

Closed ChristophWurst closed 4 years ago

ChristophWurst commented 4 years ago

Describe the bug I just purchased a little activity tracker that can send heart rate info via BLE. The model is a Beurer AS99. As OpenTracks did not show the sensor in the settings, I checked with a BLE explorer as well as a BLE heart rate monitor app. They both can connect to the device and list the sensor ID or show the actual numbers. Here are some screenshots

signal-2020-07-06-110849 signal-2020-07-06-111614

Ref https://github.com/OpenTracksApp/OpenTracks/blob/main/src/main/java/de/dennisguse/opentracks/util/BluetoothUtils.java#L40 Ref https://github.com/OpenTracksApp/OpenTracks/issues/239

To Reproduce

  1. Pair the activity tracker with your phone
  2. Open OpenTracks
  3. Go to the settings
  4. Open heart rate sensor picker
  5. See just None as available options

If applicable:

(let me know if they are helpful here and I'll capture them)

Technical information

ChristophWurst commented 4 years ago

My bad, somehow it showed up on my third attempt. I was possibly just too fast with my interactions. Is the list of sensors loaded async? If so I would suggest to maybe add some text to the end of the sensors list for that so users know it's beneficial to wait a few secs.

Thanks a lot in any case. This app works nicely :rocket:

dennisguse commented 4 years ago

The discovery is done async - let me check if we can add a spinner there somehow.