Closed JosePadron closed 9 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: @.***>
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.
Example 0.5% Incline (Raw data is 50): 0000 02 03 00 1b 00 17 00 04 00 12 0e 00 ff 0d 02 04 ................ 0010 02 09 04 09 02 01 02 32 00 00 44 00 00 00 00 00 .......2..D.....
Example 4.0% incline (Raw data is 400): 0000 02 03 00 1b 00 17 00 04 00 12 0e 00 ff 0d 02 04 ................ 0010 02 09 04 09 02 01 02 90 01 00 a3 00 00 00 00 00 ................
Example 3 mph speed (raw data is 482, 4.82 kmh = 3mph): 0000 02 03 00 1b 00 17 00 04 00 12 0e 00 ff 0d 02 04 ................ 0010 02 09 04 09 02 01 01 e2 01 00 f4 00 00 00 00 00 ................
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;
}
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: @.***>
I found the configuration: https://github.com/cagnulein/qdomyos-zwift/pull/1817 Small change to just update the label.
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.
Is your feature request related to a problem? Please describe.
Describe the solution you'd like
Describe alternatives you've considered
Additional context
Treadmill info:
Steps during Bluetooth HCI snoop log:
Log file:
CE:DD:B5:2E:16:49 [ LE ] I_TL
hci_snoop_2023_11_22_07_45_33.cfa.zip