Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[REQ] Broadcast cadence & speed to Garmin watch #1316

Closed
hakun opened this issue Feb 26, 2023 · 149 comments · Fixed by #1330
Closed

[REQ] Broadcast cadence & speed to Garmin watch #1316

hakun opened this issue Feb 26, 2023 · 149 comments · Fixed by #1330
Assignees
Labels
Milestone

Comments

@hakun
Copy link

hakun commented Feb 26, 2023

Is your feature request related to a problem? Please describe.
My training set:

  • Domyos Indoor Bike 500
  • iPhone 11 Pro Max running QZ Fitness App
  • Garmin Enduro 2 with running indoor bike mode
    I want my Garmin watch can get cadence & speed from Domyos. I tried to search QZ Fitness App as a speed/cadence sensor, it show and able to added. However, no speed or cadence is shown in Garmin data field, and also QZ status on Garmin is always shown as searching (even though it was added)

Describe the solution you'd like
Real time cadence and speed from Domyos Indoor Bike => QZ Fitness App => Garmin watch
Note: of course, Garmin watch cannot see Domyos (not compatible). So I purchased QZ Fitness App with expect it can address problem.

Describe alternatives you've considered
No alternatives so far

Additional context
Nothing yet

@hakun hakun added the enhancement New feature or request label Feb 26, 2023
@cagnulein
Copy link
Owner

hi @hakun do you have also a pc? i'm asking this because it will be simple to try to find a workaround this with a pc due to the fact that i don't have to put a release each time to the apple store

@cagnulein
Copy link
Owner

#1049 #1044

@hakun
Copy link
Author

hakun commented Feb 26, 2023

hi @hakun do you have also a pc? i'm asking this because it will be simple to try to find a workaround this with a pc due to the fact that i don't have to put a release each time to the apple store

Did you means a Personal Computer? I have a laptop and desktop with windows 10. Please tell me what can I try?

@cagnulein
Copy link
Owner

cagnulein commented Feb 26, 2023 via email

@hakun
Copy link
Author

hakun commented Feb 26, 2023

Downloaded, opened (seems portable one).
How can I add Domyos to bluetooth list? App can only see my bluetooth mouse.

@cagnulein
Copy link
Owner

cagnulein commented Feb 26, 2023 via email

@hakun
Copy link
Author

hakun commented Feb 26, 2023

Did it. Can see all data on PC.
However, Garmin watch cannot even add it (like via iPhone).
What is next.

@cagnulein
Copy link
Owner

cagnulein commented Feb 26, 2023 via email

@hakun
Copy link
Author

hakun commented Feb 26, 2023

I don't use BT dongle but build-in one in my desktop.
What information do you want to get, please let me know.

@cagnulein
Copy link
Owner

first i have to check what changes i could do, qz is sending standard bluetooth sensors and so garmin should work, but probably garmin doesn't want a pc or iphone but a pure sensor. i have to find a way to hide the pc/iphone informations somehow

@hakun
Copy link
Author

hakun commented Feb 26, 2023

About BT, seems this BT cannot broadcast because Garmin watch cannot search it (like it can found QZ in iPhone).
About Garmin watch when searching QZ in iPhone, it's strange that it can add QZ only, then cannot see data & always show searching status in sensor list.

@cagnulein
Copy link
Owner

cagnulein commented Feb 26, 2023 via email

@hakun
Copy link
Author

hakun commented Feb 26, 2023

I used default setting. Now let me try what you said.

@hakun
Copy link
Author

hakun commented Feb 26, 2023

Settings/Peloton Options/Cycling Cadence Sensor?
Is that settings? Set that, restart app, still same.

@cagnulein
Copy link
Owner

yes that one.
Ok I have to think so about this. If you can, can you also contact garmin about this? Since QZ is sending standard bluetooth sensor, garmin watches have to work

@cagnulein
Copy link
Owner

probably the garmin discard the iphone, because it's connected with garmin connect on it

@hakun
Copy link
Author

hakun commented Feb 26, 2023

I don't think Garmin care about unofficial sensors source like QZ. Anyway, let me try that later.
I spend all hopes on you. Let me know if I can help to debug/revert somethings.

@cagnulein
Copy link
Owner

I can buy a garmin watch on amazon to check this, maybe in the next weeks/month

@cagnulein
Copy link
Owner

cagnulein commented Feb 26, 2023

I guess I find a way https://github.com/MatyasKriz/ios-connect-iq-comms
But a new app on garmin connect is required
Let me check this in the next days, it will be not an easy task but it's doable, it just a matter of time

@hakun
Copy link
Author

hakun commented Feb 26, 2023

ok, wait for your updates.
I saw you found this problem added by you since Nov 2022.

@cagnulein
Copy link
Owner

yes check my previous comment ;)

@hakun
Copy link
Author

hakun commented Feb 26, 2023

Cannot wait to see it works!
I used to consider to buy Garmin cadence & speed sensor 2. However, Domyos indoor bike speed does not only base on cadence but also resistance. So, get information from it should be better rater additional sensors.

