cagnulein / QZCompanionNordictrackTreadmill

Companion App of QZ for Nordictrack Treadmills and Bikes
https://www.qzfitness.com/
GNU Affero General Public License v3.0
47 stars 12 forks source link

Failing to connect to NordicTrack T14.0 #58

Closed mazatov closed 1 year ago

mazatov commented 1 year ago

I managed to enter privileged mode forever. I installed the app from the web. The app on the android just allows me to barely select the model. Is that okay behavior?

In the QZ companion app I select Other as I don't see my version on the list. After setting all the options in the QZ Fitness app, it still says "Connecting" after multiple restarts. When I start the treadmill the numbers in the app don't change.

PXL_20230903_121439410 Screenshot_20230903-151609 Screenshot_20230903-151634

cagnulein commented 1 year ago

could you please try this method https://github.com/cagnulein/qdomyos-zwift/issues/1591#issuecomment-1664105559 ?

mazatov commented 1 year ago

@cagnulein , is there a fuller guide to this? I don't even know how to start there. I bought QZ fitness app for Android and installed companion on treadmill

cagnulein commented 1 year ago

ok let's start from the basic, provide me a debug log so i will try to understand which issue you have https://github.com/cagnulein/qdomyos-zwift/wiki/How-do-i-get-the-debug-log-in-case-something-doesn't-work%3F

Il giorno dom 3 set 2023 alle 20:58 Mike Azatov @.***> ha scritto:

@cagnulein https://github.com/cagnulein , is there a fuller guide to this? I don't even know how to start there. I bought QZ fitness app for Android and installed companion on treadmill

— Reply to this email directly, view it on GitHub https://github.com/cagnulein/QZCompanionNordictrackTreadmill/issues/58#issuecomment-1704375811, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAALYWAMPGZLRKMFTAP54VDXYTHNLANCNFSM6AAAAAA4JI3YG4 . You are receiving this because you were mentioned.Message ID: @.*** com>

mazatov commented 1 year ago

Thanks! I'll get that to you tomorrow.

On Sun, Sep 3, 2023, 22:21 Roberto Viola @.***> wrote:

ok let's start from the basic, provide me a debug log so i will try to understand which issue you have

https://github.com/cagnulein/qdomyos-zwift/wiki/How-do-i-get-the-debug-log-in-case-something-doesn't-work%3F

Il giorno dom 3 set 2023 alle 20:58 Mike Azatov @.***> ha scritto:

@cagnulein https://github.com/cagnulein , is there a fuller guide to this? I don't even know how to start there. I bought QZ fitness app for Android and installed companion on treadmill

— Reply to this email directly, view it on GitHub < https://github.com/cagnulein/QZCompanionNordictrackTreadmill/issues/58#issuecomment-1704375811>,

or unsubscribe < https://github.com/notifications/unsubscribe-auth/AAALYWAMPGZLRKMFTAP54VDXYTHNLANCNFSM6AAAAAA4JI3YG4>

. You are receiving this because you were mentioned.Message ID: @.*** com>

— Reply to this email directly, view it on GitHub https://github.com/cagnulein/QZCompanionNordictrackTreadmill/issues/58#issuecomment-1704381129, or unsubscribe https://github.com/notifications/unsubscribe-auth/AG7PD627Z6SOD63T354EMTLXYTKD3ANCNFSM6AAAAAA4JI3YG4 . You are receiving this because you authored the thread.Message ID: @.*** com>

mazatov commented 1 year ago

@cagnulein , here you go. Thanks. debug-Mon_Sep_4_11_06_16_2023.log

cagnulein commented 1 year ago

ok the problem as I guessed it's that the companion doesn't send anything at all. The quickest way to solve this is using the adb way. So in order to follow you step by step, do you have a pc? if so download this https://github.com/cagnulein/QZCompanionNordictrackTreadmill/archive/refs/heads/master.zip and let me know when you have it

