cagnulein / qdomyos-zwift

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

[BUG]Cannot connect to Kinomap from TDF 5.0/QZ #2738

Open HEKA-LFC opened 2 weeks ago

HEKA-LFC commented 2 weeks ago

Describe the bug My TDF 5.0 connects perfectly to QZ and one time I have also succeeded connecting to Kinomap with full control of inclination, resistance etc.

That it no longer possible. I attach debug report from Qz.

To Reproduce

I attach debug report from Qz.

Expected behavior Kinomap cannot find my equipment when choosing Biketrainer/FTMS…. Kinomap states ‘No peripherals detected’

Screenshots Attached IMG_3309 IMG_3308

Desktop (please complete the following information):

Append a debug log Attached debug-Tue_Nov_5_06_51_09_2024.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

cagnulein commented 2 weeks ago

Hi @HEKA-LFC you disabled the virtual device in the experimental settings, that's why. Enable it and restart qz and it will work

HEKA-LFC commented 2 weeks ago

OMG - is it that simple - sorry for bothering you with that. I'll try tonight and let you know.

Have a great day.

Den tirs. 5. nov. 2024 kl. 07.47 skrev Roberto Viola < @.***>:

Hi @HEKA-LFC https://github.com/HEKA-LFC you disabled the virtual device in the experimental settings, that's why. Enable it and restart qz and it will work

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

cagnulein commented 2 weeks ago

let me know!

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

Il giorno mar 5 nov 2024 alle 08:49 HEKA-LFC @.***> ha scritto:

OMG - is it that simple - sorry for bothering you with that. I'll try
tonight and let you know.

Have a great day.

Den tirs. 5. nov. 2024 kl. 07.47 skrev Roberto Viola <
@.>:

> Hi @HEKA-LFC <https://github.com/HEKA-LFC&gt; you disabled the virtual
> device in the experimental settings, that's why. Enable it and restart qz
> and it will work
>
> —
> Reply to this email directly, view it on GitHub
> < https://github.com/cagnulein/qdomyos-zwift/issues/2738#issuecomment-2456368575&gt;,
> or unsubscribe
> < https://github.com/notifications/unsubscribe-auth/BMVPS7AALABWRQDBNEQ7FGLZ7BSY7AVCNFSM6AAAAABRFZILW6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINJWGM3DQNJXGU&gt;
> .
> You are receiving this because you were mentioned.Message ID:
>
@.>
>

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

HEKA-LFC commented 2 weeks ago

Kinomap connected with the ‘Enable Vitual Device’. However, also had to enable ‘Vitual Device Bluetooth’, ‘Relaxed Bluetooth for mad devices’ and ‘Bluetooth hangs after 30m’.

With those enabled, Kinomap receives most data from QZ/TDF5.0, however it does not control inclination and resistance, which it did back in July, when I tested it the first time.

Any good ideas? Best /Henrik

cagnulein commented 2 weeks ago

Did you connect as ftms in kinomap? If so send me a fresh debug log

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

Il giorno mar 5 nov 2024 alle 19:02 HEKA-LFC @.***> ha scritto:

Kinomap connected with the ‘Enable Vitual Device’. However, also had to enable ‘Vitual Device Bluetooth’, ‘Relaxed Bluetooth for mad devices’ and ‘Bluetooth hangs after 30m’.

With those enabled, Kinomap receives most data from QZ/TDF5.0, however it does not control inclination and resistance, which it did back in July, when I tested it the first time.

Any good ideas? Best /Henrik

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

cagnulein commented 2 weeks ago

Solved?

HEKA-LFC commented 2 weeks ago

Not yet!

Den tirs. 5. nov. 2024 kl. 19.35 skrev Roberto Viola < @.***>:

Solved?

— Reply to this email directly, view it on GitHub https://github.com/cagnulein/qdomyos-zwift/issues/2738#issuecomment-2457897820, or unsubscribe https://github.com/notifications/unsubscribe-auth/BMVPS7BQ6Q5ZGEKWO76PZYDZ7EFXNAVCNFSM6AAAAABRFZILW6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINJXHA4TOOBSGA . You are receiving this because you modified the open/close state.Message ID: @.***>

HEKA-LFC commented 2 weeks ago

Hi Roberto,

Here is a fresh debug log, attached. Also a few photos from Kinomap during the test-workout.

Still no resistance nor inclination. In addition the speed is totally meshed up, however less important as the watt is transferred from TDF5/QZ. debug-Tue_Nov_5_19_54_57_2024.log IMG_3316 IMG_3315

cagnulein commented 2 weeks ago

I don't see any message from kinomap. Are you sure you selected ftms bike on kinomap and also as controllable?

HEKA-LFC commented 2 weeks ago

Yes, Kinomap is configured as FTMS. Not sure what you mean with controllable?

