Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I can't control the speed/inclination/resistance of my treadmill/bike #89

Closed
CDBentley opened this issue Feb 26, 2024 · 145 comments
Closed
Labels
wontfix This will not be worked on

Comments

@CDBentley
Copy link

Hello,

I have a Nordictrack x7i and the QZ beta. The metrics correctly go to the QZ app, however, I cannot control the treadmill from QZ. I have enabled ADB Remote in QZ.

Other information:
Zwift recognizing my treadmill and the changes that I make on the treadmill control panel. I have enabled the sliders on the treadmill screen as well.

So the app is usuable for me but I cannot control the treadmill from the app, nor does auto-inclination/speed changes work in Zwift.

@cagnulein
Copy link
Owner

hi @CDBentley could you please tell me if you can see a virtual touch event on the treadmill tablet when you change the speed or the inclination from QZ?

@CDBentley
Copy link
Author

I cannot change the speed or inclination from QZ

@cagnulein
Copy link
Owner

yeah but are you seeing a virtual touch event on the treadmill tablet when you change the speed or the inclination from QZ? even if in a wrong position?

@CDBentley
Copy link
Author

I am not sure what "a virtual touch event" is. When I open the app after I have started my treadmill, the app accurately displays the treadmill speed and inclination. When I try to use the + or - for either speed or inclination in the app, nothing happens. The app does not change the speed or inclination, nor does it change the speed or inclination on my treadmill. The readings are still identical. I hope that makes sense.

@cagnulein
Copy link
Owner

let me try to explain this better: when you press a + or - button in the speed or inclination tile in qz, qz try to send a virtual touch event on the tablet of your treadmill. So you should see like someone touch your screen (maybe on a wrong coordinates). Don't you see this at all?

If not let's start with a debug from QZ while you're trying to do so https://github.com/cagnulein/qdomyos-zwift/wiki/How-do-i-get-the-debug-log-in-case-something-doesn't-work%3F

Let me know!

@CDBentley
Copy link
Author

No, I do not see that at all - nothing happens

@cagnulein
Copy link
Owner

ok share a debug log so as I suggested above. I will check it tomorrow.
Thanks

@CDBentley
Copy link
Author

ok, thank you.

@CDBentley
Copy link
Author

I also noticed that the app is still showing "connecting" during these tests. Also, when I go to advanced settings and manual device I do not see my treadmill listed. I am not if that matters or not, but wanted to add that.

@cagnulein
Copy link
Owner

cagnulein commented Feb 26, 2024 via email

@CDBentley
Copy link
Author

Where is the qdomyos folder that you are requesting the debug log from? I do not have that folder on my PC because I downloaded the installer package from the treadmill browser and ran it there. I have no files on my iPhone files app.

@CDBentley
Copy link
Author

I had wanted to do the install from my PC, but could not download the installer package (there was no option to download that I could find). You then sent me the link to access the package from the treadmill browser instead.

@cagnulein
Copy link
Owner

Where is the qdomyos folder that you are requesting the debug log from? I do not have that folder on my PC because I downloaded the installer package from the treadmill browser and ran it there. I have no files on my iPhone files app.

Here
image

@cagnulein
Copy link
Owner

I had wanted to do the install from my PC, but could not download the installer package (there was no option to download that I could find). You then sent me the link to access the package from the treadmill browser instead.

That's the link anyway https://github.com/cagnulein/QZCompanionNordictrackTreadmill/archive/refs/tags/3.3.40.zip

@CDBentley
Copy link
Author

I do not have the folder in either my icloud drive or "on my iPhone"

@cagnulein
Copy link
Owner

Can you please show me where are you looking at?

@CDBentley
Copy link
Author

I have to wait for the video to upload to the cloud. It is too big to email.

@CDBentley
Copy link
Author

But I am using the "Files" app on my phone and it has two locations - on my iPhone and icloud drive.

@cagnulein
Copy link
Owner

It has to be there, maybe you are not under the root folder

@CDBentley
Copy link
Author

Unfortunately, I am not a developer. I have enough tech knowledge and can follow directions. The video is too larger to share. I need to take screen shots.

@CDBentley
Copy link
Author

IMG_0139
IMG_0140
IMG_0141

@cagnulein
Copy link
Owner

put the video on icloud and share the link.
also be sure that qz has all the permission in the settings app
which ios version is it?

@CDBentley
Copy link
Author

@CDBentley
Copy link
Author

IOS 17.3.1
The only permissions I see are for access to blue tooth, motion & fitness, siri & search, and notifications.

@cagnulein
Copy link
Owner

that's so strange. let me send you a testflight version to understand if it makes any difference

@CDBentley
Copy link
Author

I have the testflight beta version

@cagnulein
Copy link
Owner

yeah just to be sure I sent you the one from today. Never saw a similar issue. Maybe you have some setting to hide some folder on the files app?

