International Journal of Electrical and Electronics Research ISSN 2348-6988 (online) Vol. 10, Issue 4, pp: (23-32), Month: October - December 2022, Available at: www.researchpublish.com Page | 23 Research Publish Journals Design of Lighting System and Watering Automation Based Internet of Things with Message Queuing Telemetry Transport Protocol and Framework Flutter Ardianto Syaifur Rohman 1 , Bambang Sujanarko 2 , Bambang Sri Kaloko 3 1,2,3 Department of Electrical Engineering, Jember University, Jember, Indonesia DOI: https://doi.org/10.5281/zenodo.7347542 Published Date: 22-November-2022 Abstract: The management of electricity consumption for lamps and water tanks generally relies on a kWh meter, so it is still not effective because it can only monitor and limit electricity usage, not being able to turn off pumps and unused lights. These problems can be overcome with the Internet of Things, which is able to connect equipment through the internet network. The process requires a communication protocol system, which is efficient in terms of bandwidth, latency, and power consumption. The communication protocol model used in this study is Message Queuing Telemetry Transport, considering that this protocol can connect to slow networks. The test results show that the Message Queuing Telemetry Transport (MQTT) application has a better performance on the lighting and watering automation system, which is implemented on a mobile application using the Flutter framework to receive and display high-load garden light control, waterpump control and underground reservoir water level monitoring. The calibration results show that the HYSRF05 sensor can work well in the range of 50-150 cm, with a maximum relative error of 0.36%. The smallest distance change that can be detected by the sensor is 0.04 cm with a maximum relative error of 0.05%. With the magnitude of the error obtained, it can be said that the sensor is suitable for use as a water level detector in an underground reservoir water level monitoring system. The power consumption for lighting and water pumps shows that the design of this system has an impact on power savings of 118.03 kWh. With the Flutter framework, a Mobile Application was built to manage and handle underground reservoir water level monitoring system data, so that users can set conditions to notify users about water level thresholds, use of lighting devices and water pumps through a Mobile Application that is equipped with a Notification feature that is integrated in real-time. Keywords: Internet Of Things (IOT), MQTT, Lighting and Waterpump Control, Underground Water Reservoir Monitoring, Flutter, Mobile Apps. I. INTRODUCTION Difficulties in the process of controlling electrical equipment for office building operators are due to the large area of the building associated with the process of controlling the switch from electrical devices in buildings which are generally still manual, so it takes a long time to activate electronic devices inside the building. In addition, due to the decline in human mobility during the pandemic for work and other activities, this has resulted in an increasing demand for remote control and monitoring technology for office buildings such as monitoring and controlling electronic devices [2]. Management of electrical energy consumption in usage is not enough just to use a kWh meter, because using a kWh meter is only in charge of monitoring and limiting overall electricity use. Therefore, awareness is needed to really save in the use of electrical energy. Electrical energy management can be done by looking at the consumption of electrical energy and then managing unused electronic equipment so that the cost of using electrical energy does not increase.