Skip to main content

Raymii.org Raymii.org Logo

Quis custodiet ipsos custodes?
Home | About | All pages | Cluster Status | RSS Feed

NutsManager

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


❗ This post is over twelve years old. It may no longer be up to date. Opinions may have changed.


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.

Recently I removed all Google Ads from this site due to their invasive tracking, as well as Google Analytics. Please, if you found this content useful, consider a small donation using any of the options below. It means the world to me if you show your appreciation and you'll help pay the server costs:

GitHub Sponsorship

PCBWay referral link (You get $5, I get $20 after you've placed an order)

Digital Ocea referral link ($200 credit for 60 days. Spend $25 after your credit expires and I'll get $25!)

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

Changelog

v0.0.4

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

v0.0.3

  • Full overview is now sorted by month.

v0.0.2

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

v0.0.1

  • Initial release

Features

  • 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

Install

  • Download zip file: https://github.com/RaymiiOrg/nutsmanager/zipball/master 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: language.nl.php.
  • Start adding the values every day.

  • ???

  • PROFIT!!!

Links

HTML5 Kickstart: https://github.com/joshuagatcke/HTML-KickStart
Flot: https://github.com/flot/flot

Tags: finance , gas , json , php , power , software , tracker , water