Giter Club home page Giter Club logo

Comments (18)

cagnulein avatar cagnulein commented on June 25, 2024

Are you able to connect to adb from your pc?

from qzcompanionnordictracktreadmill.

lthown avatar lthown commented on June 25, 2024

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.

from qzcompanionnordictracktreadmill.

cagnulein avatar cagnulein commented on June 25, 2024

from qzcompanionnordictracktreadmill.

lthown avatar lthown commented on June 25, 2024

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.

from qzcompanionnordictracktreadmill.

cagnulein avatar cagnulein commented on June 25, 2024

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.

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?

xml is in KPH. There is a ticket about setting the unit but for now is in KPH.

Does the XML program ignore the warm-up/cool down on the treadmill?

QZ doesn't know about this (neither do I :) ). What is it?

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

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)

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.

Again i don't know what is it. Is it a special mode on the treadmill tablet?

from qzcompanionnordictracktreadmill.

lthown avatar lthown commented on June 25, 2024

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

from qzcompanionnordictracktreadmill.

cagnulein avatar cagnulein commented on June 25, 2024

OK, I'll use math to convert to KPH, no biggie.

ok in case I can add it in the future!
I'm using CHATGPT to create my own program, you can do the same!

To confirm though - I do need to be in the manual workout screen on the treadmill before starting anything in QZ, correct?

yes!

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

hah ok, do you see the metrics in qz as well during this period?

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)

thanks, this is very helpful!

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.

sure I can add it!
Are you able to send me an adb logcat log so i can check if your treadmill is logging it as well as speed and inclination

Let me know!

from qzcompanionnordictracktreadmill.

lthown avatar lthown commented on June 25, 2024

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)
adb logcat -f X22i_fan_and_HR.log (saves logcat to local file on windows machine)

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?

from qzcompanionnordictracktreadmill.

cagnulein avatar cagnulein commented on June 25, 2024

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)

from qzcompanionnordictracktreadmill.

lthown avatar lthown commented on June 25, 2024

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

from qzcompanionnordictracktreadmill.

cagnulein avatar cagnulein commented on June 25, 2024

from qzcompanionnordictracktreadmill.

lthown avatar lthown commented on June 25, 2024

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.

from qzcompanionnordictracktreadmill.

cagnulein avatar cagnulein commented on June 25, 2024

from qzcompanionnordictracktreadmill.

lthown avatar lthown commented on June 25, 2024

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

from qzcompanionnordictracktreadmill.

cagnulein avatar cagnulein commented on June 25, 2024

from qzcompanionnordictracktreadmill.

cagnulein avatar cagnulein commented on June 25, 2024

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 version is a 15 minutes trial (you can restart it as many times as you want) and I can unlock it if you want, send me an email to [email protected] mentioning this ticket and that you are on android.
Let me know if you have any questions

from qzcompanionnordictracktreadmill.

stale avatar stale commented on June 25, 2024

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.

from qzcompanionnordictracktreadmill.

cagnulein avatar cagnulein commented on June 25, 2024

hi @lthown any news?

from qzcompanionnordictracktreadmill.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.