Arduino House Monitor – Software

What is it supposed to do?
Wrangle the copious amounts produced by the House Monitor Hardware. Once all the Data has been collected it needs to be cleaned up archived and graphed.

What Software did you use?

  • Perl – The main daemon
  • PHP – Graphing and webinterface
    • Jpgraph – library for graph creation
  • SQLite – for storing the data
  • Crond – for triggering database cleaning and archiving

Block diagram
house monitor.gif
Sample graph outputs

powernow.pngHere is a sample power graph. You’ll note that the scale is in kilowatt hours and not kilowatts. The power meter provided by Electricity company only tells me when 1/1000th of a kilowatt(a “blip”) hour has been consumed. To get a nice pretty graph, the day is split into 15 minute chunks. All the blips that occurred in that 15 minute chunk are then added up together.

As you can see there is a rather large base load of around 200 watts. about 50 watts can be traced to the boiler constantly pumping water round the radiators. The small mounds that occur every 3 hours or so are the fridge and freezer.

The spike at half six is the girlfriend getting up and going to work. We both come home around about 7pm-ish and start cooking and watching telly.

You can see why I have the heating on constant, the house is freezing. The Indoor sensor is in the main living room. The indoor temperature spikes are caused by sunlight directly shining on the sensor.

tempYear.pngHere is an almost complete year of temperature.

Stay tuned for source code!

One thought on “Arduino House Monitor – Software

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.