This application is implemented on a Raspberry Pi 3 with standard Noobs installation of Raspian
This node red flows can be used to:
- read workout data from the Waterrowers USB interface
- save this data into a SQLite database
- and upload the workout to Strava
Currently, there are no different types of workouts available. You can just start rowing. On the dashboard you will see:
- the distance
- time elapsed
- total stroke count
- and the average stroke rate per minute
Just import all nodes into node red. There should be 2 tabs with serveral links between. You need to create a table to store the workout data manually:
CREATE TABLE workout ( timestamp DATETIME, exercise STRING, distance DECIMAL (6, 2), duration TIME, title STRING, comment STRING ); Adjust the path in the SQLite node accordingly.
The application detects if a WR is plugged in the USB port of the RPi Just start rowing and save your workout after you have finished.
- node-red-contrib-globalgetset
- node-red-contrib-usb
- node-red-dashboard
- node-red-node-sqlite
how to get write permission to Strava:
http://yizeng.me/2017/01/11/get-a-strava-api-access-token-with-write-permission/