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

Creating instances of assets and adding time series data

In this section, we will build a Node.js application that simulates reading of time series data from sensors. To store the data, we will use the InfluxDB time series database.

For building the application, we will need the following software:

To build a Node.js application that simulates reading of time series data from sensors, proceed as follows:

  1. Create a package.json file, describing software dependencies. If you use a cloud, specify localhost and mydb as the credentials for the host and database accordingly:
{
"name": "timeseries...