<?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>Ed&#039;s World &#187; central heating ctrl</title>
	<atom:link href="http://www.jellard.co.uk/tag/central-heating-ctrl/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.jellard.co.uk</link>
	<description>Bringing data into real life in a meaningful way</description>
	<lastBuildDate>Fri, 14 May 2010 15:00:43 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Ambient Light and Arduino boxed up and ready to rumble</title>
		<link>http://www.jellard.co.uk/2009/11/ambient-light-and-arduino-boxed-up-and-ready-to-rumble/</link>
		<comments>http://www.jellard.co.uk/2009/11/ambient-light-and-arduino-boxed-up-and-ready-to-rumble/#comments</comments>
		<pubDate>Thu, 12 Nov 2009 21:30:30 +0000</pubDate>
		<dc:creator>Ed</dc:creator>
				<category><![CDATA[Arduino]]></category>
		<category><![CDATA[Home automation]]></category>
		<category><![CDATA[AM comms]]></category>
		<category><![CDATA[ambient light]]></category>
		<category><![CDATA[BlinkM]]></category>
		<category><![CDATA[central heating ctrl]]></category>
		<category><![CDATA[current cost]]></category>
		<category><![CDATA[home easy]]></category>
		<category><![CDATA[twitter]]></category>

		<guid isPermaLink="false">http://www.jellard.co.uk/?p=99</guid>
		<description><![CDATA[One bitsbox order and a trip to buy some deodorant later, and my arduino is boxed up, and ambient light has a stand!

The cap off an addidas deoderant can makes a nice enough base for the orb from a B&#38;Q disco lamp (no link as can&#8217;t find it online).  I soldered the ends of some [...]]]></description>
			<content:encoded><![CDATA[<p>One bitsbox order and a trip to buy some deodorant later, and my arduino is boxed up, and ambient light has a stand!</p>
<p><a href="http://www.jellard.co.uk/wp-content/uploads/2009/11/IMG_4495.JPG"><img class="attachment-medium" title="Ambient Light and Box" src="http://www.jellard.co.uk/wp-content/uploads/2009/11/IMG_4495-300x199.jpg" alt="" width="300" height="199" /></a></p>
<p>The cap off an addidas deoderant can makes a nice enough base for the orb from a B&amp;Q disco lamp (no link as can&#8217;t find it online).  I soldered the ends of some CAT5 to the BlinkM, and left the other ends loose to be shoved into the arduino.</p>
<p><a href="http://www.jellard.co.uk/wp-content/uploads/2009/11/IMG_4500.JPG"><img class="attachment-medium" title="The insides" src="http://www.jellard.co.uk/wp-content/uploads/2009/11/IMG_4500-300x199.jpg" alt="" width="300" height="199" /></a></p>
<p>As I&#8217;ve got an arduino and ethernet shield, I went for the second <a href="http://www.bitsbox.co.uk/boxes.html">largest ABS box</a> and even then, I had to break off the screw connectors on one side so that the plugs could stick through the outside.  I soldered the AM receiver and transmitter onto a small piece of stripboard (also from bitsbox), added a couple of wires for aerials (with a knot in each to prevent someone pulling it out the circuit).  So that&#8217;s pretty much the finished product, what a shame!  I will add a thermometer to it so it can become a thermostat in another room &#8211; eventually this&#8217;ll go in the sitting room, so will have the current cost meter producing one temperature reading from the kitchen, this one in the sitting room, and have just ordered another arduino for my bedroom&#8217;s ambient light/thermometer/development board.</p>
<p>The java code has been working nicely, turning the heating on and off via the hacked home-easy plug!  I sent a text from my phone to turn the heating on, very proud of actually finding a use for it as I was stuck in traffic but had friends coming round so the heating would have cut out at 5.30 (it heats up til 5.30, then waits for movement) &#8211; only to find there was a street power cut that has lasted 3 days (intermittently)!  So, if the power holds up a little longer, I should get a tweet tomorrow telling me how long the central heating was on for, fingers crossed!</p>
<p>So, time to write the web interface, pretty dull <img src='http://www.jellard.co.uk/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.jellard.co.uk/2009/11/ambient-light-and-arduino-boxed-up-and-ready-to-rumble/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Arduino Central Heating Control (Home Easy Hack)</title>
		<link>http://www.jellard.co.uk/2009/11/home-easy-central-heating-control-hack/</link>
		<comments>http://www.jellard.co.uk/2009/11/home-easy-central-heating-control-hack/#comments</comments>
		<pubDate>Sun, 01 Nov 2009 15:15:57 +0000</pubDate>
		<dc:creator>Ed</dc:creator>
				<category><![CDATA[Arduino]]></category>
		<category><![CDATA[Home automation]]></category>
		<category><![CDATA[AM comms]]></category>
		<category><![CDATA[automation]]></category>
		<category><![CDATA[central heating ctrl]]></category>

		<guid isPermaLink="false">http://www.jellard.co.uk/?p=71</guid>
		<description><![CDATA[An easy way to convert a home easy plug into a central heating controller - now your home automation system can control central heating...]]></description>
			<content:encoded><![CDATA[<p>Firstly, I have no qualifications in electronics, I do not totally understand all the different types of central heating programmers, so I accept no responsibility for you screwing up your system.  As I don&#8217;t have proper central heating cable, I the colour coding is way off &#8211; there are no earth wires, despite the pictures showing earth-coloured wires.  This is safe &#8211; neither the central heating programmer nor the home easy device need earths, so I use the earth wires as control lines.</p>
<p>However, with that over&#8230;  I&#8217;m on a quest to automate my home with arduinos, and central heating is something that &#8220;needs&#8221; automating.  Yes, I could buy a Home Easy central heating controller for £75, but I already have three plugs and in all honesty, nothing to do with them (yet).  After reading an article at <a href="http://www.instructables.com/id/BampQ_homeeasy_home_automation_central_heating_c/">instructables</a>, I decided to do something similar but hopefully a lot easier.  The final result I aimed for was to have my usual central heating/hot water programmer running as usual, but have the home easy plug sitting between it and the pump/boiler so I could make it act like a thermostat.  Then, by leaving the central heating on 24&#215;7 on the programmer, I can take full control over it via arduinos and an AM transmitter.  Naturally you could use any home easy remote to control the heating as well, but that&#8217;s not very exciting!  As I&#8217;m prone to playing, I also want to be able to bypass the home easy device and let the programmer work as usual &#8211; just in case the code/hardware fails!</p>
<p><span id="more-71"></span></p>
<p>So, step one was get the stuff out of the home easy plug (HE302S, for those that care).  I could have done what instructables said and ruin a screwdriver to unscrew the tamper-proof screws, or I could use brute force &#8211; the latter one.  Just pry it open from the end opposite the screws and yank.  Then stick a screwdriver by the two clips at the end opposite the plug and lever the circuit board out &#8211; much easier!</p>
<p><a href="http://www.jellard.co.uk/wp-content/uploads/2009/11/IMG_4473.JPG"><img class="attachment-medium" title="Central Heating Wiring" src="http://www.jellard.co.uk/wp-content/uploads/2009/11/IMG_4473-300x200.jpg" alt="Central Heating Wiring" width="300" height="200" /></a></p>
<p>After probing the wires above (while the programmer was on &#8211; had to extend the wires out the bottom), I saw that the right-most pin only went live when the central heating was turned on.  Hot water (second from right) went on when hot water or central heating were on.  So, all I&#8217;d need to do is interrupt the right-most pin, letting it go live when I want C/H, and dead when I don&#8217;t.</p>
<p>Left to right, Neutral, Live, Hot Water Off (is live most of the time), Blank, Hot Water on (live when either hot water or c/h is on) and Central Heating on.</p>
<p>The wires in the pic above with red are the new wires that I added, a permanent neutral, a timer controlled live feed (right-most pin) and the output wire from my device.</p>
<p><a title="Home Easy Central Heating and Override" href="http://www.jellard.co.uk/wp-content/uploads/2009/11/IMG_4475.JPG"><img class="attachment-thumbnail" title="Home Easy Central Heating and Override" src="http://www.jellard.co.uk/wp-content/uploads/2009/11/IMG_4475-300x200.jpg" alt="Home Easy Central Heating and Override" width="300" height="200" /></a></p>
<p>The home easy device needs a neutral, which I took from the C/H programmer&#8217;s neutral, a live, which came from the C/H programmer&#8217;s right-most pin &#8211; that way the home easy device only gets power when the programmer is telling the heating to go on, which will be 24&#215;7 once I&#8217;m happy.  And then the output of the home easy device should go back to the wire that was in the right-most pin on the C/H programmer.  But, I want an override switch, so put a two-way light switch in the middle of this.  Pictures speak a thousand words, so you should be able to see what&#8217;s going on in the picture.</p>
<p>I didn&#8217;t have to isolate the relay as mentioned in the instructables article &#8211; this solution seemed much easier&#8230;</p>
<p>Net result was in less than 30mins, I can use a remote or my arduino software to turn on/off the heating &#8211; and if all goes wrong, I can take the home easy device out of the loop <img src='http://www.jellard.co.uk/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.jellard.co.uk/2009/11/home-easy-central-heating-control-hack/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Two-way communication via Nuelectronics ethernet shield&#8230;</title>
		<link>http://www.jellard.co.uk/2009/10/two-way-communication-via-nuelectronics-ethernet-shield/</link>
		<comments>http://www.jellard.co.uk/2009/10/two-way-communication-via-nuelectronics-ethernet-shield/#comments</comments>
		<pubDate>Fri, 30 Oct 2009 17:47:16 +0000</pubDate>
		<dc:creator>Ed</dc:creator>
				<category><![CDATA[Arduino]]></category>
		<category><![CDATA[Home automation]]></category>
		<category><![CDATA[automation]]></category>
		<category><![CDATA[central heating ctrl]]></category>
		<category><![CDATA[home easy]]></category>
		<category><![CDATA[Viglen MPC-L]]></category>

		<guid isPermaLink="false">http://www.jellard.co.uk/?p=47</guid>
		<description><![CDATA[Struggling to get two way ethernet communication working with the nuelectronics ethernet shield, so have ordered an official one.]]></description>
			<content:encoded><![CDATA[<p>&#8230;is possible, and does work &#8211; but only sometimes.</p>
<p>I struggled last night for several hours trying to get reliable two way communications.  The idea is that every time the arduino receives a home easy command from a remote or motion detector, it sends a message to the MPC-L.  Then, with some funky programming, the server will decide what events to fire off.</p>
<p>Unfortunately while I can reliably receive messages, and reliably send messages, I can&#8217;t do both &#8211; it just hangs.  I&#8217;m thinking it&#8217;s the nuelectronics ethernet shield, the software certainly isn&#8217;t very nice, so as I&#8217;ve only been playing with this for a few days, I&#8217;m splashing out on an official shield.  As a by-product of this, it is supported by <a href="http://knolleary.net/arduino-client-for-mqtt/">Nicholas O&#8217;Leary&#8217;s MQTT code</a>.  So, moving away from last night&#8217;s PHP start, I&#8217;ll write a small java program to receive these, process them, and fire off any events if need be.</p>
<p>The logic for the event firing will end up being more complicated, but initially, I want a bunch of events/desired actions, and each event has a sequence of signals required, each of which have to happen within a changable amount of time.  Only if a path through the sequence is achieved in the right time will the action be fired.</p>
<p>For example, a motion detector in the hall, and a door open/shut detector on my front door.  An event (i.e. turn off all lights) with a sequence of 1. Motion detector fired, 2. Door opened will detect when someone has just left the house, but obviously you only want it to happen if the time between 1 and 2 isn&#8217;t too much, otherwise the person could have walked upstairs and someone else came in through the front door!</p>
<p>I got this working in PHP, so will Java-it-up tonight.  Then will code the more complicated (and more useful) central heating logic (i.e. I want the house at 18 degrees at 7PM, it’s now 16 degrees, and takes 45mins to warm up to 18degrees, so turn on centreal heating at 6.15PM).</p>
]]></content:encoded>
			<wfw:commentRss>http://www.jellard.co.uk/2009/10/two-way-communication-via-nuelectronics-ethernet-shield/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
