fitbit-to-graphite
Synopsis
Record sleep data from fitbit to graphite. That's it.
Installation
You can get the script from rubygems:
gem install fitbit-to-graphite
Setup
fitbit-to-graphite reads its config file at ~/.fitgem.yml
which at least
needs the following settings:
---
:oauth:
:consumer_key: thekey
:consumer_secret: thesecret
Fill in the key and secret from the app you created for it and on first run it should register the OAuth data.
Usage
% fitbit-to-graphite.rb --help
Usage: fitbit-to-graphite.rb [-hpnv]
Specific options:
-h, --host=HOST The hostname or ip of the host graphite is running on
-p, --port=PORT The port graphite is listening on
-n, --namespace=NAMESPACE The graphite metric path to store data in
-d, --date=NAMESPACE the date to get data for in the format YYYY-MM-DD
Common options:
--help Show this message
-v, --version Show version
--debug run in debug mode
--jawbone send jawbone compatible data
How to contribute
- Fork the repo
- Hack away
- Push the branch up to GitHub
- Send a pull request