cagnulein / qdomyos-zwift

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

[BUG] no data from X22i to QZ #2466

Closed Haaland35 closed 3 months ago

Haaland35 commented 4 months ago

Describe the bug QZ installed was via method 2. QZ is running the the background and manual mode with sliders running in the foreground. QZ app on iOS device shows metric steady at zero with no change. Virtual wahoo device and QZ can be discovered inside of zwift.

To Reproduce Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....’
  4. See error

Expected behavior With QZ open on iOS device, expect to see metrics transmitted from NT s22i after manual mode has started.

Screenshots If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

Smartphone (please complete the following information):

debug-Sun_Jul_21_11_08_42_2024.log

Append a debug log

Follow this guide https://github.com/cagnulein/qdomyos-zwift/wiki/How-do-i-get-the-debug-log-in-case-something-doesn't-work%3F

Additional context Add any other context about the problem here.

cagnulein commented 4 months ago

ok the issue seems that the companion can't parse the metrics from the tablet. try to set the x22i device on the companion and restart the whole bike

let me know if it's better and in case it's not send me a newer debug log

thanks

Haaland35 commented 4 months ago

I set the tablet to s22i then reset. I had the same results, the log is attached. debug-Sun_Jul_21_11_42_59_2024.log

the setting on my iOS device for the bike are shown in the attached picture. I do not see a s22i option. IMG_5160

cagnulein commented 4 months ago

i said X22i not S22i it's not a mistake, this setting trigger a different parser engine (there are many different on qz companion)

let me know

Haaland35 commented 4 months ago

Tablet set to X22i, no change. debug-Sun_Jul_21_12_02_42_2024.log

cagnulein commented 4 months ago

now i can see cadence and wattage in the log. don't you? did you try to a quick session?

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

Il giorno dom 21 lug 2024 alle 21:05 Haaland35 @.***> ha scritto:

Tablet set to X22i, no change. debug-Sun_Jul_21_12_02_42_2024.log https://github.com/user-attachments/files/16325762/debug-Sun_Jul_21_12_02_42_2024.log

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

Haaland35 commented 4 months ago

I tried reset the bike again, I did a short 60 second sessions. I do not see the cadence or wattage anywhere except the manual mode screen of the tablet.

attached is the log. debug-Sun_Jul_21_12_18_41_2024.log

cagnulein commented 4 months ago

ok got it, it's reading them , but always the same value over and over.

ok next test: use the 7.5s device in the companion and restart the bike

we have to find the right engine for your bike

let me know

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

Il giorno dom 21 lug 2024 alle 21:25 Haaland35 @.***> ha scritto:

I tried reset the bike again, I did a short 60 second sessions. I do not see the cadence or wattage anywhere except the manual mode screen of the tablet.

attached is the log. debug-Sun_Jul_21_12_18_41_2024.log https://github.com/user-attachments/files/16325799/debug-Sun_Jul_21_12_18_41_2024.log

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

Haaland35 commented 4 months ago

Switched to the 7.5s and restarted. I did a minute run again. I did not see cadence or wattage displayed anywhere but the manual mode screen again.

attached is the log from 7.5s debug-Sun_Jul_21_12_36_45_2024.log

cagnulein commented 4 months ago

ok this is worse, i don't see anything at all. ok so you said that adb doesn't work, right? so we have to find a way to enable it or at least trying to get the logs inside the .wolflogs directory on the tablet. are you able to install a file browser there?

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

Il giorno dom 21 lug 2024 alle 21:44 Haaland35 @.***> ha scritto:

Switched to the 7.5s and restarted. I did a minute run again. I did not see cadence or wattage displayed anywhere but the manual mode screen again.

attached is the log from 7.5s debug-Sun_Jul_21_12_36_45_2024.log https://github.com/user-attachments/files/16325835/debug-Sun_Jul_21_12_36_45_2024.log

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

Haaland35 commented 4 months ago

I will continue to switch engines and report back, thank you for your help.

I just saw your last message. I should be able to install a file browser, let me look and I will let you know.

cagnulein commented 4 months ago

ok the main 3 are the ones that we already tried. that's why i asked about the logs in the folder to understand better your tablet

Haaland35 commented 4 months ago

Unfortunately the attempt to install a file explorer have been unsuccessful. I tried a few different apk, all have failed to download properly. I’m not sure of any other options.

cagnulein commented 4 months ago

Did you try cx file Explorer?

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

Il giorno dom 21 lug 2024 alle 23:01 Haaland35 @.***> ha scritto:

Unfortunately the attempt to install a file explorer have been unsuccessful. I tried a few different apk, all have failed to download properly. I’m not sure of any other options.

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

Haaland35 commented 4 months ago

I apologize for the delay. I tried CX file explorer and other apk that were compatible with android 5.0. They all failed to download correctly and could not be installed.

cagnulein commented 4 months ago

@Haaland35 which error did you get about the installation of cx file explorer? @victorypoint do you have any hints?

cagnulein commented 4 months ago

also @Haaland35 you can ask in these tickets to other x22i owners how they did to get QZ https://github.com/search?q=repo%3Acagnulein%2Fqdomyos-zwift+x22i&type=issues

Haaland35 commented 4 months ago

The error I received was “ Unsuccessful download” in the downloads app. I tried multiple times and versions of the apk. I have a wahoo kickr to use with zwift. I just wanted to make my NT more useful to me as a dedicated trainer. My treadmill has android 7 I will try to use QZ on that. Thank you very much for your assistance and the support of your software!

cagnulein commented 4 months ago

hah wait @Haaland35 try last thing

remove the ip from your current setting (don't leave space on it and press ok)

and instead put it here

image

press ok and restart qz

let me know !

Haaland35 commented 4 months ago

I do not see that option in the drop down. IMG_5170.

I found it under the treadmill setting, I will try it now.

Haaland35 commented 4 months ago

I saw no change after deleting the ip from the bike options and placing it under the treadmill ip. I also switched the tablet from 7.5s,x22i, and s22i. Logs are attached.

7.5s debug-Tue_Jul_23_15_41_45_2024.log

x22i debug-Tue_Jul_23_15_50_06_2024.log

S22i debug-Tue_Jul_23_15_57_58_2024.log

victorypoint commented 4 months ago

@Haaland35 which error did you get about the installation of cx file explorer? @victorypoint do you have any hints?

I suspect the app may be too big for the available storage. You could try FV File Explorer which is a bit smaller if I recall.

cagnulein commented 4 months ago

@Haaland35 you put the ip in the wrong setting! not the tdf companion ip, check my above screenshot! it's under the treadmill settings, nordictrack treadmill. be sure to remove the ip from the one that you fill now

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

@Haaland35 any news?