GoldenCheetah / GoldenCheetah

Performance Software for Cyclists, Runners, Triathletes and Coaches
http://goldencheetah.org/
GNU General Public License v2.0
1.83k stars 447 forks source link

Control trainers using Bluetooth FTMS #3802

Closed amtriathlon closed 3 years ago

amtriathlon commented 3 years ago

Current master has support to control some families of trainers using Bluetooth with specific protocols (Wahoo Kickr, Tacx ANT+ over BLE and Kinetic Smart Control), it would be interesting to add support for the FTMS standard.


I went and looked at bluetooth.com GATT specifications and found:

-FTMP - Fitness Machine Profile -FTMS - Fitness Machine Service

Both have been adopted and are listed as active.

Originally posted by @Frono in https://github.com/GoldenCheetah/GoldenCheetah/issues/2771#issuecomment-451747554

mjunkmyjunk commented 3 years ago

I would love to see support for FTMS as well. Having looked through the documentation/spec, I am appalled at how little I understand the protocol and the way it's interpreted. (Somehow, reading ANT+ specs is much more intuitive)

erikboto commented 3 years ago

I started looking at this. I've implemented the "other side" of the FTMS protocol in devices so I think I have all the pieces I need in order to get this done fairly easily, specially since the ground work of having controlled devices in BT40Device. I'll link this issue when I start a PR so that you'll know when there's something to test.

ZeniXue commented 2 years ago

Hi., I'm offering a job just to get the Wahoo KICKR 2020 sensor's data like power, cadence, speed, resistance, and heart rate into a Unity game engine for Desktop publish. If anyone is interested, please let me know. Thank you. syafiqbahrin@gmail.com