cagnulein / qdomyos-zwift

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

Debug log using qdomyos on a proform Tour de France 10.0 bike #877

Closed henryvandevorst closed 1 year ago

henryvandevorst commented 1 year ago

Hi,

As requested on facebook, I post the debug log of connecting qdomyos (running on Apple iPhone 12pro with iOs 15.1) to my Proform Tour de France 10.0 bike.

Best regards, Henry debug-zo_jul__31_14_54_46_2022.log

cagnulein commented 1 year ago

@victorypoint no, it shouldn't. what doesn't work on qz on android? do you have a debug log?

victorypoint commented 1 year ago

@cagnulein, QZ Android does not connect and no live tiles. Log attached:

debug-Thu_Aug_25_12_09_35_2022.log

victorypoint commented 1 year ago

@victorypoint no, it shouldn't. what doesn't work on qz on android? do you have a debug log?

@cagnulein, many apologies. I should have rebooted my phone first before reporting this. QZ Android works fine. So sorry.

cagnulein commented 1 year ago

no problem at all @victorypoint thanks!

cagnulein commented 1 year ago

@henryvandevorst this is the right link https://github.com/cagnulein/qdomyos-zwift/suites/7976814604/artifacts/341299050

cagnulein commented 1 year ago

@henryvandevorst any news?

henryvandevorst commented 1 year ago

@cagnulein Not yet, have been busy with other things. Will try in the next few days.

henryvandevorst commented 1 year ago

@cagnulein There are a whole lot of files in the link you sent me, is that correct?

cagnulein commented 1 year ago

@henryvandevorst yes extract it and run the qdomyos-zwift.exe

henryvandevorst commented 1 year ago

@cagnulein Hi, tried to run it, but not getting a connection. I attached the logcat.txt.

logcat.txt

cagnulein commented 1 year ago

@henryvandevorst did you add the ip of your treadmill to the "TDF Companion IP:" setting in QZ and restarted it?

henryvandevorst commented 1 year ago

@cagnulein Yep. I also restarted the bike and restarted the app multiple times. The I restarted the app in debug mode. See attached log. debug-wo_aug_31_10_29_59_2022.log

cagnulein commented 1 year ago

@henryvandevorst hah yes you have to do another thing, do you have a bluetooth dongle on your pc? In order to start the process, QZ wants to see at least one bluetooth device nearby. Let me know, otherwise I will build the iOS version to make the process easier for you later today

henryvandevorst commented 1 year ago

@cagnulein Yes, I have a bluetooth dongle. I can connect my iphone or mouse to the pc.

cagnulein commented 1 year ago

@henryvandevorst ok so leave QZ open a minute or so with a bluetooth device nearby and you should see the tiles appear

henryvandevorst commented 1 year ago

@cagnulein Bluetooth on PC connected with a device "common" (not sure what this is, I suspect the bike). And I get the tiles. I add the debug log here. As far as I can see there were no results in the tile, but I don't know if that was the plan. (I cannot see the tiles while being on the bike). I added some images that were generated.

debug-wo_aug_31_11_33_06_2022.log wo aug 31 11_35_45 2022_cadenceChart wo aug 31 11_35_45 2022_heartChart wo aug 31 11_35_45 2022_powerChart wo aug 31 11_35_44 2022

cagnulein commented 1 year ago

@henryvandevorst great news! In the debug log I see the communcation between the companion and QZ! So now i have to figure out why you don't see the values on the tiles.

cagnulein commented 1 year ago

@henryvandevorst in the meantime are you sure you're using the version 2.1.0 of the companion https://github.com/cagnulein/QZCompanionNordictrackTreadmill/releases/download/2.1.0/QZCompanionNordictrackTreadmill.apk ? i see only speed and grade in the log, maybe it's because you have the version before this installed?

henryvandevorst commented 1 year ago

@cagnulein To be sure I donwloaded the latest version of QZCompanion and dit a short workout on the bike. See attached log. debug-wo_aug_31_12_00_31_2022.log

Also a .fit file is generated. I added it here with a .txt extension.

0QZ-backup-wo aug 31 12_00_38 2022.fit.txt

cagnulein commented 1 year ago

@henryvandevorst i don't see any connection to the companion here, maybe you need to turn on the companion after a reinstall? Anyway I fixed the tile issue, so let's wait the completion of the builiding process and we will try it back in a 10 minutes or so

henryvandevorst commented 1 year ago

@cagnulein It seems that reinstalling the Companion app also revoked it permissions. I think there is a connection now.

cagnulein commented 1 year ago

new build here for windows @henryvandevorst https://github.com/cagnulein/qdomyos-zwift/suites/8066754466/artifacts/347602854

henryvandevorst commented 1 year ago

