Giter Club home page Giter Club logo

Comments (51)

cagnulein avatar cagnulein commented on July 20, 2024

Thanks @bababuoy1 I will check tomorrow
@victorypoint Any idea?

from qzcompanionnordictracktreadmill.

victorypoint avatar victorypoint commented on July 20, 2024

Hi @bababuoy1. Regarding ADB connection failure, can you provide the tablets Android version? Do you see another option under Developer options called allow ADB over Wifi? Also, does the tablet have a USB port that can be used to connect to a PC?

Regarding installation by web browser, it sounds like an incomplete or corrupted download from the link. Did you try a few times to download?

from qzcompanionnordictracktreadmill.

bababuoy1 avatar bababuoy1 commented on July 20, 2024

@victorypoint My tablet is running Android version 5.1.1. Checked the options in Developer Options but did see allow ADB over WiFi. Yes, the tablet does have a USB port, though I don't have a male to male USB cord (would need to purchase one if that is required for next steps).
Yesterday I tried to download the file twice and I just downloaded a 3rd time today. Unfortunately, I am receiving the same error.

from qzcompanionnordictracktreadmill.

victorypoint avatar victorypoint commented on July 20, 2024

@cagnulein, I believe the companion app is not tested and compiled for Android 5 support? This could explain the install error via web browser download.

from qzcompanionnordictracktreadmill.

cagnulein avatar cagnulein commented on July 20, 2024

i don't remember, tomorrow i will check it. almost 11pm here :)

from qzcompanionnordictracktreadmill.

victorypoint avatar victorypoint commented on July 20, 2024

I've just added an additional file to the install package at https://github.com/cagnulein/QZCompanionNordictrackTreadmill/tree/master/InstallPackage. I was having trouble establishing an ADB connection to a couple of my Android phones. The solution was to establish an ADB connection with USB cable connected first (the additional AdbWinUsbApi.dll file is required) to establish a trust. Then all subsequent ADB connections over Wifi worked.

Within the Install Package folder, use the following sequence to try a connection with USB cable connected:

ping [IP of Android device]
adb disconnect
adb kill-server
adb connect [IP of Android device]
adb devices -l

Hope this may help you @bababuoy1

from qzcompanionnordictracktreadmill.

victorypoint avatar victorypoint commented on July 20, 2024

i don't remember, tomorrow i will check it. almost 11pm here :)

Check out this thread - cagnulein/qdomyos-zwift#877 (comment)

from qzcompanionnordictracktreadmill.

bababuoy1 avatar bababuoy1 commented on July 20, 2024

@victorypoint I ordered a male to male USB cable to attempt your suggestion above (should be arriving this evening). Would you mind dumbing down the steps you listed? Sorry, not following what I need to do. Thank you for your help

from qzcompanionnordictracktreadmill.

victorypoint avatar victorypoint commented on July 20, 2024

@bababuoy1, download the install package again (with new file included), connect PC to treadmill with USB cable, and go through same steps as documented. Give that a try.

from qzcompanionnordictracktreadmill.

cagnulein avatar cagnulein commented on July 20, 2024

@cagnulein, I believe the companion app is not tested and compiled for Android 5 support? This could explain the install error via web browser download.

I created this for building the apk with android 5 support

from qzcompanionnordictracktreadmill.

bababuoy1 avatar bababuoy1 commented on July 20, 2024

@cagnulein @victorypoint I tried to running the install package through ADB with the USB cable running between the tablet and PC but getting the same results. What is strange, is that I thought I would be able to see the PC detecting that I connected to the tablet but neither the tablet nor PC acknowledged that another device was connected. I also tried going from PC to PC (with the same USB cable ), just to test, and neither device acknowledged being connected; so maybe this is normal?

from qzcompanionnordictracktreadmill.

cagnulein avatar cagnulein commented on July 20, 2024

@bababuoy1 did you try my new package from today? I added the android 5 support so you shouldn't see anymore the "there was a problem parsing the package"

from qzcompanionnordictracktreadmill.

bababuoy1 avatar bababuoy1 commented on July 20, 2024

@cagnulein I just attempted again and am still getting the parsing error. Does the same tiny url https://tinyurl.com/qzcompanion point to the updated package?

from qzcompanionnordictracktreadmill.

cagnulein avatar cagnulein commented on July 20, 2024

@bababuoy1 nope, the size is different. @victorypoint maybe you need to update the tinyurl everytime?

from qzcompanionnordictracktreadmill.

bababuoy1 avatar bababuoy1 commented on July 20, 2024

@cagnulein Ahh ok. Indeed the file I downloaded today was the same size as previous ones so I didn't attempt with your most up to date version. Can you paste the url that should be entered in my tablet's browser here?

from qzcompanionnordictracktreadmill.

cagnulein avatar cagnulein commented on July 20, 2024

from qzcompanionnordictracktreadmill.

