cagnulein / qdomyos-zwift

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

[BUG] zwift resistance in ERG mode goes through the roof #2507

Closed dan1282 closed 1 month ago

dan1282 commented 2 months ago

Describe the bug When doing a workout in zwift using tdf 4.0, erg mode works as expected for some time (5-15 minutes depending on workout). But at some point, the resistance will increase to what appears to be maximum and it won’t back down. Trying to pedal harder does not reduce it and neither does wattage changes in zwift.

To Reproduce Steps to reproduce the behavior:

  1. Ride in workout mode and it will happen after a bit.

Expected behavior I would expect resistance to reduce especially when target wattage is 125w and pedal cadence is less than 25. Does this have anything to do with the fact that the pro form is able to freewheel? Is that somehow affecting this vs. a typical spin bike?

Screenshots N/A

Desktop (please complete the following information):

Smartphone (please complete the following information):

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

cagnulein commented 2 months ago

Log checked: Qz is following the request of the app that you have connect to it (ZWift?) For example at the end i'm seeing request of 305W! So i guess you have the FTP wrong in that app (Zwift or mywhoosh or anything else) Let me know

dan1282 commented 2 months ago

Roberto- 305 is correct. I have my ftp set around 250 now. There are other intervals of that earlier in the workout. As I ride through those earlier ones there is no problem keeping a decent cadence but where I stopped the workout, I could barely turn the cranks even if I stood up. I even tried to push through it and generated over 500 watts and the resistance still did not back off. This is not the behavior I see up until that point

cagnulein commented 2 months ago

The bike is handling directly the wattage, qz is just sending it. I guess your ftp is too high? Try first with a lower ftp, as I said qz is just a man on the middle in this case, so it's sending only the requests.

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

Il giorno sab 10 ago 2024 alle 20:39 dan1282 @.***> ha scritto:

Roberto- 305 is correct. I have my ftp set around 250 now. There are other intervals of that earlier in the workout. As I ride through those earlier ones there is no problem keeping a decent cadence but where I stopped the workout, I could barely turn the cranks even if I stood up. I even tried to push through it and generated over 500 watts and the resistance still did not back off. This is not the behavior I see up until that point

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

dan1282 commented 2 months ago

Hmm…ok maybe it’s an issue with the bike then. I can’t imagine changing the ftp would make that much of a difference especially since i have no problem pedaling at 305 watts earlier in the workout. Maybe it gets stuck at max resistance

dan1282 commented 2 months ago

So I was reading that zwift should go into “bailout mode” if you stop pedaling in a workout. That definitely isn’t happening either. I didn’t do a spindown calibration so I’ll give that a shot I guess.

dan1282 commented 2 months ago

I made a few changes and I’ve at least completed one workout with no problem: Zwift resistance offset - changed from 18 to 2. I’ve messed around with this before so who knows. Zwift resistance gain - changed from default to .8. This is based on your suggestion for the tdf at some point. OS running zwift: went from iPad to windows pc. No idea of this would have any affect. It’s worth noting that the Bluetooth connection originally would say iPhone when using the iPad but on windows says wahoo or QZ… oh well at the end of the day, ERG now appears to be properly working and I have a larger screen. Win win!

cagnulein commented 2 months ago

Glad it worked! for sure the issue was the calibration, zwift resistance offset are not applied on erg mode.

Il giorno dom 11 ago 2024 alle 06:05 dan1282 @.***> ha scritto:

I made a few changes and I’ve at least completed one workout with no problem: Zwift resistance offset - changed from 18 to 2. I’ve messed around with this before so who knows. Zwift resistance gain - changed from default to .8. This is based on your suggestion for the tdf at some point. OS running zwift: went from iPad to windows pc. No idea of this would have any affect. It’s worth noting that the Bluetooth connection originally would say iPhone when using the iPad but on windows says wahoo or QZ… oh well at the end of the day, ERG now appears to be properly working and I have a larger screen. Win win!

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

dan1282 commented 2 months ago

I actually never had a chance to run the calibration so I guess there was something with my IPad? Sent from my iPhoneOn Aug 11, 2024, at 1:29 AM, Roberto Viola @.***> wrote: Glad it worked!

for sure the issue was the calibration, zwift resistance offset are not

applied on erg mode.

Il giorno dom 11 ago 2024 alle 06:05 dan1282 @.***> ha

scritto:

I made a few changes and I’ve at least completed one workout with no

problem:

Zwift resistance offset - changed from 18 to 2. I’ve messed around with

this before so who knows.

Zwift resistance gain - changed from default to .8. This is based on your

suggestion for the tdf at some point.

