Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/hbldh/kwhack

A power consumption tracker using a Raspberry Pi and a LDR
https://github.com/hbldh/kwhack

consumption-tracker electricity-consumption ldr ldr-sensor raspberry-pi

Last synced: 30 days ago
JSON representation

A power consumption tracker using a Raspberry Pi and a LDR

Awesome Lists containing this project

README

        

# 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

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

1. Build this [LDR rig](https://pimylifeup.com/raspberry-pi-light-sensor/).
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`.