qdomyos-zwift icon indicating copy to clipboard operation
qdomyos-zwift copied to clipboard

Wahoo Direct Connect

Open cagnulein opened this issue 3 years ago • 29 comments

I'm wondering if anyone has thought of implementing the BLE FTMS over TCI/IP that the Wahoo Direct Connect serves up?

It seems like this is probably a direction that trainers in the future may support.

https://www.wahoofitness.com/instructions/kickr-direct-connect

GPLama actually has a great video on analysis of the communication protocol with Wireshark and might provide enough information to reverse engineer it.

https://youtu.be/XtIM5675dLo

The other trick is that while it's supported by most apps currently, Zwift does not.

by @doudar

cagnulein avatar Oct 29 '21 08:10 cagnulein

Copy from /ptx2/gymnasticon/ - Future discussion will be here:

Yah, it looks pretty darn cool and opens up the possibility of less expensive hardware.

Thanks a bunch for your interest @cagnulein !

If you need better wireshark logs, you might be able to get in touch with @GPLama (Shane Miller). He's been responsive to emails in the past.

doudar avatar Oct 29 '21 14:10 doudar

I will check deeply the video and then I will try to contact him for sure! Thanks and have a nice weekend!

Il giorno ven 29 ott 2021 alle 16:52 Anthony Doud @.***> ha scritto:

Copy from /ptx2/gymnasticon/ - Future discussion will be here:

Yah, it looks pretty darn cool and opens up the possibility of less expensive hardware.

Thanks a bunch for your interest @cagnulein https://github.com/cagnulein !

If you need better wireshark logs, you might be able to get in touch with @GPLama https://github.com/GPLama (Shane Miller). He's been responsive to emails in the past.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/cagnulein/qdomyos-zwift/issues/476#issuecomment-954807495, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAALYWEUFX5MX2F4GBRMFITUJKYJDANCNFSM5G6XRMNQ .

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

cagnulein avatar Oct 29 '21 15:10 cagnulein

From my point of view qz could act as a wahoo direct connect device so we can delete the bridge over Bluetooth leaving only the bridge over Wi-Fi. What do you think?

Il giorno ven 29 ott 2021 alle 17:24 cagnulein @.***> ha scritto:

I will check deeply the video and then I will try to contact him for sure! Thanks and have a nice weekend!

Il giorno ven 29 ott 2021 alle 16:52 Anthony Doud < @.***> ha scritto:

Copy from /ptx2/gymnasticon/ - Future discussion will be here:

Yah, it looks pretty darn cool and opens up the possibility of less expensive hardware.

Thanks a bunch for your interest @cagnulein https://github.com/cagnulein !

If you need better wireshark logs, you might be able to get in touch with @GPLama https://github.com/GPLama (Shane Miller). He's been responsive to emails in the past.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/cagnulein/qdomyos-zwift/issues/476#issuecomment-954807495, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAALYWEUFX5MX2F4GBRMFITUJKYJDANCNFSM5G6XRMNQ .

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

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

cagnulein avatar Oct 29 '21 16:10 cagnulein

From my point of view qz could act as a wahoo direct connect device so we can delete the bridge over Bluetooth leaving only the bridge over Wi-Fi. What do you think? Il giorno ven 29 ott 2021 alle 17:24 cagnulein @.> ha scritto: I will check deeply the video and then I will try to contact him for sure! Thanks and have a nice weekend! Il giorno ven 29 ott 2021 alle 16:52 Anthony Doud < @.> ha scritto: > Copy from /ptx2/gymnasticon/ - Future discussion will be here: > > Yah, it looks pretty darn cool and opens up the possibility of less > expensive hardware. > > Thanks a bunch for your interest @cagnulein > https://github.com/cagnulein ! > > If you need better wireshark logs, you might be able to get in touch with > @GPLama https://github.com/GPLama (Shane Miller). He's been responsive > to emails in the past. > > — > You are receiving this because you were mentioned. > Reply to this email directly, view it on GitHub > <#476 (comment)>, > or unsubscribe > https://github.com/notifications/unsubscribe-auth/AAALYWEUFX5MX2F4GBRMFITUJKYJDANCNFSM5G6XRMNQ > . > -- Roberto Viola Software engineer and open source enthusiast http://robertoviola.cloud -- Roberto Viola Software engineer and open source enthusiast http://robertoviola.cloud

Yes, that's exactly what I'm thinking.

The only issue is Zwift hasn't implemented it yet, but it should work with Trainer Road and other apps. Zwift says they will implement it, but they haven't yet. https://forums.zwift.com/t/wahoo-kickr-direct-connect/540493/60 https://forums.zwift.com/t/wahoo-direct-connect-adapter/548799

doudar avatar Oct 29 '21 16:10 doudar

@cagnulein - Any progress on this? Any areas where I may be able to help?

doudar avatar Nov 05 '21 21:11 doudar

Yes, write me on messenger

Il giorno ven 5 nov 2021 alle 22:28 Anthony Doud @.***> ha scritto:

@cagnulein https://github.com/cagnulein - Any progress on this? Any areas where I may be able to help?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/cagnulein/qdomyos-zwift/issues/476#issuecomment-962231999, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAALYWBL37CIDXPEORHWRADUKRK7VANCNFSM5G6XRMNQ .

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

cagnulein avatar Nov 06 '21 05:11 cagnulein

I implemented the code to support Wahoo Direct connect. It can be foud here. I tested it only under android. From my tests it seems that Only SYSTM under windows and RGT under windows and iOS are supporting direct connect devices. It will be nice and useful if anyone can make a test with its setup. The test I need is:

  • Install SYSTM under android or iOS
  • Create an account
  • Start an activity in SYSTM with Bluetooth active. It should start searching devices automatically
  • From a PC connected to the same network start a Wireshark packet capture with this filter set: mdns and dns.ptr.domain_name contains "wahoo"
  • See if it detects any packet
  • Repeat the same test with RGT under android or with any app you think can support wahoo direct connect

Thank you. I hope this weekend I can make some test under iOS and make the pull request.

p3g4asus avatar Nov 25 '21 14:11 p3g4asus

@p3g4asus great! i will test this weekend @doudar could you collect some info for @p3g4asus too on your end? thanks!

cagnulein avatar Nov 25 '21 14:11 cagnulein

Wow!!! This sounds amazing! Thanks for your work- I can’t wait to take a closer look.

On Thu, Nov 25, 2021 at 8:02 AM p3g4asus @.***> wrote:

I implemented the code to support Wahoo Direct connect. It can be foud here https://github.com/p3g4asus/qdomyos-zwift/tree/Dircon. I tested it only under android. From my tests it seems that Only SYSTM under windows and RGT under windows and iOS are supporting direct connect devices. It will be nice and useful if anyone can make a test with its setup. The test I need is:

  • Install SYSTM under android or iOS
  • Create an account
  • Start an activity in SYSTM with Bluetooth active. It should start searching devices automatically
  • From a PC connected to the same network start a Wireshark packet capture with this filter set: mdns and dns.ptr.domain_name contains "wahoo"
  • See if it detects any packet
  • Repeat the same test with RGT under android or with any app you think can support wahoo direct connect

Thank you. I hope this weekend I can make some test under iOS and make the pull request.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/cagnulein/qdomyos-zwift/issues/476#issuecomment-979240427, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEEO2KDPG4DMTU2OMWWP4GDUNY6ZBANCNFSM5G6XRMNQ .

--

---------------------- Anthony Doud

doudar avatar Nov 25 '21 14:11 doudar

@p3g4asus great! i will test this weekend @doudar could you collect some info for @p3g4asus too on your end? thanks!

Yes, I'll see what I can do.

doudar avatar Nov 25 '21 15:11 doudar

#508

cagnulein avatar Nov 30 '21 11:11 cagnulein

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] avatar Feb 04 '22 16:02 stale[bot]

Built the QZ from the latest source on GitHub on P3 running Bullseye; ran QZ with "Wahoo Direct Connect" enabled by default and connected to my bike's BT.

Under the sensors of Wahoo RGT app running on my Windows 10 w/o BT on the same LAN, I can see both "Wahoo Direct Connect 0" and "Wahoo Direct Connect 1" got detected and able to connect to either of them at a time; but there are no Power and Cadence data from them. Did I miss any thing?

Thanks!

shoulih avatar Jun 21 '22 20:06 shoulih

try zwift first to exclude an rgt incompatibility let me know Il 21 giu 2022, 22:07 +0200, shoulih @.***>, ha scritto:

Built the QZ from the latest source on GitHub on P3 running Bullseye; ran QZ with "Wahoo Direct Connect" enabled by default and connected to my bike's BT. Under the sensors of Wahoo RGT app running on my Windows 10 w/o BT on the same LAN, I can see both "Wahoo Direct Connect 0" and "Wahoo Direct Connect 1" got detected and able to connect to either of them at a time; but there are no Power and Cadence data from them. Did I miss any thing? Thanks! — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you were mentioned.Message ID: @.***>

