JCL Simple IoT Application

What does this application do?

This application is a simple IoT application that allows the user to monitor all IoT JCL-Hosts from a cluster, including their sensors. After configuring the cluster and setting all sensor configurations, you can run the application. There are two versions for this application: one Android and one for Java platform. In this document we explain the Java one, but the Android version is the same idea. 

 

How can I run?

 

After starting your JCL cluster you just need to run the apk for Android users or import the Eclipse IDE project for Java users. If you want to use a MQTT broker service we recommend the Mosquito MQTT Broker.

 

How can I use this application?

 

          Figure 1 - Main view

 

Just click on the “Run” button. The first view lists all IoT devices configured on the cluster. To update the list of devices, click on the “Update” button.

 

 

Figure 2 - Main view with IoT Devices a) before clicking on update b) after clicking on update

To list the sensors configured on the device, just click on the device’s name. A new GUI will open, identical to the presented in Fig. 3. In this example, the light sensor and the camera of an Android JCL-Host are presented.

Figure 3 - List of sensors configured on the device Lenovo phone

To see the last 10 sensing records of the sensor, just click on the name of the desired sensor. When the sensor is an ordinary sensor, the data will be presented as Fig 4 illustrates.

Figure 4 - Last sensing data of light sensor

If the sensor is a photo or audio sensor, the application will also present a list of the last 10 sensing data, but to actually see its content you must click on it. Fig 5 illustrates the view of a photo data.

Figure 5 - Last sensing data of a camera sensor

 

Questions or comments, where can I go?

Questions about the API or about the codes of this application? See our Programming Guide and Installation Guide. If you have any questions, please contact the JCL team.