cagnulein / qdomyos-zwift

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

Treadmill Beeping with Each Inclination Command #2311

Open hellobensalt opened 2 weeks ago

hellobensalt commented 2 weeks ago

Setup: Horizon 7.4AT-03 treadmill, Pixel 6 phone running latest Android version, QZ 2.16.52

Is there any way to stop my treadmill from beeping every 5 seconds when QZ sends an inclination command to it? I realise this it probably there as a warning that the elevation is about to change, which is fine - and useful. But it also beeps when the elevation does't change, which is unnecessary.

So, if the beep could be stopped for any inclination command that is the same as the previous command, that'd be great.

However, I don't know if this is anything you can have any control over?

cagnulein commented 2 weeks ago

is this happen also on the agf app?

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

Il giorno sab 27 apr 2024 alle 10:08 hellobensalt @.***> ha scritto:

Setup: Horizon 7.4AT-03 treadmill, Pixel 6 phone running latest Android version, QZ 2.16.52

Is there anyway to stop my treadmill from beeping every 5 seconds when QZ sends an inclination command to it? I realise this it probably there as a warning that the elevation is about to change, which is fine - and useful. But it also beeps when the elevation does't change, which is unnecessary.

So, if the beep could be stopped for any inclination command that is the same as the previous command, that'd be great.

However, I don't know if this is anything you can have any control over?

— Reply to this email directly, view it on GitHub https://github.com/cagnulein/qdomyos-zwift/issues/2311, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAALYWAD5FARUX2WVCH6BKLY7NMIXAVCNFSM6AAAAABG34WBQCVHI2DSMVQWIX3LMV43ASLTON2WKOZSGI3DMOJQGM3DKMI . You are receiving this because you are subscribed to this thread.Message ID: @.***>

hellobensalt commented 2 weeks ago

The treadmill beeps every time the user manually changes the incline.

But the AFG Pro app has no option to change the incline, so I cannot check or capture an HCI snoof using that.

hellobensalt commented 2 weeks ago

Actually, sorry, there's a Hill Climb workout in AFG Pro that I can run. There's also a custom workout, but that doesn't appear to work! (A lot of things don't work very well with Horizon equipment!)

Also, the treadmill beeps whenever there's a speed change.

cagnulein commented 2 weeks ago

so there isn't any setting in the app or in the treadmill? i suggest to cut the wire directly :)

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

Il giorno sab 27 apr 2024 alle 11:34 hellobensalt @.***> ha scritto:

Actually, sorry, there's a Hill Climb workout in AFG Pro that I can run. There's also a custom workout, but that doesn't appear to work! (A lot of things don't work very well with Horizon equipment!)

Also, the treadmill beeps whenever there's a speed change.

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

hellobensalt commented 2 weeks ago

This is from Horizon....:

https://support.horizonfitness.com/hc/en-us/articles/360057964952-How-Can-I-Adjust-the-Volume-of-Machine-Beeping

And someone else suggested the same as you:

https://www.justanswer.com/fitness-equipment/4jh3p-disable-sound-beeping-every-time-change-speed.html

cagnulein commented 2 weeks ago

i guess we have our answer :)

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

Il giorno sab 27 apr 2024 alle 12:31 hellobensalt @.***> ha scritto:

This is from Horizon....:

https://support.horizonfitness.com/hc/en-us/articles/360057964952-How-Can-I-Adjust-the-Volume-of-Machine-Beeping

And someone else suggested the same as you:

https://www.justanswer.com/fitness-equipment/4jh3p-disable-sound-beeping-every-time-change-speed.html

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

hellobensalt commented 2 weeks ago

Note from Facebook:

Only send new Zwift incline commands to a treadmill (or any equipment?) when the incline changes.

If inclination NEW is same as inclination OLD, do not send. If inclination New is different to inclination OLD, send.

cagnulein commented 2 weeks ago

could u attach a debug log from qz with the issue ? i checked the code and it should be already handled. thanks

hellobensalt commented 2 weeks ago

Setup: Horizon 7.4AT-03 treadmill, Pixel 6 phone running latest Android version, QZ 2.16.52 Settings: Incline Override Offset -2

I tried to recreate the issue here, but it wasn't exactly the same. I ran QZ with Zwift for around 6 minutes. The first 5 minutes were largely flat. I initially set my 2% baseline incline. Then, soon after, QZ put my treadmill down to 0% (equivalent to -2%) for around 4-5 minutes. The treadmill beeped every 5 seconds. Then, there was a steep climb where the incline changed regularly.

I'm not sure that first 4-5 minutes section of -2% was correct?

In the session I ran a few days ago, the treadmill beeped every 5 seconds when the incline was a non-zero setting as well. So, if there was a 2 minutes climb at 5%, the treadmill would beep every 5 seconds for those 2 minutes.

This only happens with Zwift.

Thanks for your help.

debug-Mon_Apr_29_12_56_10_2024.log

cagnulein commented 2 weeks ago

i got the issue: the issues comes from the fact that you have the inclination overrides thing. I will try to add this in the control in order to don't send a writing command if the inclination is the same

hellobensalt commented 2 weeks ago

Brilliant, thanks, @cagnulein. I thought it might be something to do with that, as other people had not reported a problem.

cagnulein commented 2 weeks ago

fixed @hellobensalt if you want you can use the new apk directly https://github.com/cagnulein/qdomyos-zwift/actions/runs/8881147480

Google is very slow in these days, reviewing the app on the store, even the beta ones. For this reason, in order to check right now if the patch that I did is right, you can use the android build in the link (check at the bottom of the page in about 1 hour). In order to test it you need first to remove the current QZ version on your phone, install the one that you downloaded. This version is a 15 minutes trial (you can restart it as many times as you want) and I can unlock it if you want, send me an email to roberto.viola83@gmail.com mentioning this ticket and that you are on android. Let me know if you have any questions

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