TC2.20 - Creating Dashboards with IOT Application logic. Starting from new and old IOT application and get/connect a Dash, or from Dash connect an IOT app

×

Warning message

  • You can't delete this newsletter because it has not been sent to all its subscribers.
  • You can't delete this newsletter because it has not been sent to all its subscribers.

Test Case Title

TC2.20 - Creating Dashboards with IOT Application logic. Starting from new and old IOT application and get/connect a Dash, or from Dash connect an IOT app

Goal

I can work according to 3 cases

The following functionalities are available only for specific Snap4city users with specific privileges.

Prerequisites

Access to internet to get access at snap4city

The user is logged in the Snap4City system

Expected successful result

Dashboards with IOT Application logic back and forward are created by using a wizard from the Dashboard Wizard tool

Dashboards with IOT Application logic back and forward are created by starting from an IOT Application<

Steps

 

 

Cases 1 and 2: Start an IOT Application and get it connected to a Dashboard already in place

The user can create dashboards directly from an IOT application. One IOT Application can have more dashboards.

To verify this TC the user has to follow the following steps:

In the example above, the IOT App flow has two flows. The flow on top represent the logic to send the data coming from a SIGFOX sensor to a dashboard. The second flow represent the logic to send the data coming from a Raspberry sensor to another sensor.

At the end of each flow, the blue blocks are two gauges chart nodes that allows to create a new dashboard or to send the data to an existing dashboard. Other chart widgets are available in the nodes list and can be used as you like.

Click on one gauge node to see the properties. For example, the properties of the PersonalSensor Sigfox are the following.

The Dashboard properties allow to directly create a new dashboard (Case 2 of Above list: Start from an IOT application and adding a new Dashboard) or to define in which existing dashboard show the data of the sensor. Click on the dashboard field to open the list of available dashboards.

The red buttons Edit Dashboard and View Dashboard allow to directly edit the Dashboard or to view it.

Click the DONE red button to confirm and click the DEPLOY red button on top of the IOT Application to deploy it. Now the widget related to the IOT Application has been added in the dashboard.

Editing the dashboard allows to refine the widget properties and the look and feel of the dashboard.

 


Case 3: Start from a Dashboard and connect it to an IOT application in place

  • Enter in Snap4City and log in with your credential
  • On the left column main menu click on Dashboards to open the preview list;
  • On the full text search field, write the word “First” to search the dashboard titled “First Dashboard for IOT”.

  • Click the Edit button below the dashboard preview icon to enter in edit mode.

  • In the wizard, the Data sources table is available listing all data sources.
  • In the first column of the Data sources table tiled High-Level Type untick all selections and select only Dashboard-IOT App

  • In the second column of the Data sources table title Nature untick all selections and select only From IOT App to Dashbaord

  • The table now list only data sources coming from existing IOT Applications.
  • From the Data sources table select the data of interest that you would like to see on the dashboard, for example the value type GraphSigFoxNR2517AB75. The data source is added in the Choosen data sources table below.

  • Select the widget type from the list of the available widgets preview icons, for example a speedometer.
  • Click Next to proceed.

  • A Summary of the selection is shown. If all is OK a Confirm button is shown. Click Confirm to complete the procedure and to add the widget on the dashboard.

The dashboard is opened, and it contains the new widget added via the wizard.