28a8c01a5a | ||
---|---|---|
bluewind | ||
scripts | ||
.gitignore | ||
Dockerfile | ||
LICENSE | ||
README.md | ||
default.env | ||
main.py | ||
requirements.txt |
README.md
Bluewind
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.
If you would like to contribute, feel free to reach out, you can find my contact details at https://blog.octopusx.de.