CurrentCost

3,335 views

Published on

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
3,335
On SlideShare
0
From Embeds
0
Number of Embeds
359
Actions
Shares
0
Downloads
10
Comments
1
Likes
4
Embeds 0
No embeds

No notes for slide
  • CurrentCost

    1. 1. CurrentCost dalelane.co.uk/blog
    2. 2. http://flickr.com/photos/dalelane/2494743990/
    3. 3. http://flickr.com/photos/dalelane/2493925687/
    4. 4. http://flickr.com/photos/rooreynolds/2438688453/
    5. 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. 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. 7. http://dalelane.co.uk/blog/?p=280
    8. 8. http://dalelane.co.uk/blog/?p=297
    9. 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. 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. 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. 12. http://twitter.com/andy_house
    13. 13. http://rooreynolds.com/2008/05/09/current-cost-charting-fun/ http://knolleary.net/2008/05/05/power-graphing/
    14. 14. http://e.inste.in/2008/06/16/interfacing-the-currentcost-meter-to-an-arduino/
    15. 15. http://www.flickr.com/photos/barnybug/2604903353/
    16. 16. http://www.floppy.org.uk/2008/8/22/some-successful-currentcost-hacking
    17. 17. http://pachube.com/feeds/488
    18. 18. http://flickr.com/photos/dalelane/2509049808/ Broker
    19. 19. http://flickr.com/photos/dalelane/2522806416/ Broker
    20. 20. http://realtime.ngi.ibm.com/currentcost/
    21. 21. http://flickr.com/photos/dalelane/2522806416/
    22. 23. http://flickr.com/photos/abirkill/2468194926/ <ul><li>Absolute values </li></ul><ul><li>Lowest single reading </li></ul><ul><li>Lowest total power use </li></ul><ul><li>Lowest average use </li></ul><ul><li>… </li></ul>
    23. 24. http://flickr.com/photos/abirkill/2468194926/ <ul><li>Personal improvements </li></ul><ul><li>Lowest percentage of personal average </li></ul><ul><li>Highest reduction in use </li></ul><ul><li>… </li></ul>
    24. 25. Broker http://dalelane.co.uk/blog/?p=283 App Engine
    25. 28. http://dalelane.co.uk/blog/?p=283
    26. 29. http://dalelane.co.uk/blog/?p=283
    27. 30. http://dalelane.co.uk/blog/?p=298
    28. 31. http://electricity-monitor.com/
    29. 32. dalelane.co.uk/blog

    ×