I have added a new debug file, and pictures from Kinomap and QZ. Hope you can find the issue. /Best Henrik IMG_3325 debug-Tue_Nov_5_23_35_02_2024.log IMG_3317 IMG_3318 IMG_3319 IMG_3320 IMG_3321 IMG_3322 IMG_3323 IMG_3324

cagnulein commented 2 weeks ago

@HEKA-LFC i would like to send you a new beta because I guess I found the issue. With the new beta there is not a fix yet but I'm collecting the information required to solve it. send me an email to roberto.viola83 at gmail.com indicating this ticket. Thanks

HEKA-LFC commented 2 weeks ago

Hi Roberto,

Attached latest debug log using Testflight. Also a few photos from Kinomap/TDF5.0/Testflight

The Kinomap UI looked a bit different from yesterday, as it now had other participants to compare. However, still no auto-controlled resistance nor inclination and speed it crazy🤪

debug-Wed_Nov_6_07_25_59_2024.log IMG_3328 IMG_3327 IMG_3326

cagnulein commented 2 weeks ago

i just tried a kinomap session on my end and it works great, but indeed I see the issue on your log. I'm adding more logs to understand the issue deeply.

Thanks

HEKA-LFC commented 2 weeks ago

Could it be that those iFit guys still are controlling something on the TDF tablet - sorry for conspiring, but have had so many bad experiences with iFit. This morning, I suddenly had a login button and all settings i.e. gear, time zone etc. had to be reconfigured.

cagnulein commented 2 weeks ago

no it's not about this, in your setup the issue is what kinomap sending. I'm sending you another one, please collect again a debug log. We are near. Thanks

HEKA-LFC commented 2 weeks ago

Hi again,

Tried the new TestFlight, however no changes seems to have happened. debug-Wed_Nov_6_20_00_00_2024.log IMG_3329 IMG_3330 IMG_3331 IMG_3332

cagnulein commented 2 weeks ago

Yes I didn't solve anything I just added new log, let me check

cagnulein commented 2 weeks ago

In this log I can't see any inclination from kinomap, but on the last log I saw it. Maybe you selected a different workout? Can you please try again?

HEKA-LFC commented 2 weeks ago

I did another one, however still not working as it should. P debug-Wed_Nov_6_22_53_52_2024.log lease see attached.

cagnulein commented 2 weeks ago

Ok this log is fine, now I can check this

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

Il giorno mer 6 nov 2024 alle 23:06 HEKA-LFC @.***> ha scritto:

I did another one, however still not working as it should. P debug-Wed_Nov_6_22_53_52_2024.log https://github.com/user-attachments/files/17653560/debug-Wed_Nov_6_22_53_52_2024.log lease see attached.

— Reply to this email directly, view it on GitHub https://github.com/cagnulein/qdomyos-zwift/issues/2738#issuecomment-2460876866, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAALYWFE7MB2QVVTXFG6NLLZ7KHGVAVCNFSM6AAAAABRFZILW6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINRQHA3TMOBWGY . You are receiving this because you modified the open/close state.Message ID: @.***>

cagnulein commented 2 weeks ago

I found finally your issue You have "Ant+ Bike Over Garmin Watch" enabled on the ant+ setting in qz! disable it and restart QZ

Let me know!

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

Il giorno gio 7 nov 2024 alle ore 07:09 cagnulein @.***> ha scritto:

Ok this log is fine, now I can check this

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

Il giorno mer 6 nov 2024 alle 23:06 HEKA-LFC @.***> ha scritto:

I did another one, however still not working as it should. P debug-Wed_Nov_6_22_53_52_2024.log https://github.com/user-attachments/files/17653560/debug-Wed_Nov_6_22_53_52_2024.log lease see attached.

— Reply to this email directly, view it on GitHub https://github.com/cagnulein/qdomyos-zwift/issues/2738#issuecomment-2460876866, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAALYWFE7MB2QVVTXFG6NLLZ7KHGVAVCNFSM6AAAAABRFZILW6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINRQHA3TMOBWGY . You are receiving this because you modified the open/close state.Message ID: @.***>

HEKA-LFC commented 2 weeks ago

Hi there,

That helped - now inclination/resistance works🙏 However, now Kinomap starts out and adjust i.e. inclination, though shortly after miss connection to QZ/TDF. Attached debug file.

I’m really sorry for being so troublesome. debug-Thu_Nov_7_22_08_46_2024.log IMG_3342

cagnulein commented 2 weeks ago

this seems a kinomap bug, i will try myself too on kinomap and I will check this. I will be able to do this in the next days hopefully Is is deterministic?

cagnulein commented 2 weeks ago

Just tested with qz on my iPhone and Kinomap on my iPad and works beautifully. Maybe it was just a kinomap glitch? Did you try it again?

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

Il giorno gio 7 nov 2024 alle 22:19 HEKA-LFC @.***> ha scritto:

Hi there,

That helped - now inclination/resistance works🙏 However, now Kinomap starts out and adjust i.e. inclination, though shortly after miss connection to QZ/TDF. Attached debug file.

I’m really sorry for being so troublesome. debug-Thu_Nov_7_22_08_46_2024.log https://github.com/user-attachments/files/17669545/debug-Thu_Nov_7_22_08_46_2024.log IMG_3342.jpeg (view on web) https://github.com/user-attachments/assets/c29fa9d2-5769-4f7a-84af-a50f8e590507

— Reply to this email directly, view it on GitHub https://github.com/cagnulein/qdomyos-zwift/issues/2738#issuecomment-2463233697, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAALYWCP55RTBIAWL2CMVHDZ7PKMJAVCNFSM6AAAAABRFZILW6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINRTGIZTGNRZG4 . You are receiving this because you modified the open/close state.Message ID: @.***>

HEKA-LFC commented 2 weeks ago

Unfortunately, it does not seem to be a glitch. Still same issue. TDF/QZ connects to Kinomap and Kinomap adjust the inclination at start, then disconnect.

Attached latest debug log debug-Fri_Nov_8_21_14_12_2024.log

cagnulein commented 2 weeks ago

After when you see the disconnection from the first inclination change?

cagnulein commented 2 weeks ago

I did a 3 minute workout without issue before

HEKA-LFC commented 2 weeks ago

Give and take, 3 seconds after inclination change I loose connection

cagnulein commented 2 weeks ago

I will try again in the next days, it could take awhile bevause I'm having terrible days at work

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

Il giorno ven 8 nov 2024 alle 21:43 HEKA-LFC @.***> ha scritto:

Give and take, 3 seconds after inclination change I loose connection

— Reply to this email directly, view it on GitHub https://github.com/cagnulein/qdomyos-zwift/issues/2738#issuecomment-2465716440, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAALYWDSEW2BHJPJRVXNLYDZ7UO55AVCNFSM6AAAAABRFZILW6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINRVG4YTMNBUGA . You are receiving this because you modified the open/close state.Message ID: @.***>

HEKA-LFC commented 2 weeks ago

No stress - take it easy. I'm just happy if you can figure it at some point.

Thanks

cagnulein commented 1 week ago

I tried again with my setup and it's working

https://github.com/user-attachments/assets/e67f05ea-3159-44ab-88cb-c4643ddb5284

Did you try to swap the devices? Qz on ipad and kinomap on phone just to check it?

HEKA-LFC commented 6 days ago

Have been away for some time, but now I tried swapping devices, meaning QZ on iPad and Kinomap on iPhone. Result, everything worked smoothly.

Any idea, what's wrong on the opporsite setup?

cagnulein commented 6 days ago

We should ask this question to kinomap actually. I really don't know :(

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

Il giorno lun 18 nov 2024 alle 21:40 HEKA-LFC @.***> ha scritto:

Have been away for some time, but now I tried swapping devices, meaning QZ on iPad and Kinomap on iPhone. Result, everything worked smoothly.

Any idea, what's wrong on the opporsite setup?

— Reply to this email directly, view it on GitHub https://github.com/cagnulein/qdomyos-zwift/issues/2738#issuecomment-2484085222, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAALYWES4N3NIPF455G5KQT2BJGFTAVCNFSM6AAAAABRFZILW6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIOBUGA4DKMRSGI . You are receiving this because you modified the open/close state.Message ID: @.***>

HEKA-LFC commented 6 days ago

I did try to copy all QZ from iPad to iPhone, however I did not change anything, still not working. Btw, I think the QZ, I run on the iPad it the Test version/Testflight - could that be the reason?

Can you recommend what to write to Kinomap? It is a bit annoying to have the Kinomap on my smallest device😫

cagnulein commented 6 days ago

Yes they can only fix them from my point of view qz is doing the same on both apps They can check on the server side but last time I contacted them they didn't answer at all unfortunately

Try and if you want put me in CC

HEKA-LFC commented 5 days ago

I have reach out to Kinomap on their support site. Could not add you into the loop, but will revert when I hear from them.

cagnulein commented 5 days ago

Ok, thanks for the update.

On Tue, Nov 19, 2024, 16:56 HEKA-LFC @.***> wrote:

I have reach out to Kinomap on their support site. Could not add you into the loop, but will revert when I hear from them.

— Reply to this email directly, view it on GitHub https://github.com/cagnulein/qdomyos-zwift/issues/2738#issuecomment-2486105992, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAALYWF5IVFDF5SQKRTCW7L2BNNUXAVCNFSM6AAAAABRFZILW6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIOBWGEYDKOJZGI . You are receiving this because you modified the open/close state.Message ID: @.***>