cagnulein / qdomyos-zwift

Zwift bridge for smart treadmills and bike/cyclette
https://www.qzfitness.com/
GNU General Public License v3.0
422 stars 116 forks source link

[BUG]QZ not showing metrics with Proform Smart 10 bike #1717

Closed TripleSeas closed 1 year ago

TripleSeas commented 1 year ago

QZ isn’t reading metrics from proform smart power 10 bike during peloton workout. Debug log attached.

debug-Fri_Oct_20_17_34_49_2023.log

To Reproduce Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior A clear and concise description of what you expected to happen.

Screenshots If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

Smartphone (please complete the following information):

Append a debug log

Follow this guide https://github.com/cagnulein/qdomyos-zwift/wiki/How-do-i-get-the-debug-log-in-case-something-doesn't-work%3F

Additional context Add any other context about the problem here.

cagnulein commented 1 year ago

first complete the gran tour steps

TripleSeas commented 1 year ago

image

cagnulein commented 1 year ago

you have to go in that directory in the prompt first

Il giorno sab 21 ott 2023 alle 19:57 TripleSeas @.***> ha scritto:

[image: image] https://user-images.githubusercontent.com/148592340/277125086-bea1db1d-5e58-454c-afe5-f984503b113f.jpg

— Reply to this email directly, view it on GitHub https://github.com/cagnulein/qdomyos-zwift/issues/1717#issuecomment-1773878480, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAALYWGF72TYLNHKUISEZGDYAQEH7AVCNFSM6AAAAAA6JT426KVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONZTHA3TQNBYGA . You are receiving this because you were mentioned.Message ID: @.***>

TripleSeas commented 1 year ago

image

cagnulein commented 1 year ago

you have to run the full line

./adb shell pm grant org.cagnulein.qzcompanionnordictracktreadmill android.permission.READ_LOGS

TripleSeas commented 1 year ago

image

TripleSeas commented 1 year ago

Nothing happened when I executed

cagnulein commented 1 year ago

no you have to first go in that dir with the cd command

and then run my line

cagnulein commented 1 year ago

i created a batch file for you if you want download again the zip file

TripleSeas commented 1 year ago

Download the new zip to pc then to bike?

cagnulein commented 1 year ago

nope just on the pc you will see the new batch file grant permission . bat

Il giorno sab 21 ott 2023 alle 20:12 TripleSeas @.***> ha scritto:

Download the new zip to pc then to bike?

— Reply to this email directly, view it on GitHub https://github.com/cagnulein/qdomyos-zwift/issues/1717#issuecomment-1773882527, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAALYWHVL6EZDUMIXKDDSS3YAQGBVAVCNFSM6AAAAAA6JT426KVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONZTHA4DENJSG4 . You are receiving this because you were mentioned.Message ID: @.***>

TripleSeas commented 1 year ago

Have downloaded, opens then closes

cagnulein commented 1 year ago

should be right. if you want to download it ok i updated it leaving it open so you will see the output

TripleSeas commented 1 year ago

Okay restart companion then give it a go?

cagnulein commented 1 year ago

no i mean download again the zip so you will have the updated batch file and rerun it

Il giorno sab 21 ott 2023 alle 20:19 TripleSeas @.***> ha scritto:

Okay restart companion then give it a go?

— Reply to this email directly, view it on GitHub https://github.com/cagnulein/qdomyos-zwift/issues/1717#issuecomment-1773884195, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAALYWBAQE2GNPDPGHCH4L3YAQGZHAVCNFSM6AAAAAA6JT426KVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONZTHA4DIMJZGU . You are receiving this because you were mentioned.Message ID: @.***>

TripleSeas commented 1 year ago

Rerun qz companion? image

cagnulein commented 1 year ago

ok should be ok. now select the gran tour device in the companion

Il giorno sab 21 ott 2023 alle 20:23 TripleSeas @.***> ha scritto:

Rerun qz companion? [image: image] https://user-images.githubusercontent.com/148592340/277127227-1b0e4b39-2e07-4f0e-acd5-a9309f202601.jpg

— Reply to this email directly, view it on GitHub https://github.com/cagnulein/qdomyos-zwift/issues/1717#issuecomment-1773885424, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAALYWEZEAYSL3CGMZCT5ZDYAQHITAVCNFSM6AAAAAA6JT426KVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONZTHA4DKNBSGQ . You are receiving this because you were mentioned.Message ID: @.***>

TripleSeas commented 1 year ago

image

cagnulein commented 1 year ago

ok reboot the bike and try again in case it doesn't work i need the wolflogs while the workout is in progress

Il giorno sab 21 ott 2023 alle 20:27 TripleSeas @.***> ha scritto:

