monitoring your electricity usage

Post on 19-Nov-2014

6.750 Views

Category:

Technology

3 Downloads

Preview:

Click to see full reader

DESCRIPTION

Another CurrentCost presentation. Updated to put it in a bit of context, and to reflect some more recent hacking efforts Presented at BarCampLondon6 and BathCamp

TRANSCRIPT

Monitoring yourelectricity

dalelane.co.uk/blog

Title slide

http://en.wikipedia.org/wiki/Smart_meter

Smart Metering – WHAT“smart metering”

Smart Metering – WHY

http://news.bbc.co.uk/1/hi/sci/tech/6225938.stm

Smart Metering – WHY load shifting

Smart Metering – WHERE

http://www.travbuddy.com/

Smart Metering – WHERE“…The Government has announced that smart meters will be rolled-out to all domestic customers by the end of 2020. It anticipates an indicative timetable of around two years to design and establish the full details of the roll-out, followed by a ten-year roll-out period.

Advanced metering will be roll-out to larger business customers over five years from early 2009. The Government consulted recently on a draft licence modification to implement the requirement…”

http://www.berr.gov.uk/

Smart Metering – WHERE

Smart Metering – WHO

google.org/powermeter

But in the meantime…

CurrentCost

Inductive loop

Inductive clamp – Where to put it

Transmitter

Transmitter and clamp

Meter

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

Data socket

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

Data cable

Data socket – connecting

http://e.inste.in/2008/06/15/interfacing-the-currentcost-meter-to-your-pc/

RJ-45

TTL-levelserial data

RS232

USB

Drivers and connectingthink serial

ser = serial.Serial(port='COM20')ccdata = ser.readline()

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

Data

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

<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

Data – annotated

CurrentCost apps – my Python app

CurrentCost apps – my Python app

http://code.google.com/p/currentcostgui/

Using with a Slug

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;

CurrentCost bill

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

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

Identifying appliances

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

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

Identifying appliances – Google’s way

http://www.google.org/powermeter/howitworks.html

CurrentCost on twitter

http://twitter.com/andy_house

Google charts

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

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

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

Floppy’s system tray app

http://realtime.ngi.ibm.com/powermeter/dalelane.html

Realtime graph

Dojo dashboard

http://realtime.ngi.ibm.com/currentcost/newmeters/CurrentCost/ccDashboard.html?dashboarduser=dalelane

CurrentCost on pachubehttp://www.pachube.com/feeds/1214

CO2 from CurrentCost on pachubehttp://www.pachube.com/feeds/1490

Android pachube app

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

Symbian app

http://twitpic.com/1smlz

iPhone app

http://andypiper.wordpress.com/2008/12/11/current-cost-monitoring-from-an-iphone/

Arduino

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

Arduino with LEDs

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

Ambient orb

http://knolleary.net/2009/01/05/monitoring-energy-use-with-an-orb/

rrdtool

http://www.jibble.org/currentcost/

techtoniq app

http://twitter.com/mardibloke/status/1255687045 http://www.techtoniq.com/products/CurrentCostAgent

CurrentCost Live – Xbox Live

CurrentCost Live – achievements

Personal improvements

Lowest percentage of personal average

Highest reduction in use

Absolute values

Lowest single reading

Lowest total power use

Lowest average use

http://currentcostlive.appspot.com/

CurrentCost Live – twitter

CurrentCost Live – twitter

CurrentCost Live – google widget

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

CurrentCost Live – television

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

AMEE

http://www.amee.com/?p=640

CurrentCost Meters – classic “classic”

CurrentCost Meters – envi

“envi”

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

What’s next?

http://www.currentcost.com/product-cc128.html

Code

http://code.google.com/p/currentcost/

dalelane.co.uk/blog

top related