bababuoy1 avatar bababuoy1 commented on July 20, 2024

@cagnulein That worked! Thank you. App installed. I entered the IP address in the app (closed and restarted app) but unfortunately, I was unable to see the metrics coming through in QZ app (ios). But I will try a bit on my own before I bother you guys anymore. Have a great weekend

from qzcompanionnordictracktreadmill.

cagnulein avatar cagnulein commented on July 20, 2024

wow great! @bababuoy1 send me a debug log from qz and I will try to help you in case!

from qzcompanionnordictracktreadmill.

victorypoint avatar victorypoint commented on July 20, 2024

@bababuoy1, very happy you're making some progress with the installation!

@cagnulein, I had to revise the tinyurl a bit as editing the existing one would cost a subscription. The new one is: tinyurl.com/qz-companion (added a dash) which points to the url you provided above. As long as the above link always points to the latest build, we should be okay with this tinyurl. I'll update the Readme accordingly.

from qzcompanionnordictracktreadmill.

cagnulein avatar cagnulein commented on July 20, 2024

from qzcompanionnordictracktreadmill.

bababuoy1 avatar bababuoy1 commented on July 20, 2024

Hello @cagnulein attached is the debug log. Hope this helps. I am unable to see treadmill metrics on QZ. Once we get this set up I will run a Peloton class. One “step” at a time : )

debug-Sun_Nov_13_10_59_04_2022.log

from qzcompanionnordictracktreadmill.

cagnulein avatar cagnulein commented on July 20, 2024

@bababuoy1 just to be sure: on your tablet check that the qz companion app has the storage permissions. if not enable it and restart it

from qzcompanionnordictracktreadmill.

bababuoy1 avatar bababuoy1 commented on July 20, 2024

@cagnulein I don’t see how to modify storage permission but the permissions seem to be enabled. For companion app it reads “this app can access the following on your tablet. Modify or delete the contents of your SD card. read the contents of your SD card”

note. I am not aware of any SD card in my tablet.

from qzcompanionnordictracktreadmill.

cagnulein avatar cagnulein commented on July 20, 2024

from qzcompanionnordictracktreadmill.

bababuoy1 avatar bababuoy1 commented on July 20, 2024

@cagnulein does USB debugging still need to be enabled? I see that was turned off

from qzcompanionnordictracktreadmill.

cagnulein avatar cagnulein commented on July 20, 2024

@bababuoy1 Not for the companion but yes for the adb logcat

from qzcompanionnordictracktreadmill.

bababuoy1 avatar bababuoy1 commented on July 20, 2024

@cagnulein are you asking for a logcat from companion app? If so I am not sure how to obtain that.

from qzcompanionnordictracktreadmill.

bababuoy1 avatar bababuoy1 commented on July 20, 2024

@cagnulein even if I cannot grab the logcat from USB, I can email it to myself through tablet web browser.

from qzcompanionnordictracktreadmill.

cagnulein avatar cagnulein commented on July 20, 2024

@cagnulein are you asking for a logcat from companion app? If so I am not sure how to obtain that.

Yes a bug report from the tablet itself

from qzcompanionnordictracktreadmill.

bababuoy1 avatar bababuoy1 commented on July 20, 2024

@cagnulein Sorry, I am not sure how to do this.

from qzcompanionnordictracktreadmill.

cagnulein avatar cagnulein commented on July 20, 2024

@cagnulein Sorry, I am not sure how to do this.

It should be something like "bug report" in the developer settings of the tablet. @victorypoint any suggestions?

from qzcompanionnordictracktreadmill.

victorypoint avatar victorypoint commented on July 20, 2024

@cagnulein, getting an ADB logcat is difficult as @bababuoy1 hasn't been able to establish and ADB connection yet from my understanding?

from qzcompanionnordictracktreadmill.

victorypoint avatar victorypoint commented on July 20, 2024

@cagnulein, getting an ADB logcat is difficult as @bababuoy1 hasn't been able to establish and ADB connection yet from my understanding?

Oh sorry, I'm confused. @bababuoy1, yes you would have to enable Developer options again and go into the menu. In there you will see a choice called "bug report" which should offer the choices "interactive" and "full". Choose full and it should prompt to email it to you when ready. Give that a try.

from qzcompanionnordictracktreadmill.

bababuoy1 avatar bababuoy1 commented on July 20, 2024

@victorypoint @cagnulein
IMG_4007
IMG_4008
This doesn't seem to be that straight forward with android 5.1.1. I enabled bug reporting and then selected the app to be debugged. Then hit Take Bug Report. I did not get an option for Interactive or Full. After I hit Take Bug Report I heard a notification (three quick beeps) about 1 min later. My guess is that was indicating that the report was generated but I cannot find it. Attached a couple of screen shots but not sure it it will help much

from qzcompanionnordictracktreadmill.

cagnulein avatar cagnulein commented on July 20, 2024

