cagnulein / QZCompanionNordictrackTreadmill

Companion App of QZ for Nordictrack Treadmills and Bikes
https://www.qzfitness.com/
GNU Affero General Public License v3.0
43 stars 12 forks source link

NordicTrack X11i - watt value takes on huge value when incline level set to "-6%" #52

Closed dirtdog1 closed 1 year ago

dirtdog1 commented 1 year ago

As per the description. I started a workout, walked for a few minutes and set the incline to -6% (negative six percent).

Upon doing that, the watts in the grid seemed to hit a max value of sorts (or wrap around) - see screenshot below.

Screenshot_20230612-143722

Happy to provide more information if needed.

cagnulein commented 1 year ago

thanks @dirtdog1 it seems a stupid issue with the wattage calculation. can you send me a debug log from QZ with this issue? Thanks!

dirtdog1 commented 1 year ago

No worries. And no rush with the issue, it was just something I noticed.

I caught the issue in this log. Search for "-6" and you should see lines like these:

`Mon Jun 12 15:27:32 2023 1686580052124 Debug: ../src/bluetooth.cpp void bluetooth::debug(const QString &) "Current Inclination: -6"

Mon Jun 12 15:27:32 2023 1686580052125 Debug: ../src/bluetooth.cpp void bluetooth::debug(const QString &) "Current Speed: 2"

Mon Jun 12 15:27:32 2023 1686580052125 Debug: ../src/bluetooth.cpp void bluetooth::debug(const QString &) "Current Calculate Distance: 0.00484"

Mon Jun 12 15:27:32 2023 1686580052126 Debug: ../src/bluetooth.cpp void bluetooth::debug(const QString &) "Current Watt: 65532`

debug-Mon_Jun_12_15_27_18_2023.log

cagnulein commented 1 year ago

thanks, i will fix this in the next beta build of qz. send me an email to roberto.viola83 at gmail.com indicating this ticket and if you are on android or iOS. Thanks!

dirtdog1 commented 1 year ago

That's done. Cheers

cagnulein commented 1 year ago

fixed in the 2.13.79 I will try to send it today/tomorrow! let me know if it will work

dirtdog1 commented 1 year ago

Perfect - thank you!

On Wed, 14 Jun 2023, 10:55 Roberto Viola, @.***> wrote:

fixed in the 2.13.79 I will try to send it today/tomorrow! let me know if it will work

— Reply to this email directly, view it on GitHub https://github.com/cagnulein/QZCompanionNordictrackTreadmill/issues/52#issuecomment-1590874938, or unsubscribe https://github.com/notifications/unsubscribe-auth/BAQBE736NJSPPDXA2OVNEVLXLGDBHANCNFSM6AAAAAAZDM5K6M . You are receiving this because you were mentioned.Message ID: @.*** com>

dirtdog1 commented 1 year ago

This is looking good in the latest beta. Closing the ticket.

Screenshot_20230615-175927