This repository is deprecated and will no longer be maintained. We recommend to switch to the succeeding app HERE.
Repository for Device provisioning application so called ENTIRETY.
This GUI prepared to provision and register IoT devices into the N5GEH project platform (https://n5geh.de/) . This interface includes a data model and provides information for the user to register IoT devices. This interface hosts a list of the template that made for classes of the data model and provides an easy way to validate instances of classes into the platform.
Requirements
npm (verion >= 3.5.2)
python (version =3.6.8)
Installation
Install all packages for the front end part
$ cd static
$ npm install
Install all packages for the back end part
$ pip install -r requirements.txt
Configuration
Here is an example of configuration file for the Entirety:
{
"device_idm": {
"server": "http://keycloak:8080/auth/",
"username": "device_wizard",
"password": "password",
"realm_name": "n5geh_devices"
},
"fiware": {
"orion": "http://orion:1026",
"quantumleap": "http://quantumleap:8668",
"iotagent": "http://iot-agent:4041"
},
"datamodel": {
"ngsi2": "/data/datamodel/NGSI2",
"ngsi-ld": "/data/datamodel/NGSI-LD",
"classes": "/data/datamodel/classes"
},
"idm": {
"account_url": "http://localhost:8080/auth/realms/n5geh/account",
"logout_link": "http://localhost:8080/auth/realms/n5geh/protocol/openid-connect/logout?referrer=flask-app&redirect_uri=http%3A%2F%2Flocalhost%3A8090%2Fdashboard"
}
}
- device_idm - data for connecting to Keycloak server
- fiware - configuration of FIWARE services
- datamodel - pathes to Datamodel templates
- idm - endpoints for authentication and authorization
This document describes the Entirety Graphical User Interface (GUI) Application. The GUI is a Web Application which is first installed and then runs on the server. the application provides a convenient way to perform setup and demonstrate device registration features from within a standard Web application environment.
The GUI is a Web Split Pane Application. In general, features appear in the left pane and graphical content appears in the right pane. A separate, tabbed dialogue type interface supports board setup operations. The device demonstrates list of properties (with validation feed back) with dropdown menus, edit boxes and date table as the registration control. The registered devices Panel demonstrates a selection control with the name of devices to filter and a table to present a list of already existing of this type of device in a table.
Execute (Run) the GUI as written in the instruction. You will see the initial HOME Screen which contains username and password options for authentication.
This menu provides the usual {register , Open..., } options. In this application you use this menu and the associated Dialogs to register and modify IoT devices. Example; Assuming that you have registered the desired device type into application in the GUI, you can use the register menu to save the data to the platform. When you again run the GUI you can use the registered device to retrieve the already existing data to the GUI.
This is the usual Web Edit Interface. You use this dialog to set properties of your device and open channel between the GUI Application and the platform. This will test communication and serve to registration using the API (binary) Command Interface. By selecting "+ IoT Agent" in the left pane, the right pane list of device types will be shown. The user can select appreciated type of device from this dropdown menu and see list of properties belong to the device type by pressing register Button.
The Mandatory properties can not be left empty and you will receive feedback about validation of provided information. A list of properties for PMU are presented in the image.
This is the usual Web View Interface. This menu is currently used by the GUI application to reterive the existing devices. By selecting "Registered devices" in the left pane, in the right pane, user is able to filter according to the specific type of device from dropdown and decide how many row data wants to see. The result will be shown in the table of right pane.
2020, Technische Universität Dresden
The Deutsche Telekom Chair of Communication Networks
Technische Universität Dresden, Germany
We gratefully acknowledge the financial support provided by the BMWi (Federal Ministry for Economic Affairs and Energy), promotional reference 03ET1561A/B/C