Issue |
E3S Web Conf.
Volume 570, 2024
International Conference of Technology on Community and Environmental Development (ICTCED 2024)
|
|
---|---|---|
Article Number | 01005 | |
Number of page(s) | 9 | |
Section | Green Technology | |
DOI | https://doi.org/10.1051/e3sconf/202457001005 | |
Published online | 18 September 2024 |
A Practical Implementation of RESTful API and WebSocket Protocol for Power Efficiency Monitoring: A Case Study at Muhammadiyah Orphanage
1 Department of Electrical Engineering, Faculty of Engineering, Universitas Muhammadiyah Yogyakarta, Bantul City 55183, Indonesia
2 Center of Artificial Intelligence and Robotic Studies, Research and Innovation Institute, Universitas Muhammadiyah Yogyakarta, Yogyakarta, Bantul City 55183, Indonesia
3 Department of Computer Science and Information Engineering, College of Information and Electrical Engineering, Asia University, Taichung City 41354, Taiwan
4 Department of Medical Research, China Medical University Hospital, China Medical University, Taichung City 41354, Taiwan
Power efficiency needs to be monitored to avoid adverse effects on electricity users, particularly those with significant inductive loads. However, current monitoring devices are limited in their ability to continuously record data and represent outputs effectively. This study designs an IoT-based reactive power and power factor monitoring system using a RESTful API for electrical equipment at a Muhammadiyah orphanage. The proposed system utilizes the PZEM-004T as the power sensor, the ESP32 microprocessor as the data processing unit, and a web server as the interface for settings and data visualization. Measurement records for reactive power and power factor can be stored in internal data storage. Additionally, remote monitoring can be conducted via WebSocket protocol and the Telegram application. The system has been tested by comparing reactive power, power factor, kWh, and cost with a standard power meter. The results demonstrate that the sensor exhibits an error of 9.02% in current measurement and 1.106% in active power measurement, with an average delay of 0.137 seconds via WebSocket-based server and 1.359 seconds using Telegram application.
© The Authors, published by EDP Sciences, 2024
This is an Open Access article distributed under the terms of the Creative Commons Attribution License 4.0, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.
Current usage metrics show cumulative count of Article Views (full-text article views including HTML views, PDF and ePub downloads, according to the available data) and Abstracts Views on Vision4Press platform.
Data correspond to usage on the plateform after 2015. The current usage metrics is available 48-96 hours after online publication and is updated daily on week days.
Initial download of the metrics may take a while.