Tip o’ the Week #258 – The Network of Your Stuff

As buzzwords go, 2014 has been a big year for the “Internet of Things”, or IoT. A term coined 15 years ago by a specialist in RFID, it was later refined in a paper as referring to a world where machines can share information (perhaps about themselves) with each other, to better manage the environment we live in. Let’s hope the sharing and acting doesn’t become too autonomous. Who knows where that would all lead?

The IoT industry (such as it is) comprises largely of companies making gadgets (sensors, controllers, chips that could be embedded into other devices etc), companies selling means of connectivity (like 3G or short-range wireless) and companies selling software solutions to either manage the whole shebang or to do something with the inevitable mass of data that results from it.

Analysts breathlessly predict gargantuan volumes of data (Zettabytes, man!), billions of things, worth trillions of dollars. And everyone’s trying to be seen to be taking part, and to brand the whole area with their take on it (Cisco keeps gamely plugging away, talking up “IoE” or Internet of Everything, Microsoft came out with the Internet of Your Things, though that term may have been put to bed…). There was even a recent event called the Internet of Good Things. Nothing to do with FYC.

Make it real, take it home

While we wait for IoT to realign the stars (or did you see the ISS on Christmas Eve?- #ItsSantasSleigh), we could start with a bit of home automation that is arguably bleeding into IoT, and it’s not ridiculously expensive. Here’s just one example of a fairly simple system, though no doubt readers will email in with recommendations of their fave gadgets. The reason for choosing the kit that follows was largely that this stuff has a reputation for being either expensive or unreliable, or both, and these choices are relatively cheap and cheerful. And won’t be a cause for an argument over Christmas if and when they stop working…

clip_image001First, you need a box

In order to do anything truly IoT-like, you’re going to need a box (a hub, if you will) that will talk to your things and then corral their data onto the internet. Your average smart sensor isn’t going to have the compute power or connectivity to talk TCP/IP to an internet endpoint, and if it does, that’s why it’ll be 3 times the price of every other one: just look at Belkin’s WeMo. No, what you need is something like Swedish company Telldus’ “TellStick Net”: £70 from your favourite Danish IKEA-like electrical store. Oh, sadly, it appears Tellstick isn’t officially available in the US. Too bad. Maybe it’s karma for all the apps and deals that are US-only…

The Tellstick Net talks to devices which use the ISM band at 433Mhz to communicate with each other; it’s a relatively short-range but low-power radio, and it’s pretty cheap. You may have devices which use this band already (wireless doorbells and the like) though you might not be able to automate much of what they do.

clip_image002It’s cold outside

One useful thing you could do with your new box, is rig the house and garden up with temperature and humidity sensors – indoors is probably OK, but if you have a garage or a loft, you might want to know that it’s not getting too cold or too damp. And it’s very handy to know exactly how cold it is outdoors, too. A multitude of different sensors are available that talk to the Tellstick box, such as this one (£10).

As a programming task (after you’ve done your Hour of Code, of course), you could rig up some software to keep a log of temperature in your area over time, and maybe cross reference it with a feed of weather forecasts. Here’s a starter for ten. Or just set up tellmon.net to do the logging for you.


clip_image004Remote Power

Do you have any devices where the power socket is out of reach? Like Christmas Tree lights (plug behind the tree?), or exterior lights that run from the garage? Well here’s a simple solution that can also be controlled by the Tellstick – you can switch them on and off discretely, see the current status and even schedule them to come on and off at set times.

clip_image005As with temperature sensors, there are loads of power switches which are compatiblelike these (£15), which even come with a button-operated remote so you can switch them on and off without resorting to using a computing device.

The principal means of setting up Telldus Live (the cloud service which underpins the Tellstick Net device) is through your browser (try it out with username demo@telldus.com and demodemo as password), or you can use their free app for Android or iOS devices.

clip_image007There is a 3rd party app called SmartHome for Windows Phone and Windows 8, which is nicer and more featured, but does require you shelling out a quid.

The observant will spot that the Fence sensor >> reckons it’s 71 degC outside… clearly a faulty device…

Other systems are available

Of course, there are hundreds of other means to doing home automation – there are proprietary, generally reliable (but expensive) things like Crestron or Control4, that could generally mean retrofitting a good bit of kit to your house, but may also do audio and video distribution, lighting control etc.

There are systems to do lights, like Philips’ Hue (great if you want to spend £50 on a light bulb), heating controllers like the Googly NEST or BG’s Hive, to other more entry-level systems like LightwaveRF, which is more expensive than the simple 433Mhz varieties, though offers more capability and is more attainable if you want to get into things gradually, when compared to the more professional type installations.

With Telldus Live, you could have the base system, 5 temperature sensors and 6 power devices all up and running for £150. Not cheap, but in the world of gadgets, that’s not too shabby.

IoT at Future Decoded, Excel Docklands, London–12th November

Future DecodedThere's a 3-day conference called "Future Decoded" running at the Excel centre in London's Docklands, with the Technical Day on 12th Nov having keynote speakers such as Prof Brian Cox, Sir Nigel Shadbolt (founder of the Open Data Institute) and Michael Taylor, the IT Director of Lotus F1.

There's an IoT track in the afternoon which includes sessions from a couple of Microsoft luminaries as well as from Dr Colin Birchenall, the Chief Architect for Future City Glasgow (a £24 million Demonstrator programme funded by Innovate UK) to showcase smart city principles and technologies at scale.

Tickets to attend are free; more details and the registration link are at http://www.microsoft.com/en-gb/about/future-decoded-techday/agenda

“Latent Data” – the secret sauce of the Internet of Things

This is part 2 of a series of articles exploring the Internet of Things, starting with the first post, What is this “Internet of Things” thing, anyway?

clip_image002The secret sauce, the Holy Grail, the raison d’être for Internet of Things is data. That much is pretty obvious to anyone with more than a passing interest in the field – why would you go to the bother of deploying a load of sensing devices and the infrastructure to manage and communicate with them, unless the data they provide is particularly interesting?

At Microsoft, we work with lots of partner companies who use our technology to build their own products and solutions. This often puts us into contact with people and organisations who are doing things we’d never expected or even imagined they’d do, and that is one of the reasons why it’s such a great place to work and an amazing ecosystem to be part of.

As part of this working with companies that are beginning to inhabit this growing Internet of Things niche, a special interest group sitting in Microsoft UK has drawn a few interesting, and sometime controversial, observations:

  • No one technology or technology provider will own the IoT, and a lot of systems will use a smorgasbord of standards and components
  • Scaling a system that manages a few hundred gadgets to one dealing with hundreds of thousands of sensors is very hard, as is managing and analysing a massive quantity of data
  • There are “stacks” within IoT
    • Sensors: the “things” in the IoT, massive in number but small in compute power
    • Hubs: the concentrators which harvest data from sensors, provide some degree of control, logic and processing and ultimately pass the information up the chain
    • Comms: many incompatible but functionally similar wireless standards will connect sensors to hubs, and hubs to the…
    • Cloud: the place where the data is brought back to, where analysis can take place on it and where insights can be passed on to other systems or even back to the devices
  • The real value will come from “latent data”

What is “latent data”?

To a large degree, the IoT is an emerging set of technologies, protocols and patterns for the collection, aggregation, analysis and actioning of intrinsic, latent data, and the management of this process.

Data is ubiquitous and inherent is all environments, be it an outside space, an ecosystem, a manufacturing complex, a supply chain or a city. This data can be regarded as “latent data” or “potential data” in the physical world – the data exists but is not accessible, or if it is accessible then it is of limited use since it is not combined with other, relevant data (such as historical readings, or data from complementary systems). Maybe the data is being accessed by some silo’ed system which uses that data for its own purposes but was never designed to provide any wider access to it.

Every physical thing has properties and attributes which may be discernable but are probably not being measured. A mechanical thermostat has intrinsic data on the temperature of a room and its own state, but this data remains in the physical world. A light bulb could be measured to see if it’s on or off, but this only becomes truly interesting when we could measure all the bulbs in a building, or a facility, or a city. If we can sense when all the bulbs need replacing, or alter their individual brightness depending on other conditions, that’s even more interesting.

For the avoidance of doubt, “Latent Data” is also a legal term applied to deleted files that need special forensic tools to extract… we’re talking about a more ethereal concept here, that there is data all around us in everything, but it’s untapped – and therefore, latent – unless we specifically decide to measure it and do something with it.

We believe that IoT is fundamentally about bringing this latent intrinsic data into the digital world in a way that allows the creation of value. This value is due to the aggregation of collected data, its analysis, and the use of that insight to drive decision-making and actions. The Cloud is the place where this data will be collected, where the data is likely to be stored in the long term, and where data aggregation and analysis will (mostly) occur.


The IoT patterns, the technologies and protocols that allow for this aggregation of latent data, are similar in a way to the OSI 7-layer networking model – the stacks which encompass devices, communications and Cloud. There are differing degrees of abstraction between these stacks and their constituent layers which means the IoT is inherently (and to the benefit of everyone within it and using it) a heterogeneous world.

Microsoft’s role in the Internet of Things

Microsoft has developed embedded systems that run in billions of devices already, and some of these could be considered part of an “intelligent system” that forms part of the IoT. Microsoft also has a hugely scalable and low cost cloud computing system in the Microsoft Azure cloud platform, where IoT applications can be quickly deployed and where the data that results from them can be securely kept and worked on.

Almost all IoT applications are likely to generate large volumes – petabytes, even more – of data, which will only become valuable when it is cost effective to keep it for a period of time and to perform large-scale computational analysis, both of which are difficult to do or economically unviable without the availability of public cloud computing.

If you’re an IoT developer building devices with Arduino or using systems like Raspberry Pi, and you’re writing your code in Python or Java and storing your data in some form of NoSQL database… that’s just fine by us. We think we have just the cloud service you need to let you concentrate on doing the stuff you started in this business for in the first place – writing your applications, building your devices and consuming your data.

With Microsoft Azure providing the backplane for these billions of devices to communicate – whether they are running Microsoft software or not – and to store and analyse their data, there is an opportunity for us and our partners to enable and monetize far-reaching change.

Some further reading:

  • If you’ve not seen much around Azure before, see an overview here.
  • For developer resources, including Node.JS, PHP, Python, Java and iOS & Android resources, see here.
  • For the more technically minded – The Microsoft Azure Service Bus and the Internet of Things (part 1 and part 2).

What is this “Internet of Things” thing, anyway?

I’m going to start the odd bit of blogging aside from the weekly Tips that will carry on making their way onto this blog. Here is the first in a short series looking at the Internet of Things.

The term “Internet of Things” (or IoT) has achieved buzzword fever pitch in 2014, thanks in part to a slew of product announcements at the Consumer Electronics Show in January. Combined with high-profile acquisitions (such as Google’s purchase of smart home technology company, Nest), there have been many news stories which associated the subject of the piece with the Internet of Things.

imageEven people who work in the IoT world sometime struggle to articulate what it actually is. There are several ways of looking at IoT, however, and some of the scenarios are only being developed now and will become both significant and disruptive in ways that we probably don’t yet understand. There are, in fact, numerous types of “Internet of Things” application.

The consumer market provides plenty of examples of devices measuring and reporting data back to some kind of service that allows users to use that data for some purpose that would otherwise be difficult or impossible without this technology. “Wearable technology” is a category that typifies this approach.

Industrial Internet of Things applications have often existed for years, just under different names – M2M, SCADA, telemetry of numerous sorts – though are being combined in new ways and with new variants of technology, to open up new scenarios such as telematics. Industrial uses could mean using IoT technology to control a manufacturing process, to monitor complex machines in the field, extending even to remotely monitoring cars for the purposes of insurance, road tolling, safety and performance improvements.

Finally, companies will find a way to use IoT technology inside their own environments, offering up data that is consolidated from other systems and collected using sensors, to be combined with customer relationship management systems, building control systems and a host of other uses.

The interesting thing is, the majority of these examples won’t connect the many things to the Internet at all – maybe the devices and sensors at the very edge of the system will be individually addressable, but they almost certainly won’t be directly connected to the internet. Other groups have tried to establish alternative definitions – some talk or a “Sensor mesh” or a “Network of sensors", and Cisco, for example, talks about the “Internet of Everything” (and has some other, intriguing ideas such as Fog Computing… it’s like Cloud Computing but nearer the ground). It looks like the term IoT has stuck, at least until we stop talking about it as if it’s something special or something different, rather than just the normal way that these things work.

The definitive definition of the Internet of Things

The term “Internet of Things” was coined in 1999 by Kevin Ashton, from Proctor & Gamble, then at MIT. He later wrote, in 2009:

“Nearly all of the data available on the Internet were first captured and created by human beings—by typing, pressing a record button, taking a digital picture or scanning a bar code. The problem is, people have limited time, attention and accuracy—all of which means they are not very good at capturing data about things in the real world. If we had computers that knew everything there was to know about things—using data they gathered without any help from us—we would be able to track and count everything, and greatly reduce waste, loss and cost. We would know when things needed replacing, repairing or recalling, and whether they were fresh or past their best.

The Internet of Things has the potential to change the world, just as the Internet did. Maybe even more so.”

Analysts express differing views as to the exact scale (IDC reckons 212 billion devices with a market value of nearly $9trillion in only 6 years), but all estimates of the future size of the Internet of Things business are extraordinarily large. If even the lower end forecasts are out by a factor of 10, there will still be billions of connected devices within a few years, and the reason those devices are connected is because they have something to communicate.

What’s Microsoft got to say about this Internet of Things? Well, there are lots of things out there which read data and send it for further processing, and those things are probably not going to be running anything like a Windows OS. There are going to be devices which these sensors talk to, which collect the information and process it to some degree (validating it, packaging it for onward delivery, maybe issuing commands back to the sensors on the basis of what the data says). These devices may well be running a more functional OS, something akin to Windows Embedded and forming part of what we could call an Intelligent System. Then there’s the cloud platform that will tie everything together – boy do we have one of those… called Windows Azure. 

Next time, I’ll explore a few thoughts developed by some Microsoft experts and collected by talking with partner companies active in this area.

For further reading in the meantime, check out a couple of articles on the MSDN Magazine site (here and here), which shows some practical examples of how to use the Azure Service Bus to build an IoT application.