cagnulein / QZCompanionNordictrackTreadmill

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

Not receiving data on S22i #49

Closed kerby82 closed 1 year ago

kerby82 commented 1 year ago

I just followed the guideline to setup my nordictrack s22i to work with QZ app.

I installed successfully the qz companion on my nordictrack and select s22i as device and then restarted.

Then I configured the QZ app as showed by the documentation.

QZ is not retrieving data from the bike and all the tiles are 0.

I attach the qz debug file. debug-Sat_May_27_17_38_51_2023.log

kerby82 commented 1 year ago

I am seeing this in the debug: sáb. may. 27 17:39:24 2023 1685230764551 Debug: ../src/nordictrackifitadbbike.cpp void nordictrackifitadbbike::processPendingDatagrams() in ! sáb. may. 27 17:39:24 2023 1685230764554 Debug: ../src/nordictrackifitadbbike.cpp void nordictrackifitadbbike::processPendingDatagrams() Message From :: "192.168.3.54" sáb. may. 27 17:39:24 2023 1685230764555 Debug: ../src/nordictrackifitadbbike.cpp void nordictrackifitadbbike::processPendingDatagrams() Port From :: 34327 sáb. may. 27 17:39:24 2023 1685230764556 Debug: ../src/nordictrackifitadbbike.cpp void nordictrackifitadbbike::processPendingDatagrams() Message :: "" sáb. may. 27 17:39:24 2023 1685230764558 Debug: ../src/nordictrackifitadbbike.cpp void nordictrackifitadbbike::processPendingDatagrams() ""

so I'm suspecting the issue is on the qz companion app not on the phone app.

cagnulein commented 1 year ago

yes @kerby82 the main issue is that the companion is not sending nothing at all. Could you please, start a workout on the bike, while you're riding, open the QZ companion app and press the dump log button? then send me some pictures of what you see in the text box in the qz companion app. It should display the current log

Let me know

kerby82 commented 1 year ago

16852802661597928641160522211434

I attach a picture of the dump log

cagnulein commented 1 year ago

could you please try to select the c1750 on the companion and restart the bike and check if now you see some messages in the qz log ? i guess i know where the issue is

Let me know

Il giorno dom 28 mag 2023 alle 15:25 Andrea @.***> ha scritto:

[image: 16852802661597928641160522211434] https://user-images.githubusercontent.com/2271366/241562790-c69fe11f-d76e-4033-b339-505499db0bf7.jpg

I attach a picture of the dump log

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

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

kerby82 commented 1 year ago

It's working with c1750. What is the issue? Is not able to find the log or grepping for the expected line?

What's the drawback of using a threadmill profile instead of the s22i.

Thanks for the support.

I would love to contribute to this project I love it.

kerby82 commented 1 year ago

Is there any discord channel?

kerby82 commented 1 year ago

Now I have issues with swift. Not seeing any data even if swift says is connected to that wahoo kickr

kerby82 commented 1 year ago

But the qz app says is connecting

cagnulein commented 1 year ago

i'm out with my daughter now. i will explain it later https://discord.gg/jfswXZac

Il giorno dom 28 mag 2023 alle 17:31 Andrea @.***> ha scritto:

But the qz app says is connecting

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

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

cagnulein commented 1 year ago

ok @kerby82 i'm back home. Yes the c1750 profile test was in order to check if your bike's tablet has the capability to parse the log with a different algorithm. since it's working only with the c1750, i have to create a profile for your s22i with the "fallback" method.

i'm trying to this later today or tomorrow (7:30pm here)

cagnulein commented 1 year ago

ok done @kerby82 leave the c1750 for now and download the new apk that it will be ready soon 3.2.28 Let me know!

kerby82 commented 1 year ago

For the zwift issue (i.e. no data are sent to swift through the wahoo kicker), should I open an issue on the other repo? Everything seems connected but I don't see data sent to zwift.

Sometimes I see that qz found my Samsung tv as Bluetooth device, can that interfere?

Thanks for your support. I'm Italian as well but living in Mexico.

cagnulein commented 1 year ago

Everything seems connected but I don't see data sent to zwift.

strange because with the c1750 you shouldn't see wattage and cadence with the previous apk... did you try the new one already? in case send me a debug log from qz for this

Sometimes I see that qz found my Samsung tv as Bluetooth device, can that interfere?

nope

Thanks for your support. I'm Italian as well but living in Mexico.

oh wow! that's great! where were you from?

kerby82 commented 1 year ago

Yeah I only see speed and inclination.

I attach qz logs.

I do see speed and inclination working.

I don't see any data received in zwift even if is in theory connected to the wahoo kic debug-Sun_May_28_12_17_40_2023.log ker.

