-
Notifications
You must be signed in to change notification settings - Fork 12
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
No connection to x22i #65
Comments
Hi @samkenw try to set the c1750 device on the treadmill companion and reboot it Let me know |
Great, data is now being shown in the app! Thanks. |
Great! In order to add control to it I need a screenshot of your manual view on the tablet that you can with adb via this script https://github.com/cagnulein/QZCompanionNordictrackTreadmill/blob/master/InstallPackage/adb-screenshot.bat Don't u have a pc or a Mac? |
I have a Mac, suppose I can't just execute the bat. Will try adapting and let you know. Thanks |
yes you need to call the adb lines
Il giorno ven 3 nov 2023 alle 18:48 Sam K ***@***.***> ha
scritto:
… I have a Mac, suppose I can't just execute the bat. Will try adapting and
let you know. Thanks
—
Reply to this email directly, view it on GitHub
<#65 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAALYWE3AMYXKIJGASKWWYDYCUVAXAVCNFSM6AAAAAA64XWWIGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTOOJSHA4DCMZTHA>
.
You are receiving this because you commented.Message ID:
***@***.***
com>
|
yea, doing that but getting "connection refused" |
did you enable adb on the treadmill tablet? you should also need to do a
factory reset on it in order to enable adb
Il giorno ven 3 nov 2023 alle 18:53 Sam K ***@***.***> ha
scritto:
… yea, doing that but getting "connection refused"
—
Reply to this email directly, view it on GitHub
<#65 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAALYWGGPGMVJQD6AICU5NLYCUVTHAVCNFSM6AAAAAA64XWWIGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTOOJSHA4DONRTGY>
.
You are receiving this because you commented.Message ID:
***@***.***
com>
|
adb is enabled.. is factory reset necessary even though I can turn on debugging in developer options? |
I am seeing that there is no wireless debugging option.. must I use adb via USB? |
nope as far as i know adb is available only on wifi
Il giorno ven 3 nov 2023 alle 19:13 Sam K ***@***.***> ha
scritto:
… I am seeing that there is no wireless debugging option.. must I use adb
via USB?
—
Reply to this email directly, view it on GitHub
<#65 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAALYWFA3GBED46PIOMWMU3YCUX5VAVCNFSM6AAAAAA64XWWIGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTOOJSHEYTKNJSGI>
.
You are receiving this because you commented.Message ID:
***@***.***
com>
|
Okay, so to clarify: do I need to reset to be able to adb connect even though I have already turned usb debugging on? |
Is there another way I can get the screenshot? Perhaps I can upload a photo? |
Yes exactly, ifit closed the door on the latest releases. You can use an apk that take a screenshot on the tablet and then upload the picture. It must be precise to the pixel |
Okay, I understand, thanks for clarifying! Do you need a screenshot of a specific screen? |
Sadly after reset still getting:
|
Yes of the manual workout screen |
Ok if you want let's try a thing: clicking on the plus and minus button on the inclination tile on qz, staying on the manual workout screen on the treadmill, check you see some touch event on the tablet. Let me know |
(after reset) reading is still working but sadly no touch events visible. (I set touch to be visible in developer options) |
Mmm another test Check if you see a touch event Now I'm going to bed, we will catch up tomorrow |
Will try that! Can you recommend an app and mirror? |
nope but there are dozens of terminal app :) |
Alright thanks. Btw. if you are basically simulating pressing buttons on the screen, I can give you the location of all UI elements by activating the "show pointer location" in the developer options. Additionally I can send you a photo of the screen so you know where which action is. Would this be sufficient? |
yes it should be enough 4 points max speed, min speed, max inclination, min inclinatio then i derive the linear formula ;) |
sorry, what do you mean with "max speed" etc. The buttons that increase the speed on the screen for example? |
the slider that you have in the manual workout window on the ifit tablet. |
so sorry, I can enable the sliders. Give me a few minutes, I will pass the values |
Alright: |
Thanks, I will add them asapInviato da Apple WatchIl giorno 4 nov 2023, alle ore 18:37, Sam K ***@***.***> ha scritto:
Alright:
max incline (40%) x: 75, y: 275
min incline: (-6%) x: 75, y: 845
max speed (22kph) x: 1845, y: 275
min speed (1kph): x: 1845, y: 275
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you commented.Message ID: ***@***.***>
|
Quick update: I have updated to the newest app version. Now the y-values have slightly changed (same for incline and speed) x-values are the same: y-low: 785 |
No, it is showing nothing. No change when I press logcat. |
when you tried logcat last time, did you do something different? i mean im
calling the logcat command and printing it to the console. what did you do?
Il giorno ven 24 nov 2023 alle 15:32 Sam K ***@***.***> ha
scritto:
… No, it is showing nothing. No change when I press logcat.
—
Reply to this email directly, view it on GitHub
<#65 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAALYWF5H3PK6DLNXQWS5BDYGCVWNAVCNFSM6AAAAAA64XWWIGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMRVG42TKOJWG4>
.
You are receiving this because you were mentioned.Message ID:
***@***.***
com>
|
I set it to the text field in the app. I can try that again. |
you mean that you saw the adb logcat output in the text field?
Il giorno ven 24 nov 2023 alle 15:42 Sam K ***@***.***> ha
scritto:
… I set it to the text field in the app. I can try that again.
—
Reply to this email directly, view it on GitHub
<#65 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAALYWH3JELBDZOYTYS3MWLYGCW6ZAVCNFSM6AAAAAA64XWWIGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMRVG43DSMBVHA>
.
You are receiving this because you were mentioned.Message ID:
***@***.***
com>
|
yes |
ok pull it again, i restored it. if it works in this way i can start the patch in qz, thanks |
Yea, this shows the output in the text field. However it is not following. I have to press logcat to refresh and then it seems to get a bunch of data (again) + the new lines. |
yes tailing it it will block the swipe, so i have everytime to get all the
output and parse it
Il giorno ven 24 nov 2023 alle 15:52 Sam K ***@***.***> ha
scritto:
… Yea, this shows the output in the text field. However it is not following.
I have to press logcat to refresh and then it seems to get a bunch of data
(again) + the new lines.
—
Reply to this email directly, view it on GitHub
<#65 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAALYWAXHZHJMH4PG5TQDITYGCYEXAVCNFSM6AAAAAA64XWWIGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMRVG44DCNRRGM>
.
You are receiving this because you were mentioned.Message ID:
***@***.***
com>
|
Is this also the case if getting the logcat is in a separate thread? |
yes it's what I would like to do. that's why i asked to press both buttons.
if you want you can try to press them multiple times at the same time as
quick as you can
Roberto Viola
Software engineer and open source enthusiast
http://robertoviola.cloud
Il giorno ven 24 nov 2023 alle ore 16:00 Sam K ***@***.***>
ha scritto:
… Is this also the case if getting the logcat is in a separate thread?
—
Reply to this email directly, view it on GitHub
<#65 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAALYWA5GWFEH5WXS62K74TYGCZARAVCNFSM6AAAAAA64XWWIGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMRVG44TANBZGE>
.
You are receiving this because you were mentioned.Message ID:
***@***.***
com>
|
patch created with adb in a thread. I will try to build a version for you today cagnulein/qdomyos-zwift#1829 |
@samkenw i'm sending you the new beta. Don't worry if it will be slow, i just leaved the debug for all the adb logcat in order to double check everything. if it works, even if slowly, i will remove this. |
Tested. Not getting any data from the treadmill. Logs sent. |
thanks, I will add some debug log to understand better this scenario. I
will send you another one
Roberto Viola
Software engineer and open source enthusiast
http://robertoviola.cloud
Il giorno lun 27 nov 2023 alle ore 16:27 Sam K ***@***.***>
ha scritto:
… Tested. Not getting any data from the treadmill. Logs sent.
—
Reply to this email directly, view it on GitHub
<#65 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAALYWBS2IPNIAQIC3HAVLTYGSWMVAVCNFSM6AAAAAA64XWWIGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMRYGA2TENRZGE>
.
You are receiving this because you were mentioned.Message ID:
***@***.***
com>
|
sent, share the debug log so i can understand better, thanks!
Roberto Viola
Software engineer and open source enthusiast
http://robertoviola.cloud
Il giorno lun 27 nov 2023 alle ore 16:37 cagnulein ***@***.***> ha
scritto:
… thanks, I will add some debug log to understand better this scenario. I
will send you another one
Roberto Viola
Software engineer and open source enthusiast
http://robertoviola.cloud
Il giorno lun 27 nov 2023 alle ore 16:27 Sam K ***@***.***>
ha scritto:
> Tested. Not getting any data from the treadmill. Logs sent.
>
> —
> Reply to this email directly, view it on GitHub
> <#65 (comment)>,
> or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/AAALYWBS2IPNIAQIC3HAVLTYGSWMVAVCNFSM6AAAAAA64XWWIGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMRYGA2TENRZGE>
> .
> You are receiving this because you were mentioned.Message ID:
> ***@***.***
> com>
>
|
@samkenw thanks for the log (there is any particular reason why you're not adding them here instead of sending them by email?). |
hi @samkenw any news? |
sorry for the delay, have been busy. Will have to get back to you after the weekend.
just for privacy reasons :) |
Sure, no rush, have a great weekend!
Il giorno ven 1 dic 2023 alle 19:35 Sam K ***@***.***> ha
scritto:
… sorry for the delay, have been busy. Will have to get back to you after
the weekend.
—
Reply to this email directly, view it on GitHub
<#65 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAALYWBAD3FCK4Z32S3IPCLYHIPQHAVCNFSM6AAAAAA64XWWIGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMZWGU4TIMBVGM>
.
You are receiving this because you were mentioned.Message ID:
***@***.***
com>
|
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. |
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. |
@samkenw are you still interested in? |
Hi there,
Trying to get this to run with my Nordictrack x22i.
What I did:
Installed companion via browser (no windows pc available).
In the companion app I selected "other".
In the QZ app (iOS) added the IP address of the treadmill.
Issue:
In the iOS app I am seeing the data fields - but nothing is changing.
Logs:
In the log dump in the companion app on the treadmill I get:
2023-11-03 17:59:18.755 Service started
2023-11-03 17:59:18.765 Service onCreate
2023-11-03 17:59:18.765 Service postDelayed
2023-11-03 17:59:18.766 Service started
2023-11-03 17:59:19.267 Service run
2023-11-03 17:59:19.276 /sdcard/.wolflogs/
2023-11-03 17:59:19.276 lastModifiedFile /scard/wolflogs/2023-11-03 _logs.txt
2023-11-03 17:59:19.277 string: /sdeard/wolflogs/2023-11-03_logs.txt
2023-11-03 17:59:19.277 Parsing /sdcard/.wolflogs/2023-11-03_logs.txt
2023-11-03 17:59:19.278 Device: null
2023-11-03 17:59:19.654
2023-11-03 17:59:19.894
2023-11-03 17:59:19.936 Got UDP broadcast from , message: -1;-100
2023-11-03 17:59:19.937 -1:-100
The text was updated successfully, but these errors were encountered: