FIESTA-IoT data visualization showcase
IoT applications are usually built on top of proprietary platforms that collect data from IoT devices. Furthermore, most applications rely on proprietary datasets, coming from their own sources. Thereby needing to deal with issues like interoperability and heterogeneity in the data. A solution is to add another layer (a platform in the middle that addresses the above-mentioned issues) and then build applications that use data made available via such platforms. As a proof of concept, we present EnMonitor, a prototype application, that is built on top of one such platform, called FIESTA-IoT. The application provides citizens with an understanding of the environment they live in with both local and global surrounding view.
R. Agarwal, D. Farnandez , L. Sanchez, J. Lanza, N. Georgantas, V. Issarny, “EnMonitor: Experimentation over Large-scale Semantically Annotated Federated IoT data environment”
We have chosen the Express (Node.js) framework to build the application server (backend). At client side, a typical combination of Javascript + HTML, including various popular libraries that deal with graphical outputs, such as Leaflet, Turf or D3.
So, the first step before running the application is to automatically download the required packages. For this, we have relied on two of the most widespread packages managers: npm and bower.
npm install
bower install
Now, you should have everything ready to run the server.node server.js
(Of course, there are many other alternatives, but we show here the legacy one)
Nonetheless, to make it work accordingly you still need to configure some stuff as, for security reasons, we have kept hidden our very own credentials of some of the services that the application will use at run time. For the sake of having them altogether, the file config.yaml, located in the config folder, contains the following elements:
production:
iot_registry: 'https://platform.fiesta-iot.eu/iot-registry/api'
mapbox_style: '<username/code>'
mapbox_access_token: '<token>'
openam_user: '<user>'
openam_password: '<password>'
openam_authentication_endpoint: 'https://platform.fiesta-iot.eu/openam/json/authenticate'
Where:
Apart from this application, we strongly recommend that you refer to the following list of documents, which will help you understand how this experiments works behind the curtains:
For any kind of support or feedback, please contact us