wobble/README.md

30 lines
734 B
Markdown
Raw Permalink Normal View History

2022-12-11 00:28:36 +00:00
# Wobble
Some hacky Python code I slapped together to show speed and cadence
data from a Bluetooth LE bike sensor.
Perhaps useful if you have a stationary bike of some kind and want to
put the vital statistics on a big screen instead of on your handlebar.
![screenshot](20221209_22h46m07s_grim.png)
2022-12-11 10:42:35 +00:00
## How to use
First you need to identify bluetooth address of your bike sensor(s).
Spin the wheel to wake it up, then run
```sh
$ bluetoothctl scan on
Discovery started
[CHG] Controller 24:FD:52:00:ED:F1 Discovering: yes
[NEW] Device C2:35:5D:F2:F4:0F Giant Combo
[CHG] Device 98:06:3A:15:B7:BA RSSI: -82
^C
2022-12-11 11:22:33 +00:00
$ bluetoothctl connect C2:35:5D:F2:F4:0F
2022-12-11 10:42:35 +00:00
```
2022-12-11 11:22:33 +00:00
Now you can start the app
```sh
$ python wobble.py C2:35:5D:F2:F4:0F
```