1. Progressive web application in the Internet of Things domain
- Author
-
Kolega, Domagoj and Kušek, Mario
- Subjects
Smart Home ,Push obavijesti ,RESTful API ,TEHNIČKE ZNANOSTI. Računarstvo ,Internet of Things ,Progressive Web Application ,Internet stvari ,Automatizacija ,Automation ,Push Notifications ,TECHNICAL SCIENCES. Computing ,PWA ,Pametna kuća ,Progresivna web-aplikacija ,Cacheing ,Home Assistant ,Web App Manifest ,Service Worker - Abstract
Progresivne web-aplikacije su nova vrsta web-aplikacija koje su nastale kao nadogradnja tradicionalnih web-aplikacija. Zahvaljujući tehnologijama Web App Manifest i Service Worker progresivne web-aplikacije imaju web-responzivni dizajn i osjećaj prirodnih aplikacija. Progresivne web-aplikacije vrlo su praktične za upravljanje podacima generiranih od strane uređaja povezanih u mreži Interneta stvari. Studijskim primjerom prikazana je progresivna web-aplikacija, napravljena korištenjem tehnologija: JavaScript, HTML, CSS i Node.js, koja prima obavijesti generirane automatizacijom pametne kuće pomoću platforme Home Assistant. Generirana obavijest se šalje na poslužitelj koristeći Home Assistant RESTful API, i nakon toga poslužitelj korištenjem tehnologije push obavijesti šalje tu obavijest progresivnoj web-aplikaciji koja tu obavijest prikazuje na svom korisničkom sučelju. Progressive web applications are a new type of web application that has emerged as an upgrade to traditional web applications. Thanks to Web App Manifest and Service Worker technologies, progressive web applications have a web-responsive design and a feel for natural applications. Progressive web applications are very practical for managing data generated by devices connected to the Internet of Things. A case study shows a progressive web application, created using technologies: JavaScript, HTML, CSS and Node.js, which receives notifications generated by smart home automation using the Home Assistant platform. The generated notification is sent to the server using the Home Assistant RESTful API, and then the server uses push notification technology to send that notification to a progressive web application that displays that notification on its user interface.
- Published
- 2021