mazatov commented 1 year ago

@cagnulein , Yes I have a PC, windows 10. I downloaded the package

cagnulein commented 1 year ago

@mazatov perfect,

  1. decompresss the folder
  2. open a windows terminal
  3. go into the folder uncompressed [InstallPackage]
  4. set the grand tour pro device in the companion
  5. adb connect
  6. grant the permission executing the command in the windows terminal adb shell pm grant org.cagnulein.qzcompanionnordictracktreadmill android.permission.READ_LOGS
  7. enable adb debug for qz companion in the android setting on your bike
  8. restart the companion

Let me know

mazatov commented 1 year ago

1,2,3 done.

  1. set the grand tour pro device in the companion

is that on the treadmill or android app?

I don't seem to have grand tour pro in the android app

cagnulein commented 1 year ago

in the companion app on the bike? did you use the latest apk?

Il giorno lun 4 set 2023 alle 12:26 Mike Azatov @.***> ha scritto:

1,2,3 done.

  1. set the grand tour pro device in the companion

    4

    https://github.com/cagnulein/QZCompanionNordictrackTreadmill/pull/4 is that on the treadmill or android app?

I don't seem to have grand tour pro in the android app

— Reply to this email directly, view it on GitHub https://github.com/cagnulein/QZCompanionNordictrackTreadmill/issues/58#issuecomment-1705012352, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAALYWGPXKFO7QDBMRV4O4TXYWUGVANCNFSM6AAAAAA4JI3YG4 . You are receiving this because you were mentioned.Message ID: @.*** com>

mazatov commented 1 year ago

@cagnulein , I got it from the link in the repo. It's a treadmill, not a bike. It's ok to select still the grand tour pro?

mazatov commented 1 year ago

This is what the app looks like on the treadmill tablet. It looks a bit wonky and it's really hard to select your machine as the field for that selection is really small. Is that normal?

PXL_20230903_121439410 ![Screenshot_20230903-151609]

cagnulein commented 1 year ago

@cagnulein , I got it from the link in the repo. It's a treadmill, not a bike. It's ok to select still the grand tour pro?

yes select the grand tour pro

This is what the app looks like on the treadmill tablet. It looks a bit wonky and it's really hard to select your machine as the field for that selection is really small. Is that normal?

PXL_20230903_121439410 ![Screenshot_20230903-151609]

yes because the other tablet are very large

mazatov commented 1 year ago

Thanks. Will finish the steps 1-7 later today. Not home now.

cagnulein commented 1 year ago

No problem, take your time.

Il giorno lun 4 set 2023 alle 13:57 Mike Azatov @.***> ha scritto:

Thanks. Will finish the steps 1-7 later today. Not home now.

— Reply to this email directly, view it on GitHub https://github.com/cagnulein/QZCompanionNordictrackTreadmill/issues/58#issuecomment-1705141617, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAALYWF6LNOAQEJFJX7SBTDXYW6Z5ANCNFSM6AAAAAA4JI3YG4 . You are receiving this because you were mentioned.Message ID: @.*** com>

mazatov commented 1 year ago

@cagnulein , I tried the steps today.

  1. Set the Grand Tour Pro in the app on the treadmill.
  2. Executed the command in windows terminal. I'm getting adb.exe: no devices/emulators found in the terminal.
  3. For number 6 I'm not sure how to do it. As I don't see settings in the app on the treadmill.
  4. PXL_20230905_092411085 Screenshot 2023-09-05 122603

cagnulein commented 1 year ago

hah sorry I missed a point, before running the adb shell command, run the

adb connect

mazatov commented 1 year ago

adb connect {IP} ?

cagnulein commented 1 year ago

yes, like

adb connect 10.0.34

Il giorno mar 5 set 2023 alle 11:33 Mike Azatov @.***> ha scritto:

adb connect {IP} ?

