cagnulein / qdomyos-zwift

Zwift bridge for smart treadmills and bike/cyclette
https://www.qzfitness.com/
GNU General Public License v3.0
343 stars 104 forks source link

Nordictrack S22i: Zwift not communicating Incline to QZ #1227

Closed Bluetac1 closed 1 year ago

Bluetac1 commented 1 year ago

# debug-Mon_Jan_30_19_24_49_2023.log Describe the bug Receiving all data from Nordictrack S22i (Power, Cadence, etc) and transmitting to Zwift, but not receiving incline data in return.

To Reproduce Steps to reproduce the behavior: Refer bug report. I am running:

Last night everything was working fine (apart from lack of autoincline), today experiencing connectivity issues.

Expected behavior Resolve connectivity issues and educate me on how auto-incline works with above setup.

Screenshots Refer attached for all screenshots from QZ Companion settings.

Desktop (please complete the following information):

Smartphone (please complete the following information):

Append a debug log

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

Additional context Add any other context about the problem here.

JH-Morris commented 1 year ago

0961D1B4-B484-450A-B4B0-91B0BDB3CF5B debug-Fri_Feb_3_10_14_45_2023.log logcat.log @cagnulein Alright. I know verified that force resistance was on. Erg was off on both apps. Just did a free ride. As soon as I started zwift (just opened the app, no ride started) incline moved up to 10. Started a ride. It stayed at 10 for just a minute and then went down to 4.5 and never changed. If I push +- on qz for incline, nothing happens. Here’s the data.

cagnulein commented 1 year ago

@JH-Morris ok i see the issue on the qz app, but i don't understand it yet. Could I send you the new ios beta to check if maybe I already fixed this? I'm completely burn out today and I can't figure out the issue. You can try also to uninstall and install it back to check if there is some settings that you changed by mistake that it's interferring send me an email to roberto.viola83 at gmail.com indicating this ticket and if you are on android or iOS. Thanks

JH-Morris commented 1 year ago

@JH-Morris

ok i see the issue on the qz app, but i don't understand it yet. Could I send you the new ios beta to check if maybe I already fixed this? I'm completely burn out today and I can't figure out the issue.

You can try also to uninstall and install it back to check if there is some settings that you changed by mistake that it's interferring

send me an email to roberto.viola83 at gmail.com indicating this ticket and if you are on android or iOS. Thanks

Absolutely. I am happy to help. Sending email now.

JH-Morris commented 1 year ago

@cagnulein Tried the beta. It doesn’t control incline at all. Tried it with the erg setting and without. No movement for incline/decline. I had an issue with the bike and couldn’t get you the logcat for this one. I’ll have to give it a go tomorrow. Sorry

cagnulein commented 1 year ago

please @JH-Morris attach the log so i can compare with the previous one

Bluetac1 commented 1 year ago

debug-Sun_Feb_5_18_12_14_2023.log 2023-02-05_logs.txt

Bluetac1 commented 1 year ago

I tried as best as I could to take the log file during my ride, I have others if needed. The debug file was extracted from my bike itself. Sorry for the confusion (and delay) again. Thank you for your help.

cagnulein commented 1 year ago

@Bluetac1 as I said i need also the logcat from the qz companion. The problem is there so if I don't see that one I can't understand where the problem is :(

cagnulein commented 1 year ago

maybe an useful informations for you guys image

JH-Morris commented 1 year ago

@cagnulein Sorry it has taken me so long to get back to this. I was pretty sick over the weekend and did not have time this week to get to it. It seems like Nordictrack has figured out a way to block the logcat from being generated by the app. I am searching for a workaround so that I can regain the ability to produce the file.

JH-Morris commented 1 year ago

debug-Wed_Feb_8_17_42_29_2023.log 2023-02-08_logs.txt

I hope this is what you need.

cagnulein commented 1 year ago

sorry to hear this @JH-Morris I hope you're fine now. About the log: I checked the QZ log and QZ is still writing the inclination, so the problem is not about qz on your phone. So we have to check the logcat from the companion. What do you mean that Nordictrack is blocking it? I mean the companion is just writing a file, i don't think they can block this.

More than this I'm thinking about the fact that adb doesn't work anymore? also, if you want, you can grep adb in realtime using

adb logcat > logfile.txt

on your pc while you're doing a simple workout

let me know

JH-Morris commented 1 year ago

@cagnulein When I go to the companion app on the bike and tell it to dump the log the only file that is written is the one that I sent you. The logcat.log file is no longer being overwritten. I have never been able to get the adb to work. To work around that, I was able to get Dropbox on there and I pull the file from that. I have factory reset the bike and reinstalled everything. The logcat is still not updating when I push the dump log button.

cagnulein commented 1 year ago

@JH-Morris do you receive an update from ifit in these days? using the file manager on the tablet are you able to create a file in the sdcard folder?

JH-Morris commented 1 year ago

@cagnulein I think they have been automatically pushing updates. I'm not sure when it updated last. I do know that the logcat does not update now when I push dump log. The only file I can find is the one I sent you.

cagnulein commented 1 year ago

@JH-Morris using the file manager on the tablet are you able to create a file in the sdcard folder?

JH-Morris commented 1 year ago

@JH-Morris using the file manager on the tablet are you able to create a file in the sdcard folder?

I got it to make a folder. When I push "dump log" on the companion app (on the bike), the message it shows is a file that is written in the .wolflogs folder (see photo). However, the logcat.log file that used to be generated is not being created. I cannot find it in the sd card storage anywhere. image

cagnulein commented 1 year ago

if you are able from the file manager, QZC should be able also. @victorypoint could you please check with the last version if the logcat is still working? I guess so since the #1209 , but just to be sure. Do you have any idea how this could not be possible anymore? What I can do is printing the adb log directly on the screen and then you can dump it using a text editor.

Bluetac1 commented 1 year ago

Hi all, sorry for the delay - I’ve been very busy with work. A little confused on how to proceed, because I think I’m experiencing the same issue with accessing the logcat.

I haven’t tried this yet, but this may help?

https://m.youtube.com/watch?v=Z9X9MKTVEJk

victorypoint commented 1 year ago

@Bluetac1 , the privileged mode solution in that video is already incorporated in the Companion install. In your case we just have to figure out how to enable ADB on your machine

cagnulein commented 1 year ago

yes the dump of the logcat is not working neither because adb is stopped I guess. So i guess our solution to understand the issues about the missing inclination handling is to write the log directly on the QZC interface and then copy and paste if from there. I will do this in the next days

cagnulein commented 1 year ago

Ok done. Now the dump log button will try to write the file but also will write on the text box the full log of the udp server (the one that should change the inclination). It's building. I will send you the new link

cagnulein commented 1 year ago

done https://github.com/cagnulein/QZCompanionNordictrackTreadmill/releases/tag/3.2.17

Bluetac1 commented 1 year ago

OK - planning a ride tonight. Just to confirm - you need the a) logcat; b) debug log and c) txt file? If so, I’ll try to extract and get it over to you ASAP.

cagnulein commented 1 year ago

yes thanks @Bluetac1 you can also do a quick ride if it's better for you. before getting the log, don't stop the ifit workout

Bluetac1 commented 1 year ago

Thank you. I really hope you are referring to retrieving the log from the Companion app, because I’m not sure how to access privileged mode on the bike whilst in an IFIT workout. Either way, I’ll try my best :)

cagnulein commented 1 year ago

yes I was talking about the Companion app @Bluetac1 in the new version you can see the log directly on the QZC main screen so you can also screenshot them Let me know!

Bluetac1 commented 1 year ago

debug-Thu_Feb_16_08_06_07_2023.log 2023-02-15_logs.txt

Bluetac1 commented 1 year ago

I know you need the logcat as well, but the Companion app just hang for ages and I couldn’t find the logcat anywhere on the bike.

cagnulein commented 1 year ago

I know you need the logcat as well, but the Companion app just hang for ages and I couldn’t find the logcat anywhere on the bike.

about this issue, are you sure you are using the last qz companion app version?

Bluetac1 commented 1 year ago

I tried to redownload after enabling USB debugging, etc and it doesn’t allow me to update: EC537CAC-7CCE-4B5A-AF03-EAD98DF3B09D 268742C5-2304-4A11-AB2C-60980690BB53 ADD61F07-7B04-4D10-91C5-253A160F5C79

cagnulein commented 1 year ago

@Bluetac1 @Carloschocano97 on #1278 had the same issue, maybe he can help you. did you try to uninstall it @Bluetac1 ?

Bluetac1 commented 1 year ago

No I didn’t uninstall because I was worried that I’d lose the ability to install it again

cagnulein commented 1 year ago

let's see how @Carloschocano97 fixed it

Bluetac1 commented 1 year ago

Thank you. Any advice would be helpful @Carloschocano97 thanks in advance

Bluetac1 commented 1 year ago

Thanks @cagnulein , if you think it is low risk to delete the app and then reinstall the newer version, I trust you. I have it working already for everything except auto-incline, which is a good result. Let me know what you think - thanks so much!

victorypoint commented 1 year ago

@Bluetac1, yes it's safe to uninstall QZ Companion and install the new version. Make sure to select your machine from the Companion screen after install and then reboot (power off and on) your machine.

cagnulein commented 1 year ago

Yes @bluetac1 it's safe Let me know

Il giorno lun 20 feb 2023 alle 03:57 Al Udell @.***> ha scritto:

@Bluetac1 https://github.com/Bluetac1, yes it's safe to uninstall QZ Companion and install the new version. Make sure to select your machine from the Companion screen after install and then reboot (power off and on) your machine.

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

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

Carloschocano97 commented 1 year ago

The app of QZ is safe to uninstall and reinstall again on your treadmill. 🙂

Enviado desde Outlook para iOShttps://aka.ms/o0ukef


De: Roberto Viola @.> Enviado: Monday, February 20, 2023 7:12:25 AM Para: cagnulein/qdomyos-zwift @.> Cc: Carloschocano97 @.>; Mention @.> Asunto: Re: [cagnulein/qdomyos-zwift] Nordictrack S22i: Zwift not communicating Incline to QZ (Issue #1227)

Yes @bluetac1 it's safe Let me know

Il giorno lun 20 feb 2023 alle 03:57 Al Udell @.***> ha scritto:

@Bluetac1 https://github.com/Bluetac1, yes it's safe to uninstall QZ Companion and install the new version. Make sure to select your machine from the Companion screen after install and then reboot (power off and on) your machine.

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

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

— Reply to this email directly, view it on GitHubhttps://github.com/cagnulein/qdomyos-zwift/issues/1227#issuecomment-1436388953, or unsubscribehttps://github.com/notifications/unsubscribe-auth/A542OX3YPOAUALHU4HU4GP3WYMDMTANCNFSM6AAAAAAUK3TUYA. You are receiving this because you were mentioned.Message ID: @.***>

Bluetac1 commented 1 year ago

Thanks all! I’m mostly just scared that NordicTrack will block attempts to reinstall, but seems like I shouldn’t be worried! :)

cagnulein commented 1 year ago

@Bluetac1 what i'm doing to my ifit device is ALWAYS to block their access to the web. I don't know if it's something that you can do on your home network

Bluetac1 commented 1 year ago

Sorry for the delay - I attempted to access the ‘tinyurl’ link and it indicated: ‘503 Service Unavailable’. Is there something faulty with the download link at your end?

Bluetac1 commented 1 year ago

If not, please let me know a direct link to access the latest version

Bluetac1 commented 1 year ago

Sorry please ignore above - USB debugging wasn’t on. I’ve redownloaded new version and trying it out soon!

cagnulein commented 1 year ago

ok good let me know

Il giorno sab 25 feb 2023 alle 13:14 Bluetac1 @.***> ha scritto:

Sorry please ignore above - USB debugging wasn’t on. I’ve redownloaded new version and trying it out soon!

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

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

Bluetac1 commented 1 year ago

debug-Sat_Feb_25_23_24_29_2023.log 2023-02-25_logs.txt

Bluetac1 commented 1 year ago

Unfortunately, can confirm that the logcat is no where to be found. It is not writing to any folder.

cagnulein commented 1 year ago

can you do multiple screenshots from the multiline text box on the companion showing the full history?

Il giorno sab 25 feb 2023 alle 13:46 Bluetac1 @.***> ha scritto:

Unfortunately, can confirm that the logcat is no where to be found. It is not writing to any folder.

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

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

Bluetac1 commented 1 year ago

myfile.txt

Bluetac1 commented 1 year ago

Was able to copy-paste to Dropbox and send through in full