@cagnulein Got results on screen also. Only inclination seems to be missing. Or is that shown as resistance? wo aug 31 13_26_38 2022_powerChart wo aug 31 13_26_36 2022

debug-wo_aug_31_13_20_36_2022.log wo aug 31 13_26_38 2022_cadenceChart wo aug 31 13_26_38 2022_heartChart

cagnulein commented 1 year ago

wow @henryvandevorst ! Ok i fixed also the inclination, it's building! Later today, I will build the iOS one so you can play with zwift :)

Then we have to play with the writing process of the inclination as we did for the #815 We have to understand if your tablet has the same limitation of the @victorypoint 's one

cagnulein commented 1 year ago

@henryvandevorst grade managed https://github.com/cagnulein/qdomyos-zwift/suites/8068455288/artifacts/347718643

henryvandevorst commented 1 year ago

@cagnulein Did a short workout. See results below:

debug-wo_aug_31_16_06_32_2022.log wo aug 31 16_08_49 2022_cadenceChart wo aug 31 16_08_49 2022_heartChart wo aug 31 16_08_49 2022_powerChart wo aug 31 16_08_47 2022

cagnulein commented 1 year ago

thanks @henryvandevorst everything is perfect from my side. I will build the ios version so you can also try with your mobile

cagnulein commented 1 year ago

sorry @henryvandevorst yesterday I was a little busy with my new baby, so I'm building it now ;)

cagnulein commented 1 year ago

@henryvandevorst send me an email to roberto.viola83 at gmail.com indicating this ticket and I will send you the beta, Thanks

stale[bot] commented 1 year 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 1 year ago

hi @henryvandevorst which is the status of this? it's everything ok?

henryvandevorst commented 1 year ago

Hi @cagnulein, due to a holiday I haven't been able to look into this. Hope to find some time next week!

cagnulein commented 1 year ago

@henryvandevorst No problem! I hope you had excellent vacations!

henryvandevorst commented 1 year ago

Hi @cagnulein, as you know I've been away for some time. What is the next step? Is there a new version of the IOS app?

cagnulein commented 1 year ago

yes @henryvandevorst I'm sending you know

cagnulein commented 1 year ago

@henryvandevorst could you please send me an email to roberto.viola83 at gmail.com indicating this ticket? I can't find your email anymore :)

henryvandevorst commented 1 year ago

Hi Robert,

My email is @. @.>

Best regards,

Henry

Van: Roberto Viola @.> Verzonden: vrijdag 30 september 2022 11:54 Aan: cagnulein/qdomyos-zwift @.> CC: henryvandevorst @.>; Mention @.> Onderwerp: Re: [cagnulein/qdomyos-zwift] Debug log using qdomyos on a proform Tour de France 10.0 bike (Issue #877)

@henryvandevorst https://github.com/henryvandevorst could you please send me an email to roberto.viola83 at gmail.com indicating this ticket? I can't find your email anymore :)

— Reply to this email directly, view it on GitHub https://github.com/cagnulein/qdomyos-zwift/issues/877#issuecomment-1263360425 , or unsubscribe https://github.com/notifications/unsubscribe-auth/ATNTR7MKWX5MVCAID6F5DUTWA22EJANCNFSM55E4UQYA . You are receiving this because you were mentioned. https://github.com/notifications/beacon/ATNTR7KUVDKOBFJXFAR3BZ3WA22EJA5CNFSM55E4UQYKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOJNGVTKI.gif Message ID: @. @.> >

cagnulein commented 1 year ago

@henryvandevorst you have to send me an email because github is filtering your email :)

stale[bot] commented 1 year 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 1 year ago

good bot, i have to manage the inclination

stale[bot] commented 1 year 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 1 year ago

A PR for this was done, let's see how it goes

stale[bot] commented 1 year 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 1 year ago

Thanks for the reminder

stale[bot] commented 1 year 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 1 year ago

@henryvandevorst we should be able to change the inclination now! i just need the coordinates of your tablet! are you still interested on this?

henryvandevorst commented 1 year ago

Hi Robert,Of course, just been very busy…Verstuurd vanaf mijn iPhoneOp 4 dec. 2022 om 18:10 heeft Roberto Viola @.***> het volgende geschreven: @henryvandevorst we should be able to change the inclination now! i just need the coordinates of your tablet! are you still interested on this?

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: @.***>

cagnulein commented 1 year ago

ok let me know when you will be ready to try @henryvandevorst ;)

henryvandevorst commented 1 year ago

Hi Robert, I recently used my bike with qdomyos. I will send the debug log, because it is to big. As far as I know inclination was ok.

cagnulein commented 1 year ago

hi @henryvandevorst you need to tell me the coordinates of your tablet like https://github.com/cagnulein/qdomyos-zwift/issues/1010#issuecomment-1327017754 Could you do this?