TC1.14 - Dashboards uniform model for: simple dashboard, those with IOT broker connection and those with logic in IOT Application

×

Warning message

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

 

Test Case Title

TC1.14 - Dashboards uniform model for: simple dashboard, those with IOT broker connection and those with logic in IOT Application

Goal

Prerequisites

Access to internet to get access at snap4city

The user is registered and logged in the Snap4City system

Expected successful result

The usage of the wizard templates regarding dashboards working with IOT Application and IOT Devices via IOT brokers

Steps

 

Dashboards overview

Level 0 user: access at data/services views of the city by using public Dashboards; (Public User).  (13'.22'' - training video) 

The Dashboard Wizard allows the user to create dashboard from scratch starting from a set of dashboard templates.

Among them the user can select to start from a template to create a dashboard with IOT broker connection and with IOT applications.

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

  • Enter in Snap4city portal and log in with your credential
  • On the left column main menu click on Dashboards to open the preview list;
  • On the top right click the New Dashboard button. The new Dashboard Wizard interface is opened.


Case 1: Dashboard creation with IOT broker connection via a dashboard template

  • By Selecting the IOT Devices template, the next shown the Data and widgets tab coherent with the template selected (see the following image).

  • Single data widget icons are coherent with the Data source compliant with the template selection.
  • The Data source table shown only Sensor-Actuator data in the High-Level Type column
  • In this manner the user is facilitated in the creation of a dashboard since the wizard guide the user in the selection of coherent data sources.
  • When the user selects a widget icon, the wizard restrict the possible selection of data sources to only those that are compliant with the user selection for the creation of a dashboard based on IOT broker connection on the basis of the widget selected.
  • Also, by selecting a widget icon, the dashboard wizard provides to the user the possibility to connect the new widget to an existing device or to create a new device from scratch.

  • By selecting New, the wizard shows a new field for the selection of the New actuator target type between IOT device on broker or IOT app.

 

  • In case of selection of IOT device on broker, new fields are shown that the user as to fill-in before to proceed with the dashboard creation.


Case 2: Dashboard creation with IOT application via a dashboard template

  • The same in the case of selection of the IOT Applications template. By Selecting the IOT Applications template, the next shown the Data and widgets tab coherent with the template selected (see the following image).

  • In particular, single data widget icons are coherent with the Data source compliant with the template selection.
  • The Data source table shown only Dashboard-IOT App data in the High-Level Type column
  • In this manner the user is facilitated in the creation of a dashboard since the wizard guide the user in the selection of coherent data sources.
  • When the user selects a widget icon, the wizard restricts the possible selection of data sources to only those that are compliant with the user selection for the creation of a dashboard based on IOT Applications and on the basis of the widget selected.
  • Also, by selecting a widget icon, in case of selection of an actuator, the dashboard wizard provides to the user the possibility to connect the new widget to an existing device or to create a new device from scratch.

  •  By selecting New, the wizard shows a new field for the selection of the New actuator target type between IOT device on broker or IOT app.

  • In case of selection of IOT device on broker, new fields are shown that the user as to fill-in before to proceed with the dashboard creation.

 

TC1.14 - Dashboards uniform model for: simple dashboard, those with IOT broker connection and those with logic in IOT Application | Snap4City

Error

×

Error message

  • Unable to send e-mail. Contact the site administrator if the problem persists.
  • Unable to send e-mail. Contact the site administrator if the problem persists.
  • Unable to send e-mail. Contact the site administrator if the problem persists.
  • Unable to send e-mail. Contact the site administrator if the problem persists.
  • Unable to send e-mail. Contact the site administrator if the problem persists.
  • Unable to send e-mail. Contact the site administrator if the problem persists.
  • Unable to send e-mail. Contact the site administrator if the problem persists.
  • Unable to send e-mail. Contact the site administrator if the problem persists.
  • Notice: Trying to get property of non-object in user_is_logged_in() (line 1576 of /var/www/html/drupal/modules/user/user.module).
  • Notice: Trying to get property of non-object in user_is_logged_in() (line 1576 of /var/www/html/drupal/modules/user/user.module).
  • Notice: Trying to get property of non-object in og_field_access() (line 578 of /var/www/html/drupal/sites/default/modules/og/og.module).
  • Notice: Trying to get property of non-object in user_access() (line 806 of /var/www/html/drupal/modules/user/user.module).
  • Notice: Trying to get property of non-object in user_access() (line 818 of /var/www/html/drupal/modules/user/user.module).
  • Notice: Trying to get property of non-object in user_access() (line 819 of /var/www/html/drupal/modules/user/user.module).
  • Notice: Trying to get property of non-object in user_access() (line 825 of /var/www/html/drupal/modules/user/user.module).
  • Notice: Trying to get property of non-object in user_access() (line 828 of /var/www/html/drupal/modules/user/user.module).
  • Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/drupal/includes/common.inc:2791) in drupal_send_headers() (line 1499 of /var/www/html/drupal/includes/bootstrap.inc).
  • Error: __clone method called on non-object in og_user_access_entity() (line 2249 of /var/www/html/drupal/sites/default/modules/og/og.module).
The website encountered an unexpected error. Please try again later.