— Reply to this email directly, view it on GitHub https://github.com/cagnulein/QZCompanionNordictrackTreadmill/issues/58#issuecomment-1706272643, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAALYWF2DHLOW7K5W73ALLLXY3WUZANCNFSM6AAAAAA4JI3YG4 . You are receiving this because you were mentioned.Message ID: @.*** com>

mazatov commented 1 year ago

Ok, I get the following:

adb connect 10.0.0.x
cannot connect to 10.0.0.x:5555: No connection could be made because the target machine actively refused it. (10061)
cagnulein commented 1 year ago

@mazatov did you enable the adb setting in the android setting of your android tablet?

mazatov commented 1 year ago

@cagnulein, do you mean this one? But this is on my android phone. I don't know how to do this on my treadmill tablet. I don't see the settings menu in the companion app on the treadmill tablet.

Do I need to install QZ Fitness app on the treadmill tablet too? I just have the QZcompanionNordictrackTreadmill on the tablet so far.

Screenshot_20230905-133531 (1)

mazatov commented 1 year ago

I enabled USB debugging in the Treadmill tablet settings. But I still get the same message in CMD on Windows

cagnulein commented 1 year ago

did you try to reboot the tablet? also which android version does it have?

mazatov commented 1 year ago

I haven't tried rebooting yet. It's version 5.1.1

On Tue, Sep 5, 2023, 14:27 Roberto Viola @.***> wrote:

did you try to reboot the tablet? also which android version does it have?

— Reply to this email directly, view it on GitHub https://github.com/cagnulein/QZCompanionNordictrackTreadmill/issues/58#issuecomment-1706439905, or unsubscribe https://github.com/notifications/unsubscribe-auth/AG7PD64QZC254B36NINKBNDXY4EDRANCNFSM6AAAAAA4JI3YG4 . You are receiving this because you were mentioned.Message ID: @.*** com>

cagnulein commented 1 year ago

ok so the android version could be the issue. Let's try another thing first: in the qz companion select the c1750 device and restart the device. Share me a fresh QZ debug log then if it doesn't work. Thanks

mazatov commented 1 year ago

@cagnulein , Ok.

I first switched my PC to 2.4 GHz wifi (same as treadmill) just in case. I have mesh wifi so the device chooses itself to connect to 2.4 or 5ghz. With 2.4 I had the same issue with adb not bein able to connect.

Now I tried with c1750. Here's the debug fro the QZ fitness app on my phone. debug-Tue_Sep_5_15_39_06_2023.log

cagnulein commented 1 year ago

very strange. could you please press the dump log button on the companion app and send me a photo of what you will see on the text box above on the companion?

mazatov commented 1 year ago

Here you go

On Tue, Sep 5, 2023, 15:47 Roberto Viola @.***> wrote:

very strange. could you please press the dump log button on the companion app and send me a photo of what you will see on the text box above on the companion?

— Reply to this email directly, view it on GitHub https://github.com/cagnulein/QZCompanionNordictrackTreadmill/issues/58#issuecomment-1706556597, or unsubscribe https://github.com/notifications/unsubscribe-auth/AG7PD62ODMWM2SKWIOUXST3XY4NNXANCNFSM6AAAAAA4JI3YG4 . You are receiving this because you were mentioned.Message ID: @.*** com>

cagnulein commented 1 year ago

@mazatov you have to attach it on the github web interface, otherwise i can't see it

mazatov commented 1 year ago

Sorry attached directly to the email :) PXL_20230905_124806099

cagnulein commented 1 year ago

did you start a workout? can you start a workout and while you're doing the workout try to press the dump log again and share a new picture? also can you send me the 2023-09-05.logs.txt file?

mazatov commented 1 year ago

@cagnulein , it worked!

Looks like I was able to receive the data in QZ app on my phone. Phew.... So I can receive the data in QZ ( not control the treadmill). Anything else worth trying while I'm at it? :)

PXL_20230905_125610916

Screenshot_20230905-155446

