cagnulein / QZCompanionNordictrackTreadmill

Companion App of QZ for Nordictrack Treadmills and Bikes
https://www.qzfitness.com/
GNU Affero General Public License v3.0
47 stars 12 forks source link

Proform Power T7I not connecting to QZ IOS App #60

Closed activereality closed 1 year ago

activereality commented 1 year ago

Hello,

I am using this on: Proform Power T7L. It is not listed in available devices on either the Companion app - which I already installed - or the ios QZ App.

I used the latest rev from this repot.

I have tried a few different device selections from both sides - i.e. 'Other' from QZ-Companion (on the proform) and each of the available Proform selections in the QZ IOS app.

For this testing I had the IP address entered into the 'Proform IP' in the QZ IOS App.

Is this Proform device not supported by the current revision of QZ and QZ-Companion?

cagnulein commented 1 year ago

Hi Aaron, let's send me a debug log and i will check it!

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

Il giorno lun 11 set 2023 alle 19:35 Aaron Christiano < @.***> ha scritto:

Hello,

I am using this on: Proform Power T7L. It is not listed in available devices on either the Companion app - which I already installed - or the ios QZ App.

I used the latest rev from this repot.

I have tried a few different device selections from both sides - i.e. 'Other' from QZ-Companion (on the proform) and each of the available Proform selections in the QZ IOS app.

For this testing I had the IP address entered into the 'Proform IP' in the QZ IOS App.

Is this Proform device not supported by the current revision of QZ and QZ-Companion?

— Reply to this email directly, view it on GitHub https://github.com/cagnulein/QZCompanionNordictrackTreadmill/issues/60, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAALYWE46TFV6EYP7VEMZMTXZ5DXRANCNFSM6AAAAAA4TVVJ4U . You are receiving this because you are subscribed to this thread.Message ID: @.***>

activereality commented 1 year ago

debug-Mon_Sep_11_13_38_17_2023.log debug attached

cagnulein commented 1 year ago

ok i will check it tomorrow

Il giorno lun 11 set 2023 alle 20:43 Aaron Christiano < @.***> ha scritto:

debug-Mon_Sep_11_13_38_17_2023.log https://github.com/cagnulein/QZCompanionNordictrackTreadmill/files/12579353/debug-Mon_Sep_11_13_38_17_2023.log debug attached

— Reply to this email directly, view it on GitHub https://github.com/cagnulein/QZCompanionNordictrackTreadmill/issues/60#issuecomment-1714399737, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAALYWDF2VLQWGTQN2RO4FTXZ5LU3ANCNFSM6AAAAAA4TVVJ4U . You are receiving this because you commented.Message ID: @.*** com>

cagnulein commented 1 year ago

Hi, the main issue in this log is that you set the wrong setting with the ip. Blank the "Proform IP" setting and press ok, and set instead the IP in the Nordictrack 2950 IP setting Send me then a fresh debug log Thanks

activereality commented 1 year ago

OH, Gotcha. I just updated that setting- then ran back through all selectable proform options (and left it blank) with no luck either.

Attached is the debug log.

I also noted that the Android settings screen has two IP addresses listed. xxx.200 and xxx.201, however, the IFIT has the xxx.200 listed as its ip, so that is the one i have been using. Pics are attached of that as well.

thanks for the assistance IMG_3419

IMG_3418

debug-Tue_Sep_12_08_32_27_2023.log

cagnulein commented 1 year ago

I can't see the metrics so it means that the companion can't read them. Can you try to follow these steps https://github.com/cagnulein/qdomyos-zwift/issues/1591#issuecomment-1664105559 ?

activereality commented 1 year ago

Do you want me to select the Grand Tour Pro Device in the qz-companion app on the treadmill? or leave it at other?

cagnulein commented 1 year ago

gran tour pro. of course follow also the other steps. thanks

activereality commented 1 year ago

command not found found: adb - from both mac and windows terminals

cagnulein commented 1 year ago

you can download adb from here https://github.com/cagnulein/QZCompanionNordictrackTreadmill/archive/refs/heads/master.zip inside the installpackage folder

Roberto Viola Software engineer and open source enthusiast http://robertoviola.cloud

Il giorno mar 12 set 2023 alle ore 15:57 Aaron Christiano < @.***> ha scritto:

command not found found: adb - from both mac and windows terminals

— Reply to this email directly, view it on GitHub https://github.com/cagnulein/QZCompanionNordictrackTreadmill/issues/60#issuecomment-1715780008, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAALYWGKTRMQOKXV5XHQQ5LX2BS47ANCNFSM6AAAAAA4TVVJ4U . You are receiving this because you commented.Message ID: @.*** com>

activereality commented 1 year ago

install package/adp (application) does not seem to attempt to install anything - ran as admin as well. (windows). the command still not recognized. I also pulled a fresh copy of the master.zip and tried to run the adp app from there, same result.

