Enterprise Internet of Things Handbook
eBook - ePub

Enterprise Internet of Things Handbook

  1. 332 pages
  2. English
  3. ePUB (mobile friendly)
  4. Available on iOS & Android
eBook - ePub

Enterprise Internet of Things Handbook

Book details
Book preview
Table of contents
Citations

About This Book

Get familiar with the building blocks of IoT solutions using off–the-shelf IoT platforms.About This Book• Work with various trending IoT platforms such as AWS IoT, Azure IoT, Google IoT, IBM Watson IoT, and Kaa IoT• Gain hands-on knowledge working with Cloud-based IoT platforms, IoT Analytics, and so on.• A practical guide that will help you build IoT strategies for your organizationWho This Book Is ForThis book is targeted at IoT architects and engineers, or any stakeholders working with IoT solutions in an organization. This book will also help decision makers and professionals from small- and medium-sized enterprises build an IoT strategy for their venture.What You Will Learn• Connect a Temperature and Humidity sensor and see how these two can be managed from various platforms• Explore the core components of AWS IoT such as AWS Kinesis and AWS IoTRules Engine• Build a simple analysis dashboard using Azure IoT and Power BI• Understand the fundamentals of Google IoT and use Google core APIs to build your own dashboard• Get started and work with the IBM Watson IoT platform• Integrate Cassandra and Zeppelin with Kaa IoT dashboard• Review some Machine Learning and AI and get to know more about their implementation in the IoT domain.In DetailThere is a lot of work that is being done in the IoT domain and according to Forbes the global IoT market will grow from $157B in 2016 to $457B by 2020. This is an amazing market both in terms technology advancement as well as money.In this book, we will be covering five popular IoT platforms, namely, AWS IoT, Microsoft Azure IoT, Google IoT Core, IBM Watson IoT, and Kaa IoT middleware. You are going to build solutions that will use a Raspberry Pi 3, a DHT11 Temperature and humidity sensor, and a dashboard to visualize the sensor data in real-time. Furthermore, you will also explore various components of each of the platforms that are needed to achieve the desired solution.Besides building solutions, you will look at how Machine Learning and IoT go hand in hand and later design a simple predictive web service based on this concept. By the end of this book, you will be in a position to implement an IoT strategy best-fit for your organizationStyle and approachAn informative guide that will help you design and implement an IoT Strategy best-fit for your organization

Frequently asked questions

Simply head over to the account section in settings and click on “Cancel Subscription” - it’s as simple as that. After you cancel, your membership will stay active for the remainder of the time you’ve paid for. Learn more here.
At the moment all of our mobile-responsive ePub books are available to download via the app. Most of our PDFs are also available to download and we're working on making the final remaining ones downloadable now. Learn more here.
Both plans give you full access to the library and all of Perlego’s features. The only differences are the price and subscription period: With the annual plan you’ll save around 30% compared to 12 months on the monthly plan.
We are an online textbook subscription service, where you can get access to an entire online library for less than the price of a single book per month. With over 1 million books across 1000+ topics, we’ve got you covered! Learn more here.
Look out for the read-aloud symbol on your next book to see if you can listen to it. The read-aloud tool reads text aloud for you, highlighting the text as it is being read. You can pause it, speed it up and slow it down. Learn more here.
Yes, you can access Enterprise Internet of Things Handbook by Arvind Ravulavaru in PDF and/or ePUB format, as well as other popular books in Informatica & Hardware. We have over one million books available in our catalogue for you to explore.

Information

Year
2018
ISBN
9781788833783
Edition
1
Subtopic
Hardware

Kaa IoT

In the last chapter, we have seen how to build an end-to-end IoT solution using the Raspberry Pi 3, a DHT11 temperature and humidity sensor, and IBM Watson IoT. In this chapter, we are going to implement it using an open source IoT platform named Kaa. Along with this, we are going to work on building a visualization dashboard using ThingsBoard.
Topics covered in this chapter are:
  • Kaa IoT architecture
  • Setting up an end-to-end solution using Kaa IoT
  • Setting up a visualization dashboard for the solution using ThingsBoard

Kaa IoT

Kaa is open source IoT middleware that provides the core IoT stack needed to build IoT solutions. The Kaa middleware provides a rich toolset for IoT product development and thus dramatically reduces associated cost, risks, and time-to-market.
For a quick start, Kaa offers a set of out-of-the-box, enterprise-grade IoT features that can be easily plugged in and used to implement most IoT use cases.
Some key features of Kaa are as follows:
  • Active load balancing
  • Configuration management
  • Data collection
  • Endpoint provisioning and registration
  • Events
  • Notifications
You can read more about Kaa and its platform features at: https://kaaproject.github.io/kaa/docs/v0.10.0/Programming-guide/Key-platform-features/. For this chapter, we are going to use the latest Kaa version-v0.10.0.

How does Kaa work?

The following diagram is taken from https://www.kaaproject.org/overview/ and explains how Kaa works:
Kaa provides middleware for connecting hardware with enterprise applications. With Kaa's SDK, we can deploy it to most popular hardware and this SDK acts like a bidirectional secure bridge between the hardware and the application.
Not only does the middleware provide the connectivity tools, but it also provides various ways of exporting data. Now that we are aware of how Kaa works, we are going to make use of this to build our sample application.

Designing a sample application

In this section, we are going to build a sample application using the Kaa IoT stack.

Solution

The solution we are going to build will be similar to the one from Chapter 3, Getting Started with IoT Platforms. We are going to connect a DHT11 sensor to the Raspberry Pi 3 and then transmit the data over to the Kaa IoT platform. Then we'll take that data and pass it on to ThingsBoard to build a visualization. In the next section, we are going to look at the overall architecture of the solution.

Architecture

The following diagram explains the architecture of the solution:
As we can see from the preceding diagram, we are using two open source stacks to build our end-to-end solution.
We are setting up the Kaa SDK on our Raspberry Pi 3 and then sending the DHT11 temperature and humidity data to the Kaa IoT middleware. Next, we are going to set up two REST log appenders that will take care of cascading the data from the IoT middleware to our end clients.
We are going to set up one REST appender to send data to a Node.js application that can be further built to send data to an app. We are also going to create another log appender to send our data to the ThingsBoard IoT platform. And from there, we are going to build a dashboard to view the data.

End-to-end communication

The following are the steps we are going to follow to achieve the preceding solution. First, set up the Thing and publish data to Kaa IoT:
  1. Download VirtualBox
  2. Download the Kaa image
  3. Set up Kaa
  4. Create an application
  5. Set up data and a configuration schema
  6. Set up REST appenders
  7. Download SDK
  8. Set up the Raspberry Pi and DHT11
  9. Set up the client app and publish the data
  10. Set up a Node.js server
  11. View incoming data from the device

Data visualization

Next, we set up another log appender to send data to the ThingsBoard platform:
  1. Create a ThingsBoard demo account
  2. Create a new device
  3. Set up the REST log appender to post data to ThingsBoard
  4. Build the required dashboard
So, now that we are clear as to what we want to do, let's get started.

Pricing

Kaa is an open source platform with an Apache 2.0 license; rea...

Table of contents

  1. Title Page
  2. Copyright and Credits
  3. Packt Upsell
  4. Contributors
  5. Preface
  6. Introduction to IoT
  7. Applications of IoT
  8. Getting Started with IoT Platforms
  9. AWS IoT
  10. Azure IoT
  11. Google Cloud IoT
  12. IBM Watson IoT
  13. Kaa IoT
  14. IoT and Machine Learning
  15. Platform Comparisons
  16. Other Books You May Enjoy