cagnulein / qdomyos-zwift

Zwift bridge for smart treadmills and bike/cyclette
https://www.qzfitness.com/
GNU General Public License v3.0
361 stars 106 forks source link

[BUG] ANT+ Heart Rate Sensor not pairing #168

Open BeFlatLine opened 3 years ago

BeFlatLine commented 3 years ago

When using the latest version of QZ (beta - v 2.3.12), my Garmin Vivoactive 4 is not pairing with QZ. It has no issues pairing with other applications on the same device. Other applications tested on: "Zwift" and "Heart Rate to Virtual Power".

To Reproduce Steps to reproduce the behavior:

  1. On Garmin Vivoactive 4:

    • Hold bottom button
    • Select the gear icon (Settings)
    • Select "Wrist Heart Rate"
    • Select "Broadcast"
    • Click the check mark when it asks if you'd like to start broadcasting
  2. On Samsung Galaxy S9+:

    • Open QZ app
  3. On Echelon Connect Sport:

    • Move pedals to initiate bluetooth
  4. On Samsung Galaxy S9+:

    • Verify connection between phone and bike.
    • Verify if heart rate sensor connected (it does not connect)

Expected behavior Heart rate sensor should pair with QZ app and display heart rate data within the application.

Screenshots Screenshots are from Zwift and Heart Rate to Virtual Power apps.
NOTE: Both apps require you to select the HR monitor to initiate connection - perhaps this is the missing piece to resolve the issue?

Zwift - pair Zwift - paired

HR - pair HR - paired

Smartphone Info:

Watch info:

Bike Info:

QZ App Info:

Log files:

debug-Tue Feb 9 09_19_34 2021.log debug-Tue Feb 9 09_16_31 2021.log

cagnulein commented 3 years ago

https://github.com/JanDeVisser/sweattrails/blob/a26b08ba0965eab1036cea99c771acb6c528919f/garmin/resources/protocol%20doc.txt

nieko-nera commented 2 years ago

I can confirm that ANT+ heart rate not working with QZ app. I tested with Garmin Vivoactive 3 and HR belt (Magene H64), they both are working with other ANT+ android apps. With other android apps you need to select which ANT+ devise to use, but with QZ app there is no selection. Is ANT+ should work with Linux to, or Android only?

cagnulein commented 2 years ago

Ant+ heart works with qz but only with some devices. Ant+ needs a rework on QZ

Il giorno sab 23 ott 2021 alle 15:12 Tadas @.***> ha scritto:

I can confirm that ANT+ heart rate not working with QZ app. I tested with Garmin Vivoactive 3 and HR belt (Magene H64), they both are working with other ANT+ android apps. With other android apps you need to select which ANT+ devise to use, but with QZ app there is no selection. Is ANT+ should work with Linux to, or Android only?

— You are receiving this because you were assigned. Reply to this email directly, view it on GitHub https://github.com/cagnulein/qdomyos-zwift/issues/168#issuecomment-950150936, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAALYWCDAF255O277HYB3ALUIKYE5ANCNFSM4XLH44FA .

-- Roberto Viola Software engineer and open source enthusiast http://robertoviola.cloud

nieko-nera commented 2 years ago

Thank You for your work, hope You find some time to look in to this issue. If anyone else have this issue there is workaround, you can use CSC_BLE_Bridge app https://github.com/starryalley/CSC_BLE_Bridge it receives ATN+ signal and then broadcast it as Bluetooth, and then you can use it with QZ app.

nieko-nera commented 2 years ago

Hello again @cagnulein :) Maybe I can capture some logs to help figure out why ANT+ HR receiving on QZ is not working with some devices?

cagnulein commented 2 years ago

hi :D @nieko-nera i know where the issue is. I have to change the ANT library but i don't have the time right now. But the good news is that it's doable.

stale[bot] commented 2 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.