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

Getting auto-incline working #57

Closed TrisLumley closed 11 months ago

TrisLumley commented 1 year ago

Hi Roberto, great app, working now on Nordictrack 2950 👍 but I can't see where to enable Zwift to control the treadmill incline, or find instructions online - sorry! Any help would be very much appreciated.

Thanks Tris

cagnulein commented 1 year ago

@TrisLumley hi! thanks! where are you running qz?

TrisLumley commented 1 year ago

On Pixel 6 phone - working great. Zwift on PC. All connected - Zwift sees WahooTread03. So it's reporting speed and incline correctly, but not controlling. Tried your meetup approach from YouTube video but no auto-incline. Thanks!

cagnulein commented 1 year ago

first of all, if you press the plus button on the inclination tile on qz, the inclination changes on the treadmill?

Il giorno mer 30 ago 2023 alle 19:21 TrisLumley @.***> ha scritto:

On Pixel 6 phone - working great. Zwift on PC. All connected - Zwift sees WahooTread03. So it's reporting speed and incline correctly, but not controlling. Tried your meetup approach from YouTube video but no auto-incline. Thanks!

— Reply to this email directly, view it on GitHub https://github.com/cagnulein/QZCompanionNordictrackTreadmill/issues/57#issuecomment-1699567207, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAALYWDXST4RES57EKIFHR3XX5ZBJANCNFSM6AAAAAA4EZ7RBE . You are receiving this because you commented.Message ID: @.*** com>

TrisLumley commented 1 year ago

No, nothing happens if I press the buttons on the inclination tile

cagnulein commented 1 year ago

ok that's the issue which device do you select in the companion?

Il giorno mer 30 ago 2023 alle 19:33 TrisLumley @.***> ha scritto:

No, nothing happens if I press the buttons on the inclination tile

— Reply to this email directly, view it on GitHub https://github.com/cagnulein/QZCompanionNordictrackTreadmill/issues/57#issuecomment-1699582735, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAALYWH4OPT4XRVBUO27PNDXX52OLANCNFSM6AAAAAA4EZ7RBE . You are receiving this because you commented.Message ID: @.*** com>

TrisLumley commented 1 year ago

Nordictrack 2950 (22 max speed).

I just noticed that when I press the incline buttons on QZ, I hear a beep on the treadmill. So something is coming through, but not controlling

cagnulein commented 1 year ago

both speed and inclination doesn't work? i guess the coordinates of your ifit tablet are different from the one that i implemented

Il giorno mer 30 ago 2023 alle 19:37 TrisLumley @.***> ha scritto:

Nordictrack 2950 (22 max speed).

I just noticed that when I press the incline buttons on QZ, I hear a beep on the treadmill. So something is coming through, but not controlling

— Reply to this email directly, view it on GitHub https://github.com/cagnulein/QZCompanionNordictrackTreadmill/issues/57#issuecomment-1699588520, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAALYWDNBXXYPTU4MXD2AW3XX527DANCNFSM6AAAAAA4EZ7RBE . You are receiving this because you commented.Message ID: @.*** com>

TrisLumley commented 1 year ago

Yes, speed doesn't work either. I think there's a new 2950 with a screen that turns on a pivot - mine is the older 2020 version

TrisLumley commented 1 year ago

Can I help implement for this version?

cagnulein commented 1 year ago

yes there is an adb screenshot batch file on the installation folder that will help me to measure the touch area

TrisLumley commented 1 year ago

Do I need to run another of the batch files first? I get an adb error - no devices/emulators found

cagnulein commented 1 year ago

how did you install the companion in the first place? adb or browser ?

Il giorno mer 30 ago 2023 alle 20:11 TrisLumley @.***> ha scritto:

Do I need to run another of the batch files first? I get an adb error - no devices/emulators found

— Reply to this email directly, view it on GitHub https://github.com/cagnulein/QZCompanionNordictrackTreadmill/issues/57#issuecomment-1699629285, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAALYWDKPYZRYBFKOF6QSA3XX563XANCNFSM6AAAAAA4EZ7RBE . You are receiving this because you commented.Message ID: @.*** com>

TrisLumley commented 1 year ago

ADB

