/flukso-chart

Creates flukso charts using mysmartgrid.net

Primary LanguageShell

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.