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

Broadcast HRM from ANT through bluetooth #398

Closed
KovMat opened this issue Nov 4, 2022 · 7 comments
Closed

Broadcast HRM from ANT through bluetooth #398

KovMat opened this issue Nov 4, 2022 · 7 comments
Labels
help wanted Extra attention is needed

Comments

@KovMat
Copy link

KovMat commented Nov 4, 2022

Hello @WouterJD !
I love your sw. Using it from Hungary with a TACX Flow, and a rpi 3. And connect with a tablet to it for zwifting.

I would have a question, I'd like to see the hrm value (from ant+) in zwift as well. How would it be possible to broadcast that value via Bluetooth?
I'm using bless, works perfectly!
~/FortiusANT/raspberry/FortiusAntMain.sh -a -bb -g -H 0
raspi3

IMG_2925

Thanks!
KovMat

@WouterJD
Copy link
Owner

WouterJD commented Nov 6, 2022

You approach is correct; FortiusAnt has paired with your HRM and the HR is 67. So far so good.
The Heartrate is pairable in Zwift (it is orange).

FortiusAnt SHOULD transmit the HR through BLE, I would have to check the code to verify (of course you may do if you like). But have no code where I am now.

Please check and if not working, let me know and I will do a test. It might take some days though.

@WouterJD
Copy link
Owner

WouterJD commented Nov 6, 2022

Please refer to #389 (comment) to see how to debug BLE.

@MeanHat
Copy link

MeanHat commented Nov 11, 2022

Hi @KovMat - I had a similar setup but sold the ANT+ dongles and bought a BLE HRM.

@KovMat
Copy link
Author

KovMat commented Nov 11, 2022

You approach is correct; FortiusAnt has paired with your HRM and the HR is 67. So far so good. The Heartrate is pairable in Zwift (it is orange).

Yes, but sadly it does not find any hr signal.
The same setup works through ANT+ without a problem.

FortiusAnt SHOULD transmit the HR through BLE, I would have to check the code to verify (of course you may do if you like). But have no code where I am now.

Yes, I've also taken a short look to the python code, but could not find the issue there.

Please check and if not working, let me know and I will do a test. It might take some days though.

I did the test. Also downloaded the LightBlue app, it shows the following for the FortiusAntTrainer, seems to me, that it somehow does not have the hrm.
IMG_2927

@KovMat
Copy link
Author

KovMat commented Nov 11, 2022

@MeanHat sorry to hear that, my plan B is the same. But I hope there is a solution to this problem as well.
Otherwise I would need to use my computer, not the tablet, hence it does not have an ANT+ receiver.

@WouterJD
Copy link
Owner

Hi @KovMat

I think, FortiusAnt always publishes all data (Fuitness machine, Heartrate and steering).
So I do not know why your system does not provide the data.

To do investigation, you may start with
https://github.com/WouterJD/FortiusANT/blob/master/pythoncode/bleBless.py#L272

bleBless can be run on it's own (so you do not have all FortiusAnt overhead while testing).
Please start there.
If I find some time, I can assist lateron (quite busy nowadays)

It SHOULD work

@WouterJD WouterJD added the help wanted Extra attention is needed label Nov 17, 2022
@WouterJD
Copy link
Owner

WouterJD commented Mar 7, 2023

Since there is no communication here, I assume can be closed.
If not happy to reopen

@WouterJD WouterJD closed this as completed Mar 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants