Closed parzidev28 closed 7 months ago
hi did you open adb on the tablet side?
Roberto Viola Software engineer and open source enthusiast http://robertoviola.cloud
Il giorno lun 8 apr 2024 alle 22:13 parzidev28 @.***> ha scritto:
Hello, I have a problem connecting via ADB to install QZ, I put the log attached with the message. Thanks in advance QZ-Companion-log.txt https://github.com/cagnulein/QZCompanionNordictrackTreadmill/files/14910417/QZ-Companion-log.txt
— Reply to this email directly, view it on GitHub https://github.com/cagnulein/QZCompanionNordictrackTreadmill/issues/98, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAALYWBAFYLHA6FD5MTUNUDY4L26BAVCNFSM6AAAAABF5KR26KVHI2DSMVQWIX3LMV43ASLTON2WKOZSGIZTEMBQGEYDKMQ . You are receiving this because you are subscribed to this thread.Message ID: @.***>
yes it's open
it seems not unfortunately. did you already try to reboot the treadmill? also try a factory reset without updating the ifit app. usually helps
Roberto Viola Software engineer and open source enthusiast http://robertoviola.cloud
Il giorno lun 8 apr 2024 alle 22:17 parzidev28 @.***> ha scritto:
yes it's open
— Reply to this email directly, view it on GitHub https://github.com/cagnulein/QZCompanionNordictrackTreadmill/issues/98#issuecomment-2043571718, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAALYWFKV2ALM4ZNF5EMJEDY4L3PLAVCNFSM6AAAAABF5KR26KVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANBTGU3TCNZRHA . You are receiving this because you commented.Message ID: @.*** com>
ok I had a problem, the usb debug was disabled, the connection worked fine but now I'm stuck on "Launching IFit" and nothing happened on the tablet, it didn't even restart
try a reboot and in case a factory reset. qz don't have the ability to change ifit, so it could be another issue
everything is ok now, I have activated the functions as noted in QZ, I entered the IP address of the machine, but when I restart QZ I am stuck on "Connecting..." QZ-Companion-log.txt
going to bed now, italy here. share a debug log and i will check it tomorrow
Roberto Viola Software engineer and open source enthusiast http://robertoviola.cloud
Il giorno lun 8 apr 2024 alle 22:32 parzidev28 @.***> ha scritto:
everything is ok now, I have activated the functions as noted in QZ, I entered the IP address of the machine, but when I restart QZ I am stuck on "Connecting..." QZ-Companion-log.txt https://github.com/cagnulein/QZCompanionNordictrackTreadmill/files/14910646/QZ-Companion-log.txt
— Reply to this email directly, view it on GitHub https://github.com/cagnulein/QZCompanionNordictrackTreadmill/issues/98#issuecomment-2043594109, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAALYWANSTCYPKK2YYKJYQLY4L5GFAVCNFSM6AAAAABF5KR26KVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANBTGU4TIMJQHE . You are receiving this because you commented.Message ID: @.*** com>
Okay thank you, good night !
Here is the log: debug-lunavr8_22_38_35_2024.log
ok a couple of things:
Let me know!
here I did what you told me, but the result is the same.
nope, that one is under the treadmill section, remove it from there too. you have to go under settings, bike, proform nordictrack bike settings, tdf companion ip
anyway that's not the only issue, i need an adb logcat as I said above to understand the lack of the metrics
let me know!
ok, how do I do an adb logcat? I specify that on the bike in the QZ app I am set to "other" given that the s15i does not appear
i mean this one
for adb logcat use adb-debug.bat in the install package folder from the companion
Last login: Mon Apr 8 23:01:46 on ttys000 /Users/private28/Downloads/QZCompanionNordictrackTreadmill-master/InstallPackage/adb-debug-mac ; exit; private28@MacBook-Pro-de-private28 ~ % /Users/private28/Downloads/QZCompanionNordictrackTreadmill-master/InstallPackage/adb-debug-mac ; exit; Enter treadmill IP address: 192.168.1.41 PING 192.168.1.41 (192.168.1.41): 56 data bytes 64 bytes from 192.168.1.41: icmp_seq=0 ttl=64 time=183.446 ms 64 bytes from 192.168.1.41: icmp_seq=1 ttl=64 time=11.533 ms 64 bytes from 192.168.1.41: icmp_seq=2 ttl=64 time=12.367 ms 64 bytes from 192.168.1.41: icmp_seq=3 ttl=64 time=7.898 ms
--- 192.168.1.41 ping statistics --- 4 packets transmitted, 4 packets received, 0.0% packet loss round-trip min/avg/max/stddev = 7.898/53.811/183.446/74.864 ms disconnected everything
daemon not running; starting now at tcp:5037
daemon started successfully failed to connect to 192.168.1.41:5555 List of devices attached 192.168.1.41:5555 offline transport_id:1
waiting for device -
usb debugging seems disabled again
I just checked in the developer settings and it is activated
ok but it's not reachable, so try to reboot the bike. ifit is trying in all the way to block QZ so these first steps could be frustrating
I'm going to try to reset the bike and start all over again because I don't understand but now my button to lower the resistance no longer works while all the others work.
ok as i said preventing ifit to update after a reset could be a perfect solution for everything
Log with ip in the “nordictrack2950ip” box logcat.txt
Log with ip only in the box: TDF companion ip tell me if you want other log
now my 2 resistance buttons no longer work, I do not understand why
i guess it's completely unrelated to the companion, did you try a factory reset?
Log with ip only in the box: TDF companion ip
ok good news is that I can see the log. Can you share also the content of the folder .wolflogs that the script downloaded while you were in the workout? Thanks
so for me it was a cable that was a bit unplugged... where I can find this .wolflogs file because I can't find it in the installpackage folder
on mac the folder with a . in the front are hidden, so Press Command+Shift+Dot.
set the companion to the device "proform_carbon_t14" restart the bike and let me know!
ok I did it it's still the same
got the reason: do this
adb shell pm grant org.cagnulein.qzcompanionnordictracktreadmill android.permission.READ_LOGS
from your install folderlet me know!
ok, sorry but how do I execute this command on mac?
ok I found it, but here is the message : Last login: Tue Apr 9 11:08:37 on ttys000 private28@MacBook-Pro-de-private28 InstallPackage % ./adb shell pm grant org.cagnulein.qzcompanionnordictracktreadmill android.permission.READ_LOGS adb: device offline
Last login: Tue Apr 9 11:28:12 on ttys000 private28@MacBook-Pro-de-private28 InstallPackage % ./adb shell pm grant org.cagnulein.qzcompanionnordictracktreadmill android.permission.READ_LOGS adb: no devices/emulators found private28@MacBook-Pro-de-private28 InstallPackage % ./adb shell pm grant org.cagnulein.qzcompanionnordictracktreadmill android.permission.READ_LOGS adb: no devices/emulators found private28@MacBook-Pro-de-private28 InstallPackage %
ok I succeeded, it seems to work! I'm going to try with zwift and I'll let you know if everything is ok! Thanks a lot !!
that's great! let me know!
the data is transmitted well on zwift but the intensity and inclination does not change depending on zwift it remains at 0 on the bike, and the values on QZ continue to rise even when I'm not on the bike
ok yes that's because we need to handle the coordinate of the ifit app for your bike's tablet. run the adb-screenshot-mac.sh and post here the screenshot and I will add your bike! (qz will change the inclination) By the way, when you are pressing on the plus on the inclination tile on qz, do you see a virtual touch event on the bike's tablet? even if on a random place? Let me know
when I run adb screenshot it opens in vscode is this normal? no I don't see any virtual button when I press the "+" button of the inclination in QZ and besides it doesn't change anything in QZ either
that's strange, maybe it doesn't have the exec permission
from the terminal you can do
chmod a+x adb-screenshot-mac.sh and then ./adb-screenshot-mac.sh
mmm for the touch event, try to run this
adb shell input swipe 100 200 300 400 200
do you see an event when you run this?
Last login: Tue Apr 9 12:21:55 on ttys000 private28@MacBook-Pro-de-private28 InstallPackage % chmod a+x adb-screenshot-mac.sh private28@MacBook-Pro-de-private28 InstallPackage % ./adb-screenshot-mac.sh Enter treadmill IP address: 192.168.1.41 PING 192.168.1.41 (192.168.1.41): 56 data bytes 64 bytes from 192.168.1.41: icmp_seq=0 ttl=64 time=7.303 ms 64 bytes from 192.168.1.41: icmp_seq=1 ttl=64 time=6.513 ms 64 bytes from 192.168.1.41: icmp_seq=2 ttl=64 time=11.303 ms 64 bytes from 192.168.1.41: icmp_seq=3 ttl=64 time=7.032 ms
--- 192.168.1.41 ping statistics --- 4 packets transmitted, 4 packets received, 0.0% packet loss round-trip min/avg/max/stddev = 6.513/8.038/11.303/1.906 ms disconnected everything
adb: device offline adb: error: failed to get feature set: device offline adb: device offline private28@MacBook-Pro-de-private28 InstallPackage %
I don't understand why it just disconnects... it works for something like 10 min and then it disconnects
what did you do before to make it work?
it could be that adb stays open only for 10 minutes and it goes in timeout if no new connection are made
yet it communicates well with QZ but I cannot place the command with terminal
I restarted the bike but nothing happened, it's ok with QZ but I just can't send a command with adb
Last login: Tue Apr 9 13:11:26 on ttys000 private28@MacBook-Pro-de-private28 InstallPackage % chmod a+x adb-screenshot-mac.sh private28@MacBook-Pro-de-private28 InstallPackage % ./adb-screenshot-mac.sh Enter treadmill IP address: 192.168.1.41 PING 192.168.1.41 (192.168.1.41): 56 data bytes 64 bytes from 192.168.1.41: icmp_seq=0 ttl=64 time=6.006 ms 64 bytes from 192.168.1.41: icmp_seq=1 ttl=64 time=46.538 ms 64 bytes from 192.168.1.41: icmp_seq=2 ttl=64 time=93.724 ms 64 bytes from 192.168.1.41: icmp_seq=3 ttl=64 time=5.966 ms
--- 192.168.1.41 ping statistics --- 4 packets transmitted, 4 packets received, 0.0% packet loss round-trip min/avg/max/stddev = 5.966/38.059/93.724/36.152 ms disconnected everything
/sdcard/2024-04-09@13-12-19.png: 1 fil...pped. 1.9 MB/s (57959 bytes in 0.029s) private28@MacBook-Pro-de-private28 InstallPackage %
where can i get the png image?
it's in the same install package folder. the name is the date of today
ok but i need a screenshot of your ifit screen
also did you run also the adb input swipe command?
Hello, I have a problem connecting via ADB to install QZ, I put the log attached with the message. I use QDomyos zwift on IOS 17.3.1
Thanks in advance QZ-Companion-log.txt