Skip to content

ESP8266 and PZEM-004T based Power Meter

Notifications You must be signed in to change notification settings

keiser1080/PowerMeter

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PowerMeter

This repository holds a PZEM-004T and ESP8266 based power/energy meter. More information at: https://primalcortex.wordpress.com/2019/07/06/measuring-home-energy-consumption-with-the-pzem004t-and-esp8266/. Note that the master branch is for use with the PZEM-004T Version 2.0 that uses standard serial communications. The Version 3.0 uses modbus which does not work with this version.

The repository structure is as follows: The PowerMeter repository/folder contains the firmware for an ESP8266 and PZEM-004T based power/energy meter. This is the firmware that should be used to have a full functional ESP8266 based powermeter.

The PowerMeter is designed to use Wemos D1 ESP8266 boards.

The PZEM004T-Test repository contains a simple program for testing the ESP8266 to PZEM004 communications and the retrieving of data from the PZEM004T.

The Node-Red folder contains a flow that receives published telemetry data from the Power Meter, saves it on an InfluxDB database and creates a Node-Red Dashboard UI to show the latest collected data.

The Grafana folder contains a very simple grafana dashboard that retrieves data from the InfluxDB database and displays it. It's a no frills dashboard...

Screenshots:

Some screenshots of the PowerMeter working:

ESP8266 based Power Meter Web Interface:

The Node-Red UI:

The simple Grafana dashboard:

About

ESP8266 and PZEM-004T based Power Meter

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 81.1%
  • C++ 18.9%