SOFIA2 Desktops


The desktop of the platform constitutes the access point of any user of the platform to any of the applications provided in the project and to which the user has access.

At the platform level, different desktops can be created so that a user can access several desktops, each with different purposes and applications.

Desks are Web applications that act as containers for other applications. A platform administrator controls and configures which applications are accessible from each desk, associating them to the desktop from the platform’s own control panel.

At the same time each application administrator, giving it as a project on the platform itself, will control which users have access to the application.

So that each desk, performs the control of access to users of the platform through a login screen, and depending on the permissions that that user has on each of the applications registered, will have access or not to the registered applications as desktop applications.

Next, we will explain how to create and use them.

Seguir leyendo “SOFIA2 Desktops”

SOFIA2 Desktops

Sofia2 IoT Platform 4.2 Released

Sofia2 IoT Platform (Minsait IoT Sofia2) release 4.2 is now available.

This release is available on the experimentation platform Sofia2 CloudLab

See other releases

The release includes several new features and improvements. These are the most relevant among them:


The Platform now allows to deploy Spring Boot applications simply by uploading them through the Control Panel, as you can see in the image::


This functionality has been implemented in KP-Container, so you can now deploy Python, Java and Spring Boot applications.

In addition, when this Spring Boot application acts as a a Sofia2 KP (ie manages ontologies) the platform is able to fully monitor this application, through an instance of Spring Boot Admin embedded in the platform.

NOTE: In Sofia2 CloudLab experimentation environment, only the ROL ADMINISTRATOR is allowed to deploy Spring Boot applications. But in dedicated instances this work can be done by any COLLABORATING role.


The concept of Ontology in the Platform manages to make the data management of the underlying repository independent, so that in Sofia2 I can manage an ontology in the same way even if it is stored in the BDTR (for example in MongoDB or in a Postgresql) or in the BDH (Hadoop HIVE, Kudu, SAP HANA, …).

Until now, a Sofia2 installation could only work with a BDTR and with a BDH, that is, if it used MongoDB as a BDTR database, then all the ontologies were stored in this database. In this version we add the ability of the same Sofia2 installation to support different BDTRs, so I can select the database on which it will work for each ontology:

With this we get that the same Sofia2 environment can use for example an HBase to store data from Logs, a MongoDB for IoT data from Smart Home devices and a Postgresql for pure management data as clients.

A new menu option has also been enabled to guide the creation of ontologies from a relational database:


This utility offers a mechanism for the import and export of data configuration (users, projects, ontologies, scripts, …) and business data (instances of ontologies). In this way I can very easily migrate a complete solution from a development instance to a preproduction or production instance. This functionality is accessible for any COLLABORATOR role in Tools> Export / Import



Sofia2 desktops are Web applications that act as containers for other web applications, which can be Sofia2 web projects, Sofia2 dashboards or external applications. The desktop manages access security through the users of the platform. Any COLLABORATOR user can create one or more desktops and add the applications they consider:

Inside a desktop we have applications, which by default open as a tab:

And widgets that open as a popup:


We have added a new SYS_ADMIN role that allows administering a Sofia2 installation from the Control Panel itself. For example, now the configurations of the different DataSources managed in the platform are registered in this role:


One of the foundational objectives of the Sofia2 Platform was to simplify and speed up the development of all types of applications, from IoT applications involving Gateways or mobile devices to large Big Data systems, without forgetting pure web management applications, for which Sofia2 is a facilitator. In this area, a new guide that explains step by step “how to build web applications” (in the guide based on Spring Boot and Angular) has been added in the Documentation section:

Complementing the guide has generated a development environment packaged as a ZIP that contains all the necessary tools to build these solutions (including JVM Java, IDE Eclipse, Maven, Apache Tomcat, …)


This new functionality allows the association of an instance of SCM GIT with an installation of the platform Sofia2, with the aim of being able to use this repository as SCM repository of the developments / solutions that are carried out on the platform.


The Ontologies are the core of the platform, they make up the Domain Model that manages a Sofia2 solution. To improve the exchange of information between the different roles and teams that work with the platform in this version, a description can be added to the ontology and to each of the attributes that comprise it.

As well as generate a PDF report of this metainformation:


We start in this release a process of revision and adaptation of the platform. Among the lines already launched we have:

· Restructuring of Maven projects that make up the source code of the platform:


· Full automation of all platform deployments with Jenkins


· Generation of Docker Containers of the entire platform

· Automation of deployment of Pilot environments with Ansible:

Sofia2 IoT Platform 4.2 Released

Gartner Report: Business Benefits of the Internet of Things



Venice Liu reveals in its “Business Benefits of the Internet of Things” report that companies that are implementing proof-of-concept (PoCs) and pilots and get some complete deployment, begin to see different business benefits.


Several companies remain coy about publicizing their returns, perhaps to maintain a competitive advantage or due to the early-stage nature of their projects.


The report draws on the benefits generated by internal initiatives for companies implementing IoT projects, such as improving productivity or monitoring and remote control of operations.


The benefits of external IoT initiatives include: improving customer service integration with product performance and customer use, gaining competitive advantage, or improving customer experience and loyalty.


Finally, the focus is on the new business models and income streams that IoT is generating. IoT offers companies the ability to transform into a new type of company. Product companies are evolving to become service companies. The data generated by IoT can provide a better perspective and have a significant economic value for third parties.


By this way, it appears that increases revenue from additional value-added services after the sale of the product. Other ways to monetize customer data could be to create a customer or partner loyalty program that encourages revenue growth and long-term retention.


See more




Gartner Report: Business Benefits of the Internet of Things

Scripting Engine Enhancements

programming-1873854_1280In this version new enhancements have been included to help in the creation of scripts, either in Groovy, Python or R, showing an instance of the selected ontologies and auto completing in the editor. Also in the process log can be errors in the execution of the script.

Seguir leyendo “Scripting Engine Enhancements”

Scripting Engine Enhancements

Sofia2 as a technological base in the European R&D project eVacuate



As we mentioned in the previous post, Sofia2 IoT Platform has promoted the development of high added value solutions in customers in areas such as Smart Cities, Smart Health, Industry, Retail, Energy …




One of the projects which Sofia2 serves as a technological base is eVacuate, a European innovation project whose aim is the development of a simulation and emergency management system based on IoT and Big Data technologies to define in real time the optimal routes of evacuation in large infrastructures.



During the last months four pilots have been carried out in which the feasibility of the project has been demonstrated and the possibility of scaling in a great number of scenarios.


The first evacuation exercise was held last October at Anoeta football stadium. 27 researchers from different European companies and universities were working in San Sebastián defining in real time the optimal evacuation routes for a football match in Anoeta. To do this, a good number of fans were gathered and they were asked to be placed in the main tribune. From that moment, they followed workers instructions and they lived in situ up to four types of different evacuation situations. The announcements of public address, signage, opening of doors and emergency situations varied with the aim of creating four completely different cases.


Here you have the video with the images and all the detailed information of the pilot in Anoeta.


Athens airport, a cruise ship of the company STX on French coast and finally, last May, Bilbao’s Subway, were the other scenarios in which eVacuate demonstrated its effectiveness. In all cases it was possible to reduce the evacuation time by more than 25% compared to the current evacuation systems.


Sofia2 as a technological base in the European R&D project eVacuate

Release 4.1 Sofia2 IoT Platform Published

Release 4.1 of Sofia2 IoT Platform is already available.

In this release has been made available the Sofia2 CloudLab Experimentation Platform

See other releases

This release has been centered on improving and incorporating new tools for the developer, among them we can highlight:


Inside the value proposal for the Sofia2 platform, the developer is a key element, and in this line we are continuously working on improving the relationship of the developer with the console:

  • New control panel landing page: From now on when a user accesses the console is presented with a graph displaying his ‘Sofia Universe’, that is, created entities (ontologies), clients (ThinKPs), dashboards, rules… and their relationships. Also, clicking on each of this elements you can navigate straight to their specific UI.

  • Console integrated help: From now one you can search for any term directly from the console, for example, this search is done over the blog:

and over the platform web help:


Also, following the line of simplifying the platform user’s daily life, we have incorporated new tool we hope can ease their day-to-day:

  • Exportation and importation of elements between environments: This functionality allows, from the control panel, to select the elements created in an environment (ontologies, projects, ThinKPs, APIs) and export them. The platform generates a ZIP file able to be used later for import on another platform. With this mechanism I can start development on one environment and later migrate everything to another in a simple way.
  • Sofia2 project integration with Git: The platform allows to configure a connection with a git repository. Once this is configured by an administrator, when we create a project, this will replicate the structure in the Git repository.
  • Ontology to Java DTOs: This allows to generate a Java class from an ontology (including annotations to migrate from Java to Json and viceversa).

  • Improvements on the scripting engine: To help with the script creation, the editor now supports autocompletion (using to Ctrl+Space combination).

Also on the process log the script errors can be found:


Bases on the requirements identified on some projects we collaborate with we have also included:

  • Parameter passing either to gadgets or dashboards, so they can, in turn, pass them to the queries they use to load data
  • ·Text internationalization: From the editor we can now define an internationalization JSON to be used on the fields:

  • Gadget templates: This functionality allows to make available a HTML5 as a template so other users can create their own gadgets completing the template with their own parameters associated to the gadget.
  • Weather type gadget : Depending on the configuration now it is possible to display temperature and predictions based on location


This module started as a demonstration on what could we do with the platform and SVG web technologies on a field traditionally dominated by the SCADAs.

Thanks to the improvements identified by the collaborators, on this new version we support


The API Manager is an increasingly more commonly found on SW architectures. This component, now 3 years old, has incorporated features like:


One of the work focus of the platform is for it to be accessible either for a user role, an advanced developer or a data scientist, and for that disposing of learning material is very important.

For this release we have generated the following guides:

Release 4.1 Sofia2 IoT Platform Published

“Big Data and real time analytics in the IoT” Webinar




On June 21, our partner Raquel López, IoT Expert Manager of Sofia2 IoT Platform, conducted a webinar titled “Big Data and real time analytics in the IoT” in the framework of the IoT Analytics conference organized by BrightTALK.


In the presentation, which you can access here, Raquel explains why IoT is an excellent business opportunity and addresses various IoT Analytics cases existing in different verticals: Industry, Retail, Health, Energy…


It also delves into capabilities, workflow and modules that make up an IoT platform and Big Data such as Sofia2 and delves into two success stories: Smart Energy and Traceability in Distribution.




You can find the Webinar slides here

“Big Data and real time analytics in the IoT” Webinar