Tuesday, December 20, 2016

Home Automation (6): IoT Cloud Integration

As part of my learning voyage, I have decided to give a close look to Samsung Artik Cloud and its capabilities.

My Home Automation System collects every 30 sec. readings from devices in each of the rooms, with several kinds of information, received through MQTT from the Gateway.

In the Gateway I have set-up a process that collects all these information, aggregates, and every 10 min. send the value (for now only temperature) to Artik Cloud, again using MQTT.
(The rate is limited because I'm using a free account on Artik, with a maximum rate, per device, of 1 msg every 10 min.).

This is the snapshot of the charts, taken today. Each chart shows the variation in time of the temperature, for each room.



And this is the NodeRED flow that integrates with the Artik Cloud



The flow is started every 30 sec., read the values of temperatures of four rooms (T1, .. T4), calling a REST API,  join in a single message and sends the message to Artik using MQTT.

(updated 30/12/2016)

No comments:

Post a Comment