UPDATE
checkout new PCB to facilitate building the eNode here
Table of Contents
eNode is a device based on ESP8266 and PZEM-004 that measures energy and/or temperature and delivers data to a MQTT broker and/or Emoncms. eNode is modular meaning you can start with a simple energy module a go up to a true 3-phase energy monitoring system, along with temperature detecton of up to 10 digital temperature sensors. Data is delivered through WiFi and configuration is done in it's own web page.
Energy meter:
- Based on cheap Peacefair PZEM-004
- Very accurate readings
- Energy direction possible with chip hack on first PZEM-004
- up to 3 independent PZEM-004 per device
- Volt, Ampere, RealPower
Temperature meter:
- Based on cheap 1-wire DS18B20
- up to 10 DSB20 digital 1-wire temperature sensors
- Device addresses managed on the setup page
Relay:
- MQTT controlled relay
ESP8266:
- Easily configurable from web page
- Delivers JSON formatted data to local/remote MQTT broker
- Delivers data to local/remote Emoncms server
- change refresh rate on demand
Qty | Item | Function |
---|---|---|
1 | wemos D1 mini | node |
1 | PSU 230VAC to 5VDC | node |
1 | DC/DC 5V to 3.3VDC | node |
3 | PZEM-004 | Energy |
3 | R=510OHM | Energy |
10 | DS18B20 | Temperature |
1 | R=4.7K OHM | Temperature |
1 | D1 relay shield | Relay |
This is the first attempt to play with eagle, it's no perfect but makes the bulding of the eNode a breeze compared to what can be seen on the build examples. I can give away these boards for a simbolic fee, with or without the smd parts.
The PCB facilitates connections to all three PZEMs, relay and temperature sensor network and makes the direction hack easier to achieve, only 2 wires are needed from the PZEM board.
- Load Arduino's
WebUpdater
example sketch to the ESP8266 - Upload the appropriate firmware located on the
/bin
folder to the ESP8266 - Access eNode at
SSID:APRENODE / PASSWORD:12345678
/http://1.1.1.1
- Configure
local WiFi settings
,enode name
and reboot - Navigate to
http://<eNode name>.local
orhttp://<eNode IP address>
- make sure all temperatures sensors are correctly mapped on the sensor positions
- make sure to indicate the correct number of energy sensors
- check direction if you have a hacked PZEM
- Configure
MQTT broker
and/orEmoncms
account - enjoy!
Warning: this is a compact frugal build with no isolation between the ESP8266 and the mains!
Donate if you enjoy the firmware and would like to see this project develop.