cagnulein / QZCompanionNordictrackTreadmill

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

No data received from QZ app for Nordictrack commercial 2450 #93

Closed sweetrosie closed 5 months ago

sweetrosie commented 6 months ago

I've factory reset my treadmill and installed companion via adb, it's running on my treadmill fine, and USB debug is enabled. I've purchased the QZ app from the playstore and put the ip in the 2950 ip field. Nordictrack 10 is selected by default but I've tried selecting every Nordictrack device one at a time and putting the ip in the 2950 or Proform fields but nothing works. On my phone there's no QZ folder under Documents. On the companion app I've tried selecting C1750 or Grand Tour Pro app and nothing works. Our router isn't blocking anything. I've connected and executed "adb shell pm grant org.cagnulein.qzcompanionnordictracktreadmill android.permission.READ_LOGS". I've attached the logs. Please advise. Thanks. 2024-03-10_logs.txt

cagnulein commented 6 months ago

Hi @sweetrosie are you on android 14 with qz? If so you need the beta from here https://play.google.com/apps/testing/org.cagnulen.qdomyoszwift

Let me know

sweetrosie commented 6 months ago

Thanks! I tried the beta version but I'm still not receiving any data from the treadmill.

cagnulein commented 6 months ago

the beta was for giving you the possibility to share a debug log from qz otherwise i can't help you

sweetrosie commented 5 months ago

Ah ok. Please see the file. debug-Sun_Mar_10_14_52_26_2024.log

cagnulein commented 5 months ago

ok perfect the connection between the companion and qz is perfect. are you able to run a "adb logcat" from your pc? what we have to see there is that when you change the speed or the inclination, a line with "changed" word should appear in realtime there.

Are you able to do this test?

sweetrosie commented 5 months ago

Yes, I can do that.

cagnulein commented 5 months ago

great! let me know!

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

Il giorno mar 12 mar 2024 alle 20:35 SweetRosie @.***> ha scritto:

Yes, I can do that.

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

sweetrosie commented 5 months ago

log.txt Let me know if this helps.

cagnulein commented 5 months ago

are the right changes?

image

sweetrosie commented 5 months ago

Yes

cagnulein commented 5 months ago

so also the companion should be able to do the same. did you set also the gran pro tour in the companion device selections and restarted the treadmill?

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

Il giorno mar 12 mar 2024 alle 21:05 SweetRosie @.***> ha scritto:

Yes

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

sweetrosie commented 5 months ago

Screenshot_20240312_163511 I just set it to grand tour pro and restarted. Now QZ shows speed at 1 mph no matter what I change the speed to on the tread mill. QZ is able to increase incline one time only and unable to decrease at all. Incline is showing as 0 in the tiles.

cagnulein commented 5 months ago

ok so i need the log from the companion as well. if you press on the log button on the companion i can see what's wrong. actually the companion just does the same of the adblog cat that you run.

the log will be written on the root folder of the treadmill

are you able to dump it? do all of this during a workout

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

Il giorno mar 12 mar 2024 alle 21:41 SweetRosie @.***> ha scritto:

I just set it to grand tour pro and restarted. Now QZ shows speed at 1 mph no matter what I change the speed to on the tread mill. QZ is able to increase incline one time only and unable to decrease at all. Incline is showing as 0 in the tiles.

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

sweetrosie commented 5 months ago

I tried using adb-debug.bat to get the log but it won't work this time. Says failed to connect. I can take a few pictures? Anything specific I need to look for?

cagnulein commented 5 months ago

mmm so maybe that's because adb was using by the companion?

try to reboot the treadmill and try again

i'm going to bed now, in the meantime maybe @victorypoint has some ideas

we will talk tomorrow

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

Il giorno mar 12 mar 2024 alle 22:08 SweetRosie @.***> ha scritto:

I tried using adb-debug.bat to get the log but it won't work this time. Says failed to connect. I can take a few pictures? Anything specific I need to look for?

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

sweetrosie commented 5 months ago

logcat.log

cagnulein commented 5 months ago

it gives me a 404

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

Il giorno mar 12 mar 2024 alle 22:21 SweetRosie @.***> ha scritto:

logcat.log https://github.com/cagnulein/QZCompanionNordictrackTreadmill/files/14578777/logcat.log

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

sweetrosie commented 5 months ago

logcat.log

sweetrosie commented 5 months ago

Hmm let me try on my computer

cagnulein commented 5 months ago

same thing. are you able to open from the link? i will check it tomorrow from a pc

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

Il giorno mar 12 mar 2024 alle 22:24 SweetRosie @.***> ha scritto:

logcat.log https://github.com/cagnulein/QZCompanionNordictrackTreadmill/files/14578813/logcat.log

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

sweetrosie commented 5 months ago

still not working. one sec

sweetrosie commented 5 months ago

something is wrong with Github. The previous file is showing the same error too. Try this https://drive.google.com/file/d/1_f5dftStBL1csdq2o3yea_zGCHwQLwIL/view?usp=drive_link

cagnulein commented 5 months ago

Request access, thanks

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

Il giorno mar 12 mar 2024 alle ore 22:31 SweetRosie < @.***> ha scritto:

something is wrong with Github. The previous file is showing the same error too. Try this https://drive.google.com/file/d/1_f5dftStBL1csdq2o3yea_zGCHwQLwIL/view?usp=drive_link

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

sweetrosie commented 5 months ago

Granted access. The files in the comments are no longer showing errors so you should be able to view it now too.

cagnulein commented 5 months ago

ok so i checked and for the speed i saw this

03-12 16:57:18.065  7745  7874 V mono-stdout: [15] [Trace:FitnessConsole] Kph changed from 1.6 to 3.21
03-12 16:57:39.434  7745  7874 V mono-stdout: [15] [Trace:FitPro] Changed KPH to: 3.21

so 3.21 it's the only value got from the companion. so it seems that it's not loggin them sometimes?

what's the difference, on your opinion, between the test that you did without the qz app (with the logcat directly) and this one?

sweetrosie commented 5 months ago

The logcat from my computer was done when I was in the workout with the workout screen but the dump I had to switch to the companion app and click on the dump button and that's the only difference. But that's after I adjusted the speed so it shouldn't matter?

cagnulein commented 5 months ago

so in this case which value did you see on QZ? was it matching the 3.21 kp/h?

sweetrosie commented 5 months ago

It was not matching the speed of the treadmill. The speed was showing 1mph and incline was 0 as shown in the screenshot

cagnulein commented 5 months ago

so 3.21 kp/h was the right one? could I ask another test? could you please use the windows version of qz just to check it. download it from here https://github.com/cagnulein/qdomyos-zwift/releases/download/nightly/windows-msvc2019-binary-no-python.zip set your treadmill ip in the same setting and enable also the adb remote setting and restart qz. leave the qz app on the phone turned off.

Let me know the result!

sweetrosie commented 5 months ago

no, I changed the speed a few times and that was just one of the speeds. I tried the Windows version and it's not showing any data. All tiles are 0's. debug-Wed_Mar_13_18_38_45_2024.log

cagnulein commented 5 months ago

ok for the windows version this is the error

Wed Mar 13 18:39:12 2024 1710369552975 Debug: devices\bluetooth.cpp void __cdecl bluetooth::debug(const class QString &) "adb << OUT cannot connect to 192.168.86.224:5555: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond. (10060)\r\n"

maybe you need to reboot it

instead for

no, I changed the speed a few times and that was just one of the speeds.

this means that it doesn't seems to log all the speed changes. Let's see if the windows version is better

Let me know

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

@sweetrosie any news?