MarkusHarmsen / esp-meter

ESP-Meter
MIT License
1 stars 0 forks source link

ESP-Meter

This project is a little ESP32 which is used at home to monitor my

The "meter" values are published to MQTT including Home Assistant Discovery messages. On top of that, I also emulate an Eastron SDM230 via Modbus to be able to limit energy export from my Growatt Inverter.

Disclaimer: this project does not claim to be a full product but is rather a place to document and share my findings in case anybody is interested.

Screenshots from Home Assistant

Home Assistant Energy Dashboard

Schematics

Badly laid out schematics

Plugins

The individual "meters" are structured in a lame /plugins/structure.

Water Consumption

I have a regular water meter without any smartness or magnets attached. But it has a small wheel with reflective foil which is used to detect turns.

Used Hardware

Approach

Gas Consumption

I have a non smart gas meter. Luckily it as a small magnet in one of the ending digits.

Used Hardware

Approach

Power Consumption

My Smart-Meter eBZ DD3 already has an optical output interface which can be read out using a photo-diode.

Used Hardware

Approach

Eastron SDM230 Emulation

The Growatt inverter can use the Modbus to communicate to SDM power meters. This plugin emulates an SDM230so the inverter can limit its power output and not feed too much into the grid.

Used Hardware

Approach

Known issues

While the general data looks fine on Growatt Cloud (and export limiting works), the inverter seems to overshoot quite some times and bounces around the limit.

Screenshots from Growatt Cloud

Growatt cloud

Growatt cloud shows detected meter