Creates flukso charts using mysmartgrid.net
Shell PHP
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
README
create_rrd.sh
mkchart.sh
update.pl

README

This script generates an RRD graph from the data available at mySmartGrid.net.

Prequisires:
 • rrdtool in your $PATH
 • JSON::XS, RRDTool::OO, LWP::UserAgent

Usage:

1) Create the RRD database using
   create_rrd.sh <rrd-database>

2) Fetch the data from mysmartgrid.net and put the data into the database
   update.pl -t <token> -s <sensor> -r <database>

3) Create the chart using mkchart.sh
   mkchart.sh <rrd-database> <output>

You should put steps 2) and 3) into a crontab.