cagnulein / qdomyos-zwift

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

[REQ] Virtual Echelon on Android/Raspberry Pi #1617

Open HartD92 opened 1 year ago

HartD92 commented 1 year ago

Is your feature request related to a problem? Please describe. I am able to connect an echelon bike to QZ on my android, and broadcast the cadence/power data to my garmin device, but I am then unable to connect it back to the echelon app.

Describe the solution you'd like Echelon Bike/Rower -> QZ -> Echelon App + Garmin

Describe alternatives you've considered I have attempted to configure both using QZ on an android device, as well as on rpi and windows.

Additional context Add any other context or screenshots about the feature request here.

cagnulein commented 1 year ago

you have to rename the pi over bluetooth with ECHEX or the name of your bike

Il giorno mar 22 ago 2023 alle 20:36 David @.***> ha scritto:

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

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

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

HartD92 commented 1 year ago

I set the alias to EXCHEX-3-xxxxxx, verified that it appears as such on bluetooth discovery, but still nothing in the Echelon app device list.

cagnulein commented 1 year ago

stupid question: did you enable the virtual echelon setting in the experimental settings? if you are using the nogui, you have to patch code to create a new switch for this

are you able to do so in a PR?

HartD92 commented 1 year ago

Yeah, I am using no-gui. I made a switch and it's building. I'll make a PR after confirming. Would it also have been possible to export a qml settings profile from android/windows and use the -profile switch to load it in?

cagnulein commented 1 year ago

perfect , thanks

Il giorno mar 22 ago 2023 alle 22:16 David @.***> ha scritto:

Yeah, I am using no-gui. I made a switch and it's building. I'll make a PR after confirming.

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

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

HartD92 commented 1 year ago

Finally finished building. I tested it and it takes the switch fine:

"template_user_vlc_type" QVariant(QString, "TcpClient") Wed Aug 23 10:11:59 2023 1692807119470 Debug: main.cpp int main(int, char**) "virtual_device_echelon" QVariant(bool, true) "virtual_device_echelon" QVariant(bool, true)

but it doesn't advertise to my Echelon app. With the garmin_and_raspberry code merged in as well, it seems to be hardcoded to alias as "Pixel 6a".

cagnulein commented 1 year ago

yes with the garmin repository it's hardcoded but anyway you can't have both garmin and virtual echelon at the same time with the current code. we need to broadcast both services

Il giorno mer 23 ago 2023 alle 18:17 David @.***> ha scritto:

Finally finished building. I tested it and it takes the switch fine:

"template_user_vlc_type" QVariant(QString, "TcpClient") Wed Aug 23 10:11:59 2023 1692807119470 Debug: main.cpp int main(int, char**) "virtual_device_echelon" QVariant(bool, true) "virtual_device_echelon" QVariant(bool, true)

but it doesn't advertise to my Echelon app. With the garmin_and_raspberry code merged in as well, it seems to be hardcoded to alias as "Pixel 6a".

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

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

HartD92 commented 1 year ago

That's what I thought, which is why I was trying to do ANT on raspberry. That could broadcast for the Garmin, and use BT for connecting to Echelon on iOS/Android.

On Wed, Aug 23, 2023, 12:29 PM Roberto Viola @.***> wrote:

yes with the garmin repository it's hardcoded but anyway you can't have both garmin and virtual echelon at the same time with the current code. we need to broadcast both services

Il giorno mer 23 ago 2023 alle 18:17 David @.***> ha scritto:

Finally finished building. I tested it and it takes the switch fine:

"template_user_vlc_type" QVariant(QString, "TcpClient") Wed Aug 23 10:11:59 2023 1692807119470 Debug: main.cpp int main(int, char**) "virtual_device_echelon" QVariant(bool, true) "virtual_device_echelon" QVariant(bool, true)

but it doesn't advertise to my Echelon app. With the garmin_and_raspberry code merged in as well, it seems to be hardcoded to alias as "Pixel 6a".

— Reply to this email directly, view it on GitHub < https://github.com/cagnulein/qdomyos-zwift/issues/1617#issuecomment-1690253959>,

or unsubscribe < https://github.com/notifications/unsubscribe-auth/AAALYWARG4QLOZIWLJXWA6DXWYUKNANCNFSM6AAAAAA32KWJ7M>

. You are receiving this because you were mentioned.Message ID: @.***>

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

— Reply to this email directly, view it on GitHub https://github.com/cagnulein/qdomyos-zwift/issues/1617#issuecomment-1690440693, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAEOQBGQYO4PURQJFL3XBA3XWZDZZANCNFSM6AAAAAA32KWJ7M . You are receiving this because you authored the thread.Message ID: @.***>

cagnulein commented 1 year ago

the quickest way is broadcasting bluetooth for garmin and echelon but i don't have time right now, i'm on business travel

HartD92 commented 1 year ago

Got it. I'm not really familiar with how BT works. Any idea where to start?

cagnulein commented 1 year ago

yeah i have all in my mind, i have only to have time to do it :)

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

HartD92 commented 11 months ago

Hello! Was this resolved by #1347?

cagnulein commented 11 months ago

nope the bot closed because there wasn't activity. i didn't even start it unfortunately

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

HartD92 commented 10 months ago

Bump to reopen.

On Fri, Jan 19, 2024, 1:16 AM stale[bot] @.***> wrote:

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.

— Reply to this email directly, view it on GitHub https://github.com/cagnulein/qdomyos-zwift/issues/1617#issuecomment-1899952511 or unsubscribe https://github.com/notifications/unsubscribe-auth/AAEOQBHLAQO447S5DXYAFM3YPITWRBFKMF2HI4TJMJ2XIZLTSWBKK5TBNR2WLJDUOJ2WLJDOMFWWLO3UNBZGKYLEL5YGC4TUNFRWS4DBNZ2F6YLDORUXM2LUPGBKK5TBNR2WLJDUOJ2WLJDOMFWWLLTXMF2GG2C7MFRXI2LWNF2HTAVFOZQWY5LFUVUXG43VMWSG4YLNMWVXI2DSMVQWIX3UPFYGLAVFOZQWY5LFVIZDGMZWGAYDENJZHCSG4YLNMWUWQYLTL5WGCYTFNSBKK5TBNR2WLKRSGMZTMMBQGI3DAN5ENZQW2ZNJNBQXGX3MMFRGK3FMON2WE2TFMN2F65DZOBS2YSLTON2WKQ3PNVWWK3TUUZ2G64DJMNZZJAVEOR4XAZNKOJSXA33TNF2G64TZUV3GC3DVMWUTEOJUGE2TONBXG6BKI5DZOBS2K2LTON2WLJLWMFWHKZNKGE4DMMJZHEZDMNRWQKSHI6LQMWSWYYLCMVWKK5TBNR2WLKRSGMZTMMBQGI2TSOECUR2HS4DFUVWGCYTFNSSXMYLMOVS2UMRTGM3DAMBSGYYDPJ3UOJUWOZ3FOKTGG4TFMF2GK . You are receiving this email because you authored the thread.

Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub .

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