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

Request - T8.5s - Change speed and elevation from QZ #21

Closed
TomD87 opened this issue Dec 23, 2022 · 24 comments
Closed

Request - T8.5s - Change speed and elevation from QZ #21

TomD87 opened this issue Dec 23, 2022 · 24 comments
Assignees
Labels
wontfix This will not be worked on

Comments

@TomD87
Copy link

TomD87 commented Dec 23, 2022

Please merge if there is an existing thread, was have talked about this before but lost track.

I have T8.5s

At the moment, with the X11i profile selected within the companion and this gives inputs to iFit, just not the correct movement.
The X coordinate is accurate but Y is not.

I'm not sure how to give you the correct movements for Y but happy to help.

Inline is from 0% to 12% in .5 increments.
Speed is from 1.0kph to 22.0kph in 0.1 kph increments.

It may be the controls are the same size, it just needs the size of the movement adjusted.

Appreciate your help with this.

@cagnulein
Copy link
Owner

Hi @TomD87 I will implement for sure! I just need the coordinates of your tabelt like did for (for example) #18

you can use this file https://github.com/cagnulein/QZCompanionNordictrackTreadmill/blob/master/InstallPackage/adb-screenshot.bat to generate the screenshot (thanks to @victorypoint )

Let me know!

@cagnulein
Copy link
Owner

hah by the way, for me today and tomorrow are travel day, so I will implement this on xmas day probably

@cagnulein cagnulein self-assigned this Dec 23, 2022
@TomD87
Copy link
Author

TomD87 commented Dec 23, 2022

I do not expect you to do this on Christmas day, there is no rush.
See attached showing min \ max. Let me know what else you need.
23-12-2022@13-48-14 26
23-12-2022@13-48-30 59

@cagnulein
Copy link
Owner

t85s.xlsx
done @TomD87 you can download the new install package. Let me know if it's working. Be sure to select the new radio button that I created for your treadmill.

@TomD87
Copy link
Author

TomD87 commented Dec 23, 2022

Thank you, Incline works perfectly.
KPH jumps a little, I will try and get you some Y data over the break.

@jasonweaver
Copy link

Hi @cagnulein. I'm using the same treadmill. App on treadmill is sending all data to app on phone, but phone is not controlling speed or incline on treadmill. What logs can I share for help?

@cagnulein
Copy link
Owner

hi @jasonweaver first of all send me a debug log from qz following this https://github.com/cagnulein/qdomyos-zwift/wiki/How-do-i-get-the-debug-log-in-case-something-doesn't-work%3F

also did you select the right treadmill in the qz companion app?

@jasonweaver
Copy link

jasonweaver commented Jan 28, 2023

Yes, I confirmed the radio on qa companion app is on T8.5S, by toggling it to another device, then back.

Here's the log from qz: debug-Sat_Jan_28_14_07_07_2023.log

You can see that I was adjusting the speed on the device directly, but when I used the tiles for +/- speed or incline there was no change.

Thanks a ton for looking!

@cagnulein
Copy link
Owner

hi @jasonweaver are the privileged permission still enabled on the treadmill tablet?

@jasonweaver
Copy link

@cagnulein I've tried both ways, with and without privileged = true

@cagnulein
Copy link
Owner

are you able to collect adb logcat form your tablet while you're doing a speed changing from qz?

@jasonweaver
Copy link

logcat.log

@cagnulein
Copy link
Owner

got the issue @jasonweaver it seems that adb wasn't working. How do you grab this log? using the button from qzcompanion itself? is the adb setting in the developer settings enabled?

@jasonweaver
Copy link

jasonweaver commented Jan 28, 2023

Thanks @cagnulein , I noticed that as well, so tried a couple times. The device appears to lose the USB debugging each reboot. One attempt, I rebooted, entered privileged mode, went back to iFit and was able to control somewhat, but responses were inconsistent. I'll call that problem part two.

For problem part one, I just installed the apk from the browser on the treadmill directly. Is that incorrect to get it to retain USB debug permission?

@cagnulein
Copy link
Owner

For problem part one, I just installed the apk from the browser on the treadmill directly. Is that incorrect to get it to retain USB debug permission?

you need explicity to enable the adb setting in the developer settings. I don't remember the exact name of the setting, maybe @victorypoint could help on this

@cagnulein
Copy link
Owner

@jasonweaver i guess debug usb and debug wireless must be on

@victorypoint
Copy link
Collaborator

Yep. It's I'll explain in the install documentation - https://github.com/cagnulein/QZCompanionNordictrackTreadmill

@jasonweaver
Copy link

jasonweaver commented Jan 28, 2023

Thanks guys. I think the issue is Method 2 on T8.5S doesn't work because USB Debugging doesn't persist after reboot. I restarted and used Method 1 and USB Debugging and privilege mode both persist. Problem one resolved.

My problem two is that - incline does not work. The other tile options do.

@cagnulein
Copy link
Owner

My problem two is that - incline does not work. The other tile options do.

so speed forcing now works?

@jasonweaver
Copy link

Yep. Speed +/- and Incline + each work after using Method 1

@cagnulein
Copy link
Owner

wow great! for decline - send me a new debug log . 11pm here so i will check tomorrow!

@jasonweaver
Copy link

No problem. You want the logcat from the qz companion or the debug from the qz app?

@cagnulein
Copy link
Owner

both are better

@stale
Copy link

stale bot commented Apr 17, 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 Apr 17, 2023
@stale stale bot closed this as completed Apr 24, 2023
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

4 participants