cagnulein / qdomyos-zwift

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

[BUG] Kcal same as bike even when "Disable KCal from Equipment" is enabled and can't control resistance with resistance tile. #2232

Closed JFMorgado closed 2 months ago

JFMorgado commented 2 months ago

Describe the bug 1- Calories spent are the same between the bike screen and QZ even though I enabled "Disable KCal from Equipment".

2-Can't control resistance when I click the "+" or "-" signs on the QZ resistance tile. When I click them resistance stays the same. I can't get the auto-resistance feature to work on mywhoosh in free ride or on ERG mode.

Thank you!

Smartphone (please complete the following information):

Append a debug log

debug-sexmar15_16_53_33_2024.log

cagnulein commented 2 months ago

For the auto resistance check this

https://github.com/cagnulein/qdomyos-zwift/issues/2007

I will chdck for the kcal

cagnulein commented 2 months ago

fixed @JFMorgado send me an email to roberto.viola83 at gmail.com indicating this ticket and if you are on android or iOS. Thanks

cagnulein commented 2 months ago

@JFMorgado is it ok?

JFMorgado commented 2 months ago

Hi!

Sorry for the late response!

I see the same Kcal number on QZ and the display of the bike but now on QZ the number comes 3 seconds earlier. So if for exemple 43Kcal comes on QZ, then 3 seconds later, the bike goes from 42 Kcal to 43Kcal.

so something is changed for sure but maybe the numbers are just similar? From your calculations QZ Kcals should be higher or lower than tyhe Domyos900 bike? and how much % in difference?

Thank you so much!

Roberto Viola @.***> escreveu (terça, 19/03/2024 à(s) 08:13):

@JFMorgado https://github.com/JFMorgado is it ok?

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

cagnulein commented 2 months ago

are you using now the disable kcal setting or not now? with the standard setting (getting the kcal from the bike), qz uses the value received from the bike when the bike sents. Otherwise the calculation is completely different and it's based on weight, gender and wattage

JFMorgado commented 2 months ago

Yes just checked and I'm using the setting "disable KCal from Machinery", I never took it off.

But something is definitely different! The Kcal number now comes first on the QZ app and only 3s later on the bike, so I guess the bike is not sending the data to QZ app.

Its just the same Kcal number, and I would guess they would give different Kcal values over time

Thank you

Roberto Viola @.***> escreveu (terça, 26/03/2024 à(s) 14:32):

are you using now the disable kcal setting or not now? with the standard setting (getting the kcal from the bike), qz uses the value received from the bike when the bike sents. Otherwise the calculation is completely different and it's based on weight, gender and wattage

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

cagnulein commented 2 months ago

with that setting on QZ is avoiding the kcal value from the bike, instead QZ is writing the kcal value TO the bike. Of course the bike is showing it with a delay because there is a bluetooth communication between this.

JFMorgado commented 2 months ago

Ok, so everything is fine!

Thank you for the help! :)

Roberto Viola @.***> escreveu (terça, 26/03/2024 à(s) 14:48):

with that setting on QZ is avoiding the kcal value from the bike, instead QZ is writing the kcal value TO the bike. Of course the bike is showing it with a delay because there is a bluetooth communication between this.

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