Cloud Logging

I have been playing with logging this week. FHEM now automatically records the measured temperature, the desired temperature (set point) and actuator levels for each room to Pachube.com (pronounced Patch Bay). With the data held on Pachube, I can do various things like build dynamic graphs for display on this site.  At the moment, I am using a Pachube app which displays the graphs using flash, but being an iOS user, this is less than optimal.

You can view the current temperatures in my three bed terrace by clicking the
following link:  Household Temperature Graphs

Ouch!

I have just found out the hard way what happens when you accidentally touch the exposed wires sticking out of a broken fairy lamp while decorating the Christmas tree. They were 240V lights too! Perhaps I should not have had the lights on while doing it, or perhaps it was better that I did – had the little one found it later it could have been far worse.

Obviously being the geek that I am, the (unbroken) lights that are now on the tree are remote controlled using a spare LightwaveRF appliance module.

LightwaveRF WiFi Linked

Finally my local B&Q have taken delivery of the LightwaveRF WiFi Link and I popped in earlier to pick one up. You can order one here through Amazon if you wish: Buy LightwaveRF WiFi Link on-line through Amazon.

 

The packaging is the usual high quality I have come to expect from JSJS Designs and was a bugger to get into due to it being sealed inside a plastic tray. Included in the tray is the WiFi link itself, a pretty bog standard wall-wart power supply and a short Ethernet cable (incorrectly referred to as an RJ45 cable in the instructions). Set up couldn’t be easier. Simply connect the device to power and your existing network infrastructure. It may be a little confusing, but the WiFi link doesn’t actually connect to or provide WiFi – simply because it doesn’t have a radio in it. Calling it the WiFi link though does well reflect its purpose, to allow LightwaveRF devices to be controlled by other WiFi devices (like your iPhone, iPod Touch, Android, etc). It should technically be called an Ethernet Link, but being aimed at the consumer market, more people will understand what WiFi is than Ethernet. That said, how many people will know what those funny RJ45 (I too will incorrectly call them that) sockets are on the back of their broadband router?

Anyway, once connected, the device connects to the Internet, downloads any software updates due and sets the clock automatically. Job done, nothing else required at this stage. Couldn’t be easier, well done JSJS.

Next up is the process of actually setting it up to control some devices. I have an iPhone, so have the app installed. An Android version is also available as is a web based option (more about that in a sec). First up, the iPhone needs to be paired with the WiFi link. Doing this is simple, assuming you have already created some rooms and devices (by clicking on them and setting a name and type), you just need to select one and switch it on – the WiFi link will detect the new device and ask you if you want to associate it with the WiFi link (obviously you do) and needing to do this offers a rudimentary level of security in case anyone else manages to connect to your WiFi network. Confirming you do is simply a case of pressing the indicated button on the front of the device. Make sure you do this before you stick the device out of the way in a cupboard or whatever.

The WiFi link works just like any other LightwaveRF remote. You need to tell the dimmer, switch, whatever that you expect it to be controlled by the WiFi link. To do this, put it in learning mode (how depends on the type of device) and switch it on through the iPhone/Android app. This will pair the device with the WiFi link and you are good to go.

In use, the iPhone app works as expected for direct control. Selecting the action on the screen to seeing the result is much quicker than I expected – its almost instantaneous. Where the system does feel a little less robust is in timers and especially in sequences (you need to create a sequence in order to set a timer). I tried creating a sequence to brighten my bedside wall lamp in 25% increments with 1 minute delay between each increment. I can set it to light 25%, 50% and 100%, but 75% is currently impossible due to a bug in the software. I won’t go into details here, but have logged it on the LightwaveRF forum and I fully expect them to resolve this as they are usually pretty responsive.

At this stage, I have created a couple of simple timers which I will talk through in another post. The next step is to do something funky with PHP and my web server, again, subject for another post.

Moving Blog

So, i’ve decided to self host my blog on my own server. Whether this will turn out to be a sensible choice I will have to wait and see. The primary reason for doing this is to have a bit more flexibility over what I can post and how it will be displayed. Oh, that and the fact that WordPress.com wanted to charge me to host my domain name on their servers…

New hostname: www.cpmills.com

Update on hammering TRV

