IOT Based Automatic Light Control System Using MQTT Protocol

  • Brema Arisma Sima STMIK Kaputama, Binjai, Sumatera Utara
  • Relita Buaton STMIK Kaputama, Binjai, Sumatera Utara
  • Marto Sihombing STMIK Kaputama, Binjai, Sumatera Utara


An Internet of Thing-based automatic light control system using the MQTT protocol is an efficient solution for controlling lights on or off. This study aims to design and implement an IOT-based automatic light control system that can be accessed and controlled via the internet network. This system uses the MQTT protocol to communicate between the hardware and software connected to the MQTT Broker. This system also consists of several main components, namely a light sensor, NodeMCU ESP8266, and a user application. The light sensor is used to detect the intensity of surrounding light, NodeMCU ESP8266 to connect to Wi-Fi networks and broker MQTT. The MQTT broker serves as a communication center between publishers and subscribers. MQTT Dash is a user application that provides an interface for manually controlling the user's lights or setting the automatic mode.


[1] M. S. Novelan, Z. Syahputra, and P. H. Putra, “Sistem Kendali Lampu Menggunakan NodeMCU dan Mysql Berbasis IOT (Internet Of Things),” J. Nas. Inform. dan Teknol. Jar., vol. 5, no. 1, pp. 117–121, 2020, [Online]. Available:
[2] N. R. Ahsy, A. Bhawiyuga, and D. P. Kartikasari, “Implementasi Sistem Kontrol dan Monitoring Smart Home Menggunakan Integrasi Protokol Websocket dan MQTT,” vol. 3, no. 4, 2019.
[3] F. Abdaoe, H. Setiawan, M. Kom, and K. P. S. T, “Sistem Kendali Lampu Otomatis Berbasis Iot ( Internet Of Things ) Menggunakan Nodencum,” vol. IX, no. 01, pp. 76–91, 2021.
[4] D. Aribowo, G. Priyogi, S. Islam, P. T. Elektro, U. Sultan, and A. Tirtayasa, “APLIKASI SENSOR LDR ( LIGHT DEPENDENT RESISTOR ) UNTUK EFISIENSI ENERGI PADA LAMPU PENERANGAN,” vol. 9, no. 1, 2022.
[5] N. Hidayati et al., “Prototype smart home dengan modul nodemcu esp8266 berbasis internet of things (iot),” 2019.
How to Cite
SIMA, Brema Arisma; BUATON, Relita; SIHOMBING, Marto. IOT Based Automatic Light Control System Using MQTT Protocol. International Journal of Informatics, Economics, Management and Science (IJIEMS), [S.l.], v. 3, n. 1, p. 1-9, jan. 2024. ISSN 2809-8471. Available at: <>. Date accessed: 24 may 2024. doi:

Most read articles by the same author(s)

Obs.: This plugin requires at least one statistics/report plugin to be enabled. If your statistics plugins provide more than one metric then please also select a main metric on the admin's site settings page and/or on the journal manager's settings pages.