Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Several Issues Using QZ with Rouvy and Zwift Play Controllers #2541

Closed
SoCalKen99 opened this issue Aug 26, 2024 · 458 comments · Fixed by #2757
Closed

Several Issues Using QZ with Rouvy and Zwift Play Controllers #2541

SoCalKen99 opened this issue Aug 26, 2024 · 458 comments · Fixed by #2757
Assignees
Labels
bug Something isn't working
Milestone

Comments

@SoCalKen99
Copy link

Shift up/down buttons on Zwift Play controllers don't seem to be recognized - no change to Gears panel display or trainer resistance. Also, speed displayed on QZ is 1/2 speed displayed on Rouvy screen and the odometer reading is also about 1/2 what is displayed on the Rouvy screen.

Steps to reproduce the behavior:

  1. Power up the KICKR Core trainer and Zwift Play controllers
  2. Start the QZ app. Settings already updated per the Zwift Play instruction video.
  3. Start the Rouvy app and pair to the QZ devices.
  4. Start ride, attempt to use Zwift Play controllers to perform virtual shifting. Note that Gears panel doesn't update nor does trainer resistance change (although it does change when Gear panel + / - controls used to alter gear).

Expected behavior
Expected buttons on Zwift Play controllers (same buttons that Zwift uses to perform virtual shifting) to cause Gears panel number display to increment / decrement as buttons are pressed and trainer resistance to change accordingly. Also, expect QZ statistics for speed and distance to match those displayed by Rouvy.

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: Windows
  • Version 10

Smartphone (please complete the following information):

  • Device: iPhone11
  • OS: iOS
  • Version 17.5.1

Append a debug log
debug-Mon_Aug_26_11_20_41_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

Additional context
Add any other context about the problem here.

@SoCalKen99 SoCalKen99 added the bug Something isn't working label Aug 26, 2024
@cagnulein
Copy link
Owner

cagnulein commented Aug 26, 2024 via email

@SoCalKen99
Copy link
Author

Note that I've also experienced slow response times between changing the gear in the gears panel and the trainer resistance actually changing - sometimes as long as several seconds. I've also experienced a case where QZ apparently stopped controlling the resistance of the trainer, as changing the Gears panel (+/- 30) has no effect on resistance.

@cagnulein
Copy link
Owner

cagnulein commented Aug 26, 2024 via email

@cagnulein
Copy link
Owner

Note that I've also experienced slow response times between changing the gear in the gears panel and the trainer resistance actually changing - sometimes as long as several seconds. I've also experienced a case where QZ apparently stopped controlling the resistance of the trainer, as changing the Gears panel (+/- 30) has no effect on resistance.

Is this delay present also on this log?

@SoCalKen99
Copy link
Author

SoCalKen99 commented Aug 26, 2024 via email

@SoCalKen99
Copy link
Author

SoCalKen99 commented Aug 26, 2024 via email

@cagnulein
Copy link
Owner

Yes please

@SoCalKen99
Copy link
Author

SoCalKen99 commented Aug 26, 2024 via email

@cagnulein
Copy link
Owner

They are both fixable. Could you please upload a debug log showing the issues?

I'm going to bed now, 11pm here

Have a nice evening!

@SoCalKen99
Copy link
Author

SoCalKen99 commented Aug 26, 2024 via email

@cagnulein
Copy link
Owner

@SoCalKen99 you have to attach the log from the github web interface otherwise I can't see it. Thanks!

@cagnulein
Copy link
Owner

good news for the delay, it's already fixed here #2458
send me an email to roberto.viola83 at gmail.com indicating this ticket and if you are on android or iOS so I will send you the newest one!

@SoCalKen99
Copy link
Author

Roberto - sorry about that - here is the log.

debug-Mon_Aug_26_13_20_59_2024.log

@cagnulein
Copy link
Owner

thanks @SoCalKen99 did you received the new version? in that one you will have

  1. delay removed from the virtual gearing
  2. new setting in the zwift device section in the qz settings, to inhibit the button debouncing

about the fact to reverse the left with the right I need to add a new settings, but it's not a problem, i can do this.
Let's see first if you are ok with these 2 points above

@SoCalKen99
Copy link
Author

SoCalKen99 commented Aug 27, 2024 via email

@cagnulein
Copy link
Owner

cagnulein commented Aug 27, 2024 via email

@SoCalKen99
Copy link
Author

SoCalKen99 commented Aug 27, 2024 via email

@cagnulein
Copy link
Owner

cagnulein commented Aug 27, 2024 via email

@SoCalKen99
Copy link
Author

I attempted to test the new version. I no longer see QZ in the list of available devices to pair to for trainer devices. I tried both Zwift and Rouvy. QZ does pair to the KICKR Core and the Zwift Play controllers. I've attached a log.

debug-Wed_Aug_28_10_00_46_2024.log

@cagnulein
Copy link
Owner

you disable the virtual device in the experimental settings, that's the reason. enable and it will come back again ;)

@SoCalKen99
Copy link
Author

I tested the new version. Big improvement! Thanks for that. Other than the buttons being reversed from the Zwift "norm", I see only one remaining issue:

There is still a considerable lag between pressing the Gear +/- button and the trainer resistance change. In the log I've attached, I experienced lags in the order of 5-10 seconds.

I also wanted to ask about the Gear gain setting. I'm used to using the Zwift Play controllers with Zwift, where an increase of +/- 1 (one press on either virtual shift button) causes a noticeable trainer resistance change. In your implementation, should I expect a similar level of trainer resistance change with a +/- 1 virtual gear setting?

debug-Thu_Aug_29_12_35_17_2024.log

@cagnulein
Copy link
Owner

Hi @SoCalKen99 i checked the log and the gears is applying with a max delay of 200 milliseconds. I guess the problem that you are experiencing about the lags it's about the gain. Probably the 0.5 gain that you set is not high enough to feel the difference. I suggest to set a gain of 3.0 for example, so you will immediately feel it.

Also, if you want, i can also import the gears table of zwift
Screenshot 2024-08-30 at 08 29 40

zwift i guess uses a multiplier, instead i'm applying a constant offset.

Anyway let me know if with the gain of 3 you can feel immediately the mod, if so, then, it's just math.

Let's fix this and then i will also add a new setting to swap the controller.
Also I just order a zwift play for myself, to debug all of these :)

@Citizenyolo
Copy link

Hi Roberto,

How are you? You may remember our earlier conversation on issue #2458 :

Just to chip in this conversation. Are you saying that you can align the virtual gear shifting in QZ to the same gear ratios as the table you shared above with 24 zwift gears? It'd be awesome, let me know if you need to help with testing. I have a Zwift Ride with all latest firmware installed.

If you have any newer build since we discussed in issue #2458 appreciate if I can share with me too. On testflight i can see V2.16 (836). Btw with this version on my Ziwft Play I have right click shifting up and left click shifting down.

@cagnulein
Copy link
Owner

Hi Roberto,

How are you? You may remember our earlier conversation on issue #2458 :

Just to chip in this conversation. Are you saying that you can align the virtual gear shifting in QZ to the same gear ratios as the table you shared above with 24 zwift gears? It'd be awesome, let me know if you need to help with testing. I have a Zwift Ride with all latest firmware installed.

sure it's just math, i will do in the next weeks

If you have any newer build since we discussed in issue #2458 appreciate if I can share with me too. On testflight i can see V2.16 (836). Btw with this version on my Ziwft Play I have right click shifting up and left click shifting down.

sure i'm sending it

@SoCalKen99
Copy link
Author

Roberto,

I modified my Gears gain to 3, which improved things a bit, as I don't have to press the shift buttons as many times. It still doesn't feel as responsive as the virtual shifting in Zwift - perhaps the gear ratios you mentioned would be required to achieve that.

A setting to reverse the gear up/down functionality to align with Zwift would be convenient, as I find myself shifting the wrong way often, as I've been using virtual shifting on Zwift for quite some time now and it's become muscle memory.

One other thing I wanted to inquire about. With Rouvy, when it tries to pair with QZ, it doesn't auto-pair with the previous Bluetooth connection it remembered for QZ. I have to manually re-pair Rouvy to QZ each time I run Rouvy, as there are two QZ entries in the device list (the current instance and the previous instance). Is there any way that this could be corrected so that Rouvy sees the same Bluetooth connection from QZ every time?

@cagnulein
Copy link
Owner

Roberto,

I modified my Gears gain to 3, which improved things a bit, as I don't have to press the shift buttons as many times. It still doesn't feel as responsive as the virtual shifting in Zwift - perhaps the gear ratios you mentioned would be required to achieve that.

You can also try to increase it. The "3" number it was just a guess. Anyway ok I'm adding also the zwift table

A setting to reverse the gear up/down functionality to align with Zwift would be convenient, as I find myself shifting the wrong way often, as I've been using virtual shifting on Zwift for quite some time now and it's become muscle memory.

OK I will add it

One other thing I wanted to inquire about. With Rouvy, when it tries to pair with QZ, it doesn't auto-pair with the previous Bluetooth connection it remembered for QZ. I have to manually re-pair Rouvy to QZ each time I run Rouvy, as there are two QZ entries in the device list (the current instance and the previous instance). Is there any way that this could be corrected so that Rouvy sees the same Bluetooth connection from QZ every time?

This is a rouvy issue with mobile devices, you have to ask to their support to fix it unfortunately

@cagnulein
Copy link
Owner

thanks for the detailed feedback @RainerSaemann
i'm sending you one more version with a deeper log, i guess i got it, but before doing an active patch, i would like to collect one more information. with this i guess i should be able to do a perfect solution.
Create me a debug log also with this one and then I can create a patch!
Thanks!

@RainerSaemann
Copy link

RainerSaemann commented Dec 24, 2024 via email

@RainerSaemann
Copy link

Hello Roberto,

I did a ride and only catched one time the issue.

It is at the time 14:48-14:50
debug-Di__Dez__24_14_23_43_2024.zip

My wife also did a ride - she told me that she didb't recognized this issue that time - I also attach the log of her ride and add a __2 at the end of the filename.
debug-Di__Dez__24_12_38_52_2024__2.zip

@cagnulein
Copy link
Owner

cagnulein commented Dec 24, 2024 via email

@cagnulein
Copy link
Owner

My wife also did a ride - she told me that she didb't recognized this issue that time - I also attach the log of her ride and add a __2 at the end of the filename.
debug-Di__Dez__24_12_38_52_2024__2.zip

actually there is also the same issue on 13:56:06 for your wife :) let me try to create a patch that covers everything

@cagnulein
Copy link
Owner

@RainerSaemann new version sent, let's see if it will be the one

@RainerSaemann
Copy link

RainerSaemann commented Dec 25, 2024 via email

@RainerSaemann
Copy link

@cagnulein - I did a ride today.

  • The characteristic of shifting was great - fast response.
  • It seems I have the issue at 9:59-10:03 and also at about 10:56-10:59.

Inbetween at about 10:31 it stucks at gear 24 but I recognized, that I switched off the Zwift controller accidentally (I put the towel somehow strange on it) so please ignore this part. Rest of the time all worked really perfect - I'm doing additional rides the next days so I will keep tracking.

debug-Do__Dez__26_09_54_08_2024.zip

@cagnulein
Copy link
Owner

cagnulein commented Dec 26, 2024 via email

@cagnulein
Copy link
Owner

  • It seems I have the issue at 9:59-10:03 and also at about 10:56-10:59.

@RainerSaemann just to understand: in these cases, the gearing is repating only twice instead of forever of the previous builds, right? if so I got the issue (i have only to calibrate the timeout a bit lower, 400ms instead of 500ms)

Let me know

@RainerSaemann
Copy link

@cagnulein - yes, here it was not automatic shifting for a lot of gears, it was somehow a strange shifting, with up and downs but afterwards all was fine again.

@cagnulein
Copy link
Owner

perfect, i'm a sending a new one with a smaller timeout @RainerSaemann it should be perfect then

@RainerSaemann
Copy link

RainerSaemann commented Dec 26, 2024 via email

@Citizenyolo
Copy link

thanks @Citizenyolo yes you have the zwift gear experimental enabled in the accessories, zwift options as @Lanmarcin has. so i suggest @Lanmarcin to try to customize the gears too and in case to restart the zwift hub.

  1. Haptic feedback (2) the other buttons are not functional.

@Citizenyolo you can have it if you pair the zwift play directly in zwift using the Get Gears from Zwift: ON (of course this is true only on zwift for the moment)

Hi Roberto,

I tried this (even followed the video you made on this back in october) but for some reason when I do that zwift play only works on shifting up and not down. I tried many times, restarting the apps etc but no luck.

I saw in your video that you connected your iphone as resistance but this option does not pop up for me only Wahoo KICKR 0000 33.
Also I'm not sure if I should disable the FTMS in the Bike settings, leaving it on "Kickr CORE 3c10" is needed for everything else (mywhoosh, TPV etc) but may not work with zwift. If not, what do I choose where: Disable, Zwift Ride etc??

I have attahced the log file:

debug-Tue_Dec_24_19_26_42_2024.log

IMG_0121

Thanks for looking into it when you have a moment.

Cheers
Zoltan

@cagnulein
Copy link
Owner

@Citizenyolo the problem is that you didn't pair qz as resistance indeed.

Did you have virtual Bluetooth device in the experimental settings enabled? Where zwift runs? Where qz runs?

@RainerSaemann
Copy link

Hello @cagnulein,

New day new ride. I guess this one is the P.E.R.F.E.C.T one !!!

I didn't regognize any strange shifting also the characteristic of the shifting is perfect, fast and precice response.

Maybe there was one or two times that it shifted by 2 (10:10-10:11 and somewhere near at the end, I didn't catch the time). But maybe it was a strange handling ba myself and even if it happens like this, it is not worth to do any changes).

I attach the log again - but as mentioned don't spend any time to change.
I will track it also the next days but really cool now.

Thank you again Roberto for the great and very fast support, response and effort you spent all the time.

debug-Fr__Dez__27_09_34_59_2024.zip

@cagnulein
Copy link
Owner

amazing @RainerSaemann let me know if you will have any other issues!

@cagnulein
Copy link
Owner

good news! i handled tactile feedback for zwift play controllers!

@RainerSaemann
Copy link

RainerSaemann commented Dec 28, 2024 via email

@cagnulein
Copy link
Owner

QZ it's my second baby :)

@Citizenyolo
Copy link

good news! i handled tactile feedback for zwift play controllers!

Great news Roberto, thanks for all the hard work you put into this!
Is it coming out in the next build or I missed some setting I need to turn on?

@cagnulein
Copy link
Owner

@Citizenyolo just sent to you as well!

@Citizenyolo
Copy link

@Citizenyolo just sent to you as well!

Thanks!

@RainerSaemann
Copy link

@cagnulein - Yes I know

@RainerSaemann
Copy link

Hello Roberto, I did a rough testride (really short) to feel the feedback - it is really cool and worked well. Thank you for this feature.

@cagnulein
Copy link
Owner

anyone here has a zwift ride? if so could you please check this #2999 ?

@Citizenyolo
Copy link

Citizenyolo commented Jan 8, 2025

Hi Roberto,

Today I tried to use Zwift with QZ with the "get gears from zwift" enabled in order to use the gear ratios in zwift as set up in QZ but have the same problem I had earlier. I can ONLY shift UP (with the button on the right side on my Zwift Ride) and CANNOT shift DOWN.

I set up the same way as you showed in your YT Video:

IMG_0151

Can you pls check my debug file if you see anything causing this problem?

debug-Wed_Jan_8_14_21_40_2025.log

Thank You!

@cagnulein
Copy link
Owner

cagnulein commented Jan 8, 2025

@Citizenyolo yeah the issue is that you left also the zwift play setting in the accessories options in qz enabled. it must be disabled so you can pair bothzwift ride controllers in zwift

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

15 participants