A Smart Power Monitoring device, is intricately crafted, focusing on accuracy and versatility in tracking electrical parameters, such as voltage, current, power, and energy consumption.
This device is intended to function with alternating current (AC) and to monitor various electrical parameters.
- Current
- Voltage
- Frequency
- Power Factor
- Realtime Power Consumption (Watt)
- Store Power Consumption (Watt-hour)
This device was built with ESPHome and is intended to work with Home Assistant.
- ESP32 DevKit V1 MCU
- PZEM-004T V3
- SSD1306 OLED Display Module
- HiLink HLK-5M05 AC/DC Buck Converter 100-240 VAC to 5 DC 1A(5W)
PZEM-004T V3 Pin | SSD1306 OLED Pin | HiLink AC-DC Pin | ESP32 Devkit V1 Pin |
---|---|---|---|
RX | ❌ | ❌ | TX2 |
TX | ❌ | ❌ | RX2 |
❌ | SCL | ❌ | D22 |
❌ | SDA | ❌ | D21 |
❌ | VCC | ❌ | 3V3 |
VCC | ❌ | VOUT➕ | VIN |
GND | GND | VOUT➖ | GND |
- Ensure ESPhome and File Editor add-ons are installed on your Home Assistant instance.
- Ensure that your ESPHome
secrets.yaml
file is up to date. - Using the File Editor add-ons, upload the
esp-energy-meter.yaml
config file along withmaterialdesignicons-webfont.ttf
font file on theconfig/esphome/
. - Using the ESPHome dashboard, modify the
esp-energy-meter.yaml
and replace the redacted part of the config file. - Build and upload the firmware to your device.
- Now, you can integrate the device into your Home Assistant.