Furnace stats online

|
| Comments (0)
So I've been working on my furnace monitoring kit. And now I have basic weather logging enabled. I am fetching climate data from Environment Canada and adding it to a logging tool called RRD. This is a clever fixes size logging data store. It is meant for recording data on fixed time intervals. In my case I'm recording cycle counts, kWh used and outside temperature once every hour. It spits out graphs like this (hourly for 7 days):



I have created a full page to track weekly, monthly and annual usage.

There is a script (furnace.pl) constantly running that pings the microcontroller every second which returns the current status of the furnace (heating or not).

My crontab looks like this:

0 5 * * * /home/me/furnace/logparse.pl
5 5 * * * /home/me/furnace/hourly.pl
10 5 * * * /home/me/furnace/catchup.pl
20 5 * * * /home/me/furnace/enterdata.sh #legacy - generated by catchup.pl
0 6 * * * /home/me/furnace/fetchclimate.pl
5 6 * * * /home/me/furnace/graph.sh
10 6 * * * ftp -inv < /home/me/furnace/ftpscript #upload graphs to flyinglow.ca/furnace

These are works in progress. You can follow my furnace online (a_furnace).
0 0-23 * * * /home/me/furnace/twit.pl #tweet the daily usage up to the hour
0-59 * * * * /home/me/furnace/lcdstatus.pl #update an LCD display (and spin some servos)

Here is a zip archive of the scripts I created. They still need some polishing.

scripts.zip

Leave a comment