No description
  • Python 59.5%
  • HTML 40.5%
Find a file
Stefan Schwarz 04f2c1729f wip
2026-03-03 17:48:12 +01:00
web wip 2026-03-03 17:48:12 +01:00
.gitignore wip 2026-03-03 17:48:12 +01:00
.python-version wip 2026-03-03 15:40:33 +01:00
main.py wip 2026-03-03 17:48:12 +01:00
pyproject.toml wip 2026-03-03 15:40:33 +01:00
README.md wip 2026-03-03 15:40:33 +01:00
uv.lock wip 2026-03-03 15:40:33 +01:00

Walkshare

Simple Python BLE monitor for the treadmill (FS-BF35A2) with a live web UI.

  • Python process connects to BLE (Bleak)
  • Web server exposes http://127.0.0.1:8080
  • Browser gets updates via WebSocket (/ws)

Run

nix-shell -p uv --run "uv run python main.py"

Then open:

http://127.0.0.1:8080

Optional env vars

  • TREADMILL_ADDRESS - connect directly by MAC, e.g. B0:C3:FC:D8:D7:9B
  • WEB_HOST - default 127.0.0.1
  • WEB_PORT - default 8080

Example:

TREADMILL_ADDRESS=B0:C3:FC:D8:D7:9B WEB_PORT=8090 \
  nix-shell -p uv --run "uv run python main.py"