Design and Implementation of Automation Appliances Control Based on MVC Model Using Distributed MQTT Broker in CoT Networks
Faisal Mehmood1, Shabir Ahmad2, Do Hyeun Kim3

1Faisal Mehmood, Department of Computer Engineering, Jeju National University, Republic of Korea.

2Shabir Ahmad, Department of Computer Engineering, Jeju National University, Republic of Korea.

3Do Hyeun Kim, Department of Computer Engineering, Jeju National University, Republic of Korea.

Manuscript received on 01 January 2019 | Revised Manuscript received on 06 January 2019 | Manuscript Published on 07 April 2019 | PP: 262-269 | Volume-8 Issue- 3C January 2019 | Retrieval Number: C10610183C19/2019©BEIESP

Open Access | Editorial and Publishing Policies | Cite | Mendeley | Indexing and Abstracting
© The Authors. Blue Eyes Intelligence Engineering and Sciences Publication (BEIESP). This is an open-access article under the CC-BY-NC-ND license (http://creativecommons.org/licenses/by-nc-nd/4.0/)

Abstract: Nowadays, researchers and engineers aim to provide smart home services by integrating Internet of Things with cloud services. This paper aims to provide design and implementation of smart home automation system. With this system, users can completely control their home appliances from remote locations. Methods/Statistical analysis: The web application is based on MVC (Model View Controller) model and deployed on AWS (Amazon Web Service) cloud. MQTT (Message Queuing Telemetry Transport) protocol is used for IoT device communication. MQTT Broker is configured on AWS cloud for publishing and subscribing messages from device to device. Due to load on MQTT Broker we have proposed distributed broker in this system to support high number of publishers and subscribers. This system is comprised of one main centralized MQTT Broker and many distributed MQTT Brokers. We have used MQTT connectivity protocol for M2M (Machine to Machine) communication. IoT device is connected with ESP8266, a Wi-Fi based development board. Findings: The design and implementation of Automation Appliances Control service based on MVC model using distributed MQTT broker in CoT networks has been carried out. There is one centralized MQTT broker that is responsible for receiving messages from client application. Distributed MQTT broker are responsible for subscribing and publishing messages from embedded devices to MQTT broker and vice versa. Each smart home consists of many home appliances so there is a load on the MQTT broker. Distributed MQTT broker is useful to control large number of smart homes. Each IoT device is subscribed to a topic and perform action accordingly. After testing the proposed application, we come to conclusion that distributed MQTT broker has reduced the load of publish/subscribe messages and increased the performance of monitoring and controlling smart devices. Improvements/Applications: The concept of Smart Home is becoming a trend with more appliances and sensors getting connected into a single house infrastructure. The aim is to make our living more convenient, secure and carefree by embracing hardware and software advancements. In future we can make improvements in voice control, intelligent control, burglary prevention, and remote health monitoring.

Keywords: Internet of Things (IoT), Cloud of Things (CoT), Smart Homes, Message Queuing Telemetry Transport (MQTT), Amazon Web Services (EC2), ESP8266 Arduino.
Scope of the Article: Computer Science and Its Applications