@cagnulein
Copy link
Owner

ok i'm starting this, let's see if i will have something ready soon

@hakun
Copy link
Author

hakun commented Mar 2, 2023

Thank you, fingers crossed ...

@cagnulein cagnulein linked a pull request Mar 2, 2023 that will close this issue
@cagnulein
Copy link
Owner

@hakun i ordered a garmin device to test it, i hope to have something usable next week

for me, create a session like this https://github.com/dmrrlc/connectiq-sailing/blob/master/source/SailingApp.mc

@cagnulein
Copy link
Owner

hah ok! This could be the main difference so. Because I was using the PI4 and i collect the low level data with a sniffer in order to be sure about the public address

@nieko-nera
Copy link

I use this command to start QZ sudo ./qdomyos-zwift -no-gui -run-cadence-sensor -only-virtualtreadmill -no-heart-service

Watch finds, but cant connect to Foot Pod.

Screenshot_20230411-174923
Screenshot_20230411-174937
Screenshot_20230411-174944
Screenshot_20230411-175020

@cagnulein
Copy link
Owner

@nieko-nera at this point the only difference between my setup could be only the bluetooth dongle. Also, since my garmin edge can't connect to a running cadence sensor (because it's a bike device), it could be that garmin requires also something else that I'm not aware of. The only way to find it out it could be if I would buy a garmin watch to test it...

@nieko-nera
Copy link

OK, I understand :)

@cagnulein
Copy link
Owner

@nieko-nera got an idea: we can mimic a real running cadence sensor . do you have one?

@nieko-nera
Copy link

unfortunately I don't have it. but i have TICKR X CHEST HEART RATE MONITOR, it advertises:

  • NEW! ANT+ RUNNING DYNAMICS buts its ANT+
  • TREADMILL MODE - maybe this be useful to investigate

@cagnulein
Copy link
Owner

Bingo! Yes! If you can send me a full nrfconnect log about it (I hope it has Bluetooth low energy)

@nieko-nera
Copy link

Problem is that my watch only finds HR and cycling cadence from TICKR X.
Probably Garmin just want ANT+. Watch video in Stryd guide how to pair their Foot Pod

Screenshot_20230411-204831
Screenshot_20230411-204842
Screenshot_20230411-204856
Screenshot_20230411-205017
Screenshot_20230411-205027

@cagnulein
Copy link
Owner

cagnulein commented Apr 11, 2023 via email

@nieko-nera
Copy link

My android phone have ANT+
Here is log:
Log 2023-04-11 21_35_49.txt

@cagnulein
Copy link
Owner

perfect can you tell me the value of RSC Feature [R] (0x2A54) ? you can read it with the down arrow icon

also i was thinking that maybe we can implement rsc over ant+, should be easier. what do you think?

@nieko-nera
Copy link

Screenshot_20230411-214648

ANT+ Foot Pod would be nice

@cagnulein
Copy link
Owner

@nieko-nera i did another small fix in the garmin_and_raspberry branch. Could you try to pull it and build it?
In the mean time I'm investigating the possibility of a RSC on ANT+ but I don't find any reference code. Can you try to check on github too for similar project?

@cagnulein
Copy link
Owner

I guess I found something for ANT+ https://github.com/jonathanpandres/treadmill_sdm

@hakun
Copy link
Author

hakun commented Jun 18, 2023

I'm going to try on raspberry pi for getting speed from treadmill to Garmin watch as: Decathlon Intense Run => Raspberry PI (running QZ) => Garmin watch. Do you have instruction to do it? I'm ok with linux command line. If it works stable, where can I pay you?

@cagnulein
Copy link
Owner

@hakun follow the original instructions that you can find in the home page:

main difference is that you have to checkout a different branch

git checkout -b garmin_and_raspberry

let me know

@cagnulein cagnulein reopened this Jun 18, 2023
@hakun
Copy link
Author

hakun commented Jun 18, 2023

Let me try and feedback you later. Thanks.

@hakun
Copy link
Author

hakun commented Jun 19, 2023

It doesn't work. Raspberry can connect to Domyos. Garmin can search and add Raspberry but show not connected right after that, connect again show connect fail (quite same phenomenon with qz app on iphone). Let me know if you want to check somethings.

@cagnulein
Copy link
Owner

@hakun yes send here the debug log and also a nrfconnect screenshot showing what you are seeing from qz on the raspberry
Thanks

@cagnulein
Copy link
Owner

guys maybe releated, check this #1548 (comment)

@stale
Copy link

stale bot commented Jul 20, 2023

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 stale bot added the wontfix This will not be worked on label Jul 20, 2023
@cagnulein
Copy link
Owner

I guess we can finally close this one!

@cagnulein cagnulein added this to the 2.13 milestone Jul 20, 2023
@cagnulein cagnulein added android garmin ant+ and removed wontfix This will not be worked on labels Jul 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants