Giter Club home page Giter Club logo

bike-trainer's Introduction

bike_trainer

Interface with the Suito Elite bike trainer and run workouts similar to Trainer Road

This repository is organized into a series of blog posts describing the steps I took. The blog posts are in the 'Posts" folder.

The posts are organized as follows

Posts

Part 1 - Establish a BLE connection

Part 2 - Use a packet sniffer to monitor normal device control

Part 3 - Use bleak library to establish BLE connection in python

Part 4 - Device control, send and receive commands and bit twiddling

Part 5 - Integrating PostgreSQL

Part 6 - First attempts at program design

Part 7 - Setting up the DatabaseHandler class and its methods

Part 8 - Setting up bluetooth callbacks and the WorkoutPlayer class

Part 9 - Setting up the start_workout() method

Part 10 - Testing and debugging

Part 11 - Adding a basic UI

Part 12 - Checking edge cases and error handling

Program structure

Below is a sudo-UML class diagram illustrating the structure of the program.

Final class diagram

bike-trainer's People

Contributors

spardoel avatar

Stargazers

Yam avatar

Watchers

 avatar

Forkers

monier-che

bike-trainer's Issues

Informations

Hello,

This is a great Job ! well done.

I have the same home trainer and want to have more control about resistance.

Did you know how to controll it without ERG such as target_power as an SIM mode for exemple (slope mode where resistance is fixed and derivated from body weigh) ?

Thanks for your work and have a great day

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.