cagnulein / qdomyos-zwift

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

Horizon 7.4 AT - First Attempt with QZ on Android 14 #2230

Closed hellobensalt closed 5 months ago

hellobensalt commented 8 months ago

I've attached two debug files from two different tests.

1) QZ quickly connects to my treadmill and I see a red, flashing play button. Clicking on the button initially appears to do nothing - the flashing just continues.

2) After around 30 seconds to 1 minute QZ responds and the start button starts the treadmill.

3) The incline function seems to work and correspond to what the treadmill is doing and displaying on the control panel.

4) But the speed displayed in QZ in kph did not correspond exactly to the speed displayed on the treadmill's lower control panel. Also, the speed displayed on the treadmill LCD screen is still in min/mile, while everything else is in min/km. This is a hangover from my attempts at connecting the related Kinni app. Otherwise, increasing the speed incrementally increases the speed on of the treadmill by the same amount.

5) The stop button stops the treadmill. But in the first debug test I had issues restarting the treadmill again for a new session and ended up restarting the app.

debug-Fri_Mar_15_19_26_44_2024.log

debug-Fri_Mar_15_19_27_13_2024.log

cagnulein commented 8 months ago
  • QZ quickly connects to my treadmill and I see a red, flashing play button. Clicking on the button initially appears to do nothing - the flashing just continues.
  • After around 30 seconds to 1 minute QZ responds and the start button starts the treadmill.

yes that's the right behaviour because the bleutooth protocol of your treadmill is very awful and it takes more than 50 seconds to complete the init phase.

it's the same with the horizon app if you try

4. But the speed displayed in QZ in kph did not correspond exactly to the speed displayed on the treadmill's lower control panel.

could you make me an example? i mean which is the difference?

4. Also, the speed displayed on the treadmill LCD screen is still in min/mile, while everything else is in min/km. This is a hangover from my attempts at connecting the related Kinni app. Otherwise, increasing the speed incrementally increases the speed on of the treadmill by the same amount.

I can try to change this behaviour but in case I will need some log from you from the Horizon app.

5. The stop button stops the treadmill. But in the first debug test I had issues restarting the treadmill again for a new session and ended up restarting the app.

ok i will check it

hellobensalt commented 8 months ago

yes that's the right behaviour because the bleutooth protocol of your treadmill is very awful and it takes more than 50 seconds to complete the init phase.

Wow. That really is terrible. I didn't have many treadmill options to choose from where I'm based. This seemed the best of a bad bunch.

could you make me an example? I mean which is the difference?

The speed was something like 0.3 kph out on my final test. I didn't check carefully on the previous test as I was so shocked it was actually working. I will run more tests tomorrow and play around with the settings.

I can try to change this behaviour but in case I will need some log from you from the Horizon app.

I haven't used the Horizon app yet. What logs do you need and how will I go about creating them?

Many thanks for your help.

cagnulein commented 8 months ago

The speed was something like 0.3 kph out on my final test. I didn't check carefully on the previous test as I was so shocked it was actually working. I will run more tests tomorrow and play around with the settings.

ok keep an eye if it's a 0.3 on each value or is something incremental. qz is reading the value directly from the treadmill, so maybe it's just a rounding issue?

I haven't used the Horizon app yet. What logs do you need and how will I go about creating them?

following this https://github.com/cagnulein/qdomyos-zwift/blob/master/docs/20_supported_devices_and_applications.md#android-device a log where you are setting the unit in the way that you would like (you don't need any reset from the Horizon technician to do so, just the horizon app)

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

cagnulein commented 7 months ago

horizon2.txt horizon1.txt

about the km/h miles thing in the horizon treadmill. i guess i found the byte!

55aa2000010fe80285050100000000000000000000000000000000000000dc0526c207010100015573657220 55aa1800010fe802a47f0400000000000000000000000000000000000000dc0526c207010100005573657220

but i need a final help from you @hellobensalt

you provided me:

i need now a log where you run the app already all in km. I need this because otherwise I have to add the frames to change the user settings after the init, and this will take even longer in the init phase.

let me know!

hellobensalt commented 7 months ago

about the km/h miles thing in the horizon treadmill. i guess i found the byte!

Glad to hear it! And, thank you!

but i need a final help from you @hellobensalt https://github.com/hellobensalt

i need now a log where you run the app already all in km.

I've attached a log of a session in which I connected to the treadmill, then clicked start in the app before manually changing the inclination and speed (in min/km) a number of times. All user profiles were in metric.

you provided me:

So, now, I've attempted to send the log files from the following sessions to you:

Let me know if this worked and is now sufficient?

All the best.

On Mon, 8 Apr 2024 at 20:46, Roberto Viola @.***> wrote:

horizon2.txt https://github.com/cagnulein/qdomyos-zwift/files/14905943/horizon2.txt horizon1.txt https://github.com/cagnulein/qdomyos-zwift/files/14905944/horizon1.txt

about the km/h miles thing in the horizon treadmill. i guess i found the byte!

55aa2000010fe80285050100000000000000000000000000000000000000dc0526c207010100 015573657220

55aa1800010fe802a47f0400000000000000000000000000000000000000dc0526c207010100 005573657220

but i need a final help from you @hellobensalt https://github.com/hellobensalt

you provided me:

  • a log where you changed the miles to km
  • a log where you run the app all in miles

i need now a log where you run the app already all in km. I need this because otherwise I have to add the frames to change the user settings after the init, and this will take even longer in the init phase.

let me know!

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

cagnulein commented 7 months ago

hi @hellobensalt you have to attach the file on github directly or to my my personal email otherwise I can't see them

hellobensalt commented 7 months ago

btsnoop_hci.log

Sorry, I thought I was replying to your personal email. Here it is.

cagnulein commented 7 months ago

perfect, i will check this and I will let you know

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

Il giorno mar 9 apr 2024 alle ore 12:04 hellobensalt < @.***> ha scritto:

btsnoop_hci.log https://github.com/cagnulein/qdomyos-zwift/files/14917057/btsnoop_hci.log

Sorry, I thought I was replying to your personal email. Here it is.

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

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

hellobensalt commented 7 months ago

Do you need anything else from me here?

cagnulein commented 7 months ago

Nope I forgot to update you: it seems that in order to set the unit as metric I need to send additional commands, I have to create a separate branch for this for you to test it. . Hard days at work (my actual job is not qz) so I will try to do ASAP

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

Il giorno ven 26 apr 2024 alle 12:34 hellobensalt @.***> ha scritto:

Do you need anything else from me here?

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

hellobensalt commented 7 months ago

No problem. I'd already realised this was something you did on the side. I didn't mean to pressure you, I was just curious if it had been done already, but wasn't working.

stale[bot] commented 6 months 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 5 months 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.