Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Hands-On Industrial Internet of Things

You're reading from   Hands-On Industrial Internet of Things Create a powerful Industrial IoT infrastructure using Industry 4.0

Arrow left icon
Product type Paperback
Published in Nov 2018
Publisher Packt
ISBN-13 9781789537222
Length 556 pages
Edition 1st Edition
Tools
Arrow right icon
Authors (2):
Arrow left icon
Antonio Capasso Antonio Capasso
Author Profile Icon Antonio Capasso
Antonio Capasso
Giacomo Veneri Giacomo Veneri
Author Profile Icon Giacomo Veneri
Giacomo Veneri
Arrow right icon
View More author details
Toc

Table of Contents (18) Chapters Close

Preface 1. Introduction to Industrial IoT FREE CHAPTER 2. Understanding the Industrial Process and Devices 3. Industrial Data Flow and Devices 4. Implementing the Industrial IoT Data Flow 5. Applying Cybersecurity 6. Performing an Exercise Based on Industrial Protocols and Standards 7. Developing Industrial IoT and Architecture 8. Implementing a Custom Industrial IoT Platform 9. Understanding Industrial OEM Platforms 10. Implementing a Cloud Industrial IoT Solution with AWS 11. Implementing a Cloud Industrial IoT Solution with Google Cloud 12. Performing a Practical Industrial IoT Solution with Azure 13. Understanding Diagnostics, Maintenance, and Predictive Analytics 14. Implementing a Digital Twin – Advanced Analytics 15. Deploying Analytics on an IoT Platform 16. Assessment 17. Other Books You May Enjoy

GCP for analytics

GCP provides a very powerful platform for analytics, from simple, functional analytics to machine learning. In the following section, we will discover the most common solutions for IoT.

GCP functions for analytics

From the example provided in the last section, it is very easy to implement an analytical function to check the signals and to apply a digital twin. The following function defines a simple excursion monitoring function and evaluates the value of data streaming:


const digitalTwin = {};
digitalTwin['signal1'] = {upperLimit: 40, lowerLimit: 10};

exports.helloPubSub = (event, callback) => {
const pubsubMessage = event.data;

const str = Buffer.from(pubsubMessage.data, 'base64').toString...
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 $19.99/month. Cancel anytime
Banner background image