cagnulein commented 1 year ago

you don't have to install anything, it's a portable executable. Just go into the directory from a command line shell and run the adb command from the installpackage subfolder

Show me a screenshot of the error in case

activereality commented 1 year ago

oh i was running from the file directory window - not from cli

activereality commented 1 year ago

ok, ran that from PS. where do i enable adb debug for qz companion? Is that from the command line after adb install, from the qz-companion app on the treadmill, or from the qz app on 'device-x' (ie phone, tablet)?

cagnulein commented 1 year ago

@activereality in the developer settings of the tablet's treadmill

activereality commented 1 year ago

did you mean in Treadmill/Developer Options - Set the Select debug app to qz companion? images attached:

IMG_3422 IMG_3420

cagnulein commented 1 year ago

Yes, that's it. Roberto Viola Software engineer and open source enthusiast http://robertoviola.cloud

Il giorno mar 12 set 2023 alle ore 16:52 Aaron Christiano < @.***> ha scritto:

did you mean in Treadmill/Developer Options - Set the Select debug app to qz companion? images attached:

[image: IMG_3422] https://user-images.githubusercontent.com/45473517/267369571-e6a31a5c-9e0c-4641-a475-06dd503943a5.jpeg [image: IMG_3420] https://user-images.githubusercontent.com/45473517/267369577-e550ccf7-b096-41f1-8cc9-c28e3f19562a.jpeg

— Reply to this email directly, view it on GitHub https://github.com/cagnulein/QZCompanionNordictrackTreadmill/issues/60#issuecomment-1715880594, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAALYWHXCYBRQTNPSIVSQZ3X2BZJBANCNFSM6AAAAAA4TVVJ4U . You are receiving this because you commented.Message ID: @.*** com>

activereality commented 1 year ago

good deal - restarting the machine now - then will attempt to reconnect and send you the next debug txt

cagnulein commented 1 year ago

Sounds good. I will be out for a couple of hours, so i hope to check it again later or tomorrow

Roberto Viola Software engineer and open source enthusiast http://robertoviola.cloud

Il giorno mar 12 set 2023 alle ore 16:53 Aaron Christiano < @.***> ha scritto:

good deal - restarting the machine now - then will attempt to reconnect and send you the next debug txt

— Reply to this email directly, view it on GitHub https://github.com/cagnulein/QZCompanionNordictrackTreadmill/issues/60#issuecomment-1715883702, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAALYWD3JJQ2RT6WTAVJ73TX2BZPNANCNFSM6AAAAAA4TVVJ4U . You are receiving this because you commented.Message ID: @.*** com>

activereality commented 1 year ago

debug file attached:

debug-Tue_Sep_12_09_58_43_2023.log

cagnulein commented 1 year ago

quickly checked but i don't see anything at all. but it seems like it's not the right debug log.

could you please do it again?

Il giorno mar 12 set 2023 alle 17:01 Aaron Christiano < @.***> ha scritto:

debug file attached:

debug-Tue_Sep_12_09_58_43_2023.log https://github.com/cagnulein/QZCompanionNordictrackTreadmill/files/12587926/debug-Tue_Sep_12_09_58_43_2023.log

— Reply to this email directly, view it on GitHub https://github.com/cagnulein/QZCompanionNordictrackTreadmill/issues/60#issuecomment-1715898602, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAALYWF6MZYTCTCC4BBBKU3X2B2OLANCNFSM6AAAAAA4TVVJ4U . You are receiving this because you commented.Message ID: @.*** com>

activereality commented 1 year ago

Hmm,

i just went and tried again - also saved my current settings from the app

debug-Tue_Sep_12_10_11_26_2023.log

settings_default_20230912101214.qzs.zip

cagnulein commented 1 year ago

i'm checking from the mobile and i can't see any message but maybe it's better to look at it from a pc. i will let you know tomorrow

Il giorno mar 12 set 2023 alle 17:17 Aaron Christiano < @.***> ha scritto:

Hmm,

i just went and tried again - also saved my current settings from the app

debug-Tue_Sep_12_10_11_26_2023.log https://github.com/cagnulein/QZCompanionNordictrackTreadmill/files/12588064/debug-Tue_Sep_12_10_11_26_2023.log

settings_default_20230912101214.qzs.zip https://github.com/cagnulein/QZCompanionNordictrackTreadmill/files/12588069/settings_default_20230912101214.qzs.zip

— Reply to this email directly, view it on GitHub https://github.com/cagnulein/QZCompanionNordictrackTreadmill/issues/60#issuecomment-1715925546, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAALYWFQVWFOIDFVKXM4RZ3X2B4HZANCNFSM6AAAAAA4TVVJ4U . You are receiving this because you commented.Message ID: @.*** com>

activereality commented 1 year ago

good deal - ty sir

cagnulein commented 1 year ago

Confirmed, I can't see anymore the messages from the companion. All the steps were ok of the link? I'm intereseted in the "grant" command output for example Let me know

activereality commented 1 year ago

what 'Grant' command are you referring to?

cagnulein commented 1 year ago

this one

grant the permission with adb shell pm grant org.cagnulein.qzcompanionnordictracktreadmill android.permission.READ_LOGS from a mac or a pc

activereality commented 1 year ago

oh - that needs to be run after the adb application from installPackage?

activereality commented 1 year ago

if so - am i to run adb shell pm grant org.cagnulein.qzcompanionnordictracktreadmill android.permission.READ_LOGS from cli?

activereality commented 1 year ago

after opening the adb file from installPackage - the above command still results in a 'adb not a recognized cmdlet'

cagnulein commented 1 year ago

maybe you're using the power shell? if so you need to run adb with

./adb

activereality commented 1 year ago

hmm, i am running it with poweshell using .\adb trying the other now

activereality commented 1 year ago

no luck there - trying it with cmdPrompt now

cagnulein commented 1 year ago

please share a screenshot

activereality commented 1 year ago

alright - from cmdPrompt, i got this after running adb and then the grant command: `adb shell pm grant org.cagnulein.qzcompanionnordictracktreadmill android.permission.READ_LOGS

activereality commented 1 year ago

is there something else i need to start first?

activereality commented 1 year ago

going to cycle power to the treadmill

cagnulein commented 1 year ago
  • adb.exe: no devices/emulators found`

means adb is not enabled in the treadmill

activereality commented 1 year ago

alright - that in dev settings? or within the ifit app?

cagnulein commented 1 year ago

in dev settings

activereality commented 1 year ago

not seeing an ADB option in settings/system/developer options - what path is this supposed to be located at and what is the specific name i am looking for in that path?

cagnulein commented 1 year ago

actually should be here

https://user-images.githubusercontent.com/45473517/267369571-e6a31a5c-9e0c-4641-a475-06dd503943a5.jpeg

but I can't see it. So i guess your treadmill doesn't support this feature.

Ok plan b. Let's try to set the device in the companion as "c1750". Then restart the treadmill and send me again a debug log from qz. Thanks

activereality commented 1 year ago

selected C1750 on companion app - restarted treadmill QZ settings/treadmill options/ Proform/Nordicktrack Options - has Proform 1800i, TreadMIll iFit app ip entered into nordictrack 2950 ip, and adb remote selected debug-Wed_Sep_13_09_23_47_2023.log

cagnulein commented 1 year ago

mmm still the same. Could you please go into the companion app, press the dump log button and send me a picture of the text box in the companion?

activereality commented 1 year ago

IMG_3426 IMG_3424

cagnulein commented 1 year ago

can you share here the 2023-09-13 file?

Il giorno mer 13 set 2023 alle 16:56 Aaron Christiano < @.***> ha scritto:

[image: IMG_3426] https://user-images.githubusercontent.com/45473517/267697327-a979fbf9-3511-48d7-b452-41117695ef07.jpeg [image: IMG_3424] https://user-images.githubusercontent.com/45473517/267697350-e2a73578-9db8-47d2-b9e7-54ebf81344b1.jpeg

— Reply to this email directly, view it on GitHub https://github.com/cagnulein/QZCompanionNordictrackTreadmill/issues/60#issuecomment-1717798797, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAALYWBBOH2GAX62WI2OD3DX2HCSVANCNFSM6AAAAAA4TVVJ4U . You are receiving this because you commented.Message ID: @.*** com>

activereality commented 1 year ago

What file? debug from qz? or am i attempting to download a file from the treadmill companion app?

cagnulein commented 1 year ago

the file that i mentioned is in the treadmill tablet

Il giorno mer 13 set 2023 alle 17:30 Aaron Christiano < @.***> ha scritto:

What file? debug from qz? or am i attempting to download a file from the treadmill companion app?

— Reply to this email directly, view it on GitHub https://github.com/cagnulein/QZCompanionNordictrackTreadmill/issues/60#issuecomment-1717862316, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAALYWFGCGA6XE2MHNETRWDX2HGSBANCNFSM6AAAAAA4TVVJ4U . You are receiving this because you commented.Message ID: @.*** com>

activereality commented 1 year ago

good deal - how do i get to that file - and then get it transferred to my local pc?

cagnulein commented 1 year ago

you can download a file browser like cx file explorer from the treadmill browser

Il giorno mer 13 set 2023 alle 17:53 Aaron Christiano < @.***> ha scritto:

good deal - how do i get to that file - and then get it transferred to my local pc?

— Reply to this email directly, view it on GitHub https://github.com/cagnulein/QZCompanionNordictrackTreadmill/issues/60#issuecomment-1717900336, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAALYWABRMQBLMIAWBKE2OLX2HJIPANCNFSM6AAAAAA4TVVJ4U . You are receiving this because you commented.Message ID: @.*** com>