cagnulein / qdomyos-zwift

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

Support for ZIPRO Notus #1344

Closed Deteorek closed 1 year ago

Deteorek commented 1 year ago

Please add support for treadmill ZIPRO Notus. For now, I can only use the dedicated bluetooth app SmartTreadmill. The app allows to remotely change speed, incline, start, stop, and read total time, distance, calories, and pulse. Beneath steps, I take to play with the app. START (speed 0,8 km/h; incline 0 %) SPEED 3 SPEED 6 INCLINE 3 SPEED 9 INCLINE 12 SPEED 12 INCLINE 13 INCLINE 14 INCLINE 15 SPEED 13 SPEED 15 INCLINE 3 SPEED 3 STOP bugreport-2023-03-06-17-27-38.zip

cagnulein commented 1 year ago

thanks i will add it asap

Il giorno lun 6 mar 2023 alle 17:54 Deteorek @.***> ha scritto:

Assigned #1344 https://github.com/cagnulein/qdomyos-zwift/issues/1344 to @cagnulein https://github.com/cagnulein.

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

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

cagnulein commented 1 year ago

hi @Deteorek unfortunately I need the hci snoof log that it's not contained into this zip. Could you please attach it? Also can you send me a nrfconnect screenshot about your treadmill? nrfconnect is a free app on the store. Thanks!

Deteorek commented 1 year ago

Is this attached file now OK? I will try to send you a nrfconnect screenshot asap. Thanks for your effort. hci snoof.log

cagnulein commented 1 year ago

@Deteorek no unfortunately i can see only adv. frames here, no communication at all :( Let's send me first the nrfconnect, maybe we will lucky

Deteorek commented 1 year ago

As you asked I attached 3 pictures from nrfconnect. Late afternoon I will try to grab hci snoof log again but this time with a different Android device (Samsung Galaxy Tab). For the first one I use a Huawei phone so maybe I will have more luck. IMG_4703 IMG_4693 IMG_4692

cagnulein commented 1 year ago

ok it could use 3 different protocols, so it's better if we can collect a hci snoof to identify it. Let me know!

Deteorek commented 1 year ago

OK. So I hope now you have all data you need. I take to play with the app like in my first post. Waiting for good news from you :-) btsnoop_hci.log

cagnulein commented 1 year ago

yes thanks @Deteorek bad/good news, it's a completely a new protocol, so I have to add it. I will do in the next days!

Deteorek commented 1 year ago

Thank you for your support, I'll be waiting for news from you, but now I can serve you a good coffee. ;-)

cagnulein commented 1 year ago

thanks!

Il giorno mar 7 mar 2023 alle 18:03 Deteorek @.***> ha scritto:

Thank you for your support, I'll be waiting for news from you, but now I can serve you a good coffee. ;-)

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

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

cagnulein commented 1 year ago

ok @Deteorek I finished a first implementation! send me an email to roberto.viola83 at gmail.com indicating this ticket and if you are on android or iOS. Thanks

Deteorek commented 1 year ago

As you ask I attached debug log from the app. I was pressing 3 times in a row speed "+" button and then 3 times "-" button and the same procedure for inclination. debug-śr__mar_8_20_14_07_2023.log

cagnulein commented 1 year ago

ok thanks, i will check this tomorrow!

Deteorek commented 1 year ago

Debug log once again this time also with HR readings. debug-śr__mar_8_20_58_38_2023.log

cagnulein commented 1 year ago

Debug log once again this time also with HR readings. debug-śr__mar_8_20_58_38_2023.log

HR added!

cagnulein commented 1 year ago

OK. So I hope now you have all data you need. I take to play with the app like in my first post. Waiting for good news from you :-) btsnoop_hci.log

great! found the reason! I'm building another one!

cagnulein commented 1 year ago

sent!

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

Il giorno mer 8 mar 2023 alle ore 21:04 Deteorek @.***> ha scritto:

Debug log once again this time also with HR readings. debug-śr__mar_8_20_58_38_2023.log https://github.com/cagnulein/qdomyos-zwift/files/10924766/debug-sr__mar_8_20_58_38_2023.log

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

Deteorek commented 1 year ago

Quick feedback about your today's update.

1) HR - works! Great!

2) Speed and incline buttons (plus and minus) in your app work too but if I change values by pressing them then I cannot manually change speed and inclination on a treadmill. It looks like those buttons and values you set in the app override physical treadmill buttons permanently. Is this normal? Hah yes, I know why. I can fix it.

3) Start and Stop (Pause) buttons not working. The only way to run and stop a treadmill is by pressing physical buttons on them. Mmm i have to check the hci snoof once again for this.

cagnulein commented 1 year ago

2. Speed and incline buttons (plus and minus) in your app work too but if I change values by pressing them then I cannot manually change speed and inclination on a treadmill. It looks like those buttons and values you set in the app override physical treadmill buttons permanently. Is this normal?

