cagnulein / qdomyos-zwift

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

Support for treadmill NordicTrack Z1300i (Bluetooth only model NTL99418.0) #1805

Closed JosePadron closed 9 months ago

JosePadron commented 10 months ago

Is your feature request related to a problem? Please describe.

Describe the solution you'd like

Describe alternatives you've considered

Additional context

cagnulein commented 10 months ago

thanks! i will check this tomorrow!

Il giorno mer 22 nov 2023 alle 14:22 Jose Padron @.***> ha scritto:

Assigned #1805 https://github.com/cagnulein/qdomyos-zwift/issues/1805 to @cagnulein https://github.com/cagnulein.

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

JosePadron commented 10 months ago

Data seems to be in byte 11 and 12 for the incline and velocity. Values are multiplied by 100.

Byte 10 is set to 2 for incline, and is set to 1 for speed.

JosePadron commented 10 months ago

It looks like you need to update proformtreadmill.cpp to have one more condition in forceIncline and forceSpeed. Incline data and speed bytes doesn't need to be updated.

} else {  // nordictrack_z1300i_treadmill
   write[14] = write[11] + 0x12;
}
cagnulein commented 10 months ago

you can do a PR so it will auto build a test apk

Il giorno mer 22 nov 2023 alle 16:03 Jose Padron @.***> ha scritto:

It looks like you need to update proformtreadmill.cpp to have one more condition in forceIncline and forceSpeed. Incline data and speed bytes doesn't need to be updated.

} else if (nordictrack_z1300i_treadmill) // Nothing to do; data is valid } else { write[14] = write[11] + 0x12; }

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

JosePadron commented 10 months ago

I found the configuration: https://github.com/cagnulein/qdomyos-zwift/pull/1817 Small change to just update the label.

stale[bot] commented 9 months 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.