https://github.com/richardkchapman/ccost
Simple power monitoring setup
https://github.com/richardkchapman/ccost
Last synced: about 1 month ago
JSON representation
Simple power monitoring setup
- Host: GitHub
- URL: https://github.com/richardkchapman/ccost
- Owner: richardkchapman
- Created: 2012-02-11T13:00:09.000Z (over 13 years ago)
- Default Branch: master
- Last Pushed: 2012-10-17T17:26:28.000Z (over 12 years ago)
- Last Synced: 2025-02-17T11:42:22.700Z (4 months ago)
- Language: PHP
- Homepage:
- Size: 117 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README
Awesome Lists containing this project
README
Simple power monitoring using CurrentCost and rrdtool
This repository is mainly here to keep a backup of the power usage monitoring
I have set up on my intranet. While anyone is welcome to make use of any
of the code in here it is completely unsupported and liable to change
any time I reconfigure my system. It's also hard-coded to match my setup.The daemon reads data from a CurrentCost device and saves it in a
Round-robin Database using rrdtool. The web pages generate graphs from
the data to show current power usage (generated and imported from grid).My system runs on a PogoPlug reflashed to boot Arch Linux, running on a
usb stick. To avoid wearing out the flash prematurely, I have set up my
system to write to the /tmp directory and use a cron job to copy the
rrd database to persistent storage once an hour.This work was inspired by and derived from the information at
http://www.jibble.org/currentcost/