cagnulein / qdomyos-zwift

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

[BUG] NordicTrack Treadmill model T9.5s #1698

Closed CerysT closed 1 year ago

CerysT commented 1 year ago

Describe the bug I have NordicTrack Treadmill model T9.5s and it is not communicating correctly. I was asked to try a setting and it is not talking to QY

Desktop (please complete the following information):

Smartphone (please complete the following information):

Append a debug log

debug-Wed_Oct_11_08_21_35_2023.log

CerysT commented 1 year ago

no error, i typed it again just to make sure and it was good

CerysT commented 1 year ago

so, now i go into companion on the treadmill and select gran tour pro, reboot the treadmill or just companion?

Then upgrade ifit and see if it sticks or is there something inbetween?

cagnulein commented 1 year ago

ok go on :)

Il giorno mer 11 ott 2023 alle 21:29 CerysT @.***> ha scritto:

no error, i typed it again just to make sure and it was good

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

cagnulein commented 1 year ago

so, now i go into companion on the treadmill and select gran tour pro, reboot the treadmill or just companion?

both is better

Then upgrade ifit and see if it sticks or is there something inbetween?

you should do these steps after the ifit update. but you can try first on this scenario

CerysT commented 1 year ago

okay, ifit upgraded, rebooted treadmill, it still has grand tour bike on companion.

it is working for speed is slightly out and it reads the belt speed as it increases and decreases. doesn't just report 6km as soon as i hit the 6 button

incline is not working though? is it because it is a bike profile

cagnulein commented 1 year ago

wow good news! for the 6km and inclination issue send me a debug log from qz on the phone. i will check it tomorrow!

Il giorno mer 11 ott 2023 alle 21:48 CerysT @.***> ha scritto:

okay, ifit upgraded, rebooted treadmill, it still has grand tour bike on companion.

it is working for speed is slightly out and it reads the belt speed as it increases and decreases. doesn't just report 6km as soon as i hit the 6 button

incline is not working though? is it because it is a bike profile

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

CerysT commented 1 year ago

debug-Wed_Oct_11_20_50_43_2023.log

Okay, I started, adjusted the speed up and down and then tried gradient changes 0 to 2, 2-4, 4-2, 2-0 and none registered. Hope it helps

CerysT commented 1 year ago

It has also held after a reboot of the treadmill

cagnulein commented 1 year ago

great news! i will check it tomorrow, have a nice evening!

Il giorno mer 11 ott 2023 alle 22:02 CerysT @.***> ha scritto:

It has also held after a reboot of the treadmill

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

CerysT commented 1 year ago

You to, thanks!

victorypoint commented 1 year ago

This is great news guys! Thanks @CerysT for doing all this work. It only gets better from here.

cagnulein commented 1 year ago

debug-Wed_Oct_11_20_50_43_2023.log

Okay, I started, adjusted the speed up and down and then tried gradient changes 0 to 2, 2-4, 4-2, 2-0 and none registered. Hope it helps

in this log @CerysT should i see also the problem with the speed? I don't see any hole in the speed reading, am I missing something?

Instead for the inclination, I don't see any grade changing. maybe it's logging it in a different way. could you please do another small workout with inclination changing and while you're still in the workout dumping an adb logcat with this https://github.com/cagnulein/QZCompanionNordictrackTreadmill/blob/master/InstallPackage/adb-debug.bat ?

Thanks!

CerysT commented 1 year ago

Morning

The speed changed but in a different manner to when I was using it before.

Before when I selected a speed the app on my phone changed to that in one big step. Now it is gradually changing as does the belt speed. It is a curve from each speed change instead of a step change.

I will get a workout done with this log. I assume I need to copy this into my install package folder before running?

Thanks

Cerys

On Thu, 12 Oct 2023 at 07:26, Roberto Viola @.***> wrote:

debug-Wed_Oct_11_20_50_43_2023.log https://github.com/cagnulein/qdomyos-zwift/files/12874066/debug-Wed_Oct_11_20_50_43_2023.log

Okay, I started, adjusted the speed up and down and then tried gradient changes 0 to 2, 2-4, 4-2, 2-0 and none registered. Hope it helps

in this log @CerysT https://github.com/CerysT should i see also the problem with the speed? I don't see any hole in the speed reading, am I missing something?

Instead for the inclination, I don't see any grade changing. maybe it's logging it in a different way. could you please do another small workout with inclination changing and while you're still in the workout dumping an adb logcat with this https://github.com/cagnulein/QZCompanionNordictrackTreadmill/blob/master/InstallPackage/adb-debug.bat ?

