Closed FurlongFX closed 2 months ago
ok so try now the swipe things
ok great, when I inputted a swipe from 200 0 to 200 100, I saw the bottom panel get brought up
I'm just trying to map out the coordinates of my exact screen
success! This was a swipe 75 430 75 306 https://github.com/user-attachments/assets/caeddfb8-7ffc-4ff4-b30a-976d7cfc0e15
this is a screenshot taken from the adb-screenshot.bat
the x coords of the incline and speed, respectively, are 75 and 950 the y coords from bottom to top of the sliders are 430(btm) to 185(top)
ok perfect, so now are you able, pressing the plus button on the speed or incline from qz, to see an event there?
no I'm not. I'm thinking it's because whichever model is being assigned by QZ doesn't align with the coordinates of my model's screen
the Carbon T7 is only a 7" touch screen, and the companion app is assuming an x22i which is a 22" screen
the T7.5s you mentioned above has the exact same screen size as mine. Should I try that one instead on the companion app?
no that's not the reason, qz is sending valid coordinates when you push the plus, maybe not perfectly calibrated but you should see an event. maybe it's because you are still connected with the pc via adb? only one adb connection is allowed to the treadmill.
the companion app, when you enabled the adb remote (as we want) it doesn't consider the device selected there
ahh ok could this be why? I'm seeing this extra "entity" on ADB explorer
could be...but qz is connecting directly to the ip that you set in the settings, so it should avoid the emulator. try to send me a fresh debug log of qz, so we will check if there is any adb error
unfortunately the log is truncated from the start. close qz before sending the log, otherwise it will be corrupted thanks
Roberto Viola Software engineer and open source enthusiast http://robertoviola.cloud
Il giorno gio 25 lug 2024 alle ore 20:46 FurlongFX @.***> ha scritto:
debug-Thu_Jul_25_11_39_21_2024.log https://github.com/user-attachments/files/16382461/debug-Thu_Jul_25_11_39_21_2024.log
— Reply to this email directly, view it on GitHub https://github.com/cagnulein/qdomyos-zwift/issues/2474#issuecomment-2251179499, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAALYWHJOWSTKU7AOBM4T7DZOFBX5AVCNFSM6AAAAABLLBSI7OVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENJRGE3TSNBZHE . You are receiving this because you modified the open/close state.Message ID: @.***>
ahh sorry, I didn't realize it continues to write the log after the app is closed. It's still writing it, I'll send it once it's finished
i don't see any error: are you able to connect your phone to the pc and run an adb logcat of the phone while qz is starting? I would like to see if there is any underlying errors Let me know
Roberto Viola Software engineer and open source enthusiast http://robertoviola.cloud
Il giorno gio 25 lug 2024 alle ore 21:04 FurlongFX @.***> ha scritto:
debug-Thu_Jul_25_12_02_43_2024.log https://github.com/user-attachments/files/16382641/debug-Thu_Jul_25_12_02_43_2024.log
— Reply to this email directly, view it on GitHub https://github.com/cagnulein/qdomyos-zwift/issues/2474#issuecomment-2251212506, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAALYWEXTPZSYMA4WQ65L7TZOFD5RAVCNFSM6AAAAABLLBSI7OVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENJRGIYTENJQGY . You are receiving this because you modified the open/close state.Message ID: @.***>
is it possibile that you stripped away something? i can't see any reference of the java module AdbRemote
Roberto Viola Software engineer and open source enthusiast http://robertoviola.cloud
Il giorno gio 25 lug 2024 alle ore 22:01 FurlongFX @.***> ha scritto:
logcat.txt https://github.com/user-attachments/files/16383173/logcat.txt
— Reply to this email directly, view it on GitHub https://github.com/cagnulein/qdomyos-zwift/issues/2474#issuecomment-2251299521, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAALYWHNXXO7U44VELP7AL3ZOFKTHAVCNFSM6AAAAABLLBSI7OVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENJRGI4TSNJSGE . You are receiving this because you modified the open/close state.Message ID: @.***>
I confirmed, adb remote is active on QZ. I cleared the log, then ran it again after having opened the QZ app and pasted it into a txt file. I just used the standard "adb logcat - d" command
ok 10pm here. i guess i have to add some debug log to understand what's going on. because it simply that qz doesn't start the adb thing. I will let you know
Roberto Viola Software engineer and open source enthusiast http://robertoviola.cloud
Il giorno gio 25 lug 2024 alle ore 22:11 FurlongFX @.***> ha scritto:
I confirmed, adb remote is active on QZ. I cleared the log, then ran it again after having opened the QZ app and pasted it into a txt file. I just used the standard "adb logcat - d" command
— Reply to this email directly, view it on GitHub https://github.com/cagnulein/qdomyos-zwift/issues/2474#issuecomment-2251314306, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAALYWDNNMRIXO2LDSYLZJDZOFLXLAVCNFSM6AAAAABLLBSI7OVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENJRGMYTIMZQGY . You are receiving this because you modified the open/close state.Message ID: @.***>
ok i added some debug logs, give it a try when it finished to build it https://github.com/cagnulein/qdomyos-zwift/actions/runs/10110231384
Roberto Viola Software engineer and open source enthusiast http://robertoviola.cloud
Il giorno gio 25 lug 2024 alle ore 22:13 cagnulein @.***> ha scritto:
ok 10pm here. i guess i have to add some debug log to understand what's going on. because it simply that qz doesn't start the adb thing. I will let you know
Roberto Viola Software engineer and open source enthusiast http://robertoviola.cloud
Il giorno gio 25 lug 2024 alle ore 22:11 FurlongFX < @.***> ha scritto:
I confirmed, adb remote is active on QZ. I cleared the log, then ran it again after having opened the QZ app and pasted it into a txt file. I just used the standard "adb logcat - d" command
— Reply to this email directly, view it on GitHub https://github.com/cagnulein/qdomyos-zwift/issues/2474#issuecomment-2251314306, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAALYWDNNMRIXO2LDSYLZJDZOFLXLAVCNFSM6AAAAABLLBSI7OVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENJRGMYTIMZQGY . You are receiving this because you modified the open/close state.Message ID: @.***>
this one is from my Pixel 8 Pro, the previous one is using my Pixel 6
I feel like this is the culprit
for sure that's the error. Strange thing I can't see my new logs, did you install the new build? Anyway yes, there is a connection refused so the possibility are: 1) the ip is incorrect, i'm excluding this 2) the port is incorrect: which is the port when you connect from the pc? 3) there are other adb instances connected to your treadmill, close them all 4) this treadmill have some strange security policy that inhibits a connection from another android device
Let me know your thoughts
IP should be fine. Port is 5555. Shouldn't be any other adb connections. Any way to check that?
As far as the latest build, I downloaded the latest APK and tried installing it from my files folder on my phone, but it errored out. Do I have to install it via ADB?
you have to remove first the original qz , and install the apk.
anyway we already saw the error.
the only way to be sure about no other connections is to reboot the treadmill and connect with QZ Right after.
Roberto Viola Software engineer and open source enthusiast http://robertoviola.cloud
Il giorno sab 27 lug 2024 alle 17:36 FurlongFX @.***> ha scritto:
IP should be fine. Port is 5555. Shouldn't be any other adb connections. Any way to check that?
As far as the latest build, I downloaded the latest APK and tried installing it from my files folder on my phone, but it errored out. Do I have to install it via ADB?
— Reply to this email directly, view it on GitHub https://github.com/cagnulein/qdomyos-zwift/issues/2474#issuecomment-2254180618, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAALYWC3TJHEILVUCIAU733ZOO46TAVCNFSM6AAAAABLLBSI7OVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENJUGE4DANRRHA . You are receiving this because you modified the open/close state.Message ID: @.***>
so I restarted the tread and only connected my pixel 6. I'm using that one as my QZ device, and my current phone is being used as my peleton device.
Attached is a log using the latest nightly build. logcatnew.txt
okay I think we have success here
yes it seems so, what did you change? do you see now the event on the treadmill?
so the one thing that I noticed is that every time I restart the tread, USB debugging flips off. I have to remember to turn it on every time. Can that be included in the QZ startup sequence?
As far as seeing the event, I can't. I'm wondering if the swipe up coords are out of the bounds of my screen. Because when you sent me the shell swipe command to test it earlier, it didn't work, but DID when I adjusted the command coordinates
the x coordinate on the log are way past the max x coord on my screen
no, it can't be included in the startup sequence because without that one qz can't communicate at all with the treadmill.
OK, I will let the profile of your treadmill with the new coordinates in the next days
the x coordinate on the log are way past the max x coord on my screen
the 75 should be fine
what I'm saying is, the tread disables it on every startup. What I'm asking is if the qz companion startup sequence can force USB-debugging ON
no it can't because it would need root access. or at least it's something that i never tried. if you want we can experiment on this.
are you able to collect some information about allowing root permissions to an apk and the java commands to enable it ?
also, I'm wondering if there is already some app like tasker, That can do these already
Roberto Viola Software engineer and open source enthusiast http://robertoviola.cloud
Il giorno sab 27 lug 2024 alle 19:50 FurlongFX @.***> ha scritto:
what I'm saying is, the tread disables it on every startup. What I'm asking is if the qz companion startup sequence can force USB-debugging ON
— Reply to this email directly, view it on GitHub https://github.com/cagnulein/qdomyos-zwift/issues/2474#issuecomment-2254212417, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAALYWHTYX5H7N6SWY2DU23ZOPMWBAVCNFSM6AAAAABLLBSI7OVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENJUGIYTENBRG4 . You are receiving this because you modified the open/close state.Message ID: @.***>
not sure if this pertains to what you're looking for it includes a java method for checking then enabling
https://www.reddit.com/r/tasker/comments/5k5o25/how_to_enable_usb_debugging/
i will investigate this. let's first check the coordinates thing
Roberto Viola Software engineer and open source enthusiast http://robertoviola.cloud
Il giorno sab 27 lug 2024 alle 19:57 FurlongFX @.***> ha scritto:
not sure if this pertains to what you're looking for it includes a java method for checking then enabling
https://www.reddit.com/r/tasker/comments/5k5o25/how_to_enable_usb_debugging/
— Reply to this email directly, view it on GitHub https://github.com/cagnulein/qdomyos-zwift/issues/2474#issuecomment-2254213949, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAALYWGGBMW4KXFPMVRPG2LZOPNR5AVCNFSM6AAAAABLLBSI7OVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENJUGIYTGOJUHE . You are receiving this because you modified the open/close state.Message ID: @.***>
oh of course, thanks so much :)
does the treadmill option in the app modify the coordinates in the shell command?
for the inclination, x, are basically all the same to 75
anyway you can try the profiles
x22i or t8.5s or x14i from the combo box on the qz settings nordictrack treadmill setting model
Roberto Viola Software engineer and open source enthusiast http://robertoviola.cloud
Il giorno sab 27 lug 2024 alle 20:49 FurlongFX @.***> ha scritto:
does the treadmill option in the app modify the coordinates in the shell command?
— Reply to this email directly, view it on GitHub https://github.com/cagnulein/qdomyos-zwift/issues/2474#issuecomment-2254226202, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAALYWGBMFHQQ34T3XKZXYLZOPTUVAVCNFSM6AAAAABLLBSI7OVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENJUGIZDMMRQGI . You are receiving this because you modified the open/close state.Message ID: @.***>
yeah, the profiles all send correct metrics, but no swipe response from app
ok i will add the profiles for yours tomorrow, let's see if it makes any difference
Roberto Viola Software engineer and open source enthusiast http://robertoviola.cloud
Il giorno dom 28 lug 2024 alle ore 22:42 FurlongFX @.***> ha scritto:
yeah, the profiles all send correct metrics, but no swipe response from app
— Reply to this email directly, view it on GitHub https://github.com/cagnulein/qdomyos-zwift/issues/2474#issuecomment-2254638530, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAALYWHYSF6ORS4VSWGDW3TZOVJU5AVCNFSM6AAAAABLLBSI7OVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENJUGYZTQNJTGA . You are receiving this because you modified the open/close state.Message ID: @.***>
copy that, thanks so much :)
if it works, there's many people on the facebook group with my exact model that I can share my procedure with.
@FurlongFX done
https://github.com/cagnulein/qdomyos-zwift/actions/runs/10139788036
enable the treadmill model in the treadmill combobox and restart qz
let me know
I installed the latest nightly build from 18 hrs ago, and I don't see my model in "Specific Model" dropdown list
it's the last one in the list and it was from 11 hours ago https://github.com/cagnulein/qdomyos-zwift/actions/runs/10139788036
Roberto Viola Software engineer and open source enthusiast http://robertoviola.cloud
Il giorno lun 29 lug 2024 alle 21:01 FurlongFX @.***> ha scritto:
I installed the latest nightly build from 18 hrs ago, and I don't see my model in "Specific Model" dropdown list
— Reply to this email directly, view it on GitHub https://github.com/cagnulein/qdomyos-zwift/issues/2474#issuecomment-2256686042, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAALYWAADF5JIPMBFLDJKUDZO2GPXAVCNFSM6AAAAABLLBSI7OVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENJWGY4DMMBUGI . You are receiving this because you modified the open/close state.Message ID: @.***>
Attached is a copy of my latest log file hopefully demonstrating the issue. debug-Tue_Jul_23_12_16_48_2024.log