-
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 response to QZ input on x22i treadmill #85
Comments
Are you able to connect to adb from your pc? |
I was able to use the bat file and ADB to install the companion app. I haven't tried running commands manually via ADB since then but I'm happy to try any specific ones. |
Try for example to run
adb shell input swipe 100 200 300 400 200
And let me know if you see a touch reaction
Roberto Viola
Software engineer and open source enthusiast
http://robertoviola.cloud
Il giorno gio 15 feb 2024 alle 06:55 Chris Bair ***@***.***>
ha scritto:
… I was able to use the bat file and ADB to install the companion app. I
haven't tried running commands manually via ADB since then but I'm happy to
try any specific ones.
—
Reply to this email directly, view it on GitHub
<#85 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAALYWG3NFQE5B7MTPWLUOTYTWPORAVCNFSM6AAAAABDJSET5CVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNBVGQYTQMBQGI>
.
You are receiving this because you commented.Message ID:
***@***.***
com>
|
OK, that was weird - I had to revoke debugging authorizations a few times and disable and re-enable debugging and then I finally got it to connect to an ADB console and take commands. The command you suggested brought up a controls screen on the treadmill. Cool. I was then able to exit out of ADB on my laptop and go into QZ on my android device and now the speed and inclination tile controls are working. Manually messing with those seems to work great. A couple of questions: I didn't see it specified in this page about the XML tags but what unit of measure is the speed tag? is that KPH? Is there a way to get it to mi/h like I'm using on the tile view in QZ? Does the XML program ignore the warm-up/cool down on the treadmill? When it says "Program has been loaded correctly, press start to begin!" on my android device - does that mean press start on the treadmill? I'm operating under the assumption that in order for QZ to do anything I have to start a manual workout and be on the manual workout screen Is there a way to have QZ trigger the cool down or end workout on the treadmill? Pressing the STOP button near the tiles on my android device does not seem to cause any effect on the treadmill. |
Great!
xml is in KPH. There is a ticket about setting the unit but for now is in KPH.
QZ doesn't know about this (neither do I :) ). What is it?
You have to press twice the start button on qz to engage the program or once if the play button was already blinking red (pause mode)
Again i don't know what is it. Is it a special mode on the treadmill tablet? |
OK, I'll use math to convert to KPH, no biggie. To confirm though - I do need to be in the manual workout screen on the treadmill before starting anything in QZ, correct? On this treadmill, when you start a manual workout it defaults to a 3 minute "warm-up" at 1 mile/hour. there's a button to end the warm-up and then you're into the main workout screen you can also trigger a cool down which defaults to 10 minutes and slowly reduces speed, that can be ended at any time to stop the workout (see attached video) One last thing for this report =) I'm not sure what the integration with this treadmill is supposed to support but I do not see the heart rate monitor data from the treadmill in the QZ tiles and the fan control on the treadmill does not do anything in QZ. no data is sent and the tile does not control the fan on the treadmill. 2024-02-15.06.51.56-1.mp4 |
ok in case I can add it in the future!
yes!
hah ok, do you see the metrics in qz as well during this period?
thanks, this is very helpful!
sure I can add it! Let me know! |
During the warm-up/cool down I do see the speed and inclination in QZ and I'm able to change them on the treadmill using QZ Yes I can - to be clear I believe what you are requesting is that I use my laptop to connect to the treadmill ADB, then I'll run the following: adb logcat -c (clears the log) Then I'll fire up a manual workout on the treadmill with the hear rate monitor active. I'll adjust the fan speed, end the warm-up early, adjust the speed and inclination for fun, start cool down, end the workout Stop logcat capture. (Control+C). Would you prefer I email the logs? |
yes perfect! it's a pleasure working with people like you :) you can attach the log compressed here, thanks! (so i keep a trace of every mod that I'm doing) |
OK, logcat attached. Oddly it looks like QZ Companion is getting the heart rate data, it's just not passing it on to my Android device. |
Easy fix for this! Are you on the beta on android?
https://play.google.com/apps/testing/org.cagnulen.qdomyoszwift
Let me know!
Roberto Viola
Software engineer and open source enthusiast
http://robertoviola.cloud
Il giorno ven 16 feb 2024 alle 04:20 Chris Bair ***@***.***>
ha scritto:
… OK, logcat attached. Oddly it looks like QZ Companion is getting the heart
rate data, it's just not passing it on to my Android device.
X22i_fan_and_HR.zip
<https://github.com/cagnulein/QZCompanionNordictrackTreadmill/files/14305294/X22i_fan_and_HR.zip>
—
Reply to this email directly, view it on GitHub
<#85 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAALYWGTZHFD4BEGSNGMDD3YT3GAZAVCNFSM6AAAAABDJSET5CVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNBXGY4TMMZVGI>
.
You are receiving this because you commented.Message ID:
***@***.***
com>
|
Yep, I'm on the beta. BTW I did mess with the fan, speed, incline, speaker volume, and did the warm up and cool down process during that period. If you need it I can grab the wolf and ifit logs from the treadmill, I have Total commander with the network drive plugin installed so I can move stuff on and off easily. |
i guess a debug log from qz could be sufficient now
https://github.com/cagnulein/qdomyos-zwift/wiki/How-do-i-get-the-debug-log-in-case-something-doesn't-work%3F
i will check again the previous log in the meantime
Roberto Viola
Software engineer and open source enthusiast
http://robertoviola.cloud
Il giorno ven 16 feb 2024 alle 04:35 Chris Bair ***@***.***>
ha scritto:
… Yep, I'm on the beta.
BTW I did mess with the fan, speed, incline, speaker volume, and did the
warm up and cool down process during that period.
If you need it I can grab the wolf and ifit logs from the treadmill, I
have Total commander with the network drive plugin installed so I can move
stuff on and off easily.
—
Reply to this email directly, view it on GitHub
<#85 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAALYWFXJUCKOTMMPLJOD5DYT3HWZAVCNFSM6AAAAABDJSET5CVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNBXG4YDKMJZG4>
.
You are receiving this because you commented.Message ID:
***@***.***
com>
|
Debug from QZ is attached. every time I turn off the treadmill, in order to connect to ADB I have to disable and reenable debugging in the developer settings of the treadmill. |
got the issue, this treadmill is logging it in a slightly different way. i
will fix this later today
thanks
Roberto Viola
Software engineer and open source enthusiast
http://robertoviola.cloud
Il giorno ven 16 feb 2024 alle 05:05 Chris Bair ***@***.***>
ha scritto:
… Debug from QZ is attached.
every time I turn off the treadmill, in order to connect to ADB I have to
disable and reenable debugging in the developer settings of the treadmill.
debug-Thu_Feb_15_20_59_41_2024.zip
<https://github.com/cagnulein/QZCompanionNordictrackTreadmill/files/14305654/debug-Thu_Feb_15_20_59_41_2024.zip>
—
Reply to this email directly, view it on GitHub
<#85 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAALYWGTNP6OLR6UAFBIF53YT3LJJAVCNFSM6AAAAABDJSET5CVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNBXG4ZDIMBUGA>
.
You are receiving this because you commented.Message ID:
***@***.***
com>
|
done! https://github.com/cagnulein/qdomyos-zwift/actions/runs/7927097435 Google is very slow in these days, reviewing the app on the store, even the beta ones. For this reason, in order to check right now if the patch that I did is right, you can use the android build in the link (check at the bottom of the page in about 1 hour). In order to test it you need first to remove the current QZ version on your phone, install the one that you downloaded. |
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. |
hi @lthown any news? |
Ok, I followed the troubleshooting steps and I do not get any response on the treadmill when I press tile input in QZ. I do have the sliders enabled, joined the beta on Android and even selected X22i in the new menu. I have ADB remote enabled and I even turned on show input touches in the treadmill Dev options.
![Screenshot_20240214_212830](https://private-user-images.githubusercontent.com/750471/304951327-7a9debd7-8ab7-4bcd-be5c-0d42329f9fe4.jpg?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTk2Mzg1MzAsIm5iZiI6MTcxOTYzODIzMCwicGF0aCI6Ii83NTA0NzEvMzA0OTUxMzI3LTdhOWRlYmQ3LThhYjctNGJjZC1iZTVjLTBkNDIzMjlmOWZlNC5qcGc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwNjI5JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDYyOVQwNTE3MTBaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT03NTAwY2ZmYmJiNTUzNzc0MWE1MjgxZGU5NmNlN2FmNGZiMWVkMGUzYjk3NjM0ZDhjNGNjYmY5YmMxZGQ5ZmRkJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.hmw5gl8DRNfdo1-MbfNKmXOXzJrM_3msBDWKS028MHY)
The text was updated successfully, but these errors were encountered: