A Python package for interacting with Bluetooth Low Energy (BLE) compatible bike trainers
Project description
pycycling
A Python package for interacting with Bluetooth Low Energy (BLE) compatible bike trainers.
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.
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.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d57758abe6528ef191787e32a375e715f7cf24b65ed8bb6f749119d18e653ced |
|
MD5 | 9a22ce53526b66fccb3ac98bd72a5468 |
|
BLAKE2b-256 | 2ab0a8fce560747f7cf9358392a0ebda7c5b33e8a765f04b2e81c8c15a005003 |