cagnulein commented 1 year ago

yes in this mode we can only read data, but you unlocked it! Great! Nope that's all :) you can now use zwift if you want :)

mazatov commented 1 year ago

Awesome! Dumb question about Zwift. Do I install it on my phone or treadmill tablet?

cagnulein commented 1 year ago

on your phone. If you use qz and zwift on the same device, remember to enable the "android notification icon" setting on qz in the experimental settings section and restart qz

Let me know

mazatov commented 1 year ago

Thanks! Will try Zwift out on my next run. So far seems like it found QZ

cagnulein commented 1 year ago

ok use the wahoo tread device in zwift

Il giorno mar 5 set 2023 alle 16:03 Mike Azatov @.***> ha scritto:

Thanks! Will try Zwift out on my next run. So far seems like it found QZ

— Reply to this email directly, view it on GitHub https://github.com/cagnulein/QZCompanionNordictrackTreadmill/issues/58#issuecomment-1706687140, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAALYWDEM33VVVR3LMDW2STXY4WKVANCNFSM6AAAAAA4JI3YG4 . You are receiving this because you were mentioned.Message ID: @.*** com>

mazatov commented 1 year ago

Things have been working great so far! I had one question, is it possible to simultaneously sync HR from Garmin watch to QZ?

cagnulein commented 1 year ago

yes it depends which garmin is it. you can use both ant+ or bluetooth if your garmin can

Il giorno dom 10 set 2023 alle 09:41 Mike Azatov @.***> ha scritto:

Things have been working great so far! I had one question, is it possible to simultaneously sync HR from Garmin watch to QZ?

— Reply to this email directly, view it on GitHub https://github.com/cagnulein/QZCompanionNordictrackTreadmill/issues/58#issuecomment-1712740886, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAALYWAD3I4XMIE4YYPCAQTXZVVJ5ANCNFSM6AAAAAA4JI3YG4 . You are receiving this because you were mentioned.Message ID: @.*** com>

mazatov commented 1 year ago

I have an old Vivosmart HR that I sync with my Garmin connect app. How can I tell if that would work?

On Sun, Sep 10, 2023, 11:21 Roberto Viola @.***> wrote:

yes it depends which garmin is it. you can use both ant+ or bluetooth if your garmin can

Il giorno dom 10 set 2023 alle 09:41 Mike Azatov @.***> ha scritto:

Things have been working great so far! I had one question, is it possible to simultaneously sync HR from Garmin watch to QZ?

— Reply to this email directly, view it on GitHub < https://github.com/cagnulein/QZCompanionNordictrackTreadmill/issues/58#issuecomment-1712740886>,

or unsubscribe < https://github.com/notifications/unsubscribe-auth/AAALYWAD3I4XMIE4YYPCAQTXZVVJ5ANCNFSM6AAAAAA4JI3YG4>

. You are receiving this because you were mentioned.Message ID: @.*** com>

— Reply to this email directly, view it on GitHub https://github.com/cagnulein/QZCompanionNordictrackTreadmill/issues/58#issuecomment-1712749588, or unsubscribe https://github.com/notifications/unsubscribe-auth/AG7PD64MN72U2F7BZ6C6ZE3XZV2AXANCNFSM6AAAAAA4JI3YG4 . You are receiving this because you were mentioned.Message ID: @.*** com>

cagnulein commented 1 year ago

ok so your only possible way is with ant+ on android device running qz

Il giorno dom 10 set 2023 alle 10:32 Mike Azatov @.***> ha scritto:

I have an old Vivosmart HR that I sync with my Garmin connect app. How can I tell if that would work?

On Sun, Sep 10, 2023, 11:21 Roberto Viola @.***> wrote:

yes it depends which garmin is it. you can use both ant+ or bluetooth if your garmin can

Il giorno dom 10 set 2023 alle 09:41 Mike Azatov @.***> ha scritto:

