CurrentCost

Post on 19-Nov-2014

4791 Views

Category:

Technology

0 Downloads

Preview:

Click to see full reader

DESCRIPTION

talk about CurrentCost hacking given at BathCamp

Transcript

CurrentCost

dalelane.co.uk/blog

http://flickr.com/photos/dalelane/2494743990/

http://flickr.com/photos/dalelane/2493925687/

http://flickr.com/photos/rooreynolds/2438688453/

<msg> <date> <dsb>00030</dsb> <hr>00</hr><min>20</min><sec>11</sec> </date> <src> <name>CC02</name> <id>00077</id> <type>1</type> <sver>1.06</sver> </src> <ch1> <watts>00168</watts> </ch1> <ch2>

http://cumbers.wordpress.com/2008/05/07/breakdown-of-currentcost-xml-output/

<msg> <date> <dsb>00030</dsb> <hr>00</hr><min>20</min><sec>11</sec> </date> <src> <name>CC02</name> <id>00077</id> <type>1</type> <sver>1.06</sver> </src> <ch1> <watts>00168</watts> </ch1> <ch2> <watts>00000</watts> </ch2> <ch3> <watts>00000</watts> </ch3> <tmpr>25.6</tmpr> <hist> <hrs> <h02>000.3</h02> .... <h26>003.1</h26> </hrs> <days> <d01>0014</d01> .... <d31>0000</d31> </days> <mths> <m01>0000</m01> .... <m12>0000</m12> </mths> <yrs> <y1>0000000</y1> .... <y4>0000000</y4> </yrs> </hist></msg> http://cumbers.wordpress.com/2008/05/07/breakdown-of-currentcost-xml-output/

now

history

http://dalelane.co.uk/blog/?p=280

http://dalelane.co.uk/blog/?p=297

http://flickr.com/photos/dalelane/2509049808/

use Net::MySQL;

my $mysql = Net::MySQL->new( database => 'currentcostdb', user => 'dalelane', password => 'myPassw0rd');

my $insertquery = "INSERT INTO currentcostdl (power) VALUES ($watts)"; $mysql->query($insertquery); $mysql->close;

http://flickr.com/photos/dalelane/2509049808/

+=============================================+ Your CurrentCost bill for 2008-5-27

Electricity usage 4.9802 units Cost == £0.4874

Standing charge £0.1582 --------------------------------------- TOTAL COST FOR 2008-5-27 : £ 0.65+=============================================+

http://flickr.com/photos/dalelane/2509049808/

<ccupdate> <WDiff>9</WWDiff> <descr>XBox 360 - standby</descr></ccupdate><ccupdate> <WDiff>55</WWDiff> <descr>ThinkPad</descr></ccupdate><ccupdate> <WDiff>54</WWDiff> <descr>ThinkPad</descr></ccupdate><ccupdate> <WDiff>20</WWDiff> <descr>BT Vision</descr></ccupdate><ccupdate> <WDiff>82</WWDiff> <descr>TV</descr></ccupdate>

http://twitter.com/andy_house

http://rooreynolds.com/2008/05/09/current-cost-charting-fun/

http://knolleary.net/2008/05/05/power-graphing/

http://e.inste.in/2008/06/16/interfacing-the-currentcost-meter-to-an-arduino/

http://www.flickr.com/photos/barnybug/2604903353/

http://www.floppy.org.uk/2008/8/22/some-successful-currentcost-hacking

http://pachube.com/feeds/488

http://flickr.com/photos/dalelane/2509049808/

Broker

http://flickr.com/photos/dalelane/2522806416/

Broker

http://realtime.ngi.ibm.com/currentcost/

http://flickr.com/photos/dalelane/2522806416/

http://flickr.com/photos/abirkill/2468194926/

Absolute values

Lowest single reading

Lowest total power use

Lowest average use

http://flickr.com/photos/abirkill/2468194926/

Personal improvements

Lowest percentage of personal average

Highest reduction in use

Broker

App Engine

http://dalelane.co.uk/blog/?p=283

http://dalelane.co.uk/blog/?p=283

http://dalelane.co.uk/blog/?p=283

http://dalelane.co.uk/blog/?p=298

http://electricity-monitor.com/

dalelane.co.uk/blog