cagnulein / qdomyos-zwift

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

Bike doesn’t seem to communicate with app on phone #2047

Closed Silvermfox closed 7 months ago

Silvermfox commented 7 months ago

Pro form Power 10 bike does not communicate with app on phone. No stats appear. Not sure what equipment to select on bike. IMG_9829 IMG_9828 IMG_9827 debug-Thu_Jan_25_18_32_47_2024.log debug-Thu_Jan_25_18_56_17_2024.log

cagnulein commented 7 months ago

hi you don't have to put the ip in the tdf4 ip, but in the tdf companion one. so remove it from the tdf4 and press ok and put it instead on the companion one and press ok and restart qz

share another debug log if the error persists thanks

Silvermfox commented 7 months ago

Thank you for trying. Unfortunately it still does not work. Please find new debug log attached.Sent from my iPhoneOn 25 Jan 2024, at 20:17, Roberto Viola @.***> wrote: hi you don't have to put the ip in the tdf4 ip, but in the tdf companion one. so remove it from the tdf4 and press ok and put it instead on the companion one and press ok and restart qz share another debug log if the error persists thanks

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>

cagnulein commented 7 months ago

hi you have to attach it from github otherwise i can't see it

Silvermfox commented 7 months ago

hi you have to attach it from github otherwise i can't see it

debug-Thu_Jan_25_21_30_38_2024.log debug-Thu_Jan_25_21_37_54_2024.log

cagnulein commented 7 months ago

thanks i will check them asap

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

Il giorno gio 25 gen 2024 alle 13:23 Silvermfox @.***> ha scritto:

hi you have to attach it from github otherwise i can't see it

debug-Thu_Jan_25_21_30_38_2024.log https://github.com/cagnulein/qdomyos-zwift/files/14051552/debug-Thu_Jan_25_21_30_38_2024.log debug-Thu_Jan_25_21_37_54_2024.log https://github.com/cagnulein/qdomyos-zwift/files/14051553/debug-Thu_Jan_25_21_37_54_2024.log

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

cagnulein commented 7 months ago

ok now the issue is that the companion is not sending the metrcics probably because ifit is blocking it. Try to follow these steps:

Set the device in the companion app to C1750 and restart the bike/treadmill. Not fixed? Ok do a factory reset to your treadmill/bike tablet but then, after the reset, DON'T update the ifit app. Reinstall the companion and give it a try! use this method https://github.com/cagnulein/qdomyos-zwift/issues/1591#issuecomment-1664105559

Silvermfox commented 7 months ago

Hi Roberto, QZ app doesn’t seem to be running properly- please see screenshot ![Uploading IMG_9830.jpeg…]()

cagnulein commented 7 months ago

i can't see the screenshot

Silvermfox commented 7 months ago

Hi Roberto, I reset the bike and followed the instructions but I got the following results when running the permissions script. Please see attached screenshot. What do I do now? IMG_9839

cagnulein commented 7 months ago

adb is not working. did you install the companion following the method 1 here? https://github.com/cagnulein/QZCompanionNordictrackTreadmill

Silvermfox commented 7 months ago

Hi Roberto, yes I did :-( I followed all the steps. I might try from a different device

cagnulein commented 7 months ago

that's strange @victorypoint do you have any suggestion? it seems that adb is closing down even with the hack of method 1? @Silvermfox maybe you need to do a factory reset and avoid to update ifit in order to disable ifit from closing the door down?

Silvermfox commented 7 months ago

I did the factory reset before following this method today. I think iFit updates automatically- do not know how to prevent ifit update

Silvermfox commented 7 months ago

Can factory reset again and see if I missed something

cagnulein commented 7 months ago

you have to put a null vale in the gateway value of the wifi settings of the treadmill, so ifit can't connect to iternet

Silvermfox commented 7 months ago

Let me try

Silvermfox commented 7 months ago

No. Still didn't work.

cagnulein commented 7 months ago

so with the original ifit version, aren't you able to push via adb the companion? or the issue is that after loading the companion from the adb, the next reboot adb is closed again?

Silvermfox commented 7 months ago

No can't seem to push the info at all. iFit did not update but no data coming through. I suspect permissions still not right for the app but can't seem to fix it

cagnulein commented 7 months ago

but are you able now, in this context, to get the adb log? so adb is still open? so I can check what the companion is reading from the treadmill

Silvermfox commented 7 months ago

I could try- what do I need to do to get it again?

cagnulein commented 7 months ago

you have to run this https://github.com/cagnulein/QZCompanionNordictrackTreadmill/blob/master/InstallPackage/adb-debug.bat from the installpackage folder while you're doing a simple workout (while the manual window on ifit is open)

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

Il giorno dom 28 gen 2024 alle ore 09:16 Silvermfox < @.***> ha scritto:

I could try- what do I need to do to get it again?

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

Silvermfox commented 7 months ago

OK. I have done that. Here is the file debug-Sun_Jan_28_18_18_54_2024.log

Silvermfox commented 7 months ago

NB: Cannot enable all permissions on tablet for companion app

cagnulein commented 7 months ago

this is the debug log from qz, i need the adb logcat from the tablet using the script that I told you. also what do you mean about the permission? which error did i give you?

Silvermfox commented 7 months ago

I think that you had said that iFit might be blocking it. It looks like iFit has updated anyway now and privilege mode has disappeared and I can't seem to get it back :-( Looks like I will have to start the whole process again another day. For what it's worth here is the last log I could access dumpsys.log

cagnulein commented 7 months ago

yes but you could have 2 issues, ifit version and permissions.

so be sure to reset, set the gateway to null, install the companion from adb and then reboot the treadmill and share an adb log

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

Il giorno dom 28 gen 2024 alle 13:28 Silvermfox @.***> ha scritto:

I think that you had said that iFit might be blocking it. It looks like iFit has updated anyway now and privilege mode has disappeared and I can't seem to get it back :-( Looks like I will have to start the whole process again another day. For what it's worth here is the last log I could access dumpsys.log https://github.com/cagnulein/qdomyos-zwift/files/14076020/dumpsys.log

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

victorypoint commented 7 months ago

Hi @Silvermfox. So from what I can see in your posts, the companion install script can ping the treadmill (192.168.1.2) but ADB connection was refused. I'd like to troubleshoot this issue. Before launching the install script or "adb connect" again, make sure there are no previous ADB processes running in the background of your PC (use task manager and kill ADB.exe processes). Also make sure to use the correct treadmill IP address as you may be pinging another device on your network with IP 192.168.1.2. Let us know how you make out.

stale[bot] commented 7 months 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 7 months ago

@Silvermfox any news?