Yes you did it right @bababuoy1
You should see a large zip file somewhere in the memory of the tablet now

from qzcompanionnordictracktreadmill.

bababuoy1 avatar bababuoy1 commented on July 20, 2024

@cagnulein I realize this should be easily found but I don’t have a lot of options. I am unable to drill down and see files in any of these folders. Do I need another permission to dive deeper and see subfolders?
E76A7ECC-7872-401D-9BC8-7F8D20407BEB

from qzcompanionnordictracktreadmill.

cagnulein avatar cagnulein commented on July 20, 2024

@bababuoy1 You have to use a files app, for example https://es-file-explorer.en.uptodown.com/android

from qzcompanionnordictracktreadmill.

bababuoy1 avatar bababuoy1 commented on July 20, 2024

@cagnulein i’m digging around using ES File Explorer but so far unable to find the bug report. Only log files. Been searching google but cannot find where the bug reports are stored.

from qzcompanionnordictracktreadmill.

cagnulein avatar cagnulein commented on July 20, 2024

@bababuoy1 Share also the log file, maybe they can be useful too

from qzcompanionnordictracktreadmill.

bababuoy1 avatar bababuoy1 commented on July 20, 2024

@cagnulein Hope these help.
2022-11-14.logs.txt
2022-11-15.logs.txt

from qzcompanionnordictracktreadmill.

cagnulein avatar cagnulein commented on July 20, 2024

@bababuoy1 thanks. During these tests, did you run the treadmill? Because I don't see any log line about speed changing or incline changing. Let me know

from qzcompanionnordictracktreadmill.

bababuoy1 avatar bababuoy1 commented on July 20, 2024

@cagnulein Yes. I did run the treadmill but it was under one minute and I think I recall the ifit app mentioning that it would not save since the ‘workout’ was short. So maybe this was also stricken from the log.

Anyway, I executed another manual workout yesterday, a bit over 5 minutes, and attached the log.
2022-11-16.logs.txt

from qzcompanionnordictracktreadmill.

cagnulein avatar cagnulein commented on July 20, 2024

@bababuoy1 if it's the right log, that's the reason why you can't see anything on qz. The ifit app is not logging anything in the log. Is the latest version possible on your tablet for the ifit app?
also can you check if with https://chrome.google.com/webstore/detail/web-socket-client/lifhekgaodigcpmnakfhaaaboididbdn?hl=it

and using the ip address of your ifit app in this way

ws://ipofyourifit/control

and click connect

let me know what you see

from qzcompanionnordictracktreadmill.

bababuoy1 avatar bababuoy1 commented on July 20, 2024

Hi @cagnulein. The iFit app is indicating that my app is up to date
app version 2.6.81.4158
admin version 2.0.5.1213
firmware version 5.11MGR_20200723

Unfortunately, I am unable to run the web socket ext from my tablet browser. This is likely due to an old browser. I tried installing the updated version of chrome but that does seem to work either; I am guessing because my android version is outdated.

from qzcompanionnordictracktreadmill.

cagnulein avatar cagnulein commented on July 20, 2024

@bababuoy1 the web extension is for mac or pc only, don't you have a pc or mac to test it?

from qzcompanionnordictracktreadmill.

bababuoy1 avatar bababuoy1 commented on July 20, 2024

@cagnulein yeah, my bad, thought I was supposed to run on my treadmill tablet. With my PC I get "undefined"

from qzcompanionnordictracktreadmill.

cagnulein avatar cagnulein commented on July 20, 2024

can you ping it at least from your pc your tablet @bababuoy1 ?

from qzcompanionnordictracktreadmill.

bababuoy1 avatar bababuoy1 commented on July 20, 2024

@cagnulein yes, here is what I get when I ping the treadmill

Pinging 10.0.7.224 with 32 bytes of data:
Reply from 10.0.7.224: bytes=32 time=207ms TTL=64
Reply from 10.0.7.224: bytes=32 time=10ms TTL=64
Reply from 10.0.7.224: bytes=32 time=29ms TTL=64
Reply from 10.0.7.224: bytes=32 time=9ms TTL=64

Ping statistics for 10.0.7.224:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 9ms, Maximum = 207ms, Average = 63ms

from qzcompanionnordictracktreadmill.

cagnulein avatar cagnulein commented on July 20, 2024

@bababuoy1 so it seems that your TM doesn't have websocket and it doesn't log speed and inclination changes neither. are 100% sure that the logs that you sent me is correct? Do you want send me ALL the log that you find on the TM just to check that maybe there are some other useful log? Otherwise we're on a dead end here

from qzcompanionnordictracktreadmill.

cagnulein avatar cagnulein commented on July 20, 2024

@bababuoy1 did you fix? try the last build also

from qzcompanionnordictracktreadmill.

stale avatar stale commented on July 20, 2024

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.

from qzcompanionnordictracktreadmill.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.