-
-
Notifications
You must be signed in to change notification settings - Fork 116
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
Nordictrack x22i and auto speed/incline #1916
Comments
ok good news, adb seems well connected void lockscreen::adb_connect(const char *)_block_invoke connected to 192.168.86.77:5555 the command that qz is sending is ./adb shell input swipe 1845 808 1845 797 200 do you see a touch event if you are doing this from your pc @Cwawra13 ? |
Shucks; I was thinking you were going to be away. I’ll test this in 6-8 hours; it’s late where I am. Sorry! |
no rush! i'm always trying to do my duties before my morning workouts :)
Roberto Viola
Software engineer and open source enthusiast
http://robertoviola.cloud
Il giorno mer 27 dic 2023 alle 07:30 Cwawra13 ***@***.***> ha
scritto:
… Shucks; I was thinking you were going to be away. I’ll test this in 6-8
hours; it’s late where I am. Sorry!
—
Reply to this email directly, view it on GitHub
<#1916 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAALYWH3JW32QOO7KLWFUSLYLO6ADAVCNFSM6AAAAABBD7HJTKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNRZHE4TGNBSGA>
.
You are receiving this because you were assigned.Message ID:
***@***.***>
|
Hi!
Thanks for your help; here's what I got.
It looks like this command is only swiping up by 11 pixels, which seems to
send not a full swipe. When I change it to this ./adb shell input swipe
1845 808 1845 750 200, that makes is 58 pixels and actually does a full
swipe action on the machine.
Thanks!
…On Tue, Dec 26, 2023 at 11:16 PM Roberto Viola ***@***.***> wrote:
ok good news, adb seems well connected
void lockscreen::adb_connect(const char *)_block_invoke connected to
192.168.86.77:5555
the command that qz is sending is
./adb shell input swipe 1845 808 1845 797 200
do you see a touch event if you are doing this from your pc @Cwawra13
<https://github.com/Cwawra13> ?
—
Reply to this email directly, view it on GitHub
<#1916 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/BE6HNRQHZWJNUT3VZPUKNLLYLO4NVAVCNFSM6AAAAABBD7HJTKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNRZHE4DMNRRHA>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
perfect! this means that the engine works! We just need to understand why the coordinates aren't working as they did for cagnulein/QZCompanionNordictrackTreadmill#65 |
Great! We are making progress.I learned something unique. In manual mode, you need to have choose controls so both controls are visible on the far right and left vertically for this to work.It works for me to change speed but not incline by using buttons on the qz. Incline is on the left.While I have you here.. I am under the impression qz will automatically change speed and incline via qz for a peloton workout.. is that true? If so, can you send me a GitHub link that explains how do do that? Seems like I’m close to having that happen now that they’re communicating better? Thank you for all your help! I appreciate it.Sent from my iPhoneOn Dec 28, 2023, at 12:31 AM, Roberto Viola ***@***.***> wrote:
perfect! this means that the engine works! We just need to understand why the coordinates aren't working as they did for cagnulein/QZCompanionNordictrackTreadmill#65
Could you please check if the screen layout and coordinates of your treadmill is the same of the one on that post?
Also try to start the treadmill (so the speed is greater than 0) and try to do a plus action from QZ, it could be that the transition from 0 to 0.5 could be wrong. Also you can force to do a 1 km/h increment instead of a 0.5km/h in the treadmill settings, but we need to understand the root cause
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: ***@***.***>
|
yes qz can have auto incline and auto speed on peloton workout!
before using auto speed it's better to check that you are able to change
speed and incline correctly via qz tiles without peloton. are you able to
do so?
Roberto Viola
Software engineer and open source enthusiast
http://robertoviola.cloud
Il giorno ven 29 dic 2023 alle 05:43 Cwawra13 ***@***.***> ha
scritto:
… Great! We are making progress.I learned something unique. In manual mode,
you need to have choose controls so both controls are visible on the far
right and left vertically for this to work.It works for me to change speed
but not incline by using buttons on the qz. Incline is on the left.While I
have you here.. I am under the impression qz will automatically change
speed and incline via qz for a peloton workout.. is that true? If so, can
you send me a GitHub link that explains how do do that? Seems like I’m
close to having that happen now that they’re communicating better? Thank
you for all your help! I appreciate it.Sent from my iPhoneOn Dec 28, 2023,
at 12:31 AM, Roberto Viola ***@***.***> wrote:
perfect! this means that the engine works! We just need to understand why
the coordinates aren't working as they did for
cagnulein/QZCompanionNordictrackTreadmill#65
Could you please check if the screen layout and coordinates of your
treadmill is the same of the one on that post?
Also try to start the treadmill (so the speed is greater than 0) and try
to do a plus action from QZ, it could be that the transition from 0 to 0.5
could be wrong. Also you can force to do a 1 km/h increment instead of a
0.5km/h in the treadmill settings, but we need to understand the root cause
—Reply to this email directly, view it on GitHub, or unsubscribe.You are
receiving this because you were mentioned.Message ID: ***@***.***>
—
Reply to this email directly, view it on GitHub
<#1916 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAALYWCHMJOEICQI73HR3UDYLZC7PAVCNFSM6AAAAABBD7HJTKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNZRG4ZDINRYGA>
.
You are receiving this because you were assigned.Message ID:
***@***.***>
|
I can change speed using qz tiles I can not change incline using qz tilesSent from my iPhoneOn Dec 28, 2023, at 11:15 PM, Roberto Viola ***@***.***> wrote:
yes qz can have auto incline and auto speed on peloton workout!
before using auto speed it's better to check that you are able to change
speed and incline correctly via qz tiles without peloton. are you able to
do so?
Roberto Viola
Software engineer and open source enthusiast
http://robertoviola.cloud
Il giorno ven 29 dic 2023 alle 05:43 Cwawra13 ***@***.***> ha
scritto:
Great! We are making progress.I learned something unique. In manual mode,
you need to have choose controls so both controls are visible on the far
right and left vertically for this to work.It works for me to change speed
but not incline by using buttons on the qz. Incline is on the left.While I
have you here.. I am under the impression qz will automatically change
speed and incline via qz for a peloton workout.. is that true? If so, can
you send me a GitHub link that explains how do do that? Seems like I’m
close to having that happen now that they’re communicating better? Thank
you for all your help! I appreciate it.Sent from my iPhoneOn Dec 28, 2023,
at 12:31 AM, Roberto Viola ***@***.***> wrote:
perfect! this means that the engine works! We just need to understand why
the coordinates aren't working as they did for
cagnulein/QZCompanionNordictrackTreadmill#65
Could you please check if the screen layout and coordinates of your
treadmill is the same of the one on that post?
Also try to start the treadmill (so the speed is greater than 0) and try
to do a plus action from QZ, it could be that the transition from 0 to 0.5
could be wrong. Also you can force to do a 1 km/h increment instead of a
0.5km/h in the treadmill settings, but we need to understand the root cause
—Reply to this email directly, view it on GitHub, or unsubscribe.You are
receiving this because you were mentioned.Message ID: ***@***.***>
—
Reply to this email directly, view it on GitHub
<#1916 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAALYWCHMJOEICQI73HR3UDYLZC7PAVCNFSM6AAAAABBD7HJTKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNZRG4ZDINRYGA>
.
You are receiving this because you were assigned.Message ID:
***@***.***>
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: ***@***.***>
|
@Cwawra13 what happens for the incline? do you see a touch event on treadmill screen? |
There is a touch event on the upper portion of the screen, but not on the
left hand side where the incline is.
Thanks!
…On Fri, Dec 29, 2023 at 6:02 AM Roberto Viola ***@***.***> wrote:
@Cwawra13 <https://github.com/Cwawra13> what happens for the incline? do
you see a touch event on treadmill screen?
—
Reply to this email directly, view it on GitHub
<#1916 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/BE6HNRUQEJMTE47Z54JMI6LYL25NRAVCNFSM6AAAAABBD7HJTKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNZSGA3DONJVGQ>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
ok so probably your touchscreen is different from the one that I added. Could you please use this script to collect a screenshot of your tablet in the manual window? https://github.com/cagnulein/QZCompanionNordictrackTreadmill/blob/master/InstallPackage/adb-screenshot.bat |
Would this work? Sent from my iPhoneOn Dec 29, 2023, at 9:28 AM, Roberto Viola ***@***.***> wrote:
ok so probably your touchscreen is different from the one that I added. Could you please use this script to collect a screenshot of your tablet in the manual window? https://github.com/cagnulein/QZCompanionNordictrackTreadmill/blob/master/InstallPackage/adb-screenshot.bat
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: ***@***.***>
|
I also discovered that when use incline on qz it adjusts the speed, not the incline. Sent from my iPhoneOn Dec 29, 2023, at 8:20 PM, Carolyn Wawra ***@***.***> wrote: Would this work? <image0.jpeg>Sent from my iPhoneOn Dec 29, 2023, at 9:28 AM, Roberto Viola ***@***.***> wrote:
ok so probably your touchscreen is different from the one that I added. Could you please use this script to collect a screenshot of your tablet in the manual window? https://github.com/cagnulein/QZCompanionNordictrackTreadmill/blob/master/InstallPackage/adb-screenshot.bat
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: ***@***.***>
|
Attached is a screenshot using the script you provided. Sent from my iPhoneOn Dec 29, 2023, at 8:22 PM, Carolyn Wawra ***@***.***> wrote:I also discovered that when use incline on qz it adjusts the speed, not the incline. Sent from my iPhoneOn Dec 29, 2023, at 8:20 PM, Carolyn Wawra ***@***.***> wrote: Would this work? <image0.jpeg>Sent from my iPhoneOn Dec 29, 2023, at 9:28 AM, Roberto Viola ***@***.***> wrote:
ok so probably your touchscreen is different from the one that I added. Could you please use this script to collect a screenshot of your tablet in the manual window? https://github.com/cagnulein/QZCompanionNordictrackTreadmill/blob/master/InstallPackage/adb-screenshot.bat
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: ***@***.***>
|
hi @Cwawra13 i can't see the images, you have to push them in github directly. thanks! |
that's because this setting is enabled "Simulate Inclinatin with Speed". |
@Cwawra13 did you try this? |
@jr128128 please post this in your ticket not here :) thanks |
Ah ha!
Yes, I changed this and that solved the problem.
Thank you!
…On Sat, Dec 30, 2023 at 8:33 AM Roberto Viola ***@***.***> wrote:
I also discovered that when use incline on qz it adjusts the speed, not
the incline.
that's because this setting is enabled "Simulate Inclinatin with Speed".
Maybe that's the issue that you're facing?
@Cwawra13 <https://github.com/Cwawra13> did you try this?
—
Reply to this email directly, view it on GitHub
<#1916 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/BE6HNRWEQANHE5OOD3RT76LYMAX3LAVCNFSM6AAAAABBD7HJTKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNZSGU2DSNJTGI>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Glad it worked!
So we can close this?
Il giorno sab 30 dic 2023 alle 22:32 Cwawra13 ***@***.***> ha
scritto:
… Ah ha!
Yes, I changed this and that solved the problem.
Thank you!
On Sat, Dec 30, 2023 at 8:33 AM Roberto Viola ***@***.***>
wrote:
> I also discovered that when use incline on qz it adjusts the speed, not
> the incline.
>
> that's because this setting is enabled "Simulate Inclinatin with Speed".
>
> Maybe that's the issue that you're facing?
>
> @Cwawra13 <https://github.com/Cwawra13> did you try this?
>
> —
> Reply to this email directly, view it on GitHub
> <
#1916 (comment)>,
> or unsubscribe
> <
https://github.com/notifications/unsubscribe-auth/BE6HNRWEQANHE5OOD3RT76LYMAX3LAVCNFSM6AAAAABBD7HJTKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNZSGU2DSNJTGI>
> .
> You are receiving this because you were mentioned.Message ID:
> ***@***.***>
>
—
Reply to this email directly, view it on GitHub
<#1916 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAALYWCOSE47TTR3OJSPSODYMCB5HAVCNFSM6AAAAABBD7HJTKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNZSGYYTAOBTGE>
.
You are receiving this because you were assigned.Message ID:
***@***.***>
|
Yes, thank you SO MUCH for your help!!!
On Sat, Dec 30, 2023 at 2:38 PM Roberto Viola ***@***.***>
wrote:
… Glad it worked!
So we can close this?
Il giorno sab 30 dic 2023 alle 22:32 Cwawra13 ***@***.***> ha
scritto:
> Ah ha!
>
> Yes, I changed this and that solved the problem.
>
> Thank you!
>
> On Sat, Dec 30, 2023 at 8:33 AM Roberto Viola ***@***.***>
> wrote:
>
> > I also discovered that when use incline on qz it adjusts the speed,
not
> > the incline.
> >
> > that's because this setting is enabled "Simulate Inclinatin with
Speed".
> >
> > Maybe that's the issue that you're facing?
> >
> > @Cwawra13 <https://github.com/Cwawra13> did you try this?
> >
> > —
> > Reply to this email directly, view it on GitHub
> > <
>
#1916 (comment)>,
>
> > or unsubscribe
> > <
>
https://github.com/notifications/unsubscribe-auth/BE6HNRWEQANHE5OOD3RT76LYMAX3LAVCNFSM6AAAAABBD7HJTKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNZSGU2DSNJTGI>
>
> > .
> > You are receiving this because you were mentioned.Message ID:
> > ***@***.***>
> >
>
> —
> Reply to this email directly, view it on GitHub
> <
#1916 (comment)>,
> or unsubscribe
> <
https://github.com/notifications/unsubscribe-auth/AAALYWCOSE47TTR3OJSPSODYMCB5HAVCNFSM6AAAAABBD7HJTKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNZSGYYTAOBTGE>
> .
> You are receiving this because you were assigned.Message ID:
> ***@***.***>
>
—
Reply to this email directly, view it on GitHub
<#1916 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/BE6HNRXMUMOTPMIDCEFX443YMCCVTAVCNFSM6AAAAABBD7HJTKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNZSGYYTCNRTGM>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
thanks for the coffees! Highly appreciated! |
debug-Tue_Dec_26_23_00_37_2023.log
The text was updated successfully, but these errors were encountered: