**2. Background**

Electricity demand has increased recently, and with the advancement of technology, many impulsive and nonlinear loads have been widely used in distribution networks. Similarly, the accuracy of energy metering is an important basis for the normal operation of the power grid. At present, not only power supply enterprises attach great importance to the development of electric power measurement technology, but also power users, large factories, and enterprises attach great importance to its development [9]. For example, Neve et al. [4] designed an IoT energy monitoring system, which consists of a PZEM-004 T-module-integrated thermocouple (TC) sensor, SD3004 electric energy measurement chip, and a Wemos D1 ESP8266 mini microcontroller for communication. The measurement data are sent to the database server via MQTT. As a result, they generated graphs in Grafana (dashboard) of voltage, current, and power of an electric furnace to demonstrate the operation. Likewise, Dharfizi [10] designed an IoT-based real-time energy monitoring system. It is composed of Raspberry Pi, which uses RS485 communication and node. js programming language to collect data from industrial energy meters (Schneider EM6400NG and Elmeasure EN8400) existing in the study company and store them locally. Therefore, they used Grafana (dashboard) to generate graphs showing the measured values of voltage, current, power, generated consumption, and current harmonics. Similarly, Tahiliani and Dizalwar [11] designed and implemented a minimalistic smart energy meter consisting of a microcontroller, an ACS712 current sensor, a Wi-Fi module, and an organic light-emitting diode (OLED) display. As a result, they generated graphs of nominal power and power consumption of some household appliances on the ThingSpeak platform, which is limited to connect multiple channels in its free version. In the work presented by them, a multi-interface smart energy meter communication following an IoT approach was proposed and demonstrated [2]. The electric meter is composed of an MSP430 processor, which reads parameters from the power grid, collects data such as voltage and current, and sends them to TM4C (processor) through UART (microcontroller). TM4C (processor) sends the data to nodeMCU through UART (microcontroller), which can perform post MQTT. Finally, the voltage, current, and power data are displayed in bar graphs. As a limitation, the device has internal memory capacity to store consumption data for the last 60 days of operation [12, 13].

In the work developed and specified in the article by Neve et al. [4], it is seen that they developed a module for measuring electrical variables in power transformers using IoT concepts. They used as materials a three-phase meter with the MODBUS RTU communication module, the MODBUS RTU to Transmission Control Protocol/ Internet Protocol (TCP/IP) converter, a development board with the IEEE 802.11 module, and noninvasive current sensors. Likewise, to load the related information to the database (NoSQL), it was used the MQTT protocol. As a result, the voltage and current measurements in the three phases are presented graphically, in addition to the measurements of active power, apparent power, reactive power, and the average power factor. All these data were captured in a time interval of approximately 2 hours with a time loop of 5 seconds [12, 13].

Some of the work presented was applied to verify point consumption, which, unlike the work carried out, is focused on macro consumption measurements in campus-type sites.
