Control of Smart Home Operations Using Natural Language Processing, Voice Recognition and IoT Technologies in a Multi-Tier Architecture

The Internet of Things (IoT) is an emerging Internet-based architecture, enabling the exchange of data and services in a global network. With the advent of the Internet of Things, more and more devices are connecting to the Internet in order to help people get and share data or program actions. In this paper, we introduce an IoT Agent, a Web application for monitoring and controlling a smart home remotely. The IoT Agent integrates a chat bot that can understand text or voice commands using natural language processing (NLP). With the use of NLP, home devices are more user-friendly and controlling them is easier, since even when a command or question/command is different from the presets, the system understands the user’s wishes and responds accordingly. Our solution exploits several available Application Programming Interfaces (APIs), namely: the Dialogflow API for the efficient integration of NLP to our IoT system, the Web Speech API for enriching user experience with voice recognition and synthesis features, MQTT (Message Queuing Telemetry Transport) for the lightweight control of actuators and Firebase for dynamic data storage. This is the most significant innovation it brings: the integration of several third-party APIs and open source technologies into one mash-up, highlighting how a new IoT application can be built today using a multi-tier architecture. We believe that such a tiered architecture can be very useful for the rapid development of smart home applications.

[1]  Radek Martinek,et al.  Voice Control of Technical Functions in Smart Home with KNX Technology , 2015 .

[2]  Barbara J. Grosz,et al.  Natural-Language Processing , 1982, Artificial Intelligence.

[3]  Juan Carlos Augusto,et al.  Ambient Intelligence—the Next Step for Artificial Intelligence , 2008, IEEE Intelligent Systems.

[4]  Marija Antic,et al.  Implementation of voice control interface for smart home automation system , 2017, 2017 IEEE 7th International Conference on Consumer Electronics - Berlin (ICCE-Berlin).

[5]  Luigi De Russis,et al.  A Comparison and Critique of Natural Language Understanding Tools , 2018 .

[6]  Ravi Kishore Kodali,et al.  An IoT based weather information prototype using WeMos , 2016, 2016 2nd International Conference on Contemporary Computing and Informatics (IC3I).

[7]  Lamont Wood,et al.  Google, Inc. , 2005, Scientific American.

[8]  Edmond Woychowsky AJAX: Creating Web Pages with Asynchronous JavaScript and XML , 2006 .

[9]  M. Tharaniya soundhari,et al.  Intelligent interface based speech recognition for home automation using android application , 2015, 2015 International Conference on Innovations in Information, Embedded and Communication Systems (ICIIECS).

[10]  Kevin Ashton,et al.  That ‘Internet of Things’ Thing , 1999 .

[11]  Radha Shankarmani,et al.  A Voice Controlled Smart Home Solution With a Centralized Management Framework Implemented Using AI and NLP , 2018, 2018 International Conference on Current Trends towards Converging Technologies (ICCTCT).

[12]  Sukhdev Singh,et al.  Natural language processing: state of the art, current trends and challenges , 2017, Multimedia Tools and Applications.

[13]  Jae-Hyoung Yoo,et al.  A smart home control system based on context and human speech , 2016, 2016 18th International Conference on Advanced Communication Technology (ICACT).

[14]  Roger A. Light Mosquitto: server and client implementation of the MQTT protocol , 2017, J. Open Source Softw..

[15]  Jan Vanus,et al.  Design of Smart Home Implementation within IoT with Natural Language Interface , 2018 .

[16]  Taweesak Samanchuen,et al.  Chatbot Utilization for Medical Consultant System , 2018, 2018 3rd Technology Innovation Management and Engineering Science International Conference (TIMES-iCON).

[17]  Istvan Papp,et al.  One solution for voice enabled smart home automation system , 2017, 2017 IEEE 7th International Conference on Consumer Electronics - Berlin (ICCE-Berlin).

[18]  Paul Jasmin Rani,et al.  Voice controlled home automation system using Natural Language Processing (NLP) and Internet of Things (IoT) , 2017, 2017 Third International Conference on Science Technology Engineering & Management (ICONSTEM).

[19]  Safdar Rizvi,et al.  A Smart Home Appliances Power Management System for Handicapped, Elder and Blind People , 2018, 2018 4th International Conference on Computer and Information Sciences (ICCOINS).

[20]  Christopher D. Manning,et al.  Advances in natural language processing , 2015, Science.

[21]  Milica Matic,et al.  Voice control for smart home automation: Evaluation of approaches and possible architectures , 2017, 2017 IEEE 7th International Conference on Consumer Electronics - Berlin (ICCE-Berlin).

[22]  Cyril Joe Baby,et al.  Home automation using IoT and a chatbot using natural language processing , 2017, 2017 Innovations in Power and Advanced Computing Technologies (i-PACT).

[23]  Xi Wang,et al.  Design and Implementation of Push Notification System Based on the MQTT Protocol , 2013, ISCA 2013.

[24]  Felix Wortmann,et al.  Internet of Things , 2015, Business & Information Systems Engineering.

[25]  Cyril Joe Baby,et al.  Home automation using web application and speech recognition , 2017, 2017 International conference on Microelectronic Devices, Circuits and Systems (ICMDCS).