#WaterRower Monitor III tools
Discovered that the Monitor III had a serial port that was documented on their website. Got sick of manually entering my row sessions to a Google Spreadsheet, so I decided to gin up some Python to do it automatically.
#Install
pip install .
#Setup
- Connect your WaterRower Monitor III to your computer's serial port. I use a PL2303 USB serial adapter with a Raspberry Pi, but I have at times used it with Ubuntu and OS X.
- Identify your system's serial port device. On my Raspberry Pi it's /dev/ttyUSB0.
- Per the gspread documentation, Obtain OAuth2 credentials from Google Developers Console
- Copy the JSON file for the service account to wherever you'll run this.
- Create a Google Spreadsheet for the data to go into. Here's an example
- Give the account you created in step 1 write access to the Google Spreadsheet.
#Example Usage
sudo collector -c ~/google-oauth-creds.json -g "Rowing Python Test"
- Start rowing.
- Break yo neck
- Hit 'e' to end your rowing session.
- If you elected to use Google Spreadsheets support, the results of your row sesssion will be uploaded to the Google Spreadsheet.
#Hacking/Development Developing with real WaterRower Monitor is a PITA, so I created a datalog replayer.
By default the collector writes a datalog file which you can use replay through a socat
pipe to simulate a rowing session.
socat PTY,link=foo PTY,link=bar
replay datalog2-2015-12-13T11:39:01.log bar
collector -p foo -n -c ~/google-oauth-creds.json -g "Rowing Python Test"