Tutorial Overview

Scenario

The personal computer is one of the best choices for experimenting with EnOS device connection. With an open source plug-in, you can ingest the system and hardware data of your PC and upload the ingested data to EnOS Cloud for further processing and analysis, where you can monitor the CPU load and memory usage. Other than the above, you can also send commands from EnOS Cloud to control the data ingestion interval.


The scenario is depicted in the following chart.

../../_images/scenario_connect_pc.png


This tutorial will guide you through the steps to model and register your PC as a device on EnOS Cloud, ingest and upload its system and hardware data, update the attributes of the PC with the ingested data, upload the data of the CPU and its memory usage, and send commands from the cloud to control the data ingestion interval. In this tutorial, you will:

  • Define a computer model and register the PC as a device on the EnOS Management Console.

  • Configure the TSDB storage policy for the PC system data.

  • Develop a program with the EnOS Java SDK for MQTT to connect the PC to EnOS.

  • Run the program to ingest the PC data and upload the data to EnOS Cloud.

  • Monitor the CPU load of the PC.

  • Send commands from EnOS Cloud to control the data ingestion interval.

  • Develop a stream data processing job for calculating the usage percentage of the PC memory.

Prerequisites

  • Ensure that you have signed up for an EnOS individual account or an enterprise account for accessing the EnOS Management Console.

  • Your account must have full access to the model service, asset management service, and data asset management service.

Start >

Units

This tutorial includes the following units.