Things have been working great so far! I had one question, is it possible to simultaneously sync HR from Garmin watch to QZ?

— Reply to this email directly, view it on GitHub <

https://github.com/cagnulein/QZCompanionNordictrackTreadmill/issues/58#issuecomment-1712740886>,

or unsubscribe <

https://github.com/notifications/unsubscribe-auth/AAALYWAD3I4XMIE4YYPCAQTXZVVJ5ANCNFSM6AAAAAA4JI3YG4>

. You are receiving this because you were mentioned.Message ID: @.*** com>

— Reply to this email directly, view it on GitHub < https://github.com/cagnulein/QZCompanionNordictrackTreadmill/issues/58#issuecomment-1712749588>,

or unsubscribe < https://github.com/notifications/unsubscribe-auth/AG7PD64MN72U2F7BZ6C6ZE3XZV2AXANCNFSM6AAAAAA4JI3YG4>

. You are receiving this because you were mentioned.Message ID: @.*** com>

— Reply to this email directly, view it on GitHub https://github.com/cagnulein/QZCompanionNordictrackTreadmill/issues/58#issuecomment-1712751936, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAALYWG3732BUVVCEI2BKC3XZV3KLANCNFSM6AAAAAA4JI3YG4 . You are receiving this because you were mentioned.Message ID: @.*** com>

mazatov commented 1 year ago

Thanks, I'll take a look at ant+

mazatov commented 1 year ago

Also today during running I had this thing where strava and ifit pace graphs looked quite different. Is there a frequency collection setting or something like that I can adjust? Screenshot_20230910-161118 Screenshot_20230910-161110

cagnulein commented 1 year ago

it seems a km to miles conversion, isn't it?

Il giorno dom 10 set 2023 alle 15:13 Mike Azatov @.***> ha scritto:

Also today during running I had this thing where strava and ifit pace graphs looked quite different. Is there a frequency collection setting or something like that I can adjust? [image: Screenshot_20230910-161118] https://user-images.githubusercontent.com/29291003/266838072-dc97e273-dc0e-41ec-a7a8-f1f3072fbbe9.png [image: Screenshot_20230910-161110] https://user-images.githubusercontent.com/29291003/266838075-5afb7563-8836-4d29-93c8-6ba68c409ffa.png

— Reply to this email directly, view it on GitHub https://github.com/cagnulein/QZCompanionNordictrackTreadmill/issues/58#issuecomment-1712811290, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAALYWG23JMYOZDKTY2HP63XZW4IVANCNFSM6AAAAAA4JI3YG4 . You are receiving this because you were mentioned.Message ID: @.*** com>

mazatov commented 1 year ago

Sorry what I meant was that on the treadmill I did periods of 5 min fast 1 min walk, so on IFIT you see the steps. On strava it seems to have averaged them.

cagnulein commented 1 year ago

check if you see it correctly on https://intervals.icu/

it could be a bug on strava (there are a lot lately)

let me know

mazatov commented 1 year ago

Just signed up and checked. Seems to also be the same.

image

cagnulein commented 1 year ago

ok so i need a debug log from that session, or you need to recreate this issue with the debug log enabled to understand the issue. Let me know

mazatov commented 1 year ago

Thanks,

That would be the debug log from the app on the phone or the app on the tablet(treadmill)?

On Tue, Sep 12, 2023 at 11:36 AM Roberto Viola @.***> wrote:

ok so i need a debug log from that session, or you need to recreate this issue with the debug log enabled to understand the issue. Let me know

— Reply to this email directly, view it on GitHub https://github.com/cagnulein/QZCompanionNordictrackTreadmill/issues/58#issuecomment-1715258131, or unsubscribe https://github.com/notifications/unsubscribe-auth/AG7PD64D4PQIXSZ2KPFSG3TX2ANHPANCNFSM6AAAAAA4JI3YG4 . You are receiving this because you were mentioned.Message ID: @.*** com>