"Designing the Internet of Things" by Adrian McEwen, Hakim Cassimally

Designing the Internet of Things - Adrian McEwen, Hakim Cassimally

Let me start this review with a question: “is using a mobile device the perfect way to create an Internet of Things appliance?” (Answer at the end of this review).

 

When The Internet of Things theme first started to come up in the news, the first thing I thought was, I want to know what my microwave has to say to my flip-flops... what’s at stake here is something entirely different. I’m more concerned about the so-called legitimate application of the technology. Unfortunately there are many legitimate applications that can be used with illegitimate intentions in mind.

 

I’ve been working in IT for a long time. What I usually see is that those who are most adamant about how wonderful it will be when every device is internet connected are the same people who sell the HW that would be used for the connections. What I see all the time is that the actual value of the implementation is not anything remotely close to what is promised, and that when the novelty wears off, or a system gets hacked, the internet feature will be switched off. Then it will just be more electronic waste to fill up our homes.

 

Another catch is that the reliability of the internet connected device will be probably poor and then the microwave will stop working. Consequence: the people who paid will not be happy. And they’ll also not be happy about having to repair the 700 euro freezer when its electronic package fails. That’s a given. On top of that, to lower the cost of the embedded devices, the interfaces will be made as cheaply as possible. I don’t see how this can be addressed satisfactorily. Food for thought.

 

As far as I’m concerned the key factor in terms of Internet of Things adoption relies on Security. In the past, technology has lagged on issues such as networking. For the Internet of Things to really take off we need everything to be cutting edge. Vendors are beginning to connect everything, from remote conditioning to phone apps. It goes without saying that with every new connection, there is a possible new entry point security-wise. If the issue is not addressed properly, all hell will break loose then…

 

Getting back to the book at hand, the authors give us a very thorough analysis of the field. Starting with the Arduino, and the Raspberry Pi, McEwen and Cassimally also established a very interesting comparison between the two industry-wise. I’m more of a Raspberry Pi fan, because the latter is really a computer that can run a real operating system, and communicate with keyboard and mouse, talk to the internet, and drive a TV/monitor with high-resolution graphics. The Arduino instead has a fraction of the raw processing power, memory, and storage required for it to run a modern operating system. Nevertheless it doesn’t make sense to say that one is better than the other. It all depends on what we want to use it for. Although the specifications of the Raspberry pi are in general better than even the top Arduino, we can’t judge them as strictly better without considering what the devices are for. I’ve built a few home projects using the Raspberry Pi, and I’m very partial to it, but that’s just me (the Arduino has a very specific way to do things, whereas the Raspberry Pi presents us with a clean canvas, giving us choices for operating systems and programming languages; that’s why I prefer the Raspberry Pi over the Arduino).

 

I’d have liked to have seen in the book a technical discussion in terms of the specific protocols that we need to implement the Internet of Things (eg, MQTT - a protocol for collecting device data and communicating it to servers, XMPP - a protocol best for connecting devices to people, a special case of the D2S pattern, since people are connected to the servers, DDS - a fast bus for integrating intelligent machines, and AMQP - a queuing system designed to connect servers to each other). It’d have given a more technical perspective of what lies ahead (vide my review of the Adam Greenfield book to understand the work we still have ahead of us to get there).

 

I strongly believe I’ll be able to see, in my lifetime, the full power of The Internet of Things. As stated in the book at hand:

 

“I can’t understand why teddy bears did not have wifi before. A bear without wifi is barely alive, a semi-bear”.

 

Answer: No. The temptation is always to fall back on the device’s capabilities as a phone, at which point I’m really just creating an “app” for the device rather than a new “thing”. For that we need embedded systems (Arduinos, Raspberry PIs and the likes).