[image: image] https://user-images.githubusercontent.com/148592340/277127415-dd358556-af40-4c9b-8d79-0c2ac1ae5549.jpg

— Reply to this email directly, view it on GitHub https://github.com/cagnulein/qdomyos-zwift/issues/1717#issuecomment-1773886772, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAALYWAAYAUTMSIYR7A35H3YAQHYVAVCNFSM6AAAAAA6JT426KVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONZTHA4DMNZXGI . You are receiving this because you were mentioned.Message ID: @.***>

TripleSeas commented 1 year ago

Seems to be working! Getting metrics

TripleSeas commented 1 year ago

Will try through peloton

cagnulein commented 1 year ago

amazing!!! for sure in this way (at least for now) you can't have auto resistance

Il giorno sab 21 ott 2023 alle 20:38 TripleSeas @.***> ha scritto:

Will try through peloton

— Reply to this email directly, view it on GitHub https://github.com/cagnulein/qdomyos-zwift/issues/1717#issuecomment-1773889795, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAALYWGVCFMWWQBFFK55XW3YAQJDFAVCNFSM6AAAAAA6JT426KVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONZTHA4DSNZZGU . You are receiving this because you were mentioned.Message ID: @.***>

TripleSeas commented 1 year ago

Why no auto resistance?

cagnulein commented 1 year ago

because with this method we are only reading metrics

in order to have auto resistance we have also to write, but don't worry, it should be possible!

Il giorno sab 21 ott 2023 alle 20:41 TripleSeas @.***> ha scritto:

Why no auto resistance?

— Reply to this email directly, view it on GitHub https://github.com/cagnulein/qdomyos-zwift/issues/1717#issuecomment-1773890745, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAALYWAD6GI45OKSSZMYZX3YAQJLZAVCNFSM6AAAAAA6JT426KVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONZTHA4TANZUGU . You are receiving this because you were mentioned.Message ID: @.***>

TripleSeas commented 1 year ago

Okay

TripleSeas commented 1 year ago

Sat Oct 21 15_13_31 2023_cadence Sat Oct 21 15_13_29 2023

cagnulein commented 1 year ago

everything works?

Il giorno sab 21 ott 2023 alle 21:20 TripleSeas @.***> ha scritto:

[image: Sat Oct 21 15_13_31 2023_cadence] https://user-images.githubusercontent.com/148592340/277129644-2ce60d59-4ec2-45fb-969b-aa056c4ee757.png [image: Sat Oct 21 15_13_29 2023] https://user-images.githubusercontent.com/148592340/277129646-58d0f2c5-9b11-4b79-a40d-782482e1bd06.jpg

— Reply to this email directly, view it on GitHub https://github.com/cagnulein/qdomyos-zwift/issues/1717#issuecomment-1773899742, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAALYWHIOGKRFPIZHBWQRETYAQOBPAVCNFSM6AAAAAA6JT426KVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONZTHA4TSNZUGI . You are receiving this because you were mentioned.Message ID: @.***>

TripleSeas commented 1 year ago

Yes, everything but auto resistance

cagnulein commented 1 year ago

ok for this let's try to understand if it can work. so first in the tablet setting, developers settings, enable the touch event thing, so you will see a shadow when you will press the touchscreen

then, i created a new batch called test-touch.bat

so download the install package again and run the batch file

if you see a touch event we will be able to auto resistance!

Il giorno sab 21 ott 2023 alle 21:30 TripleSeas @.***> ha scritto:

Yes, everything but auto resistance

— Reply to this email directly, view it on GitHub https://github.com/cagnulein/qdomyos-zwift/issues/1717#issuecomment-1773902308, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAALYWE74ZOOJ2NOHJC63QTYAQPFHAVCNFSM6AAAAAA6JT426KVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONZTHEYDEMZQHA . You are receiving this because you were mentioned.Message ID: @.***>

TripleSeas commented 1 year ago

Pointer location? image

cagnulein commented 1 year ago

yes

Il giorno sab 21 ott 2023 alle 22:04 TripleSeas @.***> ha scritto:

Pointer location? [image: image] https://user-images.githubusercontent.com/148592340/277131492-1801af42-027a-40d6-8249-043ff13b8f4e.jpg

— Reply to this email directly, view it on GitHub https://github.com/cagnulein/qdomyos-zwift/issues/1717#issuecomment-1773910336, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAALYWE6X4L4R4FSS3UGQWDYAQTGDAVCNFSM6AAAAAA6JT426KVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONZTHEYTAMZTGY . You are receiving this because you were mentioned.Message ID: @.***>

stale[bot] commented 1 year ago

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.

cagnulein commented 1 year ago

@TripleSeas Any news?