cagnulein / qdomyos-zwift

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

[BUG] Help with Merach S09 #2482

Open cstack89 opened 2 months ago

cstack89 commented 2 months ago

Hello,

I'm pretty new to home indoor cycling, so forgive me if these questions are obvious. Or send me to the MyWhoosh forum.

Based on some past tickets here I went ahead and bought a Merach S09 as it seemed like you got it working (or were close to getting it working).

I'm trying to run the QZ app on Android and I'm trying to use MyWhoosh on Windows. I do not (yet) have a heart rate sensor.

I was able to connect the QZ app to the bike, and my phone to Windows/MyWhoosh with no issue at all.

The riding experience was not perfect to start, I was just warming up and was going 38 MPH in MyWhoosh with the default settings. Based on some old threads here I then altered the default settings to below:

Zwift Offset Resistance: 7 Max Resistance: 16 Watt Gain: 0.55 MyWhoosh Compatibility: On I have tried Zwift Workout Mode on and off.

In MyWhoosh when I connect I connect as a PowerSource, Cadence and Controllable.

That being said (for right now I think we can ignore MyWhoosh).

I put my phone where I can see it and locked the bike display to MPH.

At gears 7/8/9 my phone and the bike display MPH match pretty well. But in lower gears QZ is pretty far under and in high gears it's over estimating.

I guess my first question is: If the bike knows how fast it's going why is the QZ value different? Is it not reported? Second Question: What I'm currently doing feels "unscientific", is there a better way to dial in the settings? Third Question: I see a "Disable Wattage from machinery" that is disabled. Is the assumption that the power meter in the bike is wrong (if it has one?)?