Thanks!

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

cagnulein commented 1 year ago

Before when I selected a speed the app on my phone changed to that in one big step. Now it is gradually changing as does the belt speed. It is a curve from each speed change instead of a step change.

yes because now is showing the real speed from the treadmill instead of the target one.

I will get a workout done with this log. I assume I need to copy this into my install package folder before running?

yes

CerysT commented 1 year ago

Morning

Even better that it is belt speed then.

Unfortunately it doesn’t seem to be logging anything.

On Thu, 12 Oct 2023 at 08:02, Roberto Viola @.***> wrote:

Before when I selected a speed the app on my phone changed to that in one big step. Now it is gradually changing as does the belt speed. It is a curve from each speed change instead of a step change.

yes because now is showing the real speed from the treadmill instead of the target one.

I will get a workout done with this log. I assume I need to copy this into my install package folder before running?

yes

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

CerysT commented 1 year ago

It is showing in QZ app on my iPhone though

Thanks

Cerys

On Thu, 12 Oct 2023 at 08:17, Cerys Thomas @.***> wrote:

Morning

Even better that it is belt speed then.

Unfortunately it doesn’t seem to be logging anything.

On Thu, 12 Oct 2023 at 08:02, Roberto Viola @.***> wrote:

Before when I selected a speed the app on my phone changed to that in one big step. Now it is gradually changing as does the belt speed. It is a curve from each speed change instead of a step change.

yes because now is showing the real speed from the treadmill instead of the target one.

I will get a workout done with this log. I assume I need to copy this into my install package folder before running?

yes

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

cagnulein commented 1 year ago

what do you mean is not logging anything? run

adb logcat -f

what do you get? i'm starting my workout session so I will be available later today

CerysT commented 1 year ago

Morning

The screenshot I sent. It just stays at that point.

It doesn’t output any files.

I am off to work as well so will catch up later.

Thanks

Cerys

On Thu, 12 Oct 2023 at 08:23, Roberto Viola @.***> wrote:

what do you mean is not logging anything? run

adb logcat -f

what do you get? i'm starting my workout session so I will be available later today

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

cagnulein commented 1 year ago

i don't see any screenshots. you have to upload images from GitHub directly

CerysT commented 1 year ago

IMG_1254

sorry was on my phone and not logged into GutHub

cagnulein commented 1 year ago

Hi @CerysT. I can try to help. Were you able to get an ADB connection working between your treadmill and Windows PC? To test, you can run the "adb-debug.bat" script which is included in the QZ Companion install package at https://github.com/cagnulein/QZCompanionNordictrackTreadmill/tree/master/InstallPackage. The script will ask for the treaadmills IP address and make an ADB connection to your PC. If successful, it will collect several log files which you can upload here in this ticket.

@CerysT so this one is not working now? I thought you said that worked yesterday, am I wrong?

CerysT commented 1 year ago

It worked yesterday before I updated iFit not after

cagnulein commented 1 year ago

maybe we need to use the USB to gain access to adb now? I'm just wondering, unfortunately only you can see how to enable it (I don't have a nordictrack device).

Otherwise you will have to use the old ifit version.

Another way is to continue the USB implementation #1577 but I'm stuck because I would need an usb sniffer on a treadmill directly

CerysT commented 1 year ago

For me personally as a Zwift user, the incline metrics aren't a problem for me. The speed transmitting is the big one for me and with that now working whilst still allowing the latest iFit is great!

However if I can be of any help, please let me know.

cagnulein commented 1 year ago

ok thanks!

victorypoint commented 1 year ago

@CerysT, I'm not sure if this will work on your treadmill but it's a way to disable automatic updates to iFit after a reset. It's worth trying to see if it works for you.

After enabling privileged mode, go to android desktop and run iFit Admin app (not the main iFit app). In the iFit Admin app tap 5 times in upper right of screen to get to a 'Secret Menu'. Note, the precise 5 tap area is small, when you tap your console if you are tapping in the correct spot your console should generate an audible tap sound. Seek the top right corner of the iFit Admin status display box (close to the right edge of the console, down about 1.5" from the top of the console screen). On Secret Menu tap 1st option so it reads 'Auto Update Disabled' or 'Auto-Upgrade Disabled' Back out of the iFit Admin app to the android desktop and run the iFit app Your machine will not update without asking you first Enable Internet on the console

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