Skip to main content


15-09-2012 | Remy van Elst | Text only version of this article

Table of Contents

NutsManager is a power/gas/water usage tracker written in PHP. It uses a JSON text file for the values and the visual side is created with the excellent HTML5 Kickstart framework by Joshua Gatcke. The graphs are made with the flot framework.

It helps me to keep track of my power usage, and shows me on which days I use a lot, and on which days I do not. That way, I know that a LAN party costs me a lot.

Download version 0.0.4
GitHub Page



  • Program is now i18n compatible and has a Dutch and English translation.


  • Full overview is now sorted by month.


  • Fixed a bug where PHP takes variables as int. and not as float.


  • Initial release


  • 4 different measurement units:
    • Power
    • Discount priced power
    • Gas
    • Water
  • Graph which shows the difference with the day before
  • Overview of all values, sorted per month
  • Average difference
  • Average price
  • Multilingual
  • Pretty colours


  • Download zip file: and unzip to webroot (/var/www).
  • Make sure json file is writable by webserver: chown www-data:www-date power.json
    • (Or, chmod 777 power.json if you are lazy)
  • Change the price values for the power, gas and water in the functions.php file.
    • Make sure you use a dot (.) and not a comma (,), php doesn't like comma's.
  • Set the language in the functions.php file.
    • For english: language.en.php.
    • For dutch:
  • Start adding the values every day.
  • ???
  • PROFIT!!!


HTML5 Kickstart:

Tags: finance  gas  json  php  power  software  tracker  water