Tutorial Overview


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 device modeling on EnOS Cloud and registering your PC to EnOS. You will learn how to ingest system and hardware data from your PC and use the ingested data to update the device attributes. Next, the tutorial will demonstrate how to upload CPU and memory usage data to EnOS Cloud. Finally, you will learn how to send commands from EnOS Cloud to control the data ingestion interval.


In this tutorial, you will:

  • Define a model for your PC and register it as a device on EnOS.

  • Use EnOS Java SDK for MQTT to develop a program and connect your PC to EnOS.

  • Develop a program with 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.

Prerequisites


Your account must have the Developer role to access Application Portal > Developer Console. If you need to obtain the role, contact the OU administrator.

Tutorial Units


This tutorial includes the following units.