pycycling Python Library

repository·master·Indexed 41 days ago

https://github.com/zacharyedwardbull/pycycling

A Python library for interacting with Bluetooth Low Energy (BLE) compatible cycling devices, including trainers, power meters, radars, and heart rate monitors. It utilizes the Bleak library for cross-platform Bluetooth communication on Windows, MacOS, and Linux.

Tokens
377
Snippets
2
Records
3
Agent score
2%

What's inside pycycling

  1. Overview of pycycling

    master

    pycycling is a Python package designed for interacting with Bluetooth Low Energy (BLE) compatible cycling hardware, including:

    • Bike trainers
    • Power meters
    • Radars
    • Heart rate monitors

    It uses the Bleak library to handle low-level Bluetooth communication across Windows, MacOS, and Linux.

  2. Install pycycling

    master

    To install pycycling for development, clone the repository and run the following command from the root directory:

    python setup.py develop

    Note that pycycling relies on the Bleak (Bluetooth Low Energy platform Agnostic Klient) library for cross-platform Bluetooth communication on Windows, MacOS, and Linux.

    python setup.py develop
  3. Supported Bluetooth Low Energy (BLE) protocols in pycycling

    master

    The package provides support for interacting with various cycling-related BLE services and protocols. Use these protocols to communicate with compatible hardware like trainers, power meters, radars, and heart rate monitors.

    * Battery Service (BAS)
    * Cycling Power Service (CPS)
    * Cycling Speed and Cadence Service (CSCS)
    * Elite Sterzo Steering Service (STERZO)
    * Elite Rizer Steering Service (RIZER)
    * FiTness Machine Service (FTMS)
    * Heart Rate Service (HRS)
    * Rear View Radar (RDR)
    * Tacx Trainer Control (ANT+ FE-C over BLE)