Book Image

Industrial Internet Application Development

By : Alena Traukina, Jayant Thomas, Prashant Tyagi, Veera Kishore Reddipalli
Book Image

Industrial Internet Application Development

By: Alena Traukina, Jayant Thomas, Prashant Tyagi, Veera Kishore Reddipalli

Overview of this book

The Industrial Internet refers to the integration of complex physical machines with networked sensors and software. The growth in the number of sensors used in industrial machinery has led to an exponential increase in data being captured for predictive analytics. Industrial Internet Application Development is a practical guide for developers who want to create applications that leverage the full capabilities of IIoT. You will get started by learning how to develop your first IIoT application and understanding its deployment and security. Once you’re familiar with what IIoT is, you will move on to exploring Edge Development along with the analytics aspect of the IIoT stack. In later chapters, you’ll get to grips with the deployment of IIoT applications on the Predix platform. As you cover these concepts, you’ll be able to identify key elements of the development framework and understand their importance while considering architecture and design for IIoT applications. By the end of this book, you will have the skills you need to deploy IIoT applications on the Predix platform and incorporate best practices for developing fault-tolerant and reliable IIoT systems.
Table of Contents (13 chapters)
Free Chapter
1
IIoT Fundamentals and Components
11
Future Direction of the IIoT

Deploying your first analytics

In this section, we provide a selection of examples, illustrating how to apply some of the InfluxDB analytical functions to process the time series data from sensors collected using the Node.js application we built earlier.

To enable the analytics for the time series data from sensors read with the Node.js application, proceed as follows:

  1. Run a git clone command to copy the source code of the application:
git clone https://github.com/Altoros/iot-book.git
  1. Start the application, running the following command:
docker build -t timeseries  
docker run -p 8080:8080 -it --rm --name timeseries-container timeseries

The return will be as shown in this screenshot:

Console output after starting the Node.js app
  1. Now, you can start querying data with analytical functions. Data will be retrieved, using InfluxQL, which is a SQL-like query language for interacting...