Architecture

The following diagram explains the architecture of the solution:

As we can see from the previous diagram, we are going to use Raspberry Pi 3 with a DHT11 sensor as our device, and Raspberry Pi 3 is going connect to Google IoT Core over MQTT with an SSL certificate. From here, we are going to publish data to the device state topic. The data we are going to send is the temperature and humidity sensor values.

Once that is done, we are going to create a client that can get the data from this device topic on demand. We are going to achieve this by creating a new subscriber on this topic.

To build our visualization, we are going to ...

Get Enterprise Internet of Things Handbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.