So, I’ve checked the TRV at home and while I can’t tell whether it matters (I think the only markings are in the back) I do think the plumber has put it on the return side of the radiator. Just after kicking in this evening, I felt both pipes and the one with the TRV on it is noticeably cooler to the touch than the other (with the lock valve on it). Hmm…

I am also trying out WordPress for iOS (this post being sent from my phone) so here is a picture for no other reason than to test the app!

20111123-212916.jpg

TRV “Hammering”…

As part of a complete refurb including new plaster, we have just had a radiator replaced in our master bedroom.  The radiator seems OK, heats well and the room gets toasty (perhaps too toasty, but that’s a subject for a different post).  However, there is a problem, the TRV sounds like a Jack Hammer when it closes down to between 5 and 10%.  Like all other TRV’s in the house, it is fitted with a Conrad FHT8V valve actuator but from reading, this seems like a TRV problem rather than a problem with the actuator and would occur even if I replaced it with the standard thermostatic head that came with it.  The pain is that this occurs only when the actuator shuts down, i.e. when the bedroom is at the desired temperature… When we are in bed… Asleep!!!

Reading around the Interwebs, it seems that this might be related to cheap TRV’s being placed on the wrong (i.e. return) side of the radiator.  Thinking about it, I am sure the old radiator had the TRV on the other side.  Perhaps I need to check this evening…

I have spoken to the plumber who fitted it and he tells me that he will have to replace it which means draining the whole system down again.  Not good now the new carpet has been fitted!

The journey so far…

I have been attempting to automate my home for some time and I have only just decided to blog about it.  So where am I at the moment and what have I achieved so far?

My heating is controlled by a collection of what I will call FHT devices.  These appear to be available under a couple of different brand names.  The first I bought was from HouseTech and branded HouseHeat.  Later I discovered that you could buy the same kit from a German company called Conrad Electronic who have an English website.  The first one I bought from there had an ELV logo on it (who I think manufacture the system) and later ones are branded Conrad.

This system consists of a battery operated programmer and separate battery operated actuator which replaces the traditional thermostatic bit on a standard thermostatic radiator valve.  I will write more on how this system works later.

Lighting consists of a mix of different types including mains and low voltage Halogens, compact florescent’s (CLF’s or Energy Saving Bulbs) and traditional incandescent light bulbs.  Control is via a mix of electronic dimmers and switches.  In the case of dimmers, I have a mix of Varilight touch dimmers, a couple of HomeEasy dimmers and my recent foray – LightwaveRF dimmers.  Again, I will write more about this journey soon.

Its probably sensible to talk about the computing power available to me.  I have a ‘node zero’ in the loft which consists of a wall mounted rack, a couple of wired Ethernet switches, a rack mountable server (not currently rack mounted) and a wireless bridge to connect it to the Wireless network.  The server runs VMWare VSphere 5 with a mix of virtual machines including a number running Linux, a token Windows XP installation and a FreeNAS box providing file store.  ’Client side’ computing devices consist of a Macbook Pro laptop, a Mac Pro workstation, an iPhone4, an original iPad and the Mrs’ work laptop running Windows 7… oh, and a Nintendo Wii!  Internet is provided by a Virgin Media cable connection terminated downstairs and connected to the rest of the infrastructure via WiFi.

Music and Video is served from a home built media server running Plex for visual media to the various Mac and iDevices and Logitech Squeezebox Server to a Logitech Squeezebox Classic.

First blog

OK, so, my first blog post.

What is this about?  Well, I want to create a home which is comfortable, easy to live in and which appeals to my inner geek.  I want it automated.  I want to be able to control my lights and heating using more than just wall mounted switches and thermostats.  I want to see graphs of temperature over time, I want my lights to switch on without me being home and I want everything integrated with everything else – my alarm clock to switch on my lights, my telephone to tell me the current temperature, I could go on…

But most of all, it must have a high WAF that is it must have a high Wife Acceptance Factor.  It must be controllable by the better half without having to pick up an iPad, log on to a computer or phone a specific phone number.  All of the nice to have geeky features must be built on top of a rock solid ‘normal’ system that just works.  If a computer fails, the system must keep running and still be controllable without having to spend hours re-building a linux server or re-installing software.

This blog is my attempt to document my ongoing struggle to equip my home with automation (HA) with high Wife Acceptance Factor (WAF).