Bonus Question (possibly more of a MyWhoosh question): Is there to have a gear override? Like for instance I have 7/8 as my default for flat ground. I would like to be able to change gears to work harder (or less), but something (not sure if it's QZ or MyWhoosh) changes the gear back quickly if I use the bike dial. I see a setting to change gears in QZ, would that do it? What I picture in my head is if flat ground is an 8 and I increase gears that would be kept as an offset somewhere (so inclination gear +1), then if I start going up hill the gears would go up and still keep my offset. For reference my gym has as Expresso equipment, and at least for a noob that appears to be how it works ((inclination and virtual gear combine to output resistance).

cagnulein commented 2 months ago

attach a debug log to check your scenario https://github.com/cagnulein/qdomyos-zwift/wiki/How-do-i-get-the-debug-log-in-case-something-doesn't-work%3F

cagnulein commented 2 months ago

2093

cstack89 commented 2 months ago

Thanks! I will follow the steps for the debug log (probably not for 24 hours). 2093 is what I followed to get inspiration for nearly right settings. I should not use the beta in that ticket should I? Also I'm not sure MyWhoosh supports ERG mode in Free Ride mode which is all I've tried.

Of note I did just do a quick spin with "Volume Buttons change gears" and the gears worked exactly as i expected. So you can drop the bonus question.

cagnulein commented 2 months ago

I should not use the beta in that ticket should I?

the beta it's already the production one. With a debug log the questions will be clearer I hope :)

cstack89 commented 2 months ago

Great, that's mostly what I figured.

For the debug log, I'll turn off ERG mode and don't need to run MyWhoosh?

cagnulein commented 2 months ago

you have to collect a debug log in the same scenario where you have the issue, it's up to you setting all the scenario in that way. I need to see EXACTLY the issue you're explaining

cstack89 commented 2 months ago

debug-Fri_Jul_26_05_35_18_2024.log

I've attached my debug log. I turned on the bike, started QZ so it found my bike. Then started MyWhoosh and connected to my phone. I tried to pay attention to all 3 speeds since that is the only metric that was easy to see. For resistance 8 and 9 all three devices seemed to be close, but I manually shifted gears up and my speed on the bike began lagging behind what QZ was reporting. Eventually I shifted back down to 0 in the gears section and around that time I started a slight downhill. Compared to the bike QZ and MyWhoosh were over reporting my speed.

MyWhoosh was kind of all over the place, it didn't feel like it matched either the bike or QZ. Possibly MyWhoosh has a lag for updating the speed metric? Even trying to be patient though it was hard to tell if the speed was matching my bike, QZ, or using it's own computed value.

cagnulein commented 2 months ago

Yes Mywhoosh calculates the speed on its own based on the wattage coming from QZ. Is the wattage on Mywhoosh matches the one of QZ?

I can't download the log file, it seems it's corrupted, could you please upload it again?

cstack89 commented 2 months ago

debug-Fri_Jul_26_05_35_18_2024.log

I will pay more attention to the wattage on my ride tomorrow sorry.

cagnulein commented 2 months ago

ok yes the speed is not sent from your bike. and this is not a big deal since the speed is not so important in indoor bike. THe most important thing is the wattage, check this out https://robertoviola.cloud/2024/01/27/dispelling-the-myth-speed-variations-between-qz-and-zwift-are-not-a-device-issue/

that's why changing the resistance, you see the speed also changes, because the wattage changes

Let me know if something is not clear

cstack89 commented 2 months ago

I think that makes sense, basically don't worry about the 3 different speeds because they are each doing the calculation a little differently? The bike likely is not taking in virtual inclination data and the math behind QZ and MyWhoosh based on the info is probably just different?

Are the Zwift Offset Resistance: 7 Watt Gain: 0.55

basically the two tuning parameters I should be doing to make it feel natural? Is the best way to do it by feel? Basically set my outdoor bike to gear 1 and ride around flat at various efforts, then run inside and modify those two parameters and see if my speeds roughly match?

cagnulein commented 2 months ago

I think that makes sense, basically don't worry about the 3 different speeds because they are each doing the calculation a little differently?

Exactly

The bike likely is not taking in virtual inclination data and the math behind QZ and MyWhoosh based on the info is probably just different?

Exactly the point

Are the

Zwift Offset Resistance: 7

Watt Gain: 0.55

basically the two tuning parameters I should be doing to make it feel natural? Is the best way to do it by feel? Basically set my outdoor bike to gear 1 and ride around flat at various efforts, then run inside and modify those two parameters and see if my speeds roughly match?

Yes, most of if you have a power meter you can calibrate it exactly, most important is the watt gain

cstack89 commented 2 months ago

Thank you for helping clear up my misunderstanding!

cstack89 commented 2 months ago

I have another question based on today's ride. My bike has 16 resistances. During today's ride, I believe MyWhoosh said the inclination was 15% which set my resistance to 16. Even if I stood and pedalled as hard as I could I could only get to 1MPH. My settings are still the same as yesterday. I can take a debug log on Monday if needed.

In my head what I'm wondering is if I can fake out Mywhoosh and pretend my bike has 32 gears. Qz would then translate gear 32 to be 16. Non even numbers would go up or down. I tried setting zwift resistance gain to 2, but that didn't seem to do anything. I was hesitant to turn on treadmill as a bike because wasn't sure if that would mess up other bike settings.

cagnulein commented 2 months ago

did you check your wattage on that scenario? how much is what? to riding at 15% you have to have at least 200-300W to have a 6-8 km/h speed

It's not a resistance issue, I guess it's just a wattage issue

cstack89 commented 2 months ago

I don't have time to setup MyWhoosh right now, but I hopped on the bike and set it to resistance 16. Then I bikes hard and QZ reported 220-250W. I was wrong 😂 I updated my watt percentage to be .75 but even with that increase that means the watt value in MyWhoosh would be <188? Unless what Qz displays is the scaled value?

cagnulein commented 2 months ago

qz already shows the scaled value and it sends the same value to MYW

BDO811 commented 2 months ago

I have successfully linked my MERACH bike to the app. I have successfully gone into TrainerDay and set it up.

When I ride though the auto resistance jumps all over the place from 4 to 24 then to 8 and then to 5. Is there a setting I need to turn on so that it can better follow the need to increase and decrease for this bike?

cagnulein commented 2 months ago

hi @BDO811 i guess you are doing a erg workout? (workout based on power) if so you need to calibrate first the power table inside qz: in order to do so, follow these steps:

  1. set your bike under manual device in the advanced settings
  2. restart qz
  3. on qz standalone do 10 seconds of spin with cadence 50-60-70-80-90 for each resistance levels. it's important to stay more or less stable for at least 10 seconds on each cadence/resistance couple
  4. pair trainer day and give it a go then

if it still doesn't work send me a debug log

BDO811 commented 2 months ago

Just to confirm

I go to manual. Hit ok. Then restart.

Go to resistance 1 and pedal at 50 then 60 then 70 etc Go to resistance 2 and pedal at 50 then 60 etc

Am I supposed to change anything on the app while I do it or it just knows? And do this for all 24 resistance levels?

Then turn off manual and restart and then the erg should work?

Thanks

On Thu, Aug 15, 2024 at 8:04 AM Roberto Viola @.***> wrote:

hi @BDO811 https://github.com/BDO811 i guess you are doing a erg workout? (workout based on power) if so you need to calibrate first the power table inside qz: in order to do so, follow these steps:

  1. set your bike under manual device in the advanced settings
  2. restart qz
  3. on qz standalone do 10 seconds of spin with cadence 50-60-70-80-90 for each resistance levels. it's important to stay more or less stable for at least 10 seconds on each cadence/resistance couple
  4. pair trainer day and give it a go then

if it still doesn't work send me a debug log

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

cagnulein commented 2 months ago

all good except the last part, don't remove the bike from manual. as far as you finish to do the spins for all the 24 levels you are ready to go. keep also the debug log enabled so in case of issues i can check them let me know

BDO811 commented 2 months ago

Getting closer

I have done the calibration.

  1. When I’m cycling and the goal in TrainerDay is 150w and I’m at 250w should it auto decrease the resistance? It’s not doing that. It does change the resistance but often goes the wrong way.

My understanding is qz would increase or decrease the resistance to hit the target wattage?

how do I send you a debug log. It says 25mb max and it’s 34

cagnulein commented 2 months ago

yes it should follow the resistance, it means that something went wrong in the calibration for the debug log zip it let me know

BDO811 commented 1 month ago

Could you check. I’ve used the beta and redone the calibration. Still not reacting to auto resistance the way I would think

Is there an option to have qz look at the target watts on TrainerDay and try to adjust settings to hit that number?

https://drive.google.com/file/d/1AauAvpssKa7JAeorO9l3HMn8CkfguuVC/view?usp=drivesdk

cagnulein commented 1 month ago

Hi, i need the debug log. you attached the fit file thanks

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

Il giorno sab 24 ago 2024 alle 22:36 BDO811 @.***> ha scritto:

Could you check. I’ve used the beta and redone the calibration. Still not reacting to auto resistance the way I would think

Is there an option to have qz look at the target watts on TrainerDay and try to adjust settings to hit that number?

https://drive.google.com/file/d/1AauAvpssKa7JAeorO9l3HMn8CkfguuVC/view?usp=drivesdk

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

BDO811 commented 1 month ago

https://drive.google.com/file/d/1pLBC9jbCXgZWniO-BEWq2ccorf6973ks/view?usp=drivesdk

On Sat, Aug 24, 2024 at 11:39 PM Roberto Viola @.***> wrote:

Hi, i need the debug log. you attached the fit file thanks

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

Il giorno sab 24 ago 2024 alle 22:36 BDO811 @.***> ha scritto:

Could you check. I’ve used the beta and redone the calibration. Still not reacting to auto resistance the way I would think

Is there an option to have qz look at the target watts on TrainerDay and try to adjust settings to hit that number?

https://drive.google.com/file/d/1AauAvpssKa7JAeorO9l3HMn8CkfguuVC/view?usp=drivesdk

— Reply to this email directly, view it on GitHub < https://github.com/cagnulein/qdomyos-zwift/issues/2482#issuecomment-2308530328>,

or unsubscribe < https://github.com/notifications/unsubscribe-auth/AAALYWBUH5PYXHOLWEWUM3DZTDVGXAVCNFSM6AAAAABLOFXTYSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMBYGUZTAMZSHA>

. You are receiving this because you modified the open/close state.Message ID: @.***>

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

cagnulein commented 1 month ago

thanks, i will check it tomorrow i'm on vacation

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

Il giorno dom 25 ago 2024 alle 06:43 BDO811 @.***> ha scritto:

https://drive.google.com/file/d/1pLBC9jbCXgZWniO-BEWq2ccorf6973ks/view?usp=drivesdk

On Sat, Aug 24, 2024 at 11:39 PM Roberto Viola @.***> wrote:

Hi, i need the debug log. you attached the fit file thanks

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

Il giorno sab 24 ago 2024 alle 22:36 BDO811 @.***> ha scritto:

Could you check. I’ve used the beta and redone the calibration. Still not reacting to auto resistance the way I would think

Is there an option to have qz look at the target watts on TrainerDay and try to adjust settings to hit that number?

https://drive.google.com/file/d/1AauAvpssKa7JAeorO9l3HMn8CkfguuVC/view?usp=drivesdk

— Reply to this email directly, view it on GitHub <

https://github.com/cagnulein/qdomyos-zwift/issues/2482#issuecomment-2308530328>,

or unsubscribe <

https://github.com/notifications/unsubscribe-auth/AAALYWBUH5PYXHOLWEWUM3DZTDVGXAVCNFSM6AAAAABLOFXTYSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMBYGUZTAMZSHA>

. You are receiving this because you modified the open/close state.Message ID: @.***>

— Reply to this email directly, view it on GitHub < https://github.com/cagnulein/qdomyos-zwift/issues/2482#issuecomment-2308652250>,

or unsubscribe < https://github.com/notifications/unsubscribe-auth/AJMJDPQACQNEEB66DQV4IMLZTFNWZAVCNFSM6AAAAABLOFXTYSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMBYGY2TEMRVGA>

. 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/2482#issuecomment-2308653021, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAALYWHSLJ2PWNDJ5ORCVR3ZTFOF7AVCNFSM6AAAAABLOFXTYSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMBYGY2TGMBSGE . You are receiving this because you modified the open/close state.Message ID: @.***>

cagnulein commented 1 month ago

i quickly checked the table that you trained and it seems ok, so I will check about the implementation, maybe there is a small bug because it mostly worked but there is a lot of bouncing. In the meantime you can increase the erg filter up and down to 30 to check if it's better Let me know

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

Il giorno dom 25 ago 2024 alle ore 06:44 cagnulein @.***> ha scritto:

thanks, i will check it tomorrow i'm on vacation

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

Il giorno dom 25 ago 2024 alle 06:43 BDO811 @.***> ha scritto:

https://drive.google.com/file/d/1pLBC9jbCXgZWniO-BEWq2ccorf6973ks/view?usp=drivesdk

On Sat, Aug 24, 2024 at 11:39 PM Roberto Viola @.***> wrote:

Hi, i need the debug log. you attached the fit file thanks

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

Il giorno sab 24 ago 2024 alle 22:36 BDO811 @.***> ha scritto:

Could you check. I’ve used the beta and redone the calibration. Still not reacting to auto resistance the way I would think

Is there an option to have qz look at the target watts on TrainerDay and try to adjust settings to hit that number?

https://drive.google.com/file/d/1AauAvpssKa7JAeorO9l3HMn8CkfguuVC/view?usp=drivesdk

— Reply to this email directly, view it on GitHub <

https://github.com/cagnulein/qdomyos-zwift/issues/2482#issuecomment-2308530328>,

or unsubscribe <

https://github.com/notifications/unsubscribe-auth/AAALYWBUH5PYXHOLWEWUM3DZTDVGXAVCNFSM6AAAAABLOFXTYSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMBYGUZTAMZSHA>

. You are receiving this because you modified the open/close state.Message ID: @.***>

— Reply to this email directly, view it on GitHub < https://github.com/cagnulein/qdomyos-zwift/issues/2482#issuecomment-2308652250>,

or unsubscribe < https://github.com/notifications/unsubscribe-auth/AJMJDPQACQNEEB66DQV4IMLZTFNWZAVCNFSM6AAAAABLOFXTYSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMBYGY2TEMRVGA>

. 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/2482#issuecomment-2308653021, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAALYWHSLJ2PWNDJ5ORCVR3ZTFOF7AVCNFSM6AAAAABLOFXTYSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMBYGY2TGMBSGE . You are receiving this because you modified the open/close state.Message ID: @.***>

cagnulein commented 1 month ago

i checked the log and when trainerday it was asking for 146W QZ is setting correctly the ressitance to 2, and when it asked for 222W it put it 6-7 based on your current cadence. anyway with the erg filter up and down set to 30 you should limit also the bouncing

let me know @cstack89

stale[bot] commented 1 month 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.

tim-lang commented 4 weeks ago

Hi @cagnulein and @cstack89 and @markgoodrich !

May I ask, what were the eventual recommended settings for the Merach S09 inside QZ? (I'm trying to get ERG mode to work in Roovy, MyWhoosh, Kinomap, etc)

And was there any fix to QZ thinking the S09 has 24 levels of resistance? (Rather than the correct 16)

Thank you -- and thanks for the QZ App @cagnulein !!

Tim

cagnulein commented 4 weeks ago

hi @tim-lang are you on ios or android first of all?

tim-lang commented 4 weeks ago

iOS

On Thu, Sep 19, 2024 at 12:37 PM Roberto Viola @.***> wrote:

hi @tim-lang https://github.com/tim-lang are you on ios or android first of all?

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

cagnulein commented 4 weeks ago

@tim-lang ok so you need first of all the new beta. send me an email to roberto.viola83 at gmail.com indicating this ticket. Thanks

tim-lang commented 4 weeks ago

Sent, thanks! (from tim at timlang.com )

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