Tag Archives: IOT

Preparing for some Home Automation – Heating

Today I decided to start planning for the install of some home automation kit, specifically related to heating, but while planning on that I decided to take a closer look at a problem I’ve been having for some time – the thermostat hasn’t been doing very much.

This is a standard dial thermostat – and as you would expect, the numbers on the dial are a little off (~6°C) compared to the actual temperature. This isn’t the actual issue, since once you find the comfortable point, it doesn’t really matter what the reading on the dial is.

The issue I was having was that, regardless of the thermostat position, the radiators were always on (except in the rooms with thermostatic valves) – I had managed before the summer by running with the timer on the boiler, and reducing the boiler temperature.

This has the side effect of (1) the boiler operating less efficiently, and (2) I can’t use it for heating the hot water as the temperature isn’t high enough.

After some digging, I got to this simple diagram of the basic setup:

As you can see, the thermostat doesn’t directly influence the boiler at all – instead it controls the actuator, which in turn allows hot water to flow, or not, through the radiator loop.

Taking a multimeter to the two wires in the Thermostat, I could see that it was in fact switching – 240V between the two when turned off vs 0V between the two terminals when it was on.

So with the thermostat basically functional, I then moved on to the Actuator (SZ2301) – this is a basic 2 port actuator. When there is current applied it opens, and when the current is stopped a spring pushes it back closed – generally speaking these things either work or they don’t.

But… on closer inspection, I found that someone had set the manual lever to flushing – basically forcing the valve open at all times. I moved it back to the “normal” position, and bingo – the thermostat could now control the flow of hot water through the radiators.


Next Steps

Now that that little niggle is sorted, I’m looking for a HA type solution to allow me to manage it all a bit better.

I’m also starting to use OpenHab for some of my other devices, so integration into that setup is essential.

TBC…

Update on the Belkin WeMo Switch

As I noted previously I was less then pleased with the WeMo. Basically I had to put in a few hacks to allow me to manage it via RPi and the excellent ouimeaux tool rather then the provided app and/or IFTTT.

It seemed that anything ‘cloudy’ wasn’t working at all. Possibly because my home router was in turn sitting behind a CG-NAT solution, possibly not…

Thankfully the latest set of firmware updates (now running WeMo_WW_2.00.8643.PVT-OWRT-SNS) seems to have sorted all of those issues. Android app works as expected (can turn it on and off) from both the local network and remotely, as can IFTTT, so I’m definitely happier with the product now then when I bought it.

Internet of Things – Potential Architectures & Drawbacks

The Internet-of-Things or IoT (terrible name since everyone knows that IoT stands for Inter-operability Testing) seems to be quite the buzzword around lately – replacing the previous version which of course was Machine-to-Machine [M2M]. Nest and other home telemetry/automation tools seem to be quite the cliche-du-jour for the digirati.

Consider what Nest actually does – local (in house) temperature compared with external (nearest location/airport) temperature and a few interesting algorithms to handle temperature differentials, learn preferences, awareness of presence and away type scenarios. Of course  given that it seems to automatically download updates, I’m sure it’s logging and submitting lots of information ‘to improve the product’

Likewise, we have hubs finally coming onstream to try and manage all the possible combinations of hardware and software for home sensors and everything else (or so they promise).

Think home sensors/lightbulbs/whatever – currently we have a plethora of specs to choose from for household comms and telemetry: X10, Zigbee, Z-Wave, Lightwave RF. Telldus, etc. Currently each manufacturer has their own choice of spec, controller software, etc.

Fortunately the Open Source/Open Hardware groups are are already experimenting with options to handle this – a good example is the Home Automation Hub (HAH) project which sets out to turn an Orange Livebox router into a home automation server, with an extra bit of hardware that – like the TellStick – allows it to control a range of gadgetry, and even keep an eye on energy consumption too. Likewise the dovado routers I’ve raved about before have the beginnings of some interesting Home Automation features with integration with Telldus sticks and the use of GPS to determine sunrise and sunset times for the location.

Open Source Open Hardware Hub

Home Hub - Internet of ThingsKey features as I see them are:

  • Compact
  • Reliable
  • Minimum Downtime
  • Low power
  • Open

Publish & Subscribe

So, assuming that we can get all these sensors talking to our hub, and that data recording (and potentially taking local actions based on that – heating, lighting, etc.) what do we do with it.

The hobbiest answer is to put it up on a website for your own entertainment. The more interesting options are open to the hub provider, and I see a few possible approaches here:

  1. Act as a relationship broker: making partnerships with different consumers of the telemetry e.g. allow the hub to submit information of the users choice to projects of their interest e.g. SmartCities, utility providers, etc.
  2. Act as a centralised clearing house: store all users data, sell it in bulk (users are the product) and plan to be bought at some point by Google/IBM/whoever
  3. Act as a centralised broker – grouping your users according to, for example, energy usage patterns and negotiating (optional) bulk deals from utility providers. For example, contacting the Power company and saying here is aggregate usage data for 30k ‘night owls’ – can we get a special deal, since they are offsetting the base load cost, but not adding to peak loads.

 

Providers/Website subscribing to the date