Alternating current AC/DC Converter Driver Relay Voltage Sensor Arduino Current Sensor LCD RF Module Load Start Timer Interrupt for 2 ms Analog to Digital converter from voltage and current sensor Take 10 samples from 2 analog signals Analog to Digital converter and multiply with factors Calculate the magnitude using DFT Calculate the peak voltage Calculate the root mean square voltage Analog to Digital converter and multiply with factors Calculate the phase using DFT Calculate the phase using DFT Calculate theta 2 Calculate theta 1 Calculate theta=theta 1theta 2 Calculate PF=cos(theta) Calculate power consumption Calculate Energy consumption Calculate the magnitude using DFT Calculate the peak current Calculate the root mean square current RTC RF Module ESP8266 Important features of most energy management systems. System Choi et al. Shie et al. Babu et al. Chen et al. structure Smart office Smart energy monitoring system Intelligent home controller Smart home purpose Architecture Control the PC's status of power and the lights' on/off switch BLE beacons, smart plugs, and a mobile app are used in this positioning strategy. Different techniques for scheduling smart plugs in HEMS Smart energy monitoring system A remote interface controller with customer load choices. It bases its decisions on dynamic tariff rates that use fuzzy logic. Reduce electricity costs while still considering customers' needs. HEMS GPS, sensors, bio-sensors Cost-saving average energy savings of 31.9% for the PCs and 15.3% for the lights Not specified Not specified Electricity cost can be reduced 14% on average