Design and Implementation of a Framework for Smart Home Automation Based on Cellular IoT, MQTT, and Serverless Functions
Open Access
Abstract
Smart objects and home automation tools are becoming increasingly popular, and the number of smart devices that each dedicated application has to manage is increasing accordingly. The emergence of technologies such as serverless computing and dedicated machine-to-machine communication protocols represents a valuable opportunity to facilitate management of smart objects and replicability of new solutions. The aim of this paper is to propose a framework for home automation applications that can be applied to control and monitor any appliance or object in a smart home environment. The proposed framework makes use of a dedicated messages-exchange protocol based on MQTT and cloud-deployed serverless functions. Furthermore, a vocal command interface is implemented to let users control the smart object with vocal interactions, greatly increasing the accessibility and intuitiveness of the proposed solution. A smart object, namely a smart kitchen fan extractor system, was developed, prototyped, and tested to illustrate the viability of the proposed solution. The smart object is equipped with a narrowband IoT (NB-IoT) module to send and receive commands to and from the cloud. In order to evaluate the performance of the proposed solution, the suitability of NB-IoT for the transmission of MQTT messages was evaluated. The results show how NB-IoT has an acceptable latency performance despite some minimal packet loss.Keywords
Funding Information
- Marche Region (POR MARCHE FESR 2014-2020, CUP B28I19000330007)
This publication has 57 references indexed in Scilit:
- Serverless execution of scientific workflows: Experiments with HyperFlow, AWS Lambda and Google Cloud FunctionsFuture Generation Computer Systems, 2020
- A comparative study of LPWAN technologies for large-scale IoT deploymentICT Express, 2019
- Design, Implementation and Practical Evaluation of an IoT Home Automation System for Fog Computing Applications Based on MQTT and ZigBee-WiFi Sensor NodesSensors, 2018
- Connecting Intelligent Things in Smart Hospitals Using NB-IoTIEEE Internet of Things Journal, 2018
- Next-generation of virtual personal assistants (Microsoft Cortana, Apple Siri, Amazon Alexa and Google Home)2018
- Smart Choice for the Smart Grid: Narrowband Internet of Things (NB-IoT)IEEE Internet of Things Journal, 2017
- Choice of effective messaging protocols for IoT systems: MQTT, CoAP, AMQP and HTTP2017
- NB-IoT system deployment for smart metering: Evaluation of coverage and capacity performances2017
- Mosquitto: server and client implementation of the MQTT protocolJournal of Open Source Software, 2017
- 5G networks: End-to-end architecture and infrastructure [Guest Editorial]IEEE Communications Magazine, 2014