In my first post on Philips Hue, I referred to “The Internet of things” where normally dumb devices such as fridges and washing machines are connected to the network. Having a washing machine with an IP address may mean that I can check whether the spin cycle has finished without getting out of my chair, but the real value of the internet of things comes when the devices start communicating among themselves. Not in a nefarious SkyNet way, but in a more practical sense: the washing machine counts the number of washes and when the soap is getting low, automatically orders your preferred brand from your preferred grocery service.
Obviously, it’s going to take a little while until this is a reality, but the web site IFTTT is beginning to show what is possible as more and more services are on-line and cloud-based. IFTTT is an abbreviation of “If This, Then That” and reflects what IFTTT can do. It automates “If something happens, then I want that to happen”. In IFTTT-speak, a trigger on a channel generates an action on another (or the same) channel. A channel is typically an on-line or cloud-based service such as Twitter, Dropbox, Gmail, Evernote or Weather. An example of what could happen is, “If I get a tweet on Twitter, copy it to Evernote” or “Every morning at 7.00 am, text me the weather forecast”. These are recipes, as IFTTT calls them, and there’s a large range of them already cooked up on the IFTTT web site.
It’s at this point in the story that Philips Hue comes in as a channel on IFTTT, which means that the lights in your home can be controlled by external events via the recipes on IFTTT. Here are some examples of recipes already available; at sunset, turn on the lights; when it’s freezing outside, turn the lights blue; when you receive an email from a particular person, blink the links; when the stockmarket closes down, turn the lights red. Some recipes are perhaps more useful than others, but the range of channels means that there’s tremendous flexibility. There are currently 77 channels on IFTTT and you can browse by channel, so it’s easy to see all the recipes that involve Philips Hue.
Setting up your Hue to work with IFTTT is two step process but it only has to be done once. The first step is to register with the Philips Hue website and allow the site to access the bridge unit within your home. Once you’ve done this and have a username and password, you can control your lights from outside your home using the Hue app on your smartphone too, so it’s probably something that most Hue owners have already done.
Back at IFTTT, the second step is then to activate your Hue channel. You’ll need to supply your Hue username and password, and authorise IFTTT to access your account.
Now I’m going reuse a recipe that someone else has already created. In this instance, I’m going to flash the lights when I receive an email with the latest GNC podcast. I’ve already activated my Gmail channel.
All I have to do is put in the email address – geeknews at gmail.com – and any time I get an email from Todd, the lights flash. This is the basic recipe; there are others that use keywords or other information likely to be in an email. If I want to, I can choose one particular light or all of them. Once the information is typed in and the recipe has been activated, all I have to do is sit back and wait for the latest podcast email to come in. Blink, blink.
That’s it. All pretty straightforward. If you are more adventurous, you can delve deeper into the recipes to customise them to your needs but there are plenty on IFTTT to get you started and provide inspiration. Philips Hue aside, the insight into the possibilities of the “Internet of things” is incredible.
I hope you have enjoyed this short series of articles on Philips Hue. It’s the first time that I’ve done this kind of short serial, so I’d welcome feedback in the comments on whether to actively search out similar opportunities.
Thanks again to Philips for the loan of the Hue Personal Wireless Lighting System.