wobble

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README

README.md (734B)


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