MONITORING AND CONTROL SYSTEM WITH A CLIENT-SERVER MODEL BASED ON INTERNET OF THINGS (IOT)
DOI:
https://doi.org/10.31436/iiumej.v22i1.1596Keywords:
, client-server, control, monitoring, android, and NodeMCU ESP-12EAbstract
Safety and comfort are needs for all human beings. Meanwhile, the crime rate is increasing. Therefore, a remote monitoring and control system is needed. This research offers a home monitoring and control system with a client-server model using NodeMCUESP-12E. The equipment design can be used to monitor the condition of the house through sensors installed in each room. Home monitoring includes motion detection using a motion sensor, detection of the condition of the house door using a magnetic sensor, and remote door locking using a solenoid. The system can be operated offline or online using an Android smart phone. The communication model used for client-server over the transport layer protocol is User Datagram Protocol (UDP), so the server can communicate simultaneously on two clients. The fastest average response time is 0.653 seconds. The communication model between a server and a cloud uses Transmission Control Protocol (TCP) so that the data sent or received by the server through the internet is more reliable. The cloud used is Firebase which has real-time database facilities and historical data. When online, sensor response time average is the fastest on an android at 3.898 seconds, response time control is the fastest average on a client at 7.157 seconds and the control response time average is the fastest on an android at 9.495 seconds.
ABSTRAK: Keselamatan dan keselesaan merupakan keperluan penting untuk manusia. Sementara itu kadar jenayah pula kian meningkat. Oleh itu, kita perlu pemantauan jarak jauh dan sistem kawalan. Kajian ini merupakan sistem kawalan dan pemantauan rumah dengan model pelanggan-pelayan menggunakan NodeMCUESP-12E. Peralatan yang dibina boleh digunakan bagi mengawasi keadaan rumah melalui sensor yang dipasang dalam setiap bilik. Pemantauan rumah adalah termasuk pengesan gerakan menggunakan sensor gerakan, pengesan keadaan pintu rumah menggunakan sensor magnet, dan pengunci pintu jarak jauh menggunakan solenoid. Sistem ini boleh digunakan secara luar atau dalam talian menggunakan telefon pintar Android. Model komunikasi yang digunakan pada pelanggan-pelayan menggunakan protokol lapisan pengangkutan adalah Protokol Datagram Pengguna (UDP), oleh itu pelayan dapat berkomunikasi secara terus dengan dua pelanggan pada purata masa respon terlaju sebanyak 0.653 saat. Model komunikasi antara pelayan dan awan adalah menggunakan Protokol Kawalan Penghantaran (TCP), dengan harapan data dapat dihantar dan diterima oleh pelayan melalui internet dengan lebih kebolehpercayaan. Awan yang digunakan adalah Firebase yang mempunyai kelengkapan pengkalan data waktu nyata dan data sejarah. Melalui keadaan dalam talian, purata masa sensor bertindak balas adalah paling laju pada Android sebanyak 3.898 saat, purata kelajuan kawalan masa bertindak balas pada pelanggan adalah 7.157 saat dan purata masa kawalan tindak balas adalah paling laju pada Android sebanyak 9.495 saat.
Downloads
Metrics
References
Minerva R, Biru A and Rotondi D. (2015) Towards a definition of the Internet of Things (IoT). In Proceeding IEEE Internet Initiative: 1-86.
Moroney L. (2017) The definitive guide to firebase. A Press, California, Google.
Zuhelmi TP, Sulistiyanti SR, Setyawan FXA, Adnan AR. (2019) Smart home controlling and monitoring system using multiboard client-server internet of things (IoT). Journal of Engineering and Scientific Research, 1(2): 69-73.
Nama GF (2013) The design of an internet connection monitoring system at Lampung University based on a mini single board computer BCM2835. (Rancang Bangun Sistem Monitoring Sambungan Internet Universitas Lampung Berbasis Mini Single Board Computer BCM2835). In Proceeding National Seminar on Science & Technology V: 73-83.
Despa D, Kurniawan A, Komarudin M, Mardiana, Nama GF. (2015) Smart monitoring of electrical quantities based on single board computer BCM2835. In Proceeding of the 2nd International Conference on Information Technologies, Computer, and Electrical Engineering (ICITACEE 2015):315-320.
Nurfaif MB, Sulistiyanti SR, Komarudin M, Nama GF (2017) Telemetry and tele-control of electronic appliances for smart-home-system. In Proceeding International Symposium on Electronics and Smart Devices (ISESD):18-23.
Kodali RK (2016) IoT based smart security and home automation system. In Proceeding International Conference on Computing, Communication and Automation (ICCCA):1286-1289.
Malche T (2017) Internet of Things (IoT) for building Smart Home System.In Proceeding International Conference on I-SMAC Palladam-2017:65-70.
Bharati TS. (2019) Internet of Things (IotT: A Critical Review. International Journal Of Scientific & Technology Research, 8:227-232.
Madhavia MVDNS, Hemalathaa K, Sairamb PVS, Rajani D. (2016) Healthcare applications of the Internet of Things (IoT): A Review. Proceedings of 3rd International Conference on Emerging Technologies in Computer Science & Engineering (ICETCSE 2016):205-213.
Downloads
Published
How to Cite
Issue
Section
License
Copyright (c) 2020 IIUM Press
This work is licensed under a Creative Commons Attribution 4.0 International License.