cagnulein / qdomyos-zwift

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

Healthrider H30X Resistance buttons not working in app. Not seeing all 22 resistance settings[BUG] #2359

Closed CurtisVermeeren closed 6 months ago

CurtisVermeeren commented 6 months ago

Describe the bug I am unable to adjust the resistance of a Healthrider H30X using the app. The + and - buttons on the resistance tile do not change the device setting.

When manually adjusting the resistance using the buttons on the machine the reported values in the app do not match. The machine has resistance 1-22 but the app does not show all values in this range.

To Reproduce This issue was consistent every time I connected to the machine with the app.

Expected behavior I expected pressing the + and - buttons on the resistance tile of the app would change the resistance on the machine from 1 to 22.

Smartphone (please complete the following information): Google Pixel 7a Android 14

Append a debug log

debug-Tue_May_28_21_13_10_2024.log

btsnoop_hci.log

Additional context I think the Healthrider H30x is very similar to the Proform CSX 325 #1602 based on appearance

The Healthrider H30x appears as I_EB in the app.

cagnulein commented 6 months ago

Thanks I will check it ASAP

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

Il giorno mer 29 mag 2024 alle 04:32 Curtis @.***> ha scritto:

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

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

cagnulein commented 6 months ago

Hi! in the hci snoof did you change the resistance from the ifit app directly? I don't see them. Let me know!

CurtisVermeeren commented 6 months ago

I changed the resistance from the bike console. Should I redo the log using the iFit android app?

cagnulein commented 6 months ago

Yes because I need to sniff the ifit protocol when you do this Thanks

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

Il giorno mer 29 mag 2024 alle ore 14:30 Curtis @.***> ha scritto:

I changed the resistance from the bike console. Should I redo the log using the iFit android app?

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

CurtisVermeeren commented 6 months ago

Here is a new log I created using the iFit app to change resistances from 1 to 22.

btsnoop_hci.log

As an aside when I re-paired the bike with the iFit app I noticed it was recognized as a proform 325 csx by the iFit app.

cagnulein commented 6 months ago

i almost did everything, i just need the command of the first resistance, because you started pressing plus but i don't know the first resistance command. are you able to collect it again going from 1 to 22 and then back to 1? Thanks

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

Il giorno mer 29 mag 2024 alle ore 14:53 Curtis @.***> ha scritto:

Here is a new log I created using the iFit app to change resistances from 1 to 22.

btsnoop_hci.log https://github.com/cagnulein/qdomyos-zwift/files/15484579/btsnoop_hci.log

As an aside when I re-paired the bike with the iFit app I noticed it was recognized as a proform 325 csx by the iFit app.

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

cagnulein commented 6 months ago

in the meantime @CurtisVermeeren you can try this version https://github.com/cagnulein/qdomyos-zwift/actions/runs/9287327642

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

CurtisVermeeren commented 6 months ago

Here is the log going from 1 to 22 then back from 22 to 1

btsnoop_hci.log

CurtisVermeeren commented 6 months ago

I will try the beta version when it's available

cagnulein commented 6 months ago

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

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

CurtisVermeeren commented 6 months ago

I enabled the Proform CSX 325 / Healthrider H30X profile in the bike options of settings and then the QZ app worked as intended.

I was able to go from 1 to 22 using the app or the bike controls and both synced properly!

cagnulein commented 6 months ago

Amazing!