cagnulein / qdomyos-zwift

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

[BUG] ifit integration issue: always starts manual ride after connected to I_EL and resistance is not synced #2633

Open ann-one opened 1 week ago

ann-one commented 1 week ago

Describe the bug ifit integration with qz on Android phone and ifit on iphone. ifit always launches a manual ride as soon as it connects to I_EL virtual device even before hitting start. Also the resistance shown on ifit isn't synced with qz, resistance adds and subtracts to the current starting resistance on bike. For example, if qz is started with resistance 3 ifit will add resistance based on that starting number so that when ifit shows 5, the bike will increment to resistance 8.

To Reproduce Steps to reproduce the behavior: qz on Android, ifit on iphone with ifit integration launch qz and connect to bike without hitting start launch ifit on iphone, connect to Android I_EL device ifit immediately starts manual ride, and adding any resistance in ifit will add to the current actual starting resistance of bike

Expected behavior ifit should not automatically start a manual bike ride, or should at least wait until hitting start in qz ifit should sync the resistance with qz rather than adding additional resistance

Smartphone (please complete the following information): Samsung S24 Ultra latest os with qz iphone SE2 latest os with ifit

cagnulein commented 1 week ago

@ann-one In order to fix the resistance offset you have to change the zwift resistance offset setting. Put it to 1

Let me know

ann-one commented 1 week ago

That worked! Thanks for the quick response. What about the ifit integration issue?

cagnulein commented 1 week ago

That's not easy to fix because the ifit protocol is a nightmare , i will check if i can do something

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

Il giorno sab 5 ott 2024 alle 08:48 Ann @.***> ha scritto:

That worked! Thanks. What about the ifit integration issue?

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