Twitterplug

390 views
369 views

Published on

Twitter plug presentation

Published in: Technology, News & Politics
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
390
On SlideShare
0
From Embeds
0
Number of Embeds
2
Actions
Shares
0
Downloads
1
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Twitterplug

  1. 1. Twitterplug How to Tweet the energy usage of your home of office with the Current Cost meter
  2. 2. What You Need <ul><li>Current Cost Meter ( http://www.currentcost.com ) </li></ul><ul><li>Mac or Linux PC* </li></ul>*NB. Mac and Linux have different instructions
  3. 3. Linux <ul><li>Before we start you will need to install James Smith's ( http://www.floppy.org.uk ) rb232 Ruby gem ( http://github.com/Floppy/rb232/tree/master ) </li></ul><ul><li>Then put your Current Cost meter together </li></ul>
  4. 4. Step Two <ul><li>Plug everything in an attach the clamps around a cable </li></ul>
  5. 5. Step Three <ul><li>Download James' daemon from here: </li></ul><ul><li>http://github.com/Floppy/currentcost-daemon/tree/master </li></ul>
  6. 6. Step Four <ul><li>Run the program and watch your Tweets stream in </li></ul>
  7. 7. Mac OS X <ul><li>We couldn't get James' rb232 code to work, so we're going to go a different route... </li></ul><ul><li>First install PL2302 drivers for your mac </li></ul><ul><li>http://www.apple.com/downloads/macosx/drivers/pl2303usbtoserialdriver.html </li></ul>
  8. 8. Step Two <ul><li>Same as with Linux, plug everything in and attach the clamps </li></ul>
  9. 9. Step Three - Oops, A Problem <ul><li>Unfortunately, we couldn't get James' rb 232 code to work on OSX, but we found another way... </li></ul><ul><li>The plan is to: </li></ul><ul><ul><li>Have the data sent off to Pachube (using a Pachube app) </li></ul></ul><ul><ul><li>Have a script that will pull the data off Pachube and then post this on Twitter </li></ul></ul>
  10. 10. Step Four <ul><ul><li>Sign up to Pachube ( http://www.pachube.com ) </li></ul></ul><ul><ul><li>Create a Feed </li></ul></ul>
  11. 11. Step Five <ul><li>Download this app http://community.pachube.com/?q=node/100 </li></ul>
  12. 12. And Finally <ul><li>Download and run this code </li></ul><ul><li>http://gist.github.com/89139 </li></ul>
  13. 13. <ul><li>Good luck, happy Twitterplugging and let us know how you get on </li></ul><ul><li>[email_address] .com </li></ul>

×