Bluetooth control app for Wahoo Headwind.
Go to file
Tomasz Frątczak d6a111ede7 debugging 503 errors after idle time 2023-11-16 23:11:02 +01:00
bluewind debugging 503 errors after idle time 2023-11-16 23:11:02 +01:00
scripts create the bootstrap script and update the README.md 2023-11-14 23:50:10 +01:00
.gitignore refactor the application structure 2023-11-13 23:15:12 +01:00
Dockerfile add basic Dockerfile 2023-11-14 23:56:07 +01:00
LICENSE base working implementation 2023-11-08 22:27:36 +01:00
README.md patch README 2023-11-14 23:52:03 +01:00
default.env debugging 503 errors after idle time 2023-11-16 23:11:02 +01:00
main.py fix host flag and simplify the headwind constructor 2023-11-15 22:16:16 +01:00
requirements.txt base working implementation 2023-11-08 22:27:36 +01:00

README.md

Bluewind

License: GPL v3

Bluetooth control app for Wahoo Headwind.

Usage

To run the flask app for development and testing:

git clone https://teapot.octopusx.de/accidentallycompetent/bluewind.git
cd bluewind
python3 -m venv .venv
source .venv/bin/activate
python3 -m pip install --upgrade pip
pip3 install -r requirements.txt
export FLASK_ADDRESS='<headwind bluetooth address>'
export FLASK_URL='<address and port to bind'
python3 main.py

To run the flask app in a permanent deployment:

git clone https://teapot.octopusx.de/accidentallycompetent/bluewind.git
cd bluewind
python3 -m venv .venv
source .venv/bin/activate
python3 -m pip install --upgrade pip
pip3 install -r requirements.txt
cp default.env .env # modify your .env file!
sudo /bin/bash scripts/install.sh # will install and start+enable the systemd service for you

Support

If you find this open source project useful consider leaving me a tip.

ko-fi

If you would like to contribute, feel free to reach out, you can find my contact details at https://blog.octopusx.de.