Sistem pengendali saklar berbasis Nodemcu ESP8266 dengan aplikasi MQTT dan Google Assistant

Bekti Maryuni Susanto, Agus Hariyanto, Denny Wijanarko, Moch Khafil Albab

Submitted : 2022-11-10, Published : 2022-11-25.


The Internet of Things (IoT) provides the ability to connect many things or devices over the internet. Message Queue Telemetry Transport (MQTT) is a Client Server published/subscribed message transport protocol. The protocol runs on top of TCP/IP, or on top of other network protocols that provide sequential, lossless bi-directional connections. The system developed in this study consists of three layers based on the perception layer, network layer and application layer. The perception layer consists of relays that are used to control the screen based on user input. The network layer consists of the MQTT server and Google assistant connected to the IFTTT service. This system was developed with the aim of making it easier for humans to monitor home electrical devices remotely. The test results show that this system can be used to control the switch quickly even though it really depends on the quality of the internet network.


MQTT; Google Assistant; Nodemcu; Saklar otomatis

Full Text:



M. Kashyap, V. Sharma, and N. Gupta, "Taking MQTT and NodeMcu to IOT: Communication in Internet of Things," Procedia Computer Science, vol. 132, no. Iccids, pp. 1611-1618, 2018, doi: 10.1016/j.procs.2018.05.126

OASIS, "MQTT Version 3.1.1," OASIS Standard, no. October, p. 81, 2014.

R. K. Kodali and K. S. Mahesh, "A low cost implementation of MQTT using ESP8266," Proceedings of the 2016 2nd International Conference on Contemporary Computing and Informatics, IC3I 2016, no. December 2016, pp. 404-408, 2016, doi: 10.1109/IC3I.2016.7917998

B. M. Susanto, E. S. J. Atmadji, and W. L. Brenkman, "Implementasi Mqtt Protocol Pada Smart Home Security Berbasis Web," Jurnal Informatika Polinema, vol. 4, no. 3, p. 201, 2018, doi: 10.33795/jip.v4i3.207

C. D'ortona, D. Tarchi, and C. Raffaelli, "Open-Source MQTT-Based End-to-End IoT System for Smart City Scenarios," Future Internet, vol. 14, no. 2, 2022, doi: 10.3390/fi14020057

V. Vadi, A. Kotadiya, R. Solanki, and M. M. Khambalkar, "Low-Cost Asset Tracking and Inventory Management System (ATIM)," Journal of Physics: Conference Series, vol. 2007, no. 1, 2021, doi: 10.1088/1742-6596/2007/1/012072

N. Goud and A. Sivakami, "Spectate home appliances by internet of things using mqtt and ifttt through google assistant," International Journal of Scientific and Technology Research, vol. 8, no. 10, pp. 1852-1857, 2019.

M. D. Agarwal and S. K. Srivastava, "Integration of ' Google Assistant ' and ' AdafruitIO ' via ' IFTTT ' to Implement an IoT based Wireless Multi-Sensor Network Surveillance and Multi-Appliance Integration of ' Google Assist ant ' and ' AdafruitIO ' via ' IFTTT ' to Implement an IoT based W," International Research Journal of Engineering and Technology (IRJET), vol. 07, no. September, pp. 2226-2232, 2020.

C. F. Permatasari and H. Dhika, "JISA (Jurnal Informatika dan Sains) Optimasi Jalur Transfer Data dari HTTP menjadi MQTT pada IoT menggunakan Cloud Services," vol. 01, no. 02, 2018, doi : 10.31326/jisa.v1i2.446

M. Burhan, R. A. Rehman, B. Khan, and B. S. Kim, "IoT elements, layered architectures and security issues: A comprehensive survey," Sensors (Switzerland), vol. 18, no. 9, 2018, doi: 10.3390/s18092796

D. Mishra, P. Yadav, V. Yadav, R. Srivastava, K. K. Agrawal, and R. S. Yadav, "Adafruit IO Based Smart Irrigation System using MQTT Protocol for Urban Farming," Journal of Computer Science, vol. 18, no. 5, pp. 374-381, 2022, doi: 10.3844/jcssp.2022.374.381

A. D. Hidayat, B. Sudibya, and C. B. Waluyo, "Pendeteksi Tingkat Kebisingan berbasis Internet of Things sebagai Media Kontrol Kenyamanan Ruangan Perpustakaan," AVITEC, vol. 1, no. 1, Aug. 2019, doi: 10.28989/avitec.v1i1.497

R. Sahtyawan and A. I. Wicaksono, "Application for Control of Distance Lights Using Microcontroller Nodemcu Esp 8266 Based on Internet of Things (IoT)," Compiler, vol. 9, no. 1, May 2020, doi: 10.28989/compiler.v9i1.627

R. Sahtyawan, A. B. Saputra, and S. Arief, "NodeMcu Microcontroller Based Disinfectant Fluid Monitoring System Using Water Level Control Sensor and Ultrasonic Sensor," Angkasa: Jurnal Ilmiah Bidang Teknologi, vol. 12, no. 2, Oct. 2020, doi: 10.28989/angkasa.v12i2.770

N. Kusumaningrum and R. Ananda, "STERILIZER CHAMBER DESIGN WITH TELEGRAM-BASED INTERNET OF THINGS (IoT) APPLICATIONS," Compiler, vol. 10, no. 2, p. 89, Nov. 2021, doi: 10.28989/compiler.v10i2.1111

Article Metrics

Abstract view: 95 times
Download     : 111   times

Creative Commons License
This work is licensed under a Creative Commons Attribution 4.0 International License.


  • There are currently no refbacks.