Search icon
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Learning AWS IoT

You're reading from  Learning AWS IoT

Product type Book
Published in Jan 2018
Publisher Packt
ISBN-13 9781788396110
Pages 278 pages
Edition 1st Edition
Languages
Author (1):
Agus Kurniawan Agus Kurniawan
Profile icon Agus Kurniawan

Table of Contents (14) Chapters

Title Page
Packt Upsell
Contributors
Preface
Getting Started with AWS IoT Connecting IoT Devices to AWS IoT Platform Optimizing IoT Computing Using AWS Greengrass Building Local AWS Lambda with AWS Greengrass Expanding IoT Capabilities with AWS IoT Button Visualizing AWS IoT Data Building Predictive Analytics for AWS IoT Securing AWS IoT Other Books You May Enjoy Index

Visualizing data from AWS IoT


In the previous section, we learned how to visualize data from the backend server that was built from Node.js. In this section, we will continue to work with data visualization. Now we will consume sensor data from AWS IoT. We will develop a simple project to consume sensor data from AWS IoT and then visualize it in the browser environment.

Our demo scenario can be described in the following figure. We develop the Node.js application that performs sensing of the physical environment, such as temperature and humidity. You can use a sensor device, such DHT11 and DHT22. For this demo, I will generate random values for the temperature sensor:

The sensor data will be sent to AWS IoT with the publisher/subscriber model approach. We can use AWS IoT SDK for JavaScript/Node.js to send data to AWS IoT on a specific topic channel.  Furthermore, we will implement a client application-based on web application. We will create a simple web application using HTML5 and JS to retrieve...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $15.99/month. Cancel anytime}