cagnulein avatar Jun 21 '22 20:06 cagnulein

try zwift first to exclude an rgt incompatibility let me know Il 21 giu 2022, 22:07 +0200, shoulih @.>, ha scritto: Built the QZ from the latest source on GitHub on P3 running Bullseye; ran QZ with "Wahoo Direct Connect" enabled by default and connected to my bike's BT. Under the sensors of Wahoo RGT app running on my Windows 10 w/o BT on the same LAN, I can see both "Wahoo Direct Connect 0" and "Wahoo Direct Connect 1" got detected and able to connect to either of them at a time; but there are no Power and Cadence data from them. Did I miss any thing? Thanks! — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you were mentioned.Message ID: @.>

I don't seem to have a zwift account and do you have a testing account that I can use?

Thanks!

shoulih avatar Jun 22 '22 15:06 shoulih

@shoulih nope, just my personal account. Create a new one, it's free and it doesn't require a credit card ;)

cagnulein avatar Jun 22 '22 15:06 cagnulein

just created a new account, but it forced me to enter my credit card info.

shoulih avatar Jun 22 '22 18:06 shoulih

https://github.com/zoffline/zwift-offline

doudar avatar Jun 22 '22 18:06 doudar

just created a new account, but it forced me to enter my credit card info.

must be a new thing, i don't remember, i created mine 3 years ago.

@doudar good suggestion! never tried! It could also be useful for test!

cagnulein avatar Jun 22 '22 18:06 cagnulein

@cagnulein created a trial zwift account with my credit card and tested it with QZ on Pi 3 and Zwift on Windows 10 running on the same LAN. The QZ's "Wahoo Direct Connect" works just fine with the correct data. What a great feature!

image

shoulih avatar Jun 24 '22 20:06 shoulih

On the latest version Wahoo RGT for Windows (10), I can see both "Wahoo Direct Connect 0" and "Wahoo Direct Connect 1" got detected and able to connect to either of them at a time; but there are no Power and Cadence data from them:

image

shoulih avatar Jun 24 '22 20:06 shoulih

@shoulih also the wahoo direct connect 0 doesn't show metrics on RGT?

cagnulein avatar Jun 27 '22 06:06 cagnulein

No, Wahoo direct connect 0 doesn't show metrics on RGT either.

shoulih avatar Jun 27 '22 16:06 shoulih

If zwift works it's a bug on RGT for sure. Did you try to contact their support?

cagnulein avatar Jun 28 '22 06:06 cagnulein

Yes, Wahoo said RGT is compatible with KICKR Direct Connect (KICKR v5+); do we have plan to make QZ's Wahoo Direct Connect compatible with RGT?

Thanks,

shoulih avatar Jun 28 '22 14:06 shoulih

@shoulih i can say the same thing of QZ since it's working with zwift :) So i guess it's RGT the problem. Probably they didn't handle TWO Direct connect devices at the same time. I have to check myself if I can do something but I can't promise a timing because I'm very busy in these months. Maybe can you add me to the Wahoo ticket?

cagnulein avatar Jun 28 '22 14:06 cagnulein

@cagnulein Please don't worry about it as Wahoo Direct Connect is still new and its implementation seems to vary from app to app. BTW, i don't think Wahoo will support QZ's Wahoo Direct Connect for RGT :-)

Thanks,

shoulih avatar Jun 28 '22 16:06 shoulih

@shoulih there is nothing strange in the QZ implementation of Dircon :) I guess that RGT simply blocks it because it doesn't come from a genuine KICKR device maybe. Anyway I will keep it in the todo list ;)

cagnulein avatar Jun 28 '22 20:06 cagnulein

@shoulih there is nothing strange in the QZ implementation of Dircon :) I guess that RGT simply blocks it because it doesn't come from a genuine KICKR device maybe. Anyway I will keep it in the todo list ;)

very likely and appreciated it to keep this on your list!

shoulih avatar Jun 29 '22 19:06 shoulih

yes you have i guess 10 km or something like that

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

Il giorno mar 21 giu 2022 alle ore 22:28 shoulih @.***> ha scritto:

will do, is zwift free to try?

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

cagnulein avatar Oct 11 '22 07:10 cagnulein