fixed, now i'm checking the start and stop buttons

cagnulein commented 1 year ago

new version sent! Roberto Viola Software engineer and open source enthusiast http://robertoviola.cloud

Il giorno gio 9 mar 2023 alle ore 16:01 Deteorek @.***> ha scritto:

Quick feedback about your today's update.

1.

HR - works! Great! 2.

Speed and incline buttons (plus and minus) in your app work too but if I change values by pressing them then I cannot manually change speed and inclination on a treadmill. It looks like those buttons and values you set in the app override physical treadmill buttons permanently. Is this normal? Hah yes, I know why. I can fix it. 3.

Start and Stop (Pause) buttons not working. The only way to run and stop a treadmill is by pressing physical buttons on them. Mmm i have to check the hci snoof once again for this.

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

Deteorek commented 1 year ago

I tested the new version and I think we are one step closer to success but: 1) START button is working - no problem 2) STOP (pause) button not working at all - after pressing, it blinks red but the treadmill has no reaction and still runs. When I stop the treadmill manually it also turns red to a blinking button in the app. 2) Incline plus and minus buttons in your app change values in my treadmill and physical treadmill buttons can change values on QZ - no problem 3) Speed plus and minus buttons work the same as incline but there is strange behavior. Everything works fine until I press the incline button in QZ, then speed buttons stop working on QZ and treadmill too. The only thig I can do is manually stop treadmill and restart app.

Thanks again for your hard work and help.

cagnulein commented 1 year ago

ok for the stop i will check again the hci snoof for the incline i got the issue, just a stupid typo

i will fix this tomorrow

have a good friday evening!

cagnulein commented 1 year ago

uploading a new one ;)

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

Il giorno ven 10 mar 2023 alle ore 18:17 Deteorek @.***> ha scritto:

I tested the new version and I think we are one step closer to success but:

  1. START button is working - no problem
  2. STOP (pause) button not working at all - after pressing, it blinks red but the treadmill has no reaction and still runs. When I stop the treadmill manually it also turns red to a blinking button in the app.
  3. Incline plus and minus buttons in your app change values in my treadmill and physical treadmill buttons can change values on QZ - no problem
  4. Speed plus and minus buttons work the same as incline but there is strange behavior. Everything works fine until I press the incline button in QZ, then speed buttons stop working on QZ and treadmill too. The only thig I can do is manually stop treadmill and restart app.

Thanks again for your hard work and help.

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

Deteorek commented 1 year ago

I made some new tests.

1) STOP and START work perfectly - thank you! 2) Now when QZ app looks 100% working I connected to some training apps:

I can connect and start the workout. I can see my HR readings, speed, pace and incline readings from my real treadmill and all data are OK, but no data about cadence (from QZ on my apple Watch), no distance (always 0:00), and elevation (0,00).

More on this, I can't change the speed from the Kinni app (no treadmill reaction). I can change the incline but, then strange behavior happens. When I press "+1" button in Kinni app it reacts as it should and changes the incline on my treadmill by 1 level up, second press "+1" and the treadmill goes high to level number 11 ??? Button "-1" not working, and I can't reduce the incline with the Kinni app. - Could you give me any advice or helping hand with it?

Thank you

cagnulein commented 1 year ago

I made some new tests.

1) STOP and START work perfectly - thank you!

great!

2) Now when QZ app looks 100% working I connected to some training apps:

  • ZWIFT and Kinomap - for the first look everything is OK, all data readings and auto incline control in Kinomap app working too - you are a Genius!

great and thanks for the coffee!

  • iConsole - can't connect to this app. When I select Bluetooth device (my phone with QZ app) I've got an error message "Can't find the expected UUIDs" - Is there anything we can do with it?

actually qz doesn't support iconsole app. it's something that i can do of course, but you are the first one asking me about this. maybe open a new ticket if you are interested

  • Kinni app - I have some training plans in this app so It would be nice to have it working with my treadmill.

I can connect and start the workout. I can see my HR readings, speed, pace and incline readings from my real treadmill and all data are OK, but no data about cadence (from QZ on my apple Watch), no distance (always 0:00), and elevation (0,00).

More on this, I can't change the speed from the Kinni app (no treadmill reaction).

I can change the incline but, then strange behavior happens. When I press "+1" button in Kinni app it reacts as it should and changes the incline on my treadmill by 1 level up, second press "+1" and the treadmill goes high to level number 11 ??? Button "-1" not working, and I can't reduce the incline with the Kinni app. - Could you give me any advice or helping hand with it?

Thank you

about the kinni app the solution is simple: kinni is using the qz library, so you have only to ask them to implement this using the qz library ( you could tell me that you already speak with me )

let me know

Deteorek commented 1 year ago

Thanks, Roberto for your advice. I do what you suggest: open a new ticket for the iConsole app and send a message to Kinni support.

Thank you and have a nice weekend!