cagnulein / QZCompanionNordictrackTreadmill

Companion App of QZ for Nordictrack Treadmills and Bikes
https://www.qzfitness.com/
GNU Affero General Public License v3.0
43 stars 12 forks source link

Incline works but not resistance on S22i #100

Closed Esya closed 2 months ago

Esya commented 3 months ago

Hi, first of all - thanks for the amazing project, I've been looking for something like this for a long time!

I moved my s22i to privileged mode and installed the companion app through ADB using the latest release (3.3.44) I set my bike as s22i in the companion app.

In the settings :

I then tried both with the QZ Desktop and Android version to connect to the nordictrack s22i, and in both cases :

I get the correct data coming in (Resistance, inclination, speed, etc...) but, when I start a manual workout, I can only set the incline, not the resistance

Side note: My resistance and inclination sliders are on and visible during this process

Any ideas ?

Thanks!

cagnulein commented 3 months ago

Yes that's right, qz controls only the inclination since the inclination affects also the resistance on your bike

Esya commented 3 months ago

The documentation states that I should be able to later use autoresistance for use with zwift , I suppose to use erg mode, does that mean that while on a flat road in zwift, if the expected power increases, Qz will increase the incline instead of increasing the resistance?

If the companion app is able to programmatically manipulate sliders, shouldn't it be able to manipulate the resistance slider too ?

On Mon, May 27, 2024, 06:30 Roberto Viola @.***> wrote:

Yes that's right, qz controls only the inclination since the inclination affects also the resistance on your bike

— Reply to this email directly, view it on GitHub https://github.com/cagnulein/QZCompanionNordictrackTreadmill/issues/100#issuecomment-2132621871, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAHEZW7I5K3YE4WLICFFSOLZEKZIFAVCNFSM6AAAAABIKGJHA6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMZSGYZDCOBXGE . You are receiving this because you authored the thread.Message ID: @.*** com>

cagnulein commented 3 months ago

Yes as I implemented now QZ handles directly the inclination in order to have ERG mode and free ride with one slider handling. Of course I can change this, but this is the state of the art. Let me know!

cagnulein commented 3 months ago

by they way the erg handling for s22i is in the qz version 2.16, i don't know if you are already using this version. let me know

Esya commented 3 months ago

I see - thanks, I'll give it a try, I thought something was wrong with my setup! I still think that the best behavior would be to first adjust resistance, then incline if resistance is already at it's max - so that the inclination can still physically match Zwift - but I looked at the code and it would seem like some amount of work

For QZ, I picked the latest release from Github to try the desktop windows version, and the one from the playstore on my android device (this one is 2.14) - I suppose for 2.16 on android I either need to do a manual APK install or join the beta program ?

Also, would you be able to let me know then if I need to enable a specific option for erg mode on the s22i ?

Thanks again, I was considering selling my s22i to get a turbo trainer but it seems that I might be able to keep it!

cagnulein commented 3 months ago

you can join the beta for android here https://play.google.com/apps/testing/org.cagnulen.qdomyoszwift

handling the resistance only is possible, but since it would change the behaviour i have to create also another setting to don't break the compatibility with the rest of the people so i would like to keep the thing as they are if possible.

for erg, just enable the erg mode in qz (there is also a button in the tile setting for this)

Let me know!

stale[bot] commented 2 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 2 months ago

@Esya any news?