Top Banner
CurrentCost dalelane.co.uk/blog
32

CurrentCost

Nov 19, 2014

Download

Technology

Dale Lane

talk about CurrentCost hacking given at BathCamp
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: CurrentCost

CurrentCost

dalelane.co.uk/blog

Page 2: CurrentCost

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

Page 3: CurrentCost

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

Page 4: CurrentCost

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

Page 5: CurrentCost

<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/

Page 6: CurrentCost

<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

Page 7: CurrentCost

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

Page 8: CurrentCost

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

Page 9: CurrentCost

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;

Page 10: CurrentCost

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+=============================================+

Page 11: CurrentCost

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>

Page 12: CurrentCost

http://twitter.com/andy_house

Page 13: CurrentCost

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

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

Page 14: CurrentCost

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

Page 15: CurrentCost

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

Page 16: CurrentCost

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

Page 17: CurrentCost

http://pachube.com/feeds/488

Page 18: CurrentCost

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

Broker

Page 19: CurrentCost

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

Broker

Page 20: CurrentCost

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

Page 21: CurrentCost

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

Page 22: CurrentCost
Page 23: CurrentCost

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

Absolute values

Lowest single reading

Lowest total power use

Lowest average use

Page 24: CurrentCost

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

Personal improvements

Lowest percentage of personal average

Highest reduction in use

Page 25: CurrentCost

Broker

App Engine

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

Page 26: CurrentCost
Page 27: CurrentCost
Page 28: CurrentCost

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

Page 29: CurrentCost

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

Page 30: CurrentCost

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

Page 31: CurrentCost

http://electricity-monitor.com/

Page 32: CurrentCost

dalelane.co.uk/blog