cagnulein / qdomyos-zwift

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

[BUG] Can not auto adjust downhill inclination in Kinomap- Sole TT8 treadmill #2625

Open Kelvin-Wu opened 2 weeks ago

Kelvin-Wu commented 2 weeks ago

Kinomap only work on inclination greater than 0. It does nothing when the value is less than 0. For example: The route inclination is 0 -> 5 -> -2 -> -10 -> 2 , but the actually appears is 0 -> 5 -> 5 -> 5 -> 2

debug-Sun_Sep_29_01_00_02_2024.log

cagnulein commented 2 weeks ago

I guess I found the issue!

https://github.com/cagnulein/qdomyos-zwift/actions/runs/11085924041

Google is very slow in these days, reviewing the app on the store, even the beta ones. For this reason, in order to check right now if the patch that I did is right, you can use the android build in the link (check at the bottom of the page in about 1 hour). In order to test it you need first to remove the current QZ version on your phone, install the one that you downloaded. This version is a 15 minutes trial (you can restart it as many times as you want) and I can unlock it if you want, send me an email to roberto.viola83@gmail.com mentioning this ticket and that you are on android. Let me know if you have any questions

Kelvin-Wu commented 2 weeks ago

Hi there, Thank you for your quick reply. This version does not solve the problem.

debug-Sun_Sep_29_10_57_20_2024.log debug-Sun_Sep_29_11_01_52_2024.log

cagnulein commented 2 weeks ago

Hi I checked the log and Kinomap is not sending any negative inclination. Can you please put me in CC in the communication with them so I can share the log and explain what's the issue?

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

Il giorno dom 29 set 2024 alle 05:13 Kelvin-Wu @.***> ha scritto:

Hi there, Thank you for your quick reply. This version does not solve the problem.

debug-Sun_Sep_29_10_57_20_2024.log https://github.com/user-attachments/files/17177398/debug-Sun_Sep_29_10_57_20_2024.log debug-Sun_Sep_29_11_01_52_2024.log https://github.com/user-attachments/files/17177399/debug-Sun_Sep_29_11_01_52_2024.log

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

Kelvin-Wu commented 2 weeks ago

Hi Roberto, I've added you in the mail loop. Thanks for your help.

cagnulein commented 2 weeks ago

No problem!

Il giorno dom 29 set 2024 alle 07:40 Kelvin-Wu @.***> ha scritto:

Hi Roberto, I've added you in the mail loop. Thanks for your help.

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

cagnulein commented 2 weeks ago

@Kelvin-Wu based on the kinomap answer (they are using resistance instead of inclinations!!) i did a patch https://github.com/cagnulein/qdomyos-zwift/actions/runs/11107952180

can you try it?

Kelvin-Wu commented 2 weeks ago

@cagnulein Thanks for your help. It is not resolve, still the same. Attached is the log, and also attach the screenshot in nRF Connect app.

This is really weird, when I connect directly to the Kinomap, the incline can drops but only to 0. For example: The route inclination is 0 -> 5 -> -2 -> -10 -> 2 , but the actually appears is 0 -> 5 -> 0 -> 0 -> 2 When passing through QZ, actually appears is 0 -> 5 -> 5 -> 5 -> 2

debug-Mon_Sep_30_22_50_33_2024.log Screenshot (2024年9月30日 下午10_36_58)

cagnulein commented 2 weeks ago

yes it's still don't sending negative inclinations. you should check what nrfconnect see from the qz interface not for the treadmill one, and then sending them that too (first show me it here)

let me know

Kelvin-Wu commented 2 weeks ago

Hi Here is the screenshot from connect to QZ. Screenshot_20240930-232646

cagnulein commented 2 weeks ago

ok i replied to kinomap now

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

Il giorno lun 30 set 2024 alle ore 17:45 Kelvin-Wu @.***> ha scritto:

Hi Here is the screenshot from connect to QZ. Screenshot_20240930-232646.png (view on web) https://github.com/user-attachments/assets/245ccd25-39b9-42f1-8926-d57d0310aaef

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