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

Speed and Incline not working on QZ Desktop app [BUG] #1675

Closed
nickd86 opened this issue Sep 26, 2023 · 140 comments
Closed

Speed and Incline not working on QZ Desktop app [BUG] #1675

nickd86 opened this issue Sep 26, 2023 · 140 comments
Assignees
Labels
bug Something isn't working wontfix This will not be worked on

Comments

@nickd86
Copy link

nickd86 commented Sep 26, 2023

I have connected my Pro Form Pro 1000 treadmill to my Windows 10 PC via bluetooth.
I have installed the QZ desktop app which connects my treadmill to Zwift
I have turned on auto incline and speed, in both Zwift and treadmill settings of QZ.
When I open a workout in Zwift I start treadmill at 1mph however it doesn't sync with the speed of the workout (6mph) also the auto incline doesn't change to 1 as per workout.

I have enabled the debug log setting in QZ and recreated what I am doing. Whilst when I change the speed and incline manually from Treadmill, Zwift updates, it is not done automatically.

To Reproduce
Steps to reproduce the behavior:

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

Expected behavior
A clear and concise description of what you expected to happen.

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

Desktop (please complete the following information):

  • OS: [e.g. iOS]
  • Version [e.g. 22]

Smartphone (please complete the following information):

@nickd86 nickd86 added the bug Something isn't working label Sep 26, 2023
@cagnulein
Copy link
Owner

@nickd86 do you have 1920x1080 resolution in zwift?
#1581 @victorypoint @Jawaui in case could help on this

@nickd86
Copy link
Author

nickd86 commented Sep 26, 2023

Screen resolution set to 2160p 4k

@cagnulein
Copy link
Owner

@victorypoint the python script could be ok with 4k resolution?

@nickd86
Copy link
Author

nickd86 commented Sep 26, 2023

Is it possible to restore all settings within QZ and try to start again, I've been playing around trying different things but now it's not working at all

@cagnulein
Copy link
Owner

cagnulein commented Sep 26, 2023 via email

@Jawaui
Copy link

Jawaui commented Sep 26, 2023

Hi, @nickd86 do you run in fullscreen mode? This is was victorypoint send me:
I confirmed that Zwift has to be in Windowed mode (full screen mode will not work). Then use a tool that puts games in 'borderless windows' mode (removes the game titlebar, border, and any other border elements). There's many solutions out there but I've tested a popular one called 'Borderless Gaming' - https://www.techspot.com/downloads/7061-borderless-gaming.html. It loads as a tray app and puts Zwift into borderless mode each time it is started. Please give this a try and let us know how it goes.
With this app it worked for me. Hope for you also!

@nickd86
Copy link
Author

nickd86 commented Sep 26, 2023 via email

@victorypoint
Copy link
Contributor

victorypoint commented Sep 26, 2023

@Jawaui, @cagnulein, I remember writing up some instructions on how to get auto-incline setup in QZ but can't find the previous post. Do you guys recall? The Windows QZ with Python has to be installed, environment variables must be added, and borderless gaming installed and setup for Zwift.

** Edit ** - found it - #1581 (comment)

@victorypoint
Copy link
Contributor

@victorypoint the python script could be ok with 4k resolution?

Correct. OCR seems to only work reliably in Zwift Ultra (1440p) and 4K UHD (2160p) detail.

@cagnulein
Copy link
Owner

Couldn't get it to work, reverted back to mobile app and that crashed half way through a run.

@nickd86 for the crash send me the debug log and I will check, qz can't definitely crash at all!

for the pc version follow the @victorypoint link

let me know

@Jawaui
Copy link

Jawaui commented Sep 28, 2023

Hi @nickd86, did you change the path in window?
You must add 2 new entries to the Windows path (under system variables). For example, if QZ is installed at 'C:\Temp\qdomyos-zwift', the 2 new entries are:

  • C:\Temp\qdomyos-zwift\python\x64
  • C:\Temp\qdomyos-zwift\python\x64\Scripts\

@nickd86
Copy link
Author

nickd86 commented Oct 2, 2023

Hi there,

I have reinstalled QT and connect my treadmill to PC via Bluetooth, but the two won't connect.

Please see debug report attached, can you please advise what I need to do?

debug-Mon_Oct_2_15_07_05_2023.log

debug-Mon_Oct_2_15_08_44_2023.log

Thanks
Nick

@cagnulein
Copy link
Owner

@nickd86 in these log you have a wrong setting: "ftms treadmill" must be set to disabled. Do this and restart QZ, let me know

@nickd86
Copy link
Author

nickd86 commented Oct 2, 2023

Hi Roberto,

I had already tried this; I've disabled and attached new logs.

QT doesn't register any treadmill speed/incline settings and nor does Zwift pick up the controller..

Treadmill is paired successfully via Bluetooth to PC.

debug-Mon_Oct_2_19_11_37_2023.log

See latest logs attached, any ideas?

@cagnulein
Copy link
Owner

@nickd86 i don't remember if you are using the msvc build. if not try this version and let me know

https://github.com/cagnulein/qdomyos-zwift/suites/16579760991/artifacts/947253348

@nickd86
Copy link
Author

nickd86 commented Oct 2, 2023

I wasn't using the MSVC version, deleted the original and have now installed that (seems to have the same settings as original ones though)?

Whilst it picks up treadmill, the speed in QT isn't matched to treadmill when I open zwift it cannot find any device to pair.

See new logs
debug-Mon_Oct_2_19_57_45_2023.log

@cagnulein
Copy link
Owner

ok thanks, i will check the log tomorrow, 9pm here in italy . have a nice evening

