/kWhack

A power consumption tracker using a Raspberry Pi and a LDR

Primary LanguagePythonMIT LicenseMIT

kWhack

Etymology: Kilowatt hour acknowledgment or kWh hack.

A simple power consumption tracker running on a Raspberry Pi and using a simple LDR rig connected to the GPIO pins.

This is a very much a project in development. Do not expect it to be functional without a lot of work...

Installation

$ pip install git+https://github.com/hbldh/kwhack#egg=kwhack

Usage

  1. Build this LDR rig.
  2. Connect to Raspberry Pi, and attach the LDR to the blinking light on the power central.
  3. Create a MongoDB server and store the URI as environment variable MONGODB_URI on the Raspberry Pi.
  4. Run f47-server and f47-client.