cagnulein / qdomyos-zwift

Zwift bridge for smart treadmills and bike/cyclette
https://www.qzfitness.com/
GNU General Public License v3.0
345 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.

cagnulein commented 1 year ago

perfect thanks? i will check it asap

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

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

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

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

cagnulein commented 1 year ago

@Bluetac1 I checked the log, I saw that read mode is still working good, good! But auto resistance still doesn't work. Unfortunately the log from the companion seems empty, did you close the ifit workout before pushing the adb logcat button? This could explain why. If so, could you please redo pressing adb logcat button before closing the ifit session? Thanks

Bluetac1 commented 1 year ago

Hi there - just an update. Yes I’ve been trying to do another ride under those conditions, but unfortunately I’ve been running into Zwift connection issues for a few days now. As you can see from the screenshots, the Power Source and Cadence connects to QZ, but it can’t find a Controllable? Any advice will help me thank you. B593EB20-D716-4293-ACC4-E0EBFB7A8F4D D1CFE406-E0C7-4314-B394-B1212976C58C

Bluetac1 commented 1 year ago

In the past it has connected like the other two, so something must have changed in the background?

cagnulein commented 1 year ago

it's the same with wahoo hrm?

Il giorno mer 1 mar 2023 alle 12:48 Bluetac1 @.***> ha scritto:

In the past it has connected like the other two, so something must have changed in the background?

— Reply to this email directly, view it on GitHub https://github.com/cagnulein/qdomyos-zwift/issues/1227#issuecomment-1449986096, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAALYWDK7CWP5UOJ4T7PTDTWZ4ZPXANCNFSM6AAAAAAUK3TUYA . 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

No - I could connect to Wahoo HRM

Bluetac1 commented 1 year ago

The only issue was with Controllable

cagnulein commented 1 year ago

@Bluetac1 try to reset the network settings of your ipad and reboot it. It sounds like an cache issue. Consider that you should be able to see QZ also as "QZ" there from your iphone.

Also there is an open bug on the zwift side https://forums.zwift.com/t/zwift-didn-t-recognize-wahoo-kickr-with-direct-connect-using-ipad-mini-with-ios-16-1/592239/23

Bluetac1 commented 1 year ago

Unfortunately, after testing pretty sure it isn’t a Network issue. I’ve tried experimenting with the bluetooth connections, after doing that I can’t get the bike to transmit power/cadence to Zwift. But on the plus side, my phone is downloading all of the data from the bike and I briefly was able to adjust incline/resistance from the phone itself. Can you please confirm what bluetooth connections should be set up? This bluetooth connection is called: ‘MalataMediatekArgon2‘

Also, I haven’t been able to view the ‘QZ’ bluetooth connection for some time now. I only see ‘DomyosBr’ but can’t connect to that one. Help! I’m a bit stupid.

Bluetac1 commented 1 year ago

Just for clarity, I have iPad running Zwift, my phone with the QZ app and my bike with the QZ companion

victorypoint commented 1 year ago

Hi @Bluetac1. The MalataMediatekArgon2 device is your machines Bluetooth audio. To connect QZ to Zwift, I get excellent connection using QZ Wahoo Direct connect. It's under experimental features menu, turn on enable virtual device, enable virtual Bluetooth device, and Wahoo direct connect.

Bluetac1 commented 1 year ago

Thanks so much for the advice - these settings are the ones I’ve always had on. Does anything look incorrect?

79383D5A-CF6B-4F20-89E1-794A8D9C3E55 C9E18291-8495-48B0-ABC9-629341AF33C7

victorypoint commented 1 year ago

@Bluetac1, everything looks good but I'm not a cyclist (just runner). Did @cagnulein instruct you to turn on bike power sensor? Normally that is off as it changes the virtual Bluetooth bridge from FTMS to power sensor.

Bluetac1 commented 1 year ago

Wow! Thank you, that seemed to work!

Bluetac1 commented 1 year ago

myfile2.txt 2023-03-02_logs.txt debug-Thu_Mar_2_16_46_48_2023.log

Bluetac1 commented 1 year ago

Hopefully that helps @cagnulein ?

cagnulein commented 1 year ago

@Bluetac1 finally i see something useful! I guess there is just a setting error on the QZ companion! Which device did you choose on the companion? It seems to me like a treadmill instead of a bike

Bluetac1 commented 1 year ago

A7C15B09-B4FF-4939-87C2-CF0268E6F3FB

Bluetac1 commented 1 year ago

S22i bike is selected (my actual bike), maybe the setting is incorrect back in the QZ companion instead?

cagnulein commented 1 year ago

it was already selected in this way when you sent me the log or you changed it now @Bluetac1 ?

Bluetac1 commented 1 year ago

Was already that way - I changed it to that one ages ago. Thanks.

cagnulein commented 1 year ago

So I have to add some new debug log to understand this, but we are close!

Bluetac1 commented 1 year ago

Excellent! :) Thank you again!!!

cagnulein commented 1 year ago

