cagnulein / qdomyos-zwift

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

[BUG]Domyos Challenge Bike (TC-0421) crashes app #2120

Closed Banetta88 closed 5 months ago

Banetta88 commented 6 months ago

Describe the bug The qz domyos app on Android smartphone & Tablet crashes when it connects to the bike. It recognizes the bike, it connects but shortly after that the qz app crashes.

To Reproduce Steps to reproduce the behavior: 1 turn on the bike 2 start qz domyos app 3 qz domyos app connects with bike for a second 4 app crashes to homescreen

Expected behavior App connects with the bike and stays connected

Screenshots 426833004_3408233839481199_7125641810487778250_n (1) 1707687954043 1707687954038

Smartphone (please complete the following information):

Append a debug log

Follow this guide https://github.com/cagnulein/qdomyos-zwift/wiki/How-do-i-get-the-debug-log-in-case-something-doesn't-work%3F

Additional context Add any other context about the problem here.

cagnulein commented 6 months ago

thanks i will add it tomorrow!

cagnulein commented 6 months ago

hi @Banetta88 done! https://github.com/cagnulein/qdomyos-zwift/actions/runs/7866100027

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

cagnulein commented 6 months ago

@Banetta88 are we ok with this?

Banetta88 commented 6 months ago

Hey, connection is stable. The only thing I have to check is the resistance ratio. The Challenge bike has 32 resistance levels but it seems like the scaling is a bit off. 100% target resistance is resistance level 25 on bike. Maybe I need to play around with the options in the app

cagnulein commented 6 months ago

are you using qz with zwift? or standalone? in case share here a debug log and I will check it

Banetta88 commented 6 months ago

Connected with Zwift as standalone. The scaling thing was with peloton. I'll test it in the next few days and let you know

Banetta88 commented 6 months ago

Attached the debug file: debug-Fri_Feb_16_13_22_22_2024.log

If I use the peloton app and for example the resistance is set to 25 (1-100) by the app, the challenge bike is set to level 9 (1-32). At the app´s default of 45, the bike sets to 11. Is it possible to adjust the scaling of the resistance?

cagnulein commented 6 months ago

hi @Banetta88 you can use the peloton resistance gain and offset to calibrate the target resistance. try to check if you obtain the result that you need. for example if it's now too hard, set the peloton resistance gain to 1.5 to lower it of a 50%

let me know

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

cagnulein commented 6 months ago

@Banetta88 any news?

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