Top Banner
Monitoring your electricity dalelane.co.uk/blog Title slide
54

Monitoring your electricity usage

Nov 19, 2014

Download

Technology

Dale Lane

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
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: Monitoring your electricity usage

Monitoring yourelectricity

dalelane.co.uk/blog

Title slide

Page 2: Monitoring your electricity usage

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

Smart Metering – WHAT“smart metering”

Page 3: Monitoring your electricity usage

Smart Metering – WHY

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

Page 4: Monitoring your electricity usage

Smart Metering – WHY load shifting

Page 5: Monitoring your electricity usage

Smart Metering – WHERE

http://www.travbuddy.com/

Page 6: Monitoring your electricity usage

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/

Page 7: Monitoring your electricity usage

Smart Metering – WHERE

Page 8: Monitoring your electricity usage

Smart Metering – WHO

google.org/powermeter

Page 9: Monitoring your electricity usage

But in the meantime…

Page 10: Monitoring your electricity usage

CurrentCost

Page 11: Monitoring your electricity usage

Inductive loop

Page 12: Monitoring your electricity usage

Inductive clamp – Where to put it

Page 13: Monitoring your electricity usage

Transmitter

Page 14: Monitoring your electricity usage

Transmitter and clamp

Page 15: Monitoring your electricity usage

Meter

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

Page 16: Monitoring your electricity usage

Data socket

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

Page 17: Monitoring your electricity usage

Data cable

Page 18: Monitoring your electricity usage

Data socket – connecting

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

RJ-45

TTL-levelserial data

RS232

USB

Page 19: Monitoring your electricity usage

Drivers and connectingthink serial

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

Page 20: Monitoring your electricity usage

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>

Page 21: Monitoring your electricity usage

<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

Page 22: Monitoring your electricity usage

CurrentCost apps – my Python app

Page 23: Monitoring your electricity usage

CurrentCost apps – my Python app

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

Page 24: Monitoring your electricity usage

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;

Page 25: Monitoring your electricity usage

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

Page 26: Monitoring your electricity usage

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>

Page 27: Monitoring your electricity usage

Identifying appliances – Google’s way

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

Page 28: Monitoring your electricity usage

CurrentCost on twitter

http://twitter.com/andy_house

Page 29: Monitoring your electricity usage

Google charts

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

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

Page 30: Monitoring your electricity usage

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

Floppy’s system tray app

Page 31: Monitoring your electricity usage

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

Realtime graph

Page 32: Monitoring your electricity usage

Dojo dashboard

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

Page 33: Monitoring your electricity usage

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

Page 34: Monitoring your electricity usage

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

Page 35: Monitoring your electricity usage

Android pachube app

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

Page 36: Monitoring your electricity usage

Symbian app

http://twitpic.com/1smlz

Page 37: Monitoring your electricity usage

iPhone app

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

Page 38: Monitoring your electricity usage

Arduino

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

Page 39: Monitoring your electricity usage

Arduino with LEDs

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

Page 40: Monitoring your electricity usage

Ambient orb

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

Page 41: Monitoring your electricity usage

rrdtool

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

Page 42: Monitoring your electricity usage

techtoniq app

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

Page 43: Monitoring your electricity usage

CurrentCost Live – Xbox Live

Page 44: Monitoring your electricity usage

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/

Page 45: Monitoring your electricity usage

CurrentCost Live – twitter

Page 46: Monitoring your electricity usage

CurrentCost Live – twitter

Page 47: Monitoring your electricity usage

CurrentCost Live – google widget

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

Page 48: Monitoring your electricity usage

CurrentCost Live – television

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

Page 49: Monitoring your electricity usage

AMEE

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

Page 50: Monitoring your electricity usage

CurrentCost Meters – classic “classic”

Page 51: Monitoring your electricity usage

CurrentCost Meters – envi

“envi”

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

Page 52: Monitoring your electricity usage

What’s next?

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

Page 53: Monitoring your electricity usage

Code

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

Page 54: Monitoring your electricity usage

dalelane.co.uk/blog