16 60 Jour of Adv Research in Dynamical & Control Systems, Vol. 11, 02-Special Issue, 2019 1660 *Corresponding Author: Khaoula Karimi Article History: Received: January 15, 2019, Revised: March 10, 2019, Accepted: April 04, 2019 RESTful Web Services Based Communication for Smart Home Smartphone Systems Khaoula Karimi 1 , Hassan Oudani 2 and Salahddine Krit 3 123Laboratory of Engineering Sciences and Energies, Polydisciplinary Faculty of Ouarzazate, IbnZohrUniversity, Ouarzazate, Morocco karimi.khaoula92@gmail.com hassan.oudani@gmail.com , salahddine.krit@gmail.com. Abstract. A smart home is a home based on the Internet of Things made to enable the control and the remote monitoring of a home’s devices and to allow the user to adapt the system to his desires and needs. This paper presents an approach to implementing a smart home system using the Internet of Things IoT, Web services, and an Android App. The proposed model focuses on 1) an Arduino Uno Wi-Fi platform for interoperability among sensors, actuators and communication protocols, 2) the REST framework making the home appliances accessible and connected, while it also improves data exchange, 3) an Android App providing several functionalities through which the user can control the home devices from anywhere. We present the smart home architecture and its application in a use case. Our goal is to provide a secure, low cost and, effective smart home system which can be controlled easily from anywhere. Keywords:RESTful, Smart home, Smartphone, Internet of Things (IoTs), Web services, Android App. I. Introduction With the speed of lifestyle evolution, technological development, and the High-speed internet access, researches aim to create a solution that connects all objects to the internet and provide to the users a simple platform to control these objects. This solution is called the Internet of Things. Internet of Things (IoT) consists of devices that allow all objects to be connected from anywhere and anytime [1]. It’s a set of elements that connect and share vast amounts of security data [2]. Currently, there are 3.4 billion Internet users. Reports indicate that by 2020, there will be 50 billion connected devices worldwide [3]. The closest concept to the field of Internet of Things is the smart home. It can be defined as a house in which all appliances can interact and be connected to the internet. The Smart Home system uses the Internet of Things technologies to provide homeowners with comfort, security and interaction with its appliances from anywhere [4]. The connection between these appliances is done through a microcontroller gateway. For the proposed smart home system, we used an Arduino board. It works for any IOT applications design and can update programs according to the needs [5]. To allow the user to remotely control devices, we programmed an Android application that will be installed on a smartphone. Several interfaces have been developed to ensure the control and monitoring of the house. To exchange data between the Android app and the web server, we have to use web services. In the proposed architecture, RESTful has based web services that make the user communicate the actuators and sensors directly and in real time. It’s easier and more lightweight to communicate between machines. And simple HTTP is used to make calls between devices [6]. RESTful applications use HTTP requests to manipulate data, which means that REST uses HTTP for all four CRUD (Create/Read/Update/Delete) operations [7]. The rest of this paper is structured as follows: Section 2 presents the related work. In section 3, we describe the proposed architecture for our smart home and its technologies. Section 4 provides an implementation scenario of Smart home system using RESTful and Arduino Uno, and section 5 concludes this work. II. Related Work The Internet of Things’ definition is still vague and unspecified due to its coverage of several domains [8] and its employ and use in many constructs of our lifestyle [9]. For the authors [10], IoT is a system that can collect information from many environments despite their generation and through several devices. Also, it can be defined as a sit of smart devices that are connected to the internet and exchange data [11]. IoT operates the interactions between humans and applications in a sort of a machine communicate to a machine. Since home automation is the most practical area for the implementation of an IoT platform, this new aspect of communication technologies improves the control of many types of devices in a home [12]. Which define the smart home as a system with intelligent sensors and devices interconnected in order to ensure comfort and safety to the inhabitant [13]. Due to the smartphone revolution and the access to the internet, the remote control of smart home devices is based on using a smartphone application. Several models of smart homes/ smartphones system have been implemented. Kalyani Pampattiwar et al. [14] proposed a system that minimizes human’s efforts and allows the person to make decision and control lights, set alarms and reminders using an Android application into a single console. This system is