Skip to content

innorow uses a Hall Effect Sensor, Raspberry Pi, Node JS, and Socket IO to display a real-time dashboard of rowing data.

Notifications You must be signed in to change notification settings

innonate/innorowjs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

innorow.js

innorow uses a Hall Effect Sensor, Wahoo HR Monitor, Raspberry Pi, Node JS, and Socket IO to display a real-time dashboard of rowing data. I am using this for my Concept 2 Model A.

Hardware Dependencies

Software Dependencies

  • Bluez 5.39 (more recent versions weren't working with my HR monitor) -- Don't skip this step! You need btmgmt to work.
  • Install the PIGPIO dependencies mentioned here.

Common issues

  • If you're not sure how to get your UUID for your HR monitor, use the BleHR.list.print() method mentioned by the Heartrate node module.
  • If your HR monitor does not report on battery level (as was the issue with mine) you will need to comment out Line 111 of the HR module.

Running innorowjs

After you've installed all the modules (npm install) and you can run innorow using sudo -E node index.js. Note: You must use sudo to have access to the Pi's GPIO and you must use -E so you can use your Runkeeper environment variables.

Run innorow automatically on Pi startup

To run innorow automatically on your Pi's startup (so you can simply plug the Pi in to get started) then follow these directions:

  • Install chkconfig via sudo apt-get install chkconfig
  • Copy the file in /startup_scripts/innorow to /etc/init.d/ and then sudo chmod 755 the file
  • Create a new file here /etc/default/innorow and add your Runkeeper client ID and client secret RUNKEEPER_CLIENT_ID=<your id> RUNKEEPER_CLIENT_SECRET=<your secret>
  • Run sudo chkconfig --add innorow to turn your service name into a startup script

License

Copyright (c) 2017 Nate Westheimer

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

About

innorow uses a Hall Effect Sensor, Raspberry Pi, Node JS, and Socket IO to display a real-time dashboard of rowing data.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published