The cloud of things

Cloud computing also promises to be a great tool for the ‘Internet of Things’.

Here is an example of how that is applied right now.

The heating system in my house has a bit of a challenge: the thermostat does not seem to be working well under certain circumstances. So I built a small sensor device, consisting of a few temperature sensors that I strapped to both the incoming and the outgoing pipe of the main radiator. The sensors are read by a Electric Imp, which is basically a WiFi enabled micro-controller.

The Electric Imp is programmed through a cloud service on which I developed a simple temperature logging application. That application logs its data through an API on Xively. Xively hosts the data, and provides some management and visualization features.

temp sensor delta example

Here is an example of the graph. It displays the difference between the two pipe temperatures, which is a measure for the amount of heat transferred into the room. Notice the high peaks in the morning when we have set the thermostat to heat up the room, after which it goes into a more or less stationary pattern.

One of the features is notification through a Web API. I set notifications for the situation where the data stops coming, or when we are experiencing sub-zero temperatures. In these cases, there is probably something wrong with the sensor hardware or software. Xively basically throws a webhook with data. This webhook is caught by another service: Zapier.

Zapier is like a message queue programmable through an API. I let it send emails as a respons to events.

The final component is more customizable presentation. As a matter of fact, that can be done directly from a webpage with javascript, but I have the webpage hosted at github. This page allows me to monitor the room temperature and other data from anywhere in the world on my smartphone. All in all I spend a few hours and the equivalent of around 50 dollars on this. Google spent 3 billion on Nest.

Wrapping it up, I took a bunch of cloud services, hooked them up together, and I have a live system. All the cloud services promise to scale very well. And maybe in a next post I will elaborate on the Cloud Security features that these services have, or should have.

And I can now show on which days the heating starts and stops way too early. Time for the repairman.

 

If only your own data warehouse was this secure

Dr. Werner Vogels, CTO of Amazon (not just Amazon Web Services), unveils some interesting information on RedShift, Amazon’s service for data-warehouses on demand. Its petabyte performance envelop and on-demand pricing are awesome enough, but here I would like to point out some of the security features of the service.

These ranges from physical controls to staff monitoring to multiple firewalls to hardware encryption. The blog post contains quite a bit more information. The controls are also audited. Unfortunately, these lists are not publicly available, though I have seen similar extensive statements from other providers.

If you think you can do better, you should consider starting your own cloud provider!