@Bluetac1 could I ask you to do one more test? open the qz companion and change the device to another one and then set it again to the s22i and try in this way, don't close the companion then. If it works I got the issue Let me know

billbo001 commented 1 year ago

Watts and cadence are all good now thankyou. Its the incline and resistance arnt talking to Zwift. Pls Ive have attached the debug file. Thankyou in advance. debug-Thu_Mar_2_20_44_08_2023.log

cagnulein commented 1 year ago

did you try also with the adb remote setting disabled? in case share the adb logcat from the companion too. Thanks

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

Il giorno ven 3 mar 2023 alle ore 10:27 billbo001 @.***> ha scritto:

Watts and cadence are all good now thankyou. Its the incline and resistance arnt talking to Zwift. Pls Ive have attached the debug file. Thankyou in advance. debug-Thu_Mar_2_20_44_08_2023.log https://github.com/cagnulein/qdomyos-zwift/files/10880472/debug-Thu_Mar_2_20_44_08_2023.log

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

billbo001 commented 1 year ago

did you try also with the adb remote setting disabled? in case share the adb logcat from the companion too. Thanks Roberto Viola Software engineer and open source enthusiast http://robertoviola.cloud Il giorno ven 3 mar 2023 alle ore 10:27 billbo001 @.> ha scritto: Watts and cadence are all good now thankyou. Its the incline and resistance arnt talking to Zwift. Pls Ive have attached the debug file. Thankyou in advance. debug-Thu_Mar_2_20_44_08_2023.log https://github.com/cagnulein/qdomyos-zwift/files/10880472/debug-Thu_Mar_2_20_44_08_2023.log — Reply to this email directly, view it on GitHub <#1227 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAALYWAZN2XIWFYIZQINUETW2G2R5ANCNFSM6AAAAAAUK3TUYA . You are receiving this because you were mentioned.Message ID: @.>

No I didnt, I would have to try when I get home. Do you think that might do it? What is ADB remote anyway?

cagnulein commented 1 year ago

they are different way to force inclination to the bike.

billbo001 commented 1 year ago

ill try it out and come back to you, the other settings correct though?

cagnulein commented 1 year ago

yep

Bluetac1 commented 1 year ago

@cagnulein I tried it just now. Was in a free ride on Zwift, on a manual start ride on iFit. Then switched to privileged mode and accessed QZ Companion. I switched between all devices options (including back to s22i) and still could get no inclination update (for any option). The QZ app also reflected no inclination data, so it looks as if it isn’t reading the data from Zwift at all? All other fields are being populated directly from NordicTrack/iFit in QZ absolutely fine.

Bluetac1 commented 1 year ago

If I incline the bike though manually, QZ will reflect this data. How do we get Zwift to override?

billbo001 commented 1 year ago

Sorry to be pain, do I have to change the adb remote on the qz app installed in iFit?

cagnulein commented 1 year ago

Sorry to be pain, do I have to change the adb remote on the qz app installed in iFit?

no on qz app on your phone, under proform bike settings

cagnulein commented 1 year ago

@Bluetac1 just did what i asked on my previous comment and share a qz companion log from that very session. otherwise i will add some more debug log to understand your case

billbo001 commented 1 year ago

No, doesn't seem to work on incline, stays on 0 incline and 1 resistance [Uploading debug-Fri_Mar_3_17_17_36_2023.log (1).txt…]()

billbo001 commented 1 year ago

When in Zwift

cagnulein commented 1 year ago

@billbo001 debug is truncated, you have to wait the finish of the upload. also i need the debug log from the companion. you can get it copy and paste the text box from the companion after pressing the adb logcat button

billbo001 commented 1 year ago

debug-Fri_Mar_3_17_17_36_2023.log (1).txt

billbo001 commented 1 year ago

Companion?

cagnulein commented 1 year ago

the app that you installed on the bike tablet

Il giorno ven 3 mar 2023 alle 18:43 billbo001 @.***> ha scritto:

Companion?

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

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

billbo001 commented 1 year ago

Have to do it tomorrow. Bud. If that's ok with you

billbo001 commented 1 year ago

Is it the same process to download debug file in companion?

billbo001 commented 1 year ago

Hi there, any hints where I find, switch on debug file on companion on ifit?

cagnulein commented 1 year ago

hi, sorry for the delay @billbo001 , i'm very busy in these days. For the debug log you can find it in the /sdcard/logcat.txt or just copy and paste the content of the text box on the companion

billbo001 commented 1 year ago

No worries. All I can see is this. Can I have more guidance please IMG_20230304_105809 IMG_20230304_105947

cagnulein commented 1 year ago

in the second photo, do you see the textbox with all that strings? copy all of them (after did a little workout) and then paste it here passing from a textedit or something

billbo001 commented 1 year ago

You mean this IMG_20230304_110931

cagnulein commented 1 year ago

yes

billbo001 commented 1 year ago

So. Debug file for qz app attached. debug-Sat_Mar_4_11_15_48_2023.log.txt String to follow