Your SlideShare is downloading. ×
CurrentCost
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×

Introducing the official SlideShare app

Stunning, full-screen experience for iPhone and Android

Text the download link to your phone

Standard text messaging rates apply

CurrentCost

2,923
views

Published on

talk about CurrentCost hacking given at BathCamp

talk about CurrentCost hacking given at BathCamp

Published in: Technology, Economy & Finance

1 Comment
4 Likes
Statistics
Notes
  •         /`.`.
           o.\
           (. @.'.
           -'..*_.-'- ;
           '. () `-.
         /.@ o * . )
          `-...-'' - '`
         _.'` Q.* -.
            o* ' .
         @ . ()`\   
         .( () * Q'._Q *.'
         '-.-' ._ @ `.
        .-'   -' .
        '.. *  o  0 `)
         0  0 *   _.~-.*.'
        '._  () ' 'Q  '
      ;--'.Q *   *  o @.'-
      .* MERRY'.*  ' ~ -  CRISTMAS Q '.
      o *   ..__ ___.--
    '-..._Q   0  MAGDA @   * `;_ **
        ':...`'cc.... -~...=...

            
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
No Downloads
Views
Total Views
2,923
On Slideshare
0
From Embeds
0
Number of Embeds
4
Actions
Shares
0
Downloads
7
Comments
1
Likes
4
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide
  • Transcript

    • 1. CurrentCost dalelane.co.uk/blog
    • 2. http://flickr.com/photos/dalelane/2494743990/
    • 3. http://flickr.com/photos/dalelane/2493925687/
    • 4. http://flickr.com/photos/rooreynolds/2438688453/
    • 5. <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/
    • 6. <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
    • 7. http://dalelane.co.uk/blog/?p=280
    • 8. http://dalelane.co.uk/blog/?p=297
    • 9. http://flickr.com/photos/dalelane/2509049808/ use Net::MySQL; my $mysql = Net::MySQL->new( database => 'currentcostdb', user => 'dalelane', password => 'myPassw0rd' ); my $insertquery = &quot;INSERT INTO currentcostdl (power) VALUES ($watts)&quot;; $mysql->query($insertquery); $mysql->close;
    • 10. 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 +=============================================+
    • 11. 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>
    • 12. http://twitter.com/andy_house
    • 13. http://rooreynolds.com/2008/05/09/current-cost-charting-fun/ http://knolleary.net/2008/05/05/power-graphing/
    • 14. http://e.inste.in/2008/06/16/interfacing-the-currentcost-meter-to-an-arduino/
    • 15. http://www.flickr.com/photos/barnybug/2604903353/
    • 16. http://www.floppy.org.uk/2008/8/22/some-successful-currentcost-hacking
    • 17. http://pachube.com/feeds/488
    • 18. http://flickr.com/photos/dalelane/2509049808/ Broker
    • 19. http://flickr.com/photos/dalelane/2522806416/ Broker
    • 20. http://realtime.ngi.ibm.com/currentcost/
    • 21. http://flickr.com/photos/dalelane/2522806416/
    • 22.  
    • 23. http://flickr.com/photos/abirkill/2468194926/
      • Absolute values
      • Lowest single reading
      • Lowest total power use
      • Lowest average use
    • 24. http://flickr.com/photos/abirkill/2468194926/
      • Personal improvements
      • Lowest percentage of personal average
      • Highest reduction in use
    • 25. Broker http://dalelane.co.uk/blog/?p=283 App Engine
    • 26.  
    • 27.  
    • 28. http://dalelane.co.uk/blog/?p=283
    • 29. http://dalelane.co.uk/blog/?p=283
    • 30. http://dalelane.co.uk/blog/?p=298
    • 31. http://electricity-monitor.com/
    • 32. dalelane.co.uk/blog