<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>GarethWestern.com &#187; python</title>
	<atom:link href="http://garethwestern.com/archives/tag/python/feed/" rel="self" type="application/rss+xml" />
	<link>http://garethwestern.com</link>
	<description>*insert witty tagline here*</description>
	<lastBuildDate>Wed, 25 Mar 2009 16:41:55 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Monitoring Home Electricity Usage Using Current Cost</title>
		<link>http://garethwestern.com/archives/2008/12/15/monitoring-home-electricity-usage-using-current-cost/</link>
		<comments>http://garethwestern.com/archives/2008/12/15/monitoring-home-electricity-usage-using-current-cost/#comments</comments>
		<pubDate>Mon, 15 Dec 2008 23:43:59 +0000</pubDate>
		<dc:creator>GaZ</dc:creator>
				<category><![CDATA[geekery]]></category>
		<category><![CDATA[current cost]]></category>
		<category><![CDATA[electricity]]></category>
		<category><![CDATA[energy usage]]></category>
		<category><![CDATA[linksys]]></category>
		<category><![CDATA[nslu]]></category>
		<category><![CDATA[pachube]]></category>
		<category><![CDATA[python]]></category>
		<category><![CDATA[slug]]></category>

		<guid isPermaLink="false">http://garethwestern.com/?p=223</guid>
		<description><![CDATA[After reading an article over on AutomatedHome the other day, I decided to go ahead and order a Current Cost (CC) system for monitoring our own home electricity usage. 
I ordered via their eBay shop, and the package arrived the next morning! Installation was a breeze: just pair the display unit with the sensor (for [...]]]></description>
			<content:encoded><![CDATA[<p>After reading <a href="http://www.automatedhome.co.uk/Announcements/Reduce-Your-Bills-with-Smart-Home-Power-Monitoring.html">an article over on AutomatedHome</a> the other day, I decided to go ahead and order <a href="http://www.currentcost.com/">a Current Cost (CC) system</a> for monitoring our own home electricity usage. </p>
<p>I ordered via their eBay shop, and the package arrived the next morning! Installation was a breeze: just pair the display unit with the sensor (for the wireless communication), attach the sensor ring around one of the main cables feeding electricity into your house, and away it goes! Once the basics were up and running it was time for the fun part: connecting it to a PC! This feature was the main reason I went with CC over the other units. The connection is made using a standard RJ-45 cable via a port on the display unit. Using a serial-to-USB cable I&#8217;ve connected it to my <a href="http://en.wikipedia.org/wiki/NSLU2">Linksys NSLU</a>. Like most people, when I first got the NSLU (AKA the slug) I flashed it and installed an alternative Linux OS (<a href="http://www.nslu2-linux.org/wiki/SlugOS/SlugOSBE">SlugOS/BE</a>). This allows you to then use the slug for just about anything you want from a networked PC. In my case I installed <a href="http://www.twonkyvision.de">TwonkyMedia</a> to turn it into a nice little UPnP AV server, storing files and serving photos and music to a <a href="http://www.kodak.com/eknec/PageQuerier.jhtml?pq-path=10522&#038;pq-locale=en_GB&#038;_requestid=18314">digital photo frame</a> and the PS3. But I digress. So with the CC connected to one of the slug&#8217;s USB ports I just had to write a little python script to parse the data, which the CC spits out in XML format every few seconds. Rich Cumbers has been kind enough to <a href="http://cumbers.wordpress.com/2008/05/07/breakdown-of-currentcost-xml-output/">document a description of the XML format</a>, which made it easy to identify the bits I needed. </p>
<p>Now on to the data consumption! When I started looking into the whole CurrentCost thing I stumbled across a new site called <a href="http://www.pachube.com/">Pachube</a>, &#8220;a service that enables you to connect, tag and share real time sensor data from objects, devices, buildings and environments around the world.&#8221; There are already quite a few interesting feeds set up on the site, such as <a href="http://www.pachube.com/feeds/1228">the UK&#8217;s electricity usage</a>, <a href="http://www.pachube.com/feeds/257">an automatic weather station in the Ross sea</a>, and <a href="http://www.pachube.com/feeds/143">a musical swing in a Swedish park</a>, as well as <a href="http://www.pachube.com/feeds/1231">several</a> <a href="http://www.pachube.com/feeds/1202">current cost</a> <a href="http://www.pachube.com/feeds/1214">feeds</a>, as well as <a href="http://www.pachube.com/feeds/1239">my own</a>. The service also allows you to generate a dynamic image for various feeds, so here&#8217;s mine:</p>
<p><img src="http://www.pachube.com/feeds/1239/datastreams/1/history.png?w=500&#038;h=250&#038;c=33cc66&#038;b=true&#038;g=true&#038;t=GW%27s%20Electricity%20Usage&#038;l=Watts&#038;s=4" alt="GW's Electricity Usage on Pachube" /></p>
<p>Now to start adding more sensors to the house. I&#8217;m sure Hanne will be pleased! <img src='http://garethwestern.com/blog/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://garethwestern.com/archives/2008/12/15/monitoring-home-electricity-usage-using-current-cost/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Bookmarks for April 27th through April 29th</title>
		<link>http://garethwestern.com/archives/2008/04/29/bookmarks-for-april-27th-through-april-29th/</link>
		<comments>http://garethwestern.com/archives/2008/04/29/bookmarks-for-april-27th-through-april-29th/#comments</comments>
		<pubDate>Tue, 29 Apr 2008 09:04:38 +0000</pubDate>
		<dc:creator>GaZ</dc:creator>
				<category><![CDATA[geekery]]></category>
		<category><![CDATA[appengine]]></category>
		<category><![CDATA[authentication]]></category>
		<category><![CDATA[brightkite]]></category>
		<category><![CDATA[bush]]></category>
		<category><![CDATA[database]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[elections]]></category>
		<category><![CDATA[funny]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[humourous]]></category>
		<category><![CDATA[iis]]></category>
		<category><![CDATA[mariahcarey]]></category>
		<category><![CDATA[microsoft]]></category>
		<category><![CDATA[music]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[python]]></category>
		<category><![CDATA[rails]]></category>
		<category><![CDATA[restful]]></category>
		<category><![CDATA[ruby]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[sql]]></category>
		<category><![CDATA[sqlinjection]]></category>
		<category><![CDATA[support]]></category>
		<category><![CDATA[tutori]]></category>
		<category><![CDATA[tutorial]]></category>
		<category><![CDATA[tutorials]]></category>
		<category><![CDATA[usa]]></category>

		<guid isPermaLink="false">http://garethwestern.com/?p=204</guid>
		<description><![CDATA[Here&#8217;s what I&#8217;ve been reading between April 27th and April 29th:

How to install RESTful Authentication on a Ruby on Rails 2.0 application &#8211; 
SQL Injection Attacks on IIS Web Servers &#8211; BillS IIS Blog &#8211; 
Google App Engine: One-to-many JOIN &#8211; 
Mariah Carey Embarrassed on Good Morning America Live &#8211; &#34;Stop singing my part now, [...]]]></description>
			<content:encoded><![CDATA[<p>Here&#8217;s what I&#8217;ve been reading between April 27th and April 29th:</p>
<ul>
<li><a href="http://crazyrails.com/how-to-install-restful-authentication/">How to install RESTful Authentication on a Ruby on Rails 2.0 application</a> &#8211; </li>
<li><a href="http://blogs.iis.net/bills/archive/2008/04/25/sql-injection-attacks-on-iis-web-servers.aspx">SQL Injection Attacks on IIS Web Servers &#8211; BillS IIS Blog</a> &#8211; </li>
<li><a href="http://blog.arbingersys.com/2008/04/google-app-engine-one-to-many-join.html">Google App Engine: One-to-many JOIN</a> &#8211; </li>
<li><a href="http://www.youtube.com/watch?v=OHb7ljFnDME">Mariah Carey Embarrassed on Good Morning America Live</a> &#8211; &quot;Stop singing my part now, baby!&quot; lol</li>
<li><a href="http://news.bbc.co.uk/1/hi/world/americas/7369510.stm">BBC NEWS | World | Americas | Bush pokes fun at his successors</a> &#8211; US President George W Bush poked fun at his potential successors during his last White House Correspondents&#39; Association dinner.</li>
<li><a href="http://getsatisfaction.com/brightkite/topics/why_does_brightkite_only_work_for_the_us">Why does Brightkite only work for the US?</a> &#8211; </li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://garethwestern.com/archives/2008/04/29/bookmarks-for-april-27th-through-april-29th/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Bookmarks for January 11th through April 22nd</title>
		<link>http://garethwestern.com/archives/2008/04/22/bookmarks-for-january-11th-through-april-22nd/</link>
		<comments>http://garethwestern.com/archives/2008/04/22/bookmarks-for-january-11th-through-april-22nd/#comments</comments>
		<pubDate>Tue, 22 Apr 2008 10:01:31 +0000</pubDate>
		<dc:creator>GaZ</dc:creator>
				<category><![CDATA[geekery]]></category>
		<category><![CDATA[ajax]]></category>
		<category><![CDATA[books]]></category>
		<category><![CDATA[collaboration]]></category>
		<category><![CDATA[Comics]]></category>
		<category><![CDATA[firefox:toolbar]]></category>
		<category><![CDATA[fun]]></category>
		<category><![CDATA[game]]></category>
		<category><![CDATA[games]]></category>
		<category><![CDATA[imported]]></category>
		<category><![CDATA[interesting]]></category>
		<category><![CDATA[iphone]]></category>
		<category><![CDATA[local]]></category>
		<category><![CDATA[mashup]]></category>
		<category><![CDATA[midlands]]></category>
		<category><![CDATA[multiplayer]]></category>
		<category><![CDATA[norwegian]]></category>
		<category><![CDATA[notes]]></category>
		<category><![CDATA[online]]></category>
		<category><![CDATA[poll]]></category>
		<category><![CDATA[python]]></category>
		<category><![CDATA[socialmedia]]></category>
		<category><![CDATA[strategy]]></category>
		<category><![CDATA[themepark]]></category>
		<category><![CDATA[thomasthetankengine]]></category>
		<category><![CDATA[tools]]></category>
		<category><![CDATA[travel]]></category>
		<category><![CDATA[twitter]]></category>
		<category><![CDATA[twittervision]]></category>
		<category><![CDATA[utilities]]></category>
		<category><![CDATA[webapp]]></category>
		<category><![CDATA[wiki]]></category>

		<guid isPermaLink="false">http://garethwestern.com/?p=198</guid>
		<description><![CDATA[Here&#8217;s what I&#8217;ve been reading between January 11th and April 22nd:

&#197;pner Thomas-Land &#8211; Reise &#8211; Dagbladet.no &#8211; 
Welcome on Weewar.com &#8211; 
twittervision local (beta) :: unitedkingdom &#8211; 
PollDaddy Twitter Polls &#8211; Send a poll directly to your Twitter! &#8211; 
Synoptic &#8211; &#34;Gmail for your notes?&#34;
Make your own book with Blurb &#8211; 
xkcd &#8211; A webcomic [...]]]></description>
			<content:encoded><![CDATA[<p>Here&#8217;s what I&#8217;ve been reading between January 11th and April 22nd:</p>
<ul>
<li><a href="http://www.dagbladet.no/dinside/2008/04/21/533245.html">&Aring;pner Thomas-Land &#8211; Reise &#8211; Dagbladet.no</a> &#8211; </li>
<li><a href="http://weewar.com/">Welcome on Weewar.com</a> &#8211; </li>
<li><a href="http://twittervision.com/local/unitedkingdom">twittervision local (beta) :: unitedkingdom</a> &#8211; </li>
<li><a href="http://twitter.polldaddy.com/">PollDaddy Twitter Polls &#8211; Send a poll directly to your Twitter!</a> &#8211; </li>
<li><a href="http://mathema.tician.de/software/synoptic">Synoptic</a> &#8211; &quot;Gmail for your notes?&quot;</li>
<li><a href="http://www.blurb.com/">Make your own book with Blurb</a> &#8211; </li>
<li><a href="http://xkcd.com/">xkcd &#8211; A webcomic of romance, sarcasm, math, and language &#8211; By Randall Munroe</a> &#8211; </li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://garethwestern.com/archives/2008/04/22/bookmarks-for-january-11th-through-april-22nd/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

<!-- Dynamic Page Served (once) in 1.138 seconds -->