cagnulein commented 1 year ago

are you sure adb is still on in on the treadmill?

can you run

adb connect ip of the treadmill

first

let me know

Il giorno mer 30 ago 2023 alle 20:15 TrisLumley @.***> ha scritto:

ADB

— Reply to this email directly, view it on GitHub https://github.com/cagnulein/QZCompanionNordictrackTreadmill/issues/57#issuecomment-1699634766, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAALYWH7O2KIJXMVLHJFZ3DXX57MZANCNFSM6AAAAAA4EZ7RBE . You are receiving this because you commented.Message ID: @.*** com>

TrisLumley commented 1 year ago

Got it to work by running the restart batch file. Should I email you the .PNG file?

TrisLumley commented 1 year ago

30-08-2023@19-19-00 90

cagnulein commented 1 year ago

hi @TrisLumley i need the screenshot of your manual workout screen :)

just a stupid question: were you in the manual workout when you tried to change the speed?

TrisLumley commented 1 year ago

30-08-2023@22-05-14 32

TrisLumley commented 1 year ago

yes I was in the Manual Workout mode

cagnulein commented 1 year ago

ok perfect, i will compare the coordinates then

@victorypoint another tablet version?

victorypoint commented 1 year ago

ok perfect, i will compare the coordinates then

@victorypoint another tablet version?

Yeah, strange that the Nordictrack 2950 (22 max speed).device doesn't work. We'll have to revisit the equations.

cagnulein commented 1 year ago

@victorypoint X coordinates are fine, but the Y are totally wrong...200 pixel of offset from what I saw. @TrisLumley which ifit version do you have on the tablet?

victorypoint commented 1 year ago

What screen size tablet and resolution?

cagnulein commented 1 year ago

What screen size tablet and resolution?

the image is the classic 1920x1080

TrisLumley commented 1 year ago

I will check when back home, thx for the effort guys!

TrisLumley commented 1 year ago

So the screen size is 22" (55cm diagonal - 475 x 270 mm) iFit App version is 2.6.86.4458 Can't see screen resolution anywhere in the Android settings so assume is 1920x1080 as you say It's the 2020 model of the Commercial 2950 - the existing QZ settings may be for the updated 2022 model

TrisLumley commented 1 year ago

Just finished a run, and now speed and incline buttons are working in QZ! I think the virtual controls on the iFit screen may have been hidden last time. So QZ is remotely controlling! But no auto-incline control by Zwift in meetup

cagnulein commented 1 year ago

Great News! Did the incline work when you were in bike mode?

Il giorno gio 31 ago 2023 alle 19:51 TrisLumley @.***> ha scritto:

Just finished a run, and now speed and incline buttons are working in QZ! I think the virtual controls on the iFit screen may have been hidden last time. So QZ is remotely controlling! But no auto-incline control by Zwift in meetup

— Reply to this email directly, view it on GitHub https://github.com/cagnulein/QZCompanionNordictrackTreadmill/issues/57#issuecomment-1701504902, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAALYWDRZECQVQPYVF5D22DXYDFKLANCNFSM6AAAAAA4EZ7RBE . You are receiving this because you commented.Message ID: @.*** com>

TrisLumley commented 1 year ago

Haven't tried that - thought I was supposed to use run

cagnulein commented 1 year ago

yes but to validate the auto inclination is a good way . so give it a try!

Il giorno gio 31 ago 2023 alle 19:54 TrisLumley @.***> ha scritto:

Haven't tried that - thought I was supposed to use run

— Reply to this email directly, view it on GitHub https://github.com/cagnulein/QZCompanionNordictrackTreadmill/issues/57#issuecomment-1701510077, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAALYWDNQQOPID5WQDU562DXYDFUFANCNFSM6AAAAAA4EZ7RBE . You are receiving this because you commented.Message ID: @.*** com>

victorypoint commented 1 year ago

Just finished a run, and now speed and incline buttons are working in QZ! I think the virtual controls on the iFit screen may have been hidden last time. So QZ is remotely controlling! But no auto-incline control by Zwift in meetup

Excellent news @TrisLumley. So you need to pair devices in Bike mode in order for auto-inclination to work.

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