Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pycycling-0.0.2.tar.gz (9.3 kB view hashes)

Uploaded Source

Built Distribution

pycycling-0.0.2-py3-none-any.whl (10.2 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page