OS running zwift: went from iPad to windows pc. No idea of this would have

any affect. It’s worth noting that the Bluetooth connection originally

would say iPhone when using the iPad but on windows says wahoo or QZ… oh

well at the end of the day, ERG now appears to be properly working and I

have a larger screen. Win win!

Reply to this email directly, view it on GitHub

https://github.com/cagnulein/qdomyos-zwift/issues/2507#issuecomment-2282415736,

or unsubscribe

https://github.com/notifications/unsubscribe-auth/AAALYWEOUWBZP5FNUYIOXHDZQ3PHTAVCNFSM6AAAAABMKAG42KVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEOBSGQYTKNZTGY

.

You are receiving this because you were assigned.Message ID:

@.***>

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

cagnulein commented 2 months ago

no as i said qz is only sending the target, maybe you just reboot the bike?

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

Il giorno dom 11 ago 2024 alle 11:23 dan1282 @.***> ha scritto:

I actually never had a chance to run the calibration so I guess there was something with my IPad? Sent from my iPhoneOn Aug 11, 2024, at 1:29 AM, Roberto Viola @.***> wrote: Glad it worked!

for sure the issue was the calibration, zwift resistance offset are not

applied on erg mode.

Il giorno dom 11 ago 2024 alle 06:05 dan1282 @.***> ha

scritto:

I made a few changes and I’ve at least completed one workout with no

problem:

Zwift resistance offset - changed from 18 to 2. I’ve messed around with

this before so who knows.

Zwift resistance gain - changed from default to .8. This is based on your

suggestion for the tdf at some point.

OS running zwift: went from iPad to windows pc. No idea of this would have

any affect. It’s worth noting that the Bluetooth connection originally

would say iPhone when using the iPad but on windows says wahoo or QZ… oh

well at the end of the day, ERG now appears to be properly working and I

have a larger screen. Win win!

Reply to this email directly, view it on GitHub

< https://github.com/cagnulein/qdomyos-zwift/issues/2507#issuecomment-2282415736>,

or unsubscribe

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

.

You are receiving this because you were assigned.Message ID:

@.***>

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

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

dan1282 commented 2 months ago

Yea I get what you’re saying. Gotta somehow be on the bike end but I have reset the bike a few times. I had it happen again in the middle of a workout tonight but was able to sort of reset it by manually pulling back the yellow magnetic resistance thing. Funny part is, it still didn’t really reduce resistance until it went into the next wattage change. One other thought- on the tdf you say keep it on the main screen for erg mode. Does it matter if the screen saver or whatever appears? It’s like a finger print that says tap here to start. I’ve seen it go to that screen occasionally during a workout but can’t say one way or another if it affects anything.

I’ll look at the resistance mechanism again but I think it’s just a servo so not like there’s anything that should need oil

cagnulein commented 2 months ago

the screensaver doesn't affect the behavior at all. the fact that you are saying that when it receives a new target wattage it resets it, it means that we can do something to reset it Let me know how it goes

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

Il giorno mar 13 ago 2024 alle 04:39 dan1282 @.***> ha scritto:

Yea I get what you’re saying. Gotta somehow be on the bike end but I have reset the bike a few times. I had it happen again in the middle of a workout tonight but was able to sort of reset it by manually pulling back the yellow magnetic resistance thing. Funny part is, it still didn’t really reduce resistance until it went into the next wattage change. One other thought- on the tdf you say keep it on the main screen for erg mode. Does it matter if the screen saver or whatever appears? It’s like a finger print that says tap here to start. I’ve seen it go to that screen occasionally during a workout but can’t say one way or another if it affects anything.

I’ll look at the resistance mechanism again but I think it’s just a servo so not like there’s anything that should need oil

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

dan1282 commented 2 months ago

I can’t say for sure that’s what triggered it but after giving rouvy a shot this evening, I think I’m switching over. I found their control over resistance to be much more stable than my experience with zwift (and I know this has nothing to do with your app). I also prefer the realism of their rides as well. If I find resistance issues with rouvy I will try and narrow it down so that if there is something on your end, I can help you pinpoint it.

cagnulein commented 2 months ago

Sounds good, thanks!

Il giorno mer 14 ago 2024 alle 04:16 dan1282 @.***> ha scritto:

I can’t say for sure that’s what triggered it but after giving rouvy a shot this evening, I think I’m switching over. I found their control over resistance to be much more stable than my experience with zwift (and I know this has nothing to do with your app). I also prefer the realism of their rides as well. If I find resistance issues with rouvy I will try and narrow it down so that if there is something on your end, I can help you pinpoint it.

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

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.