A Python package for interacting with Bluetooth Low Energy (BLE) compatible bike trainers and power meters
Project description
pycycling
A Python package for interacting with Bluetooth Low Energy (BLE) compatible bike trainers and power meters.
The package uses Bleak (Bluetooth Low Energy platform Agnostic Klient) behind the scenes to connect and communicate with bike trainers. Bleak is cross-platform with support for Windows, MacOS, and Linux. Therefore this module should also work on these operating systems. Please refer to the Bleak repository for more information about supported platforms.
Disclaimer
I take no responsibility if the use of this package breaks your turbo trainer or stationary bike. Use at your own risk! It has only been tested with a Tacx NEO 2T trainer, and Garmin Vector 3 power meter pedals.
Supported protocols
Protocol name | Fully supported | Partially supported | Not supported |
---|---|---|---|
Cycling Speed and Cadence Service (CSCS) | ✓ | ||
Cycling Power Service (CPS) | ✓ | ||
Tacx Trainer Control (ANT+ FE-C over BLE) | ✓ | ||
FiTness Machine Service (FTMS) | ✓ |
Installation
Clone this repo and then run the following command from the root directory
python setup.py develop
Usage
Please refer to the examples folder for basic usage of the package
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for pycycling-0.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1209804db4d9d0fc7316d1a53c00fc0cf725bbd441dc77482c6e03d4a3439b4c |
|
MD5 | ec8ea47dcb0f5651cc63528c32d2b2ed |
|
BLAKE2b-256 | bd94cb09a1278e5e0787111b0b6af00741b93a1930e759c9e3d8685e4870d8c3 |