cagnulein / qdomyos-zwift

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

Cadence (spm) on Zwift Erratic and Inaccurate. #626

Closed brumohr closed 1 year ago

brumohr commented 2 years ago

Describe the bug Cadence in SPM is very erratic and inaccurate on Zwift particularly at running speeds above 5 kph. Below 5 kph Zwift begins to display accurate SPM. Note that cadence RPM on the QZ is always accurate and very stable.

To Reproduce Steps to reproduce the behavior:

  1. Create Meetup on Zwift
  2. Pair QZ as bike in Zwift; Join meetup; pair QZ to Zwift in run mode.
  3. Tap QZ Start/Pause to change from Pause to Start.
  4. Using Myrun speed paddle increase speed slowly to 5 kph while monitoring SPM on Zwift. SPM on Zwift increases and fairly stable.
  5. Increase run speed to 6 kph. SPM on Zwift drops down to near zero and becomes erratic reading below 50 spm. QZ cadence rpm is good.
  6. Decrease speed to below 5 kph and SPM on Zwift becomes accurate and somewhat stable again.

Expected behavior Zwift SPM should be stable and accurate throughout run speed range.

Desktop:

Smartphone:

Append a debug log debug-Thu_Jan_27_09_11_26_2022.log

brumohr commented 2 years ago

@brumohr Since you see the right value without qz we can work on this. What do you think?

Yes, definitely if you think something can be done. However, I must admit I am rather confused as to why QZ is reporting accurate and stable cadence when the Myrun feeding QZ that information drops out.

@cagnulein @brumohr Today i got an answer from TechnoGym about the cadence problem: Info from Technogym Italy , Cadence is displayed correctly up to 9 Km/h.

Let me know if you want this issue re-opened and I would be happy to help in any way I can.

brumohr commented 2 years ago

I have contacted Technogym regarding my inability to pair the Myrun to Zwift on PC running win11.

I haven't heard back from Technogym but I'm beginning to think my pairing problem is not Win11 but with Zwift. I am seeing the exact same problem trying to pair a Polar H9 HRM to zwift via BT as I see with the Myrun (and QZ). I do NOT have a problem BT pairing to zwift with any of my other devices.

cagnulein commented 2 years ago

yes leaving it open, i need time but we can figure this out. i'm, as always, overwhelmed by ticket :)

cagnulein commented 2 years ago

@brumohr did you tried, just for test purpose, to use another device instead of the PC with WIN11? For example your phone? I mean i would like to check if it's a different zwift implementation on Win11.

@CiccioFritz79 when you tried Win11, did you test this?

This thing really makes me crazy :) it's a very stupid issue, but i don't understand which is the cause :)

CiccioFritz79 commented 2 years ago

@cagnulein Sorry, Running PC is W10 Pro, i havn't never test Zwift on Windows 11, but if you want i can test with a notebook.

cagnulein commented 2 years ago

@cagnulein Sorry, Running PC is W10 Pro, i havn't never test Zwift on Windows 11, but if you want i can test with a notebook.

no, no problem. It was just a thought

brumohr commented 2 years ago

@brumohr did you tried, just for test purpose, to use another device instead of the PC with WIN11? For example your phone? I mean i would like to check if it's a different zwift implementation on Win11.

I will give this a try. I heard back from Technogym regarding my inquiry pertaining to Windows 11 compatibility. The tech sent me outdated instructions on how to update the Myrun firmware and pair to zwift which didn't help. My Myrun has always had latest f/w. The instructions referenced compatibility to windows 7! I pointed this out to the tech and he admitted that it was an old document. Then he told me he doesn't think they are Windows 11 compliant yet, and that Myrun is mainly intended for tablets, ie, iPad.

While this probably has nothing to do with the cadence issue, it probably has everything to do with my inability to pair the Myrun directly to zwift running on my PC Win11. MYRUN - ZWIFT integration - 15 02 2018.pdf .

brumohr commented 2 years ago

@brumohr did you tried, just for test purpose, to use another device instead of the PC with WIN11? For example your phone? I mean i would like to check if it's a different zwift implementation on Win11.

Test setup:

Results Test 1:

To confuse the issue even further, I ended that run and later set up a new meetup to retest but could not pair QZ (iPhone) to cadence as a Runner. QZ (iPhone) paired as normal as Power, Controllable, and Cadence as a bike. After joining the meetup I could not pair QZ to cadence as runner. Speed paired ok. I tried powering down everything starting from scratch but I am now unable to pair cadence as runner. The cadence pairing screen is blank and shows no pairing options. Subsequently, where you would normally see cadence in spm on Zwift I now see calories.

I noticed on my phone settings that Myrun is paired to the iPhone and the phone gives me no option to disconnect or ignore the Myrun bluetooth. I guess this is why when pairing QZ to Zwift I see only the option of iPhone, ie, not QZ on the Zwift pairing screens. I'm confused as usual 🤪

I will retest later starting from scratch again.

cagnulein commented 2 years ago

@brumohr i guess you should open a ticket with zwift so, they have a bug on windows 11 for sure at this point !

so i guess we can safely close this ticket :)

brumohr commented 2 years ago

Roberto - I just edited the test post so read it on GitHub before closing

brumohr commented 2 years ago

@brumohr i guess you should open a ticket with zwift so, they have a bug on windows 11 for sure at this point !

so i guess we can safely close this ticket :)

Test 2 setup:

Results Test 2:

cagnulein commented 2 years ago

@brumohr I didn't check yet your messages, I just want to let you know that today I tried my set up involving iPhone Apple Watch and iPad for zwift and cadence was perfect

brumohr commented 2 years ago

@brumohr I didn't check yet your messages, I just want to let you know that today I tried my set up involving iPhone Apple Watch and iPad for zwift and cadence was perfect

Was it on a Myrun?

cagnulein commented 2 years ago

@brumohr no of course, i have a domyos one :)

brumohr commented 2 years ago

@brumohr no of course, i have a domyos one :)

I have an open support ticket with Technogym. I really believe that my problems are a combination of issues having to do with the Myrun pairing, and with Zwift having pairing problems since they made the "improvements". The tech at Technogym USA has escalated the Myrun pairing problems to engineering in Italy...

cagnulein commented 2 years ago

...and then waiting for the chinese engineers :D

brumohr commented 2 years ago

...and then waiting for the chinese engineers :D

Ouch!!

So I have been working with a tech from NPE to solve BT pairing problem on Win11 using their Runn. He suggested I use ZCA pairing in Zwift pairing screen rather than Internal BT source. Guess what? Fixed my pairing problem with Runn BT to Zwift on Win11. So I tried using the ZCA to bridge the Myrun directly to Zwift running on the PC Win 11 --- it worked!

So then I tried using ZCA to bridge QZ to Zwift running on PC Win 11 -- it worked. This was without a meetup -- just going running with no auto inclination. Not only could I go running on Zwift using my PC but the cadence worked without dropping out. So QZ rpm kicks in right at 5 km/h and Zwift was locked onto the QZ rpm. I tested the cadence stability all the way from 5 km/h up to 9 km/hr and it was solid.

BUT, zwift was displaying rpm, not spm. The units on zwift indicate spm...

Thoughts?

brumohr commented 2 years ago

Test #3:

Setup: QZ running on iPhone; ZCA running on iPad; Zwift running on PC Win11; Zwift pairing set to ZCA.

Auto inclination works nicely. The only anomaly I saw was the same issue with cadence on Zwift.

The setup above is by far the most stable setup I have tried to get the Mtyrun to pair with QZ while running Zwift on a PC Win11. Everything pairs up quickly and consistently making this a useable setup, however, having to use an iPhone and an iPad adds a complexity that not everyone would be willing to use. For now, I don't mind the complexity if auto-inclination works consistently and everything pairs up easily which seems to be the case.

Note that between a speed of between 3.0 km/h and 4.9 km/h, Zwift cadence in SPM is accurate and double the QZ RPM. But at PRECISE speed of 5.0 km/hr Zwift cadence now shows rpm and reflects QZ rpm. However, at 5.0 km/hr Zwift cadence also becomes unstable bouncing around the QZ rpm value.

Speed km/h............................... Zwift spm............................QZ rpm 1....................................................4........................................0 2....................................................8.......................................0 2.5..................................................10......................................0 2.9..................................................12......................................0 3.0...............................................204...................................102 3.5...............................................214....................................107 4.0...............................................218....................................109 4.5...............................................242....................................121 4.9...............................................250....................................125 5.0...............................................128 unstable......................128 stable

stale[bot] commented 2 years 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.

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.