Tuesday, December 7, 2010

REST interface

So, what have I been doing in the meanwhile ?
I wasn't too happy with the granularity of the Pachube solution and the lack of data access made me look for a better solution.
So I started with setting up a couple of tables on my MySQL webserver. Added a REST interface to it and implemented the corresponding code to my datalogger on my Edimax OpenWRT machine.

Finally I implemented the pGraph library from SourceForge and provided some basic graphs for daily use :
  • Solar Production
  • Solar Efficiency
  • Solar Production Today vs Yesterday
  • Power Consumption (last 24h)
  • Power Consumption (Day/Night per day)
  • Solar Production vs Power Consumption