Closed paulhas closed 1 year ago
hi @paulhas the problem here is the companion that it doesn't send any data. is it open on the treadmill? does it have all the permissions?
let me know
Hi Roberto,Thanks for the reply.I checked the treadmill & opened the apps option on the menu. I've attached the photos but QZ Companion seems to be running according to what it says.Regards,PaulSent from my Galaxy -------- Original message --------From: Roberto Viola @.> Date: 21/01/2023 11:00 (GMT+00:00) To: cagnulein/qdomyos-zwift @.> Cc: paulhas @.>, Mention @.> Subject: Re: [cagnulein/qdomyos-zwift] [BUG] C1750 Nordic Track Treadmill - Connection Failure (Issue #1193) hi @paulhas the problem here is the companion that it doesn't send any data. is it open on the treadmill? does it have all the permissions? let me know
βReply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: @.***>
hi @paulhas i don't see the photo because you have to attach them from github interface:)
anyway using the adb logcat button on the companion are you able to send me the logcat file generated located in the /sdcard/ path?
Oops sorry, I just saw the email & replied. Here's the photos. I trimmed them down as it rejected the originals
This is the only screen I seem to be able to access in Companion on the treadmill display. I've tried it with both Nordictrack 2950 & Other selected. I havd to use the square or circle by swiping up on the treadmill display to exit this screen as it doesn't give me any option to proceed further
It's like it's not picking up the Bluetooth from the treadmill. When I go into Advanced Sertings & select the manual device dropdown, it doesn't list the treadmill anywhere, the only option other than other devices around my home is wifi.
I've paired my phone (Samsung S21) & tablet with the treadmill Bluetooth & it appears as AOSP on Drone in the Bluetooth listing on my phone or tablet but I'm not seeing that in the dropdown in QZ
This is the only screen I seem to be able to access in Companion on the treadmill display. I've tried it with both Nordictrack 2950 & Other selected. I havd to use the square or circle by swiping up on the treadmill display to exit this screen as it doesn't give me any option to proceed further
If you scroll down here there is the button to do an adb logcat
Anyway you can produce an adb logcat directly from adb
It's like it's not picking up the Bluetooth from the treadmill. When I go into Advanced Sertings & select the manual device dropdown, it doesn't list the treadmill anywhere, the only option other than other devices around my home is wifi.
I've paired my phone (Samsung S21) & tablet with the treadmill Bluetooth & it appears as AOSP on Drone in the Bluetooth listing on my phone or tablet but I'm not seeing that in the dropdown in QZ
Qz companion is not over Bluetooth, but Wi-Fi :) so it's ok that you don't see anything over Bluetooth
Ah right, I was hoping you'd say that π
I can't get that screen to scroll at all on the treadmill display. Also, I tried to connect to the treadmill with my laptop yesterday & the log stated "cannot connect to 192.168.1.91:5555: No connection could be made because the target machine actively refused it".
Argh so I have to put the ability to scroll it. Is the adb setting still enabled on the tablet?
I still have USB debug enabled if that's what you mean
Mmm maybe in the tablet you have something to put the pc in white list in the developer settings? Maybe something to reset the adb connection
Not sure but I read somewhere thaf it needs to be Andriid 11 or above for ADB connection. I think the tablet is only Android 5.5 after resetting to factory defaults. Not sure if its possible to upgrade that via the browser on the treadmill tablet. That was for a WiFi connection though
adb is possible on android 5 because we're using it with https://github.com/cagnulein/qdomyos-zwift/issues/1153 I guess it has the same android version, maybe you want to join that discussion in order to understand how the OP gain adb?
I think any discussion on ADB would help me Roberto, I've absolutely no idea about it at the moment.
It would be great to get your software working with Zwift but I can't seem to get Companion past the point of the screen above. Is there a button to move to the next screen lower on that page that I can't see because I can't scroll down to it?
i can add a scroll view tomorrow and then you should be able to upload the logcat from the github web interface from the tablet browser
i will let you know when i'm ready to test
OK, many thanks Roberto.
I took a look at the other thread but I'm no wiser as to how to get ADB working via my laptop. I just have no knowledge in this area so it's a big learning curve for me
@paulhas just did, it's building :) wait 2 minutes
@paulhas done https://github.com/cagnulein/QZCompanionNordictrackTreadmill/releases/tag/3.2.5 you should be able to reach the adb logcat button now let me know
I can browse to the page but it's not opening the assets on the treadmill. They open fine when I go to them on my phone
@paulhas because you need to login to github first on the treadmill
Seems to be doing the same thing (I wrote this message on the treadmill)
what does the treadmill says for this link? i mean which is the exact error?
also this link should be pointing on this last apk https://tinyurl.com/qz-companion (hopefully!)
When I click on assets the circle is like a quarter loaded then stops
That seems to download OK but when I try & install it I get a message that says X App not installed
How did you install the first time? Did you also try to uninstall the current version first?
Yes I uninstaled the original file & deleted it from the downloads folder. After downloading the new file, I went into the downloads folder & clicked on the new file. I just thought though, I maybe need to restart the treadmill. I'll try that
Ok I'm going to bed soon, maybe @victorypoint can help you while I'm sleeping:)
That's OK it's getting late here too. I'll leave it for now, but thanks very much for helping
Just to leave this for tonight. I tried it after reboot but same result unfortunately. This was the screen before I click install & get the error message
So strange, I just changed the layout. Are you able to install the old version?
I'm doing a factory reset as it Still seems to be loading the old version even though I uninstalled it
I guess with a sleep will be everything better :)
Hope so ππ
Hi guys. Just reading through this now. @paulhas , when you attempt the ADB install method with QZ-Companion.bat, can you post the log file? It's named QZ-Companion-log.txt in the same install folder.
It worked resetting the treadmill back to factory settings & reinstalling the new Companion file. I can now scroll & click on the Dump Log button but I'm not sure how to get the file off the treadmill. Do I need to install a file explorer type app so I can find & copy the file presumably onto a USB pendrive? I've also attached the QZ-Companion-log.txt logfile. QZ-Companion-log.txt
great! if you can open this page from the tablet you can upload the file directly from this page. the log is located on the /sdcard/ root folder
I only have an internet browser on the treadmill tablet & I can't seem to install a file explorer app
The QZ-Companion-restart.bat file seems to work from my laptop. It stops Companion & iFit & then restarts them both.
Is there any way I can access the files on the treadmill using a CMD window on my laptop?
I only have an internet browser on the treadmill tablet & I can't seem to install a file explorer app
if here in the comment window, you click on the upload button you will see the file explorer :)
The QZ-Companion-restart.bat file seems to work from my laptop. It stops Companion & iFit & then restarts them both.
Is there any way I can access the files on the treadmill using a CMD window on my laptop?
yes just type adb pull /sdcard/logcat.txt logcat.txt
@paulhas , good to hear ADB is working from your laptop. There is a batch file in the install package - adb-debug.bat. Please run it on your laptop and upload the resulting files.
I still can't get the ADB connected properly. Here's the screenshot from running QZ-Companion-restart.bat. I'm still getting the cannot connect message in there, even though it appears to continue and stop/restart the apps.
I'm not able to type anything into the window because as soon as I click on it, it shuts down.
I get the same "cannot connect ......." message when trying to run adb-debug.bat
I only have an internet browser on the treadmill tablet & I can't seem to install a file explorer app
if here in the comment window, you click on the upload button you will see the file explorer :)
@paulhas did you try this?
I can't see an upload button
I installed QZ Companion on above treadmill following instructions for method 2, downloading apk to treadmill as the ADB connection was refused by the treadmill.
I then installed QZ on my Samsung Galaxy Tab S6 Lite Android tablet following instructions.
When starting QZ the tablet has the tiles & a message under the paus/stop buttons saying connecting. When I start the treadmill the tiles all still have zeroes.
I had a read at some problems on-line & noticed someone had a similar problem that was due to location not being enabled but I have location enabled on the tablet & the treadmill.
debug-Sat_Jan_21_09_45_05_2023.log