My home network setup


I spent some time today taking care of something rather mundane: I produced a home network diagram. Although it didn’t take long, I found it quite a useful exercise. I actually feel somewhat relieved that I don’t have to maintain any of this stuff in my head anymore, as it’s gradually getting more and more complex.

Most home networks grow in an organic fashion, with bits being added or changed depending on what takes your fancy at any particular moment. When we moved into our new home though, I was determined I wanted to make the most of the empty house before we moved in and carefully thought about how I planned to use it at first, and how I might need it to adapt. I didn’t want it to be obvious or intrusive, so most of the hardware is completely out of view.

In a nutshell, here’s some of the things I have done:

  • ‘Node 0’ is a custom built shelf unit in the office. It is passively cooled and also has surge protection.
  • Each room has at least two RJ45 sockets embedded in the wall. The living room has 4 outlets, 2 by the TV and two in another corner.
  • Each room is cabled with a telephone outlet and the BT master socket is at Node 0.

And here’s a brief equipment listing:

  • Netgear 24 port 10/100 Switch
  • Netgear FVS 124G VPN Firewall/Router
  • Be Box (Thomson Speedtouch) ADSL2+ Modem Router

In the living room, we have the XBOX 360 Elite and an HP MediaSmart Windows Home Server with 1TB of storage hooked up to the network, and an IP network camera (however this isn’t in use as yet).

In the office, we have:

  • Evesham Solar Quattro Quad Core PC with triple 22″ widescreen LCD’s (wall mounted). This is my development PC, and where I do most of my work.
  • Low cost Packard Bell PC for my partner to use for university etc.
  • 2 printers: 1 x Lexmark E120 Laser Printer connected to an Edimax USB to LAN converter, and 1 x Brother Multifunction 5860CN Colour Printer/Scanner.

Home automation

Each of our rooms is fitted with at least two Domia Wall Dimmers. These are X10 controllable dimmer switch units with ‘soft start’. Our living room is the only exception at the moment as the low voltage lighting doesn’t have dimmable transformers at the moment (something I still need to get around to).

We also have an X10 control pad by the bed so that we can control all the lights in the house from there, along with the dimmable spotlights above the bed for reading etc. Our lamps are also X10 enabled.

Finally, our Windows Home Server is running Harmony Home Automation Server. I have yet to invest in wireless remotes etc because I haven’t seen the need for them right now. Our home is pretty small, so the wall switches are never more than a few feet away at most.

We also have a ViewSonic Wireless alarm system, which doubles as an X10 controller. There are three PIR motion sensors and two door switch sensors and the alarm system is connected to the telephone line so we are informed of any unusual activity. Of course, our PIRs are pet safe because we have two cats 🙂

So that’s it, in a nutshell, my home network and small HA setup.


Measuring electricity consumption, the geek’s way!


CurrentCost – The Beginning

Having just purchased our first home, and realising for the first time just how expensive everything actually is, I started to go on a ‘cost cutting’ excercise. Fuelled largely by a desire to reduce the overall amount of waste we produce and increase the amount of recycling we do, it wasn’t long before we were able to adapt our lifestyle to meet those goals. What really interests me though is our energy consumption… How much electricity and gas do we use, what are the worst offending appliances in our home over time?

This was back around winter of 2006 and what I really wanted to find was a consumer-targeted product that I could connect to my conventional electricity meter and that also connected to my PC, somehow. The goal was to start logging my energy usage into a database where I could more easily query all the data.

Unfortunately, either because one didn’t exist or because I was hopeless at searching, I couldn’t find one. It wasn’t until Christmas 2007 that I heard about a domestic product called the Owl wireless electricity meter that I had rekindled my interest in this topic once again. I placed my order for the meter in the early part of the year and it has been happily running since then, gently reminding us to turn off our lights when we’re not using them, to be more conscious about using our electric oven more efficiently and just how much it costs to run our dishwasher.

In the mean time, I had spent a lot of time diligently installing X10 home control units into various light fittings, appliances and even our alarm system, all controlled via our HP MediaSmart Windows Home Server.

This is all very well and good, but I still really wanted to start getting some useful data on our energy usage into the computer and I had been reading lots about extremely clever people with very large brains creating all manner of gizmos in their garages that could do just that. Realising that I probably couldn’t do the same, I started to search again for a consumer product that has these capabilities and finally, my long journey looked as though it had come to a successful conclusion: the CurrentCost meter. Not only did it look much better than the Owl meter I was using, but it also had a datalogging facility.

A few minutes on the CurrentCost web site and the CurrentCost wiki convinced me that if I didn’t order it soon I may possibly explode with excitement; and I promptly parted with a very reasonable £28. Later that same hour, more reading on the wiki turned up very interesting links (mostly to site’s owned by very clever people who work for IBM but also share a passion for, uh, gathering data, particularly from this very cool device) and it wasn’t long before I started reading about people who were very curious about the RJ45 socket on the bottom of the meter.

Like early pioneers, the electronics gurus set out with their multimeters and soldering irons and very quickly it seems, somebody had worked out that the CurrentCost unit diligently spits out an XML packet every six or seven seconds. Amazing. There we go: I had struck gold. Now if only I knew how on earth to make me one of these cables (this was my thought process anyway, although right now you have to remember I don’t actually own a CurrentCost yet – I had only just ordered it!).

After reading about breadboards, 9-pin D-SUB sockets and what not, I started to convince myself that actually, with all the clever guides out there, I could probably hash one together of my very own and could be ‘living the dream’, too.

Suddenly though, another article on that fantastic CurrentCost wiki told me that ‘those in the know’ could purchase a ready-made cable direct from CurrentCost themselves, all for the princely sum of £11.12, including VAT and delivery. Kerching! Approximately seven seconds later, my cheque book was flung open and the cheque was in the postbox on it’s merry way to CurrentCost in Surrey.

Ahhhh. So now all I have to do is sit and wait. Which, I’m not very good at.

You see, all this happened yesterday – which as all geeks know, is an eternity – especially when you’ve just ordered some very sexy gadgetry that you cannot wait to get your hands on. So, not wanting to leave the world of CurrentCost, I started to read around about things other people were doing. And then, I came across Arduino and Freeduino.

Both these boards appeal to me because they are specifically aimed at electronics novices, but they seem to be expandable and robust enough to be the gadgets that experienced pro’s love to use as well. So, what is it? Well, in a nutshell, the Arduino is a little electronics prototyping board that has a small processor and a series of digital inputs and outputs, and a connection to your computer. Bingo. Now we have a way of wiring up my whole home to my computer.

And I’m good with computers! As a programmer, I love writing software to do cool things. And what on this earth could be cooler than somehow getting all of this data from the ‘physical world’ of my home into a digital format I can pump into some software?

If you answered ‘lots of things’, then I am simply stunned that you have kept on reading through this geek-oriented babble! But, since you’re here, you might as well read on.

The day before ordering my CurrentCost and data cable, I had also splashed out on a USB 4 PORT CCTV capture card. It had to be USB, because I planned to be using my HP Media Smart Windows Home Server to capture all the imagery.

And that’s where I’m going to leave this post. Thanks to all the wonderful people blogging about the CurrentCost unit (as I have said, they all mainly seem to be IBM or ex-IBM employees!), and the super work they have done so far, they have rekindled my interest in this topic and I plan to write some software of my own, to sit on the MediaSmart Windows Home Server and do all sorts of wonderful things (of course, not quite sure what they’ll be yet).

From the next pay cheque, too, I think I’ll go out and buy all the cool Arduino bits because I really want to find a way to build my own gas meter reader! Watch this space…