Graphing CurrentCost using RRDtool


I’ve not been doing much with my CurrentCost data lately, having been slightly distracted with upgrading my home server OS. Well, upgrading is possibly a slightly odd description for a running a new live CD system but to compile rrdtool I grabbed the latest version (6.0.7) of SLAX instead of SLAMPPLite which is based on an older release. I really like the new version of SLAX so I’ve been experimenting with some home server type customizations, manually so far since MySLAX creator only seems to understand older versions, but I might give SLAX Tools a go too.

Anyway, while not quite as interesting as Dale’s CurrentCost bill, I now have a working RRDtool SLAX module. RRDtool seems ideal for graphing CurrentCost data. I’m aiming for something like this example, which would be perfect for viewing on a TV using the Wii but to start with I’ve been giving it a simple trial run over the last day. Here are the results so far:

RRDtool power graph

Looking pretty good, and I think there are a few more features of RRDtool that could prove useful.

Update: found another great example of using RRDtool for CurrentCost data, which has a link to another page with exactly the kind of RRDtool settings you’ll need for a CurrentCost meter! (17 November 2008)

Update: looks like Chris Dalby has RRDtool hooked up as well now. Hope to post about RRDtool again soon with the commands I’m using; just need a couple more tweaks! (7 December 2008)

Advertisement