Advance Sustainable Science. Engineering and Technology (ASSET) Vol. No. January 2024, pp. 02401024-01 02401024-08 ISSN: 2715-4211 DOI: https://doi. org/10. 26877/asset. Automated Maintenance System For Freshwater Aquascape Based On The Internet Of Things (Io. Elang Bayu El Hakim*. Joko Aryanto Faculty of Sains & Technology. Universitas Teknologi Yogyakarta. Jl. Siliwangi Jl. Ring Road Utara Daerah Istimewa Yogyakarta 55285. Yogyakarta. Indonesia *elangbayu047@gmail. Abstract. Aquascaping is a hobby that has gained considerable popularity across different age groups, from young to old. Aquascaping itself is the art of arranging plants, water, rocks, coral, wood and other natural elements in glass or acrylic containers. One of the main obstacles in the world of aquascaping is consistency, which is often difficult to achieve when the owner has a busy schedule or limited time. Without the implementation of Internet of Things (IoT) technology and microcontrollers connected to mobile applications, this drawback is even more The inability to maintain consistency in maintenance can lead to a decline in aquascape quality, both in terms of aesthetics and ecosystem health. Therefore, an innovative system using IoT is expected to provide a smart solution to overcome the major shortcomings of aquascape maintenance and enhance the experience of this hobby for its enthusiasts. Keywords: Microcontroller. Monitoring. Internet of Things(IoT). Android (Received 2023-12-25. Accepted 2024-01-08. Available Online by 2024-01-. Introduction Aquascape is the art of organising aquatic plants, rocks, and wood with the aim of creating a look like gardening in water, enriched by the presence of fish as a companion to maintain the balance of the . In Aquascape, the temperature factor must be a concern because it affects the balance of the ecosystem. With the development of the times. IoT or Internet of Things began to be integrated in terms of supervision and monitoring. IoT in its application can also function as a controller rather than just a supervisor . IoT is also popularly chosen because of the flexibility in the scale of its needs. Android is also one of the results of the development of the times that has been widely used and developed. The use of smartphones and android as a monitor device is increasingly popular. Using a smartphone as a monitor device is also a practical choice in its use. With the implementation of an IoT-based monitor system. , aquascape ecosystem maintenance can be controlled easily and accurately without being hindered by distance or time and can be automated in its use. The use of the IoT monitoring system in addition to maintaining the stability of the ecosystem, things such as replacement and detection of water quality can also be done automatically. Based on the advantages of the application of the IoT system in several fields including in the field of aquascape maintenance, this aquascape maintenance automation system was made. And based on some research that has been done before, here are the references used as a reference for this research: In the research conducted by Moch Haidar Rafi and Bambang Santoso with the title "Design of Automatic Aquascape Liquid Fertiliser Giving Tool Using NodeMCU Based on Internet Of Things (IoT)". The results obtained are, the tool that has been designed has worked as expected and successfully integrated into the Blynk control application which allows the tool to be controlled and can be monitored parameters through the Blynk website or in the Blynk . Another research conducted by Piter Wijaya and Theophilus Wellem with the title "Design and Implementation of Temperature and Water Level Monitoring Systems in IoT-based Ornamental Fish Aquariums", this research produces tools that can detect and manipulate temperature, water level, and can regulate light control that has been integrated via Telegram using Bot in the Telegram application. Another research conducted by Nurul Fahmi and Shellya Natalia with the title "Water Quality Monitoring System for Catfish Cultivation Using IoT Technology ", this research successfully integrates water temperature and pH monitoring devices in catfish ponds with android-based applications using IoT telnology that can monitor and control tools through android . Research on the application of IoT in terms of Care and Monitoring conducted by Allieffa Salsabilla Pradisthi and Joko Aryanto entitled "Monitoring and Automation System for Bird Feeding and Drinking Based on Internet of Things Using ESP32 ", this study successfully implemented an IoT-based care and monitoring system in bird care and cages that are able to control the Interval of bird feed and drink monitored by the system using IoT. Based on the research references cited above, the use of IoT as an aquarium or aquascape maintenance system can improve the quality of the ecosystem being maintained . However, the main drawback of aquascapes is the difficulty in achieving consistency of care, including consistent light and feed schedules. Without the help of IoT technology, aquascape owners may struggle to maintain ecosystem optimality, which could lead to a decline in ecosystem aesthetics and health. This research demonstrates that maintenance tools have limitations in managing light and feed schedules, as well as regulating water levels in aquascapes. In this context. IoT system solutions are highly relevant and can overcome these weaknesses. By implementing IoT tools, aquascape owners can easily set feeding intervals and lighting schedules This system facilitates maintenance without the physical presence of the owner and provides the flexibility of remote monitoring and control, improving maintenance efficiency without compromising the quality of the ecosystem. Additional benefits of the system include remote monitoring via website or Android phone, automatic setting and monitoring of water levels, and scheduled automatic feeding. By automatically scheduling lights, the system creates an optimal environment for plant growth and fish health, while maintaining the beauty of the aquascape. The implementation of IoT in aquascape maintenance ensures the sustainability of the ecosystem and provides convenience and better control for the owner. This device will also be integrated with a website that uses Firebase as storage. The device will also be integrated with a website that uses Firebase as its storage . , using a website that can be easily opened on mobile and desktop devices. The website used uses the PHP programming language as its basis. and uses Firebase type Realtime as a place to store data. Methods In this study, the research process is divided into several phases, including problem identification, literature review, system design, device assembly, testing, and conclusion. Block System Diagram Figure 1 System Diagram Based on Figure 1 above. ESP 32 which functions as the main control to process and process data taken from sensors and other modules which will later forward data to the Web. Water level sensor will detect the water level, then ESP 32 will process the data and if it has passed a certain limit, it will turn on the relay connected to the water pump to add water to the Aquascape. Water container Sensor on the other hand will detect the amount of water remaining in the water reservoir to fill the Aquarium, if less ESP will send the data to the Web. Food servo will open the food storage hatch every time that has been set by the web, while the Lamp Relay will turn on the lights according to the schedule hours that have been determined on the Web. The DS18B2 sensor will detect the water temperature which will be forwarded by the ESP to the Web. Flowchart Figure 2 Device Flowchart Based on Figure 2 above, it can be explained the workflow of the device starting from the initiation of the device followed by sending all the data detected by the sensor to the Database which will later be displayed on the Website. After that the device will process data from the water level detection sensor in the Aquascape then the reservoir sensor will detect whether water is still available in the reservoir or not, if there is still water in the reservoir, the pump relay will turn on the water pump in the water If the water reservoir is empty, the device will send a notification. After that the device will detect the temperature in the Aquascape, if the temperature exceeds the limit then the device will send a notification. Finally, the device will turn on the lights and turn them off according to the hour, then the device also sets the servo to open the food storage hatch according to a predetermined schedule. Figure 3 Website Flowchart From the Flowchart Figure 3 above, the flow of the website can be explained as follows. First, the website will retrieve all data from Firebase to be displayed on the website, then through the website users can set schedules for lights and feed. Users can also set the mode used to manage pumps, feeders, and lights. Results and Discussion Result The result of this system design is a tool that has been assembled and a website to monitor and control IoT tools for Aquascape. The tool can help maintain Aquascape Aquarium without the need for a lot of human intervention and with the help of a Website that can be opened through various devices, it is possible to control the tool without worrying about distance. Figure 4 Device Set Figure 4 above is the result of the application of the device that has been installed in an Aquarium with a size of 20cm x 15cm x 15cm. ESP 32 is used as a Microcontroller which will be connected to the Internet Network using WiFi so that it allows the device to be controlled remotely via a website. Figure 5. Website Figure 5 above is the result of the controller website to monitor, schedule, and view the status of sensors such as temperature, water level and water reservoir status. Device Equipment Testing The following is a table of device testing data that includes feeders, lights, and pumps and water Testing is done to see if the device is successfully applied to real cases. 1 Feeder Testing Table 1. Feeder Testing Result Day Sunday Monday Tuesday Wednesday Thursday Friday Saturday Sunday Monday Tuesday Wednesday Thursday Friday Saturday Sunday Time 00 AM 00 AM 00 AM 00 AM 00 AM 00 PM 00 PM 00 PM 00 PM 30 PM 30 PM 30 PM 30 PM 30 PM 30 PM Servo Status Delay During the first five days of the feeding trial, the ESP32 microcontroller functioned effectively and accepted the schedule settings at 10 am. However, when the setting time was changed, the feeding system continued to operate well despite slight delays caused by interruptions in the connection. The ESP32 microcontroller can efficiently manage the feeding schedule under optimal conditions. However, it may experience a slight delay in situations where the connection is disrupted. Therefore, it is crucial to prioritize schedule management and maintain a stable connection to ensure optimal performance of the feeding system. 2 Lamp Testing Table 2. Lamp Testing Result Day Time Relay Stat Delay Time Sunday Monday Tuesday Wednesday Thursday Friday Saturday Sunday Monday Tuesday Wednesday 00 AM 00 AM 00 AM 00 AM 00 AM 00 AM 00 AM 00 AM 00 AM 00 AM 00 AM 00 PM 00 PM 00 PM 00 PM 00 PM 00 PM 00 PM 00 PM 00 PM 00 PM 00 PM Relay Stat OFF OFF OFF OFF OFF OFF OFF OFF OFF OFF OFF Delay Thursday 00 AM 00 PM OFF Friday 00 AM 00 PM OFF Saturday 00 AM 00 PM OFF Sunday 00 AM 00 PM OFF The test results indicate that the automatic light system was scheduled to turn on for 6 hours per day, in accordance with the specifications of the aquascape and its ecosystem. However, the recorded data shows delays in the relay function, which may have been caused by interruptions in the connection or potential interruptions in the Relay module used. Overall, the testing of the lighting system went well, with no significant delays. The ESP32 microcontroller effectively received the light schedule, improving the system's operational reliability. Although some delays may have occurred, the automated lighting system's overall performance remained optimal, providing suitable lighting for the aquascape's needs. 3 Water pump and water level Testing Table 3. Water level and container Day Interval Delay Capacity Distance Pump Relay Status Sunday Available 1 cm Monday Available 1 cm Off Tuesday Available 1 cm Off Wednesday Available 2 cm Off Thursday Available 2 cm Off Friday Available 3 cm Off Saturday Available 1 cm Sunday Available 2 cm Monday Empty 2 cm Tuesday Available 1 cm Off Wednesday Available 1 cm Off Thursday Available 1 cm Off Friday Available 1 cm Saturday Available 2 cm Off Sunday Available 1 cm The data table attached records the results of testing the water level system on the Aquascape. The sensor was set at a distance of 1 cm from the water surface, resulting in satisfactory performance. The delays identified are believed to be due to connectivity constraints between the microcontroller and the It is important to note that on the 9th day of testing, the water reservoir became empty. The system sent an automatic notification that the water reservoir was empty and required manual filling. After manual filling, the system activated the pump to replenish the water to a predetermined height. Testing the water level system went smoothly overall, although filling the water reservoir still required manual intervention. However, this evaluation presents a favorable outlook on the system's ability to detect and respond to water levels, as well as its capacity to overcome connection constraints. Additional evaluation may be necessary to enhance the automation of water filling. Conclusion Based Previous research suggests that the success of the Aquascape system is largely dependent on the implementation of the Internet of Things (IoT) as a key infrastructure. The presence of the Website. ESP32 Microcontroller. WiFi connection, and Firebase as a Database in Aquascape maintenance highlights the shortcomings that IoT can overcome. Without IoT. Aquascape maintenance requires repetitive manual actions, such as manually setting lights. The major concerns are the risk of user forgetfulness and the potential for exceeding the recommended light limit for Aquascape. IoT offers solutions by enabling more efficient monitoring and management. For future development, focus should be on battery solutions as backup in the event of a power outage and system functionality under offline Improved connectivity is also a priority to overcome possible delays that may arise. Considering the drawbacks of Aquascape without IoT support, the development of this technology is expected to overcome these barriers and improve the overall effectiveness of the system. Acknowledgements The author is grateful to his friends and Yogyakarta University of Technology for helping in the development and research of this project. References