<?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>Mindless Fluffiness &#187; HomeAutomation</title>
	<atom:link href="http://www.dial911anddie.com/weblog/tag/homeautomation/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.dial911anddie.com/weblog</link>
	<description>Random fluffy thoughts, and emergency phone calls</description>
	<lastBuildDate>Sun, 05 Sep 2010 00:50:50 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.2</generator>
		<item>
		<title>Arduino + EtherShield + 1Wire Temperature Sensor + Pachube</title>
		<link>http://www.dial911anddie.com/weblog/2009/12/arduino-ethershield-1wire-temperature-sensor-pachube/</link>
		<comments>http://www.dial911anddie.com/weblog/2009/12/arduino-ethershield-1wire-temperature-sensor-pachube/#comments</comments>
		<pubDate>Mon, 28 Dec 2009 05:41:29 +0000</pubDate>
		<dc:creator>fluffy</dc:creator>
				<category><![CDATA[Technical]]></category>
		<category><![CDATA[HomeAutomation]]></category>

		<guid isPermaLink="false">http://www.dial911anddie.com/weblog/2009/12/arduino-ethershield-1wire-temperature-sensor-pachube/</guid>
		<description><![CDATA[I put together a 1-wire temperature sensor with a Arduino board with Ethernet Shield. Every 5 minutes, it posts the current temperature to Pachube.com. Since there is only outbound connections, it works with firewalls and NATs with not port forwarding. It also has DHCP as I find hard coding IP addresses sort of a pain. [...]]]></description>
			<content:encoded><![CDATA[<p>I put together a 1-wire temperature sensor with a <a href="http://arduino.cc/">Arduino</a> board with <a href="http://arduino.cc/en/Main/ArduinoEthernetShield">Ethernet Shield</a>. Every 5 minutes, it posts the current temperature to <a href="http://www.pachube.com" title="Pachube">Pachube.com</a>. Since there is only outbound connections, it works with firewalls and NATs with not port forwarding. It also has DHCP as I find hard coding IP addresses sort of a pain. I used a <a href="http://www.maxim-ic.com/quick_view2.cfm/qv_pk/2815">DS18S20</a> temperature sensor.</p>
<p>You can find the software at: <a href="http://fluffyhome.googlecode.com/svn/trunk/arduino/PachubeClientWithDHCP.cpp" title="http://fluffyhome.googlecode.com/svn/trunk/arduino/PachubeClientWithDHCP.cpp">http://fluffyhome.googlecode.com/svn/trunk/arduino/PachubeClientWithDHCP.cpp</a></p>
<p>First you will need to install the DHCP library from: <a href="http://blog.jordanterrell.com/post/Arduino-DHCP-Library-Version-03.aspx">http://blog.jordanterrell.com/post/Arduino-DHCP-Library-Version-03.aspx</a></p>
<p>And then install the 1-wire library and Dallas Temperature Control library which are both found inside the the zip file at: <a href="http://milesburton.com/wiki/index.php?title=Dallas_Temperature_Control_Library#Download">http://milesburton.com/wiki/index.php?title=Dallas_Temperature_Control_Library#Download</a></p>
<p>At this point you need to have an account on <a href="http://www.pachube.com" title="Pachube">Pachube</a> and create a manual update feed. The first data stream will be used for the temperature. Next you need to go in to the <a href="http://fluffyhome.googlecode.com/svn/trunk/arduino/PachubeClientWithDHCP.cpp" title="http://fluffyhome.googlecode.com/svn/trunk/arduino/PachubeClientWithDHCP.cpp">PachubeClientWithDHCP.cpp</a> file and edit the API KEY and feed ID to match yours. You don&#8217;t really need to change anything else. If you have other Arduino with fake MAC addresses, you might want to check this one does not conflict.</p>
<p>The 1-wire bus is connected to Digital IO pin 8 on the Arduino and pulled high to the 5v power with a 4K ohm resistor. Pin 1 of the DS18S20 is connected to ground, pin 2 to the 1-wire bus, and pin 3 to 5v power. (Yah, I know about parasitic power but I have power so I used it).</p>
<p>Compile and install the software, connect up the Ethernet, and start it. That&#8217;s about it.</p>
<p>Useful LInks:</p>
<p>http://www.pachube.com</p>
<p>http://milesburton.com/wiki/index.php?title=Dallas_Temperature_Control_Library#Download</p>
<p>http://arduino.cc/en/Main/ArduinoEthernetShield</p>
<p>http://arduino.cc/</p>
<p>http://www.maxim-ic.com/quick_view2.cfm/qv_pk/2815</p>
<p>http://fluffyhome.googlecode.com/svn/trunk/arduino/PachubeClientWithDHCP.cpp</p>
<p>http://blog.jordanterrell.com/post/Arduino-DHCP-Library-Version-03.aspx</p>
]]></content:encoded>
			<wfw:commentRss>http://www.dial911anddie.com/weblog/2009/12/arduino-ethershield-1wire-temperature-sensor-pachube/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Graphing Indigo temperature data with the google charts API</title>
		<link>http://www.dial911anddie.com/weblog/2009/12/graphing-indigo-temperature-data-with-the-google-charts-api/</link>
		<comments>http://www.dial911anddie.com/weblog/2009/12/graphing-indigo-temperature-data-with-the-google-charts-api/#comments</comments>
		<pubDate>Sun, 27 Dec 2009 17:58:04 +0000</pubDate>
		<dc:creator>fluffy</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[HomeAutomation]]></category>

		<guid isPermaLink="false">http://www.dial911anddie.com/weblog/2009/12/graphing-indigo-temperature-data-with-the-google-charts-api/</guid>
		<description><![CDATA[Google charts (see http://code.google.com/apis/chart/ ) is infinitely better than MRTG but still, uh, still pretty bad. I wrote a python program that you can find at http://fluffyhome.googlecode.com/svn/trunk/indigo/graphVars.py that goes through the Indigo database (you can see my preivios posts for how temperature data gets into this database), looks for all the changes to the mainTemp [...]]]></description>
			<content:encoded><![CDATA[<p>Google charts (see <a href="http://code.google.com/apis/chart/" title="http://code.google.com/apis/chart/">http://code.google.com/apis/chart/</a> ) is infinitely better than MRTG but still, uh, still pretty bad.</p>
<p>I wrote a python program that you can find at <a href="http://fluffyhome.googlecode.com/svn/trunk/indigo/graphVars.py">http://fluffyhome.googlecode.com/svn/trunk/indigo/graphVars.py</a> that goes through the Indigo database (you can see my preivios posts for how temperature data gets into this database), looks for all the changes to the mainTemp variable, and creates an HTML web page that calls googles charts to produce a graph.</p>
<p>An example graph is</p>
<p><a href="http://www.flickr.com/photos/cullenfluffyjennings/4219587096/" title="google-graph by cullenfluffyjennings, on Flickr"><img src="http://farm3.static.flickr.com/2571/4219587096_c0baa0381f.jpg" width="500" height="255" alt="google-graph" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.dial911anddie.com/weblog/2009/12/graphing-indigo-temperature-data-with-the-google-charts-api/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