@nickd86
Copy link
Author

nickd86 commented Oct 2, 2023

ok thanks, i will check the log tomorrow, 9pm here in italy . have a nice evening

Ok no problem thank you have a nice evening too.

Keen to get this up and running, excited to start using Zwift :)

@nickd86
Copy link
Author

nickd86 commented Oct 2, 2023

Just to confirm it's a Pro Form Pro 1000 Treadmill

@cagnulein
Copy link
Owner

@nickd86 just to be sure: is it working ok on qz on android or ios?

@nickd86
Copy link
Author

nickd86 commented Oct 2, 2023 via email

@cagnulein
Copy link
Owner

ok perfect, yes qz on windows it's on early stage due to bluetooth madness in windows. let's see what i can do, thanks

@cagnulein
Copy link
Owner

@nickd86 one question: with the last msvc build did you try also to turn off the treadmill completely and try with qz? because I compared the log and it seems that with the last log the treadmill was in a strange state and it answered in a strange way. Are you able to do a clean log following this flow:

  1. turn off the treadmill
  2. turn on the treadmill
  3. open qz

I would like to see if in this scenario, the QZ msvc build acts always strange or it's better.
Let me know!

@nickd86
Copy link
Author

nickd86 commented Oct 3, 2023

Hi Roberto,

debug-Tue_Oct_3_09_16_06_2023.log

Have done this please see new logs

@cagnulein
Copy link
Owner

thanks @nickd86 so it's confirmed: the msvc build performs different on the bluetooth side (or at least the treadmill answers differntely from android/ios). I have to understand which is the difference.
I will let you know when I will be ready to test it again

@cagnulein
Copy link
Owner

cagnulein commented Oct 3, 2023 via email

@victorypoint
Copy link
Contributor

@gmaroPL, I'll have to duplicate this on a new install of Windows. Can you confirm if you're using Windows 10 or 11?

@gmaroPL
Copy link

gmaroPL commented Oct 31, 2023

Windows 10

@victorypoint
Copy link
Contributor

@gmaroPL, okay I did a clean install with Windows 10 and got it to work on the 1st time. So we need to figure out what's going on with your installs. Maybe all the files didn't get unzipped or some got corrupted during unzipping? You've reinstalled Paddlepaddle so I wonder if the PaddleOCR component is missing files or corrupt. Try reinstalling it from the command prompt and retry getincline.bat:

python -m pip install "paddleocr>=2.0.1"

@gmaroPL
Copy link

gmaroPL commented Oct 31, 2023

tell me what link I should use to unpack the Windows version!!!!

I will unpack and what next?

@victorypoint
Copy link
Contributor

@gmaroPL, try re-downloading from the last link provided. It's the same one I used to test with. Replace the old install and see what happens.

https://github.com/cagnulein/qdomyos-zwift/suites/17739244097/artifacts/1015871000

@gmaroPL
Copy link

gmaroPL commented Oct 31, 2023

ok, I'm doing it now

Przechwytywanie

@gmaroPL
Copy link

gmaroPL commented Oct 31, 2023

still the same

Przechwytywanie

@cagnulein
Copy link
Owner

cagnulein commented Oct 31, 2023 via email

@gmaroPL
Copy link

gmaroPL commented Oct 31, 2023

Przechwytywanie

@victorypoint
Copy link
Contributor

@gmaroPL, could you post your system specs? Settings - System - About

@gmaroPL
Copy link

gmaroPL commented Oct 31, 2023

how to do it?

@gmaroPL
Copy link

gmaroPL commented Oct 31, 2023

Zrzut ekranu 2023-10-31 202310
Windows 11 - virtual machine for MacBook :D

@victorypoint
Copy link
Contributor

@gmaroPL, it's working! So that's in a virtual machine for MacBook? And the other attempts were done with real Windows PCs?

@gmaroPL
Copy link

gmaroPL commented Oct 31, 2023

note - windows 10 finally works

Przechwytywanie

@victorypoint
Copy link
Contributor

@gmaroPL, good! What did you do to get it to work?

@gmaroPL
Copy link

gmaroPL commented Oct 31, 2023

it works on a laptop with windows 10, what now???

@victorypoint
Copy link
Contributor

@gmaroPL, this is excellent. So now you can try QZ on your Windows 10 laptop with your x32i treadmill.

@gmaroPL
Copy link

gmaroPL commented Oct 31, 2023

ok, I'll go check it out

@gmaroPL
Copy link

gmaroPL commented Oct 31, 2023

what options should I set in the program to use zwift workout antitime/

@cagnulein
Copy link
Owner

cagnulein commented Oct 31, 2023 via email

@gmaroPL
Copy link

gmaroPL commented Oct 31, 2023

?

@cagnulein
Copy link
Owner

in qz, under zwift settings, the workout one

@gmaroPL
Copy link

gmaroPL commented Oct 31, 2023

I set training mode but I still don't respond

I'll go crazy

@cagnulein
Copy link
Owner

cagnulein commented Oct 31, 2023 via email

@gmaroPL
Copy link

gmaroPL commented Oct 31, 2023

Today is the end of the tests, I'm tired - thank you for your help

I will prepare a log file.

Copy link

stale bot commented Nov 15, 2023

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 Nov 15, 2023
@stale stale bot closed this as completed Nov 22, 2023
@cagnulein
Copy link
Owner

@gmaroPL any news?

@gmaroPL
Copy link

gmaroPL commented Nov 26, 2023

@gmaroPLjakieś wieści?

I didn't test further
I will test today and tomorrow and in the following days - I will write information

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

5 participants