-
-
Notifications
You must be signed in to change notification settings - Fork 129
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] Read cadence from Garmin when in -run-cadence-sensor
mode for FTMS treadmills
#3042
Comments
Yes only with the qz garmin companion app but then you need to run qz on
android or ios
Roberto Viola
Software engineer and open source enthusiast
http://robertoviola.cloud
Il giorno dom 12 gen 2025 alle 23:35 sirfergy ***@***.***> ha
scritto:
… Assigned #3042 <#3042>
to @cagnulein <https://github.com/cagnulein>.
—
Reply to this email directly, view it on GitHub
<#3042 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAALYWG7L4MF7U44O7W73A32KLUZLAVCNFSM6AAAAABVBOOVCGVHI2DSMVQWIX3LMV45UABCJFZXG5LFIV3GK3TUJZXXI2LGNFRWC5DJN5XDWMJVHA4TOMJRGM4TAMI>
.
You are receiving this because you were assigned.Message ID:
***@***.***>
|
As far as I know garmin don't send cadence over Bluetooth or at least not in a clear way We should use the garmin connect iq protocol but it's not open. If you want you could use the https://github.com/cagnulein/qdomyos-zwift/blob/master/docs/20_supported_devices_and_applications.md#android-device To collect a log from qz and the companion watch so we can try to reverse engineering it also on raspberry |
My Moto e4 is too old to install Garmin Connect, so I need to buy a "new" Android phone and then we can try. |
Do you have also ios device? If so use this
https://ultrawyrypa.pl/index.php/2024/11/05/qz-fitness-connect-ifit-treadmil-to-zwift-and-not-only/
Roberto Viola
Software engineer and open source enthusiast
http://robertoviola.cloud
Il giorno lun 13 gen 2025 alle 06:28 Sean Ferguson ***@***.***>
ha scritto:
… My Moto e4 is too old to install Garmin Connect, so I need to buy a "new"
Android phone and then we can try.
—
Reply to this email directly, view it on GitHub
<#3042 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAALYWHKXHBMM5T55ZD43Z32KNFIXAVCNFSM6AAAAABVBOOVCGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKOBWGE4TSNJYGQ>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
But since iOS doesn’t support being a sensor for Garmin what will that do? The Pi was useful since it can translate treadmill pace to my Garmin, but at the sacrifice of cadence and power. Once my newer Android arrives I’ll verify if it can combine data from the IQ companion app and the treadmill.
Sent from my iPhone
On Jan 12, 2025, at 9:30 PM, Roberto Viola ***@***.***> wrote:
Do you have also ios device? If so use this
https://ultrawyrypa.pl/index.php/2024/11/05/qz-fitness-connect-ifit-treadmil-to-zwift-and-not-only/
Roberto Viola
Software engineer and open source enthusiast
http://robertoviola.cloud
Il giorno lun 13 gen 2025 alle 06:28 Sean Ferguson ***@***.***>
ha scritto:
My Moto e4 is too old to install Garmin Connect, so I need to buy a "new"
Android phone and then we can try.
—
Reply to this email directly, view it on GitHub
<#3042 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAALYWHKXHBMM5T55ZD43Z32KNFIXAVCNFSM6AAAAABVBOOVCGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKOBWGE4TSNJYGQ>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
—
Reply to this email directly, view it on GitHub<#3042 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AAC2CJIFBNKMGRUAIST554L2KNFONAVCNFSM6AAAAABVBOOVCGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKOBWGIYDAOBYHE>.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
no on ios, with the qz garmin app, you can get hr and cadence from your watch on your phone! |
Oh, I totally misunderstood your earlier comment! You want the logs from phone to see if we can make it work on the Pi. I will follow those steps soon! |
yep exactly. i mean we should do the same thing that garmin connect does on your phone, on the raspberry. i don't know if it will be an easy job |
I'll get the logs soon, but had a totally different idea. I saw you have logic in virtualtreadmill to read cadence from the companion app. In theory couldn't you also read directly from a foot pod? I wrote a super simple node app to confirm you can read data from a sensor that's not currently connected with the phone. |
Is the watch broadcasting the run foot pod over Bluetooth? |
Alas, no |
So that's why qz companion is required :) |
But now that I think about it, it must be because Zwift see's the cadence from the Garmin. But when using QZ it reports as 0 since it's trusting QZ which is not sending data. 🙃 |
how do you see the right cadence in zwift from garmin? how do you pair it? |
hah so it's sending cadence data! set the forerunner under the power sensor in the accessories settings in qz and disable the garmin companion settin in qz. |
It didn't work, as I suspect the value being read is coming from the footpod which is QZ. My newer Android phone arrives tomorrow and I'll test with the companion app to get the debug logs. |
no i mean qz is reading the cadence correctly? show me a debug log with this configuration, it must works in this case. i guess you seup something wrong |
Here's the log from my iOS device |
got the issue! i will fix it asap, it's an easy one!
Roberto Viola
Software engineer and open source enthusiast
http://robertoviola.cloud
Il giorno mar 14 gen 2025 alle 19:59 sirfergy ***@***.***> ha
scritto:
… Here's the log from my iOS device
debug-Tue_Jan_14_09_53_15_2025.log
<https://github.com/user-attachments/files/18415011/debug-Tue_Jan_14_09_53_15_2025.log>
—
Reply to this email directly, view it on GitHub
<#3042 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAALYWE5EGI6XLSI5RNCGL32KVNAHAVCNFSM6AAAAABVBOOVCGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKOJQHA4DGNJVGU>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
@sirfergy i just checked and actually I already implemented this. In the log i can see the HR from your watch but i can't see the cadence transmitted from your watch. It seems you were steady? could you please try a small 1 minute workout in the same scenario? |
I was definitely moving and on my watch I saw cadence values reported. |
the watch is reporting only HR on the log. that's so strange. could you make a thing? |
Can do this afternoon! |
No rush, 7pm here :) |
Will the iOS app (PocketLogger.app) pick up the bluetooth traffic from the Garmin? |
You need to run zwift on the iphone |
Or maybe you can grep the log from the mac directly too |
Sorry for the delay! Also, I just realized I was doing the logging wrong, I have to click the button in the app to get it to save! I had assumed it saved every time, which would explain why some logs didn't have anything of interest. qz logs: bt log that should have been running the duration of the above logs: |
Yes, ftms that means "Run Cadence Sensor is off" in the experimental settings. Sorry, not the option on Horizon to force it to use ftms. And mode doesn't actually matter, qz reads the correct data either way. |
And since this has been a long thread, I want to summarize in case I've confused myself or you:
|
Thanks
This should be turned off. Did you try?
Yes this is the way
Exactly, only power, this could lead to the issue
Nope this one affects the bridge not the connection to a source. I guess there is a closed loop issue. I will check again your logs to be sure
Yes this right |
I disabled cadence, no change in how things work. |
could you please show me a debug log from qz with cadence disabled, and power sensor set to forerunner, run cadence sensor disabled? |
Here you go! I'm not sure why I have run cadence sensor even on when using my iPhone, it's not like the Garmin can see it. I did notice some oddity, it wasn't consistently connecting to the Garmin as a power sensor, I'd have to go to settings, refresh list choose it, then restart to get it to show up. |
Now it's working I can see cadence and hr!
Also disable the forerunner from the heart rate belt name setting as well.
Leave it only on power
Yes I saw the issue about the power sensor in a previous log, I guess it's
about to the heart rate setting
Let me know
Roberto Viola
Software engineer and open source enthusiast
http://robertoviola.cloud
Il giorno ven 17 gen 2025 alle 18:17 sirfergy ***@***.***> ha
scritto:
… Here you go! I'm not sure *why* I have run cadence sensor even on when
using my iPhone, it's not like the Garmin can see it.
I did notice some oddity, it wasn't consistently connecting to the Garmin
as a power sensor, I'd have to go to settings, refresh list choose it, then
restart to get it to show up.
debug-Fri_Jan_17_08_36_29_2025.log
<https://github.com/user-attachments/files/18457804/debug-Fri_Jan_17_08_36_29_2025.log>
—
Reply to this email directly, view it on GitHub
<#3042 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAALYWBAYGG4PXJ3JHCJMS32LE3I7AVCNFSM6AAAAABVBOOVCGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKOJYHAZDOMZQGU>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Done! And you're right, HR still showed up! |
Perfect I can see everything now! Don't you?
Roberto Viola
Software engineer and open source enthusiast
http://robertoviola.cloud
Il giorno ven 17 gen 2025 alle 21:21 sirfergy ***@***.***> ha
scritto:
… Done! And you're right, HR still showed up!
debug-Fri_Jan_17_12_17_02_2025.log
<https://github.com/user-attachments/files/18459234/debug-Fri_Jan_17_12_17_02_2025.log>
—
Reply to this email directly, view it on GitHub
<#3042 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAALYWDVUF7XIG3TE72BEAD2LFQ4VAVCNFSM6AAAAABVBOOVCGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKOJZGEZDQOBTGQ>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Yes, but when I connect my Garmin via ANT+ (I also have an Android phone with the same settings) to QZ as a cadence sensor QZ stops reading cadence from the Garmin. |
Probably you are creating a loop with the garmin thinking to must read the cadence from qz and so it goes to 0 in a loop if you know what I mean |
Yeah I was hoping you had an idea how to solve that :) |
I really only need speed sent via QZ to my Garmin, but there isn't a profile that does that right? |
I've got two potential ideas:
|
Yes apple watch sends cadence too but you need to run qz on the iPhone |
Yes you can use also the foot pod and then for sure with android you can sent by ant+ speed to garmin |
The only profile is ant+ but you can't send cadence from the garmin and getting back speed from another device, it's a garmin limitation because he thinks you want both metrics from them (speed and cadence are coming together in the RSC profile) |
Will close this issue, it seems what I want to accomplish is just not feasible. |
Once again, thanks for all your help investigating! |
Did you find anyway a way to have everything that you need? |
No :( I may go down the path of trying to figure out how to read directly from my ANT footpod and update the Android version of QZ to include that cadence in the power metric. |
If you want I can add it, it's quite easy to add, but I don't know if this
will solve your issue
Also this will be true for android, for raspberry all the ant+ has to be
done
Roberto Viola
Software engineer and open source enthusiast
http://robertoviola.cloud
Il giorno lun 20 gen 2025 alle 05:30 sirfergy ***@***.***> ha
scritto:
… No :(
I *may* go down the path of trying to figure out how to read directly
from my ANT footpod and update the Android version of QZ to include that
cadence in the power metric.
—
Reply to this email directly, view it on GitHub
<#3042 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAALYWFFL57N7XA7I6U3SOD2LR3XDAVCNFSM6AAAAABVBOOVCGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDMMBRGMYDMNBQHE>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Yeah, I was going to try just for Android to start. My "dream" was to find a way to create my own app to read speed from my treadmill and cadence from my footpod and then transmit as a footpod to my Garmin, but I failed. I can read the data pretty easily, but I was unable to get the Garmin to read from my "virtual" footpod. |
Do you have a guide for updating the Android version of the app? |
And yes, I think it may be easier if you add than me trying to figure out how to be an Android dev! |
But let's summarize this:
Qz should send the cadence to garmin and read it from the footpod and read
speed from the treadmill, right?
If so you can do this already :
Simply set the footpod as power sensor in qz and enable the ant cadence in
Qz on android
Roberto Viola
Software engineer and open source enthusiast
http://robertoviola.cloud
Il giorno lun 20 gen 2025 alle 06:10 sirfergy ***@***.***> ha
scritto:
… And yes, I think it may be easier if you add than me trying to figure out
how to be an Android dev!
—
Reply to this email directly, view it on GitHub
<#3042 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAALYWFJAIXQPXH4DBNL2BD2LSAKZAVCNFSM6AAAAABVBOOVCGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDMMBRGM4DCNZUGY>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Yes, except it's an ANT footpod. I guess for $19 I should buy the Zwift footpod. |
Hah Ok, yes if you can buy a Bluetooth one, everything will work! |
I have a Horizon 7.8 AT treadmill which supports FTMS, but doesn't report cadence. I run with a Garmin Forerunner 965 which can read the speed/cadence data from QZ but that then overrides the cadence sensor on the watch. Is there a way to pull the cadence data from the watch so I don't lose that info?
Running on a raspberry pi in no-gui mode.
Thanks!
The text was updated successfully, but these errors were encountered: