{"id":7186,"date":"2023-10-28T21:02:45","date_gmt":"2023-10-28T19:02:45","guid":{"rendered":"http:\/\/blog.bart.sk\/en\/?p=7186"},"modified":"2024-01-25T12:40:04","modified_gmt":"2024-01-25T11:40:04","slug":"weve-contributed-digital-future-city-presov","status":"publish","type":"post","link":"https:\/\/blog.bart.sk\/en\/weve-contributed-digital-future-city-presov\/","title":{"rendered":"We\u2019ve Contributed to The Digital Future of The City of Pre\u0161ov"},"content":{"rendered":"<p><b>At the end of September, we managed to launch an exceptional novelty. It&#8217;s a so-called DataHub &#8211; an innovative solution for data management and digitization of Pre\u0161ov. Its first &#8220;live&#8221; testing took place at the Hackathon event: Digital Twin of the City of Pre\u0161ov. It was even used by the <\/b><b><i>nolimit<\/i><\/b><b> winning team, who designed a system for measuring the instantaneous electricity consumption of objects in the city. And that\u2019s just the beginning.\u00a0<\/b><\/p>\n<h2><b>Why was the solution created?<\/b><\/h2>\n<p><span style=\"font-weight: 400;\">Before the introduction of DataHub, the city faced <\/span><b>problems related to ownership and availability<\/b> <b>of data<\/b><span style=\"font-weight: 400;\">. Each software vendor had their own databases and the city had almost no control over them. In addition, the operation of &#8220;city&#8221; applications (parking payment services, etc.) by third parties poses a risk of unavailability of these services after the termination of the contract with the supplier.\u00a0<\/span><\/p>\n<p><span style=\"font-weight: 400;\">That&#8217;s why the idea of creating DataHub came up &#8211; <\/span><b>a local solution that will ensure centralized data storage and make it available to future software suppliers, websites or applications for the city<\/b><span style=\"font-weight: 400;\">. All data is now stored on servers in the office in Pre\u0161ov and thanks to DataHub, third parties can safely access and work with it.<\/span><\/p>\n<h2><b>What does DataHub bring to the city of Pre\u0161ov?<\/b><\/h2>\n<h3><b>Centralized data management<\/b><\/h3>\n<p><a href=\"https:\/\/docs.datahub.presov.sk\/\"><b>DataHub Pre\u0161ov<\/b><\/a><b> allows the city to centrally manage all data<\/b><span style=\"font-weight: 400;\">. New software solutions should draw data exclusively from this source, ensuring data consistency and availability.<\/span><\/p>\n<h3><b>Open source code<\/b><\/h3>\n<p><span style=\"font-weight: 400;\">Developers who will be creating new software solutions for the city should <\/span><b>publish their documentation and source code on DataHub<\/b><span style=\"font-weight: 400;\">. <\/span><b>Thus, the project will be able to be further expanded and managed<\/b><span style=\"font-weight: 400;\"> even after the end of cooperation with a supplier.<\/span><\/p>\n<h3><b>IoT and asynchronous communication<\/b><\/h3>\n<p><b>DataHub<\/b> <b>Pre\u0161ov solution contains the MQTT broker, which enables asynchronous data communication<\/b><span style=\"font-weight: 400;\">. <\/span><b>Thus, it ensures a constant flow of data and allows for IoT devices to be used for their collection and processing.<\/b><span style=\"font-weight: 400;\"> Currently, for example, GPS data on public transport vehicles is sent to DataHub every 15 seconds via the MQTT broker. This can be used, for example, when developing an application that monitors public transport and its delay or outage.<\/span><\/p>\n<h3><b>Documentation\u00a0<\/b><\/h3>\n<p><b>Each project that uses DataHub Pre\u0161ov has space to publish its own documentation and source code in GitLab<\/b><span style=\"font-weight: 400;\">. Its publication on datahub.presov.sk is automated and programmed according to proven CI\/CD processes. This facilitates the monitoring and management of projects and ensures the transparency of development. The <\/span><a href=\"https:\/\/nextra.site\/\"><span style=\"font-weight: 400;\">Nextra<\/span><\/a><span style=\"font-weight: 400;\"> generator was used to display the documentation, which also includes a search engine, so it&#8217;ll be possible to easily navigate in projects even in the case of a large amount of data.<\/span><\/p>\n<h3><b>Use of existing data<\/b><\/h3>\n<p><b>Today, only some existing open data is available in<\/b> <b>DataHub<\/b><span style=\"font-weight: 400;\">, such as the aforementioned location of public transport vehicles or information about the coordinates of all streets. However, many more should be added soon. <\/span><b>This data can then be used for various purposes, such as monitoring the status of winter maintenance, emptying bins or treating greenery.<\/b><span style=\"font-weight: 400;\"> There are a lot of possibilities, they just need to be thought up \ud83d\ude42<\/span><\/p>\n<h2><b>Is it secure? Yes!<\/b><\/h2>\n<p><b>We can set different levels of rights for individual applications and clients that are connected to the MQTT broker.<\/b><span style=\"font-weight: 400;\"> This is managed from the backend. Some data may be public, others limited to a certain group or available only for other applications.<\/span><b> To maintain the security of the projects themselves, recommendations have been created<\/b><span style=\"font-weight: 400;\"> that should be met by each development team so that their application or website can safely communicate with DataHub.<\/span><\/p>\n<h2><b>So what happens next?<\/b><\/h2>\n<p><b>DataHub Pre\u0161ov is an important step towards the digital future of the city<\/b><span style=\"font-weight: 400;\">. Data centralization and open access to source code give the city more control and the ability to innovate. At the same time, the project promotes transparency and cooperation with development teams and citizens, which can have a positive impact on the development of the city of Pre\u0161ov. We believe that thanks to our DataHub, we&#8217;ll soon see new useful applications for all Pre\u0161ov residents. And who knows, maybe other cities will be added after some time \ud83d\ude42\u00a0<\/span><\/p>\n","protected":false},"excerpt":{"rendered":"At the end of September, we managed to launch an exceptional novelty. It&#8217;s a so-called DataHub &#8211; an&hellip;","protected":false},"author":45,"featured_media":7295,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":"","csco_display_header_overlay":false,"csco_singular_sidebar":"","csco_page_header_type":""},"categories":[199],"tags":[494,493,495,297,497,496],"_links":{"self":[{"href":"https:\/\/blog.bart.sk\/en\/wp-json\/wp\/v2\/posts\/7186"}],"collection":[{"href":"https:\/\/blog.bart.sk\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.bart.sk\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.bart.sk\/en\/wp-json\/wp\/v2\/users\/45"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.bart.sk\/en\/wp-json\/wp\/v2\/comments?post=7186"}],"version-history":[{"count":1,"href":"https:\/\/blog.bart.sk\/en\/wp-json\/wp\/v2\/posts\/7186\/revisions"}],"predecessor-version":[{"id":7188,"href":"https:\/\/blog.bart.sk\/en\/wp-json\/wp\/v2\/posts\/7186\/revisions\/7188"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/blog.bart.sk\/en\/wp-json\/wp\/v2\/media\/7295"}],"wp:attachment":[{"href":"https:\/\/blog.bart.sk\/en\/wp-json\/wp\/v2\/media?parent=7186"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.bart.sk\/en\/wp-json\/wp\/v2\/categories?post=7186"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.bart.sk\/en\/wp-json\/wp\/v2\/tags?post=7186"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}