@CDBentley
Copy link
Author

Nothing seems to be hidden. Under "view options" I told it to show all extensions. My phone isn't "jailbroken" (not sure if that matters).

@CDBentley
Copy link
Author

I actually have to leave for Italian class :)
I am not sure what else to do unless I uninstall and reinstall on my PC using the installer package you sent. The app works to connect to Zwift. I just have to manually change the inclination and speed on my treadmill.

@cagnulein
Copy link
Owner

cagnulein commented Feb 26, 2024 via email

@CDBentley
Copy link
Author

show me a screenshot of the window that you see as output from it

Do you mean a screenshot of the directory where the log file is generated or do you mean open the generated log file and screen shot the contents?

@cagnulein
Copy link
Owner

when you run the batch file a console window is opening, right? and a lot of lines will appear. I would like to have a screenshot of this window

@CDBentley
Copy link
Author

when you run the batch file a console window is opening, right? and a lot of lines will appear. I would like to have a screenshot of this window

A window opens on my laptop and first asked for the IP address of my treadmill. Then it ran something and said connections successful. Or do you mean a window opens on the console of the treadmill? If so, no window opens on the treadmill.

@cagnulein
Copy link
Owner

Then it ran something and said connections successful.

perfect, after that? nothing else? if you can show me the screenshot I can be sure about this. If no errors are shown it means that you "should" see the virtual touch event. we can also try to change the coordinates there in order to see if it makes any difference

@CDBentley
Copy link
Author

perfect, after that? nothing else? if you can show me the screenshot I can be sure about this. If no errors are shown it means that you "should" see the virtual touch event. we can also try to change the coordinates there in order to see if it makes any difference

There were no errors. I can do it again and try to capture a screenshot of that screen.

@cagnulein
Copy link
Owner

@victorypoint do you have any idea?

@CDBentley
Copy link
Author

I just ran it. Here is the print screen and log
Print Sreen Bat File Exe.pdf
QZ-Companion-log.txt

@cagnulein
Copy link
Owner

cagnulein commented Mar 12, 2024 via email

@victorypoint
Copy link
Collaborator

Hi guys. I'm out of town but will be back home tomorrow to help out.

@CDBentley
Copy link
Author

CDBentley commented Mar 12, 2024 via email

@victorypoint
Copy link
Collaborator

@CDBentley, I'm available to help now if needed. Where are you at regarding the ADB install?

@cagnulein
Copy link
Owner

@victorypoint i guess, first of all. it will be nice if you can validate my batch file here https://raw.githubusercontent.com/cagnulein/QZCompanionNordictrackTreadmill/master/InstallPackage/test-touch.bat

it should just run a swipe command to the treadmill. if so we have to understand what's going on on the @CDBentley treadmill

@victorypoint
Copy link
Collaborator

@cagnulein, @CDBentley, okay the swipe batch file works fine on my treadmill. A few things to point out:

  1. Make sure USB debugging in turned on in treadmill "developer options" - super important!
  2. I also turned on "Pointer location" in developer options so I can see the swipe drawn on the screen - this is just a temporary setting so just leave off otherwise.
  3. Start a manual workout on the treadmill so you can see the swipe drawn very clearly.
  4. Run the batch file from within the folder where the QZ Companion files were unzipped and installed and make sure to enter the correct IP address for the treadmill.

Let me know if I can help further in any way. Here's some screenshots from my setup.

PXL_20240314_133949816

PXL_20240314_134046564

PXL_20240314_134547843

PXL_20240314_134753709

@CDBentley
Copy link
Author

CDBentley commented Mar 14, 2024 via email

Copy link

stale bot commented Mar 31, 2024

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.

@stale stale bot added the wontfix This will not be worked on label Mar 31, 2024
@CDBentley
Copy link
Author

Hello, I was in a cycling crash March 14 and have a concussion. I haven't been able to work on this

@stale stale bot removed the wontfix This will not be worked on label Mar 31, 2024
@cagnulein
Copy link
Owner

cagnulein commented Mar 31, 2024 via email

Copy link

stale bot commented Apr 16, 2024

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.

@stale stale bot added the wontfix This will not be worked on label Apr 16, 2024
@stale stale bot closed this as completed Apr 23, 2024
@cagnulein
Copy link
Owner

@CDBentley any news?

@cagnulein cagnulein reopened this Apr 23, 2024
@stale stale bot removed the wontfix This will not be worked on label Apr 23, 2024
@CDBentley
Copy link
Author

CDBentley commented Apr 24, 2024 via email

@cagnulein
Copy link
Owner

cagnulein commented Apr 24, 2024 via email

Copy link

stale bot commented May 10, 2024

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.

@stale stale bot added the wontfix This will not be worked on label May 10, 2024
@stale stale bot closed this as completed May 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

3 participants