cagnulein / qdomyos-zwift

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

[BUG] HR drops with QZ Companion #2365

Closed rflemming closed 5 months ago

rflemming commented 6 months ago

Describe the bug My last few rides the HR data drops out every 4min or so. This is in combination with a Garmin 245M and using the latest QZ Companion app and QZ running on a Pixel 8. The drop outs are visible in real-time when the QZ app is running on my phone and in the fit files, however even when the app is temporarily showing 0, the QZ Companion app on my watch shows the correct HR. Similar drop outs are not present during other Garmin activities such as running, etc. This has always been when doing a Peloton workout and most recently it looked like the first drop out matched up to hitting start when the Peloton class started (ie HR was present in the app before starting the workout, but temporarily disappeared once the workout was started). Given the periodicity, perhaps this is some sort of threading issue where communication to QZ companion is lost as something else running.

To Reproduce Steps to reproduce the behavior:

  1. Start QZ Companion
  2. Start QZ app
  3. Begin Pelton workout.
  4. Observe HR falling to 0 every ~4min

Expected behavior I took a bit of a break using the bike so I can't say when this first started, but it has been working fine in January. Obviously these drop outs shouldn't be there.

Screenshots Here are my last 4 Peloton rides: hr

Smartphone (please complete the following information):

Append a debug log

I didn't grab one this last ride, I'll get one next time.

cagnulein commented 6 months ago

Hi attach a debug log of the issue thanks! https://github.com/cagnulein/qdomyos-zwift/wiki/How-do-i-get-the-debug-log-in-case-something-doesn't-work%3F

rflemming commented 6 months ago

Alrighty, so it happens on a non Peloton ride as well. Screenshot below and debug log attached

Sat Jun 1 08_37_25 2024_heart [debug-Sat_Jun_1_08_31_35_2024.log](https://github.com/user-attachments/files/15522353/debug-Sat_Jun_1_08_31_35_2024.log)

cagnulein commented 6 months ago

Disable the ant heart setting if you are using the qz companion app on garmin Let me know

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

Il giorno sab 1 giu 2024 alle 17:44 rflemming @.***> ha scritto:

Alrighty, so it happens on a non Peloton ride as well. Screenshot below and debug log attached

Sat.Jun.1.08_37_25.2024_heart.png (view on web) https://github.com/cagnulein/qdomyos-zwift/assets/7843512/214c5018-97bf-490e-9ef8-a63ca7214f08 debug-Sat_Jun_1_08_31_35_2024.log https://github.com/user-attachments/files/15522353/debug-Sat_Jun_1_08_31_35_2024.log

— Reply to this email directly, view it on GitHub https://github.com/cagnulein/qdomyos-zwift/issues/2365#issuecomment-2143492527, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAALYWFUC7QRLJHEG67BB2LZFHT65AVCNFSM6AAAAABITOFBTOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNBTGQ4TENJSG4 . You are receiving this because you were assigned.Message ID: @.***>

rflemming commented 5 months ago

That indeed solved it. Thanks.

cagnulein commented 5 months ago

great!