cagnulein / qdomyos-zwift

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

Elevation Gain Decreasing #2302

Closed hellobensalt closed 1 day ago

hellobensalt commented 3 weeks ago

The elevation gain recorded by QZ decreases when the incline override in Horizon Treadmill settings is set to a negative number.

I've set the incline override to -2.

  1. When I start my treadmill with the treadmill incline on zero, the elevation gain recorded by QZ becomes negative.
  2. When I increase the incline of my treadmill to 2, the elevation gain recorded by QZ does not change (this is correct).
  3. When I increase the incline of my treadmill above 2 (e.g., to 3), the elevation gain recorded by QZ goes up (this is correct).
  4. But, when I decrease the incline of my treadmill back down to 1 or 0, the elevation gain recorded by QZ decreases.

Elevation gain should never decrease and cannot be less than zero.

Hardware/software: Horizon 7.4AT-03 treadmill, Pixel 6 phone running latest Android version, QZ 2.16.50

I've attached a bug report. However, QZ was stuck in pause mode when I ran this test (this is a separate issue), but I think the elevation data should still be shown. If not, please let me know.

debug-Mon_Apr_22_16_35_10_2024.log

cagnulein commented 3 weeks ago

yes fixed here this morning https://github.com/cagnulein/qdomyos-zwift/issues/2259#issuecomment-2068650015

hellobensalt commented 3 weeks ago

Oh, no! Sorry, I was too slow... I've been very busy. I'm about to post another issue.

stale[bot] commented 1 week 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.