I see this in the logs dom. may. 28 12:18:36 2023 1685297916493 Debug: ../src/dirconprocessor.cpp bool DirconProcessor::sendCharacteristicNotification(quint16, const QByteArray &) "Wahoo KICKR 0000" sending to "::ffff:192.168.3.59" : 49851 notification for uuid = "2a63" rv= true "20 00 00 00 00 00 00 00" dom. may. 28 12:18:36 2023 1685297916493 Debug: ../src/dirconprocessor.cpp bool DirconProcessor::sendCharacteristicNotification(quint16, const QByteArray &) "Wahoo KICKR 0000" sending to "::ffff:192.168.3.59" : 49851 notification for uuid = "2a37" rv= true "00 00" dom. may. 28 12:18:36 2023 1685297916494 Debug: ../src/dirconprocessor.cpp bool DirconProcessor::sendCharacteristicNotification(quint16, const QByteArray &) "Wahoo KICKR 0000" sending to "::ffff:192.168.3.59" : 49851 notification for uuid = "2a5b" rv= true "02 00 00 00 00" dom. may. 28 12:18:36 2023 1685297916494 Debug: ../src/dirconprocessor.cpp bool DirconProcessor::sendCharacteristicNotification(quint16, const QByteArray &) "Wahoo KICKR 0000" sending to "::ffff:192.168.3.59" : 49851 notification for uuid = "2acc" rv= true "83 14 00 00 0c e0 00 00" dom. may. 28 12:18:36 2023 1685297916494 Debug: ../src/dirconprocessor.cpp bool DirconProcessor::sendCharacteristicNotification(quint16, const QByteArray &) "Wahoo KICKR 0000" sending to "::ffff:192.168.3.59" : 49851 notification for uuid = "2ad9" rv= true "80 11 01" dom. may. 28 12:18:36 2023 1685297916495 Debug: ../src/virtualbike.cpp void virtualbike::bikeProvider() "bikeProvider" 1685297910302 1685297912302 false dom. may. 28 12:18:36 2023 1685297916495 Debug: ../src/virtualbike.cpp void virtualbike::bikeProvider() "virtual bike connected" dom. may. 28 12:18:36 2023 1685297916495 Debug: ../src/virtualbike.cpp void virtualbike::writeCharacteristic(QLowEnergyService *, const QLowEnergyCharacteristic &, const QByteArray &) "virtualbike::writeCharacteristic Unknown Service 64 02 d0 04 00 00 00 00 00 00 00 00" dom. may. 28 12:18:36 2023 1685297916496 Debug: Write server characteristic with handle 9 "6402d0040000000000000000" (service: "{00001826-0000-1000-8000-00805f9b34fb}" dom. may. 28 12:18:36 2023 1685297916496 Debug: ../src/virtualbike.cpp void virtualbike::writeCharacteristic(QLowEnergyService *, const QLowEnergyCharacteristic &, const QByteArray &) "virtualbike::writeCharacteristic Heart Rate Heart Rate Measurement 00 00" dom. may. 28 12:18:36 2023 1685297916496 Debug: Write server characteristic with handle 19 "0000" (service: "{0000180d-0000-1000-8000-00805f9b34fb}"

So I guess data are sent.

Is there any issue of compatibility if I'm using and android phone for the QZ app and an Ipad for the zwift?

I'm from Rome but I relocated in Mexico 9 years ago.

I am a software engineer working for an USA company.

cagnulein commented 1 year ago

the problem is that in the previous apk wattage is not present. zwift wants wattage. use the latest apk and you should be fine! Let me know!

kerby82 commented 1 year ago

Where can I download the latest?

cagnulein commented 1 year ago

here https://github.com/cagnulein/QZCompanionNordictrackTreadmill/releases/tag/3.2.28

kerby82 commented 1 year ago

16853009861284966485084806068242

Mmm not working with the latest output is the same

I am using s22i with latest

cagnulein commented 1 year ago

no you have to use the c1750. i did the patch for the c1750 profile

let me know

kerby82 commented 1 year ago

Yeah now I see wattage and everything but swift is not seeing the wahoo kicker 😭

cagnulein commented 1 year ago

ok that's great! for the kickr how is your setup? qz on android and zwift where?

Il giorno dom 28 mag 2023 alle 21:24 Andrea @.***> ha scritto:

Yeah now I see wattage and everything but swift is not seeing the wahoo kicker 😭

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

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

kerby82 commented 1 year ago

zwift on IPAD. But before it was at least syncing I could see it in zwift now no.

Attaching the debug debug-Sun_May_28_13_25_03_2023.log

cagnulein commented 1 year ago

from the log everything is working great. did you try to restart both phone and ipad? did you try to run zwift on the same android device enabling the android notification icon settings in the experimental setting and restarting qz? i'm going to bed now, i can help you again tomorrow let me know

Il giorno dom 28 mag 2023 alle 21:32 Andrea @.***> ha scritto:

zwift on IPAD. But before it was at least syncing I could see it in zwift now no.

Attaching the debug debug-Sun_May_28_13_25_03_2023.log https://github.com/cagnulein/QZCompanionNordictrackTreadmill/files/11585512/debug-Sun_May_28_13_25_03_2023.log

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

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

kerby82 commented 1 year ago

After restarting the iPad everything works 🥳 thanks a lot for your support

cagnulein commented 1 year ago

because it's how zwift works, zwift recalculates speed based on your power and the variables in the game!

Il giorno dom 28 mag 2023 alle 21:57 Andrea @.***> ha scritto:

After restarting the iPad everything works. The only problem now is that the speed differs from the qz. Like i am 30km/h on qz and 20 on Swift 🤷 for now it's fantastic thanks

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

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

kerby82 commented 1 year ago

Yeah makes sense. Thanks for helping me. This was the best support ever!

cagnulein commented 1 year ago

please rate the app on the store, it means a lot to me! thanks!