cagnulein / qdomyos-zwift

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

Pro Form CarbonT7 Not Connecting #2474

Closed FurlongFX closed 2 months ago

FurlongFX commented 3 months ago

Attached is a copy of my latest log file hopefully demonstrating the issue. debug-Tue_Jul_23_12_16_48_2024.log

cagnulein commented 3 months ago

checked. you have to fully remove the ip setting from here Proform IP (be sure to don't leave any white spaces at all and press ok) and instead set it to Nordictrack 2950 IP. press ok and restart qz Let me know

FurlongFX commented 3 months ago

I removed the ip setting, however there is no option for Nordictrack 2950 IP. Attached is the options I'm given in the QZ app. treadmillOptionsScreenGrab

FurlongFX commented 3 months ago

ohhh I see now, sorry. Coming right up

FurlongFX commented 3 months ago

debug-Tue_Jul_23_12_36_48_2024.log

cagnulein commented 3 months ago

ok now i can see a connection from the companion! which device did you select now in the companion? i will go to bed soon, in case i will answer you back tomorrow

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

Il giorno mar 23 lug 2024 alle 21:39 FurlongFX @.***> ha scritto:

debug-Tue_Jul_23_12_36_48_2024.log https://github.com/user-attachments/files/16353610/debug-Tue_Jul_23_12_36_48_2024.log

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

FurlongFX commented 3 months ago

right now it's set to "other" not sure what to set it to

cagnulein commented 3 months ago

try to set to x22i and restart the treadmill let me know

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

Il giorno mar 23 lug 2024 alle 21:44 FurlongFX @.***> ha scritto:

right now it's set to "other" not sure what to set it to

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

FurlongFX commented 3 months ago

debug-Tue_Jul_23_12_51_53_2024.log

cagnulein commented 3 months ago

it's worst, i can't see the connection anymore. try the t7.5s instead

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

Il giorno mar 23 lug 2024 alle 21:53 FurlongFX @.***> ha scritto:

debug-Tue_Jul_23_12_51_53_2024.log https://github.com/user-attachments/files/16353719/debug-Tue_Jul_23_12_51_53_2024.log

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

FurlongFX commented 3 months ago

here's the log with t7.5s

debug-Tue_Jul_23_13_09_01_2024.log

cagnulein commented 3 months ago

it seems that since you changed from other, i can't see any frames. that's really strange. are you able to get the ./wolflogs/ file from the treadmill tablet via adb or a file manager? i would like to check them in the meantime can you please set it back to other so at least i would like to see if we can return to the previous condition thanks

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

Il giorno mar 23 lug 2024 alle ore 22:10 FurlongFX @.***> ha scritto:

here's the log with t7.5s

debug-Tue_Jul_23_13_09_01_2024.log https://github.com/user-attachments/files/16353862/debug-Tue_Jul_23_13_09_01_2024.log

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

FurlongFX commented 3 months ago

debug-Tue_Jul_23_13_20_01_2024.log

cagnulein commented 3 months ago

yes connection is back. are you able to get the /.wolflogs/ ?

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

Il giorno mar 23 lug 2024 alle 22:22 FurlongFX @.***> ha scritto:

debug-Tue_Jul_23_13_20_01_2024.log https://github.com/user-attachments/files/16353969/debug-Tue_Jul_23_13_20_01_2024.log

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

FurlongFX commented 3 months ago

Lemme see if I can access those

FurlongFX commented 3 months ago

logcat.txt

cagnulein commented 3 months ago

thanks are you able to get this file from the treadmill

/sdcard/.wolflogs/2024-07-23_logs.txt

going to bed now

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

Il giorno mar 23 lug 2024 alle 22:33 FurlongFX @.***> ha scritto:

logcat.txt https://github.com/user-attachments/files/16354035/logcat.txt

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

FurlongFX commented 3 months ago

2024-07-23_logs.0.txt

cagnulein commented 3 months ago

ok that's the reason: i don't see any metrics here in the log. Can you pull all the contents from that directory? i would like to check if there is any other file useful there. another thing that we can try is to restore to the factory the fitness device, and WITHOUT updating ifit, try again, it could be that ifit removed the logging thing in the last version let me know

FurlongFX commented 3 months ago

Sure I'll give you all the logs in the folder, one is empty, but there IS another one

Get Outlook for Androidhttps://aka.ms/AAb9ysg


From: Roberto Viola @.> Sent: Tuesday, July 23, 2024 10:19:36 PM To: cagnulein/qdomyos-zwift @.> Cc: FurlongFX @.>; Author @.> Subject: Re: [cagnulein/qdomyos-zwift] Pro Form CarbonT7 Not Connecting (Issue #2474)

ok that's the reason: i don't see any metrics here in the log. Can you pull all the contents from that directory? i would like to check if there is any other file useful there. another thing that we can try is to restore to the factory the fitness device, and WITHOUT updating ifit, try again, it could be that ifit removed the logging thing in the last version let me know

— Reply to this email directly, view it on GitHubhttps://github.com/cagnulein/qdomyos-zwift/issues/2474#issuecomment-2246921689, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BJ6ZS3F2ZC4VWKAJ3ASJKUTZN42ORAVCNFSM6AAAAABLLBSI7OVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENBWHEZDCNRYHE. You are receiving this because you authored the thread.Message ID: @.***>

FurlongFX commented 3 months ago

I'm not sure how to get to factory settings without it automatically updating howrver

Get Outlook for Androidhttps://aka.ms/AAb9ysg


From: Roberto Viola @.> Sent: Tuesday, July 23, 2024 10:19:36 PM To: cagnulein/qdomyos-zwift @.> Cc: FurlongFX @.>; Author @.> Subject: Re: [cagnulein/qdomyos-zwift] Pro Form CarbonT7 Not Connecting (Issue #2474)

ok that's the reason: i don't see any metrics here in the log. Can you pull all the contents from that directory? i would like to check if there is any other file useful there. another thing that we can try is to restore to the factory the fitness device, and WITHOUT updating ifit, try again, it could be that ifit removed the logging thing in the last version let me know

— Reply to this email directly, view it on GitHubhttps://github.com/cagnulein/qdomyos-zwift/issues/2474#issuecomment-2246921689, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BJ6ZS3F2ZC4VWKAJ3ASJKUTZN42ORAVCNFSM6AAAAABLLBSI7OVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENBWHEZDCNRYHE. You are receiving this because you authored the thread.Message ID: @.***>

cagnulein commented 3 months ago

ok thanks!

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

Il giorno mer 24 lug 2024 alle ore 07:22 FurlongFX @.***> ha scritto:

I'm not sure how to get to factory settings without it automatically updating howrver

Get Outlook for Androidhttps://aka.ms/AAb9ysg


From: Roberto Viola @.> Sent: Tuesday, July 23, 2024 10:19:36 PM To: cagnulein/qdomyos-zwift @.> Cc: FurlongFX @.>; Author @.> Subject: Re: [cagnulein/qdomyos-zwift] Pro Form CarbonT7 Not Connecting (Issue #2474)

ok that's the reason: i don't see any metrics here in the log. Can you pull all the contents from that directory? i would like to check if there is any other file useful there. another thing that we can try is to restore to the factory the fitness device, and WITHOUT updating ifit, try again, it could be that ifit removed the logging thing in the last version let me know

— Reply to this email directly, view it on GitHub< https://github.com/cagnulein/qdomyos-zwift/issues/2474#issuecomment-2246921689>, or unsubscribe< https://github.com/notifications/unsubscribe-auth/BJ6ZS3F2ZC4VWKAJ3ASJKUTZN42ORAVCNFSM6AAAAABLLBSI7OVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENBWHEZDCNRYHE>.

You are receiving this because you authored the thread.Message ID: @.***>

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

FurlongFX commented 3 months ago

.wolflogs.zip

cagnulein commented 3 months ago

thanks, unfortunately confirmed. no metrics at all in the log Let me know how it goes the reset thing Thanks

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

Il giorno mer 24 lug 2024 alle ore 07:38 FurlongFX @.***> ha scritto:

.wolflogs.zip https://github.com/user-attachments/files/16357638/default.wolflogs.zip

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

FurlongFX commented 3 months ago

I got it to work! I just had to redo all the steps, except once I reset to factory defaults, and connected to wifi, I blocked all the ifit update sites to the tread via my router settings. I set the companion app to x22i like you mentioned above, and once I started the QZ app, I was able to see all the metrics! Just gotta figure out how to set it to MPH instead of KmPH (dumb american lol)

FurlongFX commented 3 months ago

it now STAYS in priviledged mode when I restart

cagnulein commented 3 months ago

that's great! I told you! you can change the unit in the general settings, miles unit!

FurlongFX commented 3 months ago

thank you so much for all of your help, you've been so patient and informative. One coder to another, much appreicated :)

cagnulein commented 3 months ago

remember to rate the app on the store, it means a lot to me! thanks!

FurlongFX commented 3 months ago

omg of COURSE! I saw someone else on the boards was having trouble with my exact treadmill, I think I can send him my procedure so he can enjoy it too!

Just one more question, I'm using this for Peleton. Do I input all my peleton user info in the QZ settings in order to have Peleton control my speed and incline?

cagnulein commented 3 months ago

omg of COURSE! I saw someone else on the boards was having trouble with my exact treadmill, I think I can send him my procedure so he can enjoy it too!

thanks!

Just one more question, I'm using this for Peleton. Do I input all my peleton user info in the QZ settings in order to have Peleton control my speed and incline?

yes exactly. are you already able to control speed and inclination from the qz tiles without peloton?

FurlongFX commented 3 months ago

ahhh, I'm actually NOT able to do that currently, Are there specific settings to allow that?

cagnulein commented 3 months ago

when you push the plus button on the speed or inclination, do you see a fake touch event on the treadmill touchscreen?

FurlongFX commented 3 months ago

nah, I don't.

FurlongFX commented 3 months ago

I think it's because the version of iFit that's currently running doesn't even HAVE the screen touch options

FurlongFX commented 3 months ago

I wonder if I should push a specific iFit version to the tread, one that has the touch speed options but will also remain in priviledged mode

cagnulein commented 3 months ago

can't you enable the sliders on the ifit manual workout in this version?

FurlongFX commented 3 months ago

ahhh yeah, just figured that one out. Ok

cagnulein commented 3 months ago

there is a setting for this usually in ifit

FurlongFX commented 3 months ago

other thing I noticed is that although priviledged mode remains active upon restart, USB debugging gets shut off automatically. I have to enable it each time I restart

FurlongFX commented 3 months ago

I'm sending you a zip of my bug report. I'm hoping you can help me enable QZ control for speed and incline, and hopefully, I'll be done with the setup! btsnoop_hci.log

FurlongFX commented 3 months ago

the actions I took while it was logging was open QZ, start a manual workout, adjust speed and incline, then turn off QZ

cagnulein commented 3 months ago

no i don't need the hci snoof :) the process goes through wifi. did you enable the sliders now?

FurlongFX commented 3 months ago

yeah the sliders are enabled, but there's no control from QZ to speed or incline. And no touch responses on the iFit screen when I hit the + or - on QZ

FurlongFX commented 3 months ago

still getting all the readings from tread to QZ though, so that's a plus

cagnulein commented 3 months ago

try to enable the adb remote settings in qz in the nordictrack treadmill setting. restart qz and try again. we have to see a touch event on the tablet when you're playing with the plus and minus button on qz

FurlongFX commented 3 months ago

that setting is already enabled, I did it after reading your troubleshooting of someone else having the same issue.

cagnulein commented 3 months ago

ok so from your pc or mac run this

adb shell input swipe 100 200 300 400 100

you have to see a touch reaction on the treadmill

FurlongFX commented 3 months ago

unfortunately, I get "adb.exe: more than one device/emulator"

cagnulein commented 3 months ago

directly from chatgpt

The error message "adb.exe: more than one device/emulator" indicates that the Android Debug Bridge (ADB) is detecting multiple devices or emulators connected to your computer, and it doesn't know which one to target for your command.

To resolve this issue, you can specify which device or emulator you want to communicate with by using the device ID. Here’s how you can do it:

1. **List All Devices:**
   Open a command prompt or terminal and enter the following command to list all connected devices and emulators:

   ```bash
   adb devices

This will return a list of all devices and their IDs. It might look something like this:

   List of devices attached
   emulator-5554   device
   emulator-5556   device
   1234567abcdef   device
  1. Specify the Device: Once you have the device ID you want to use, you can specify it in your ADB command using the -s flag. For example, if you want to target emulator-5554, you would use:

    adb -s emulator-5554 <command>

    Replace <command> with the actual command you want to execute, such as install, shell, etc.

  2. Disconnect Unneeded Devices: If possible, disconnect any devices or emulators that are not needed to reduce confusion.

  3. Use adb -e or adb -d Flags:

    • Use adb -e <command> if you want to target the emulator.
    • Use adb -d <command> if you want to target a physical device.

    These flags are helpful if you only have one emulator or one device connected.

By using these methods, you should be able to direct your ADB commands to the correct device or emulator. Let me know if you need further assistance!

FurlongFX commented 3 months ago

okay, so some luck, I was able to send keyevent 3 via adb and it successfully activated the home btn