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.
The individual "meters" are structured in a lame /plugins/
structure.
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.
I have a non smart gas meter. Luckily it as a small magnet in one of the ending digits.
My Smart-Meter eBZ DD3
already has an optical output interface which can be read out using a photo-diode.
The Growatt inverter can use the Modbus to communicate to SDM power meters. This plugin emulates an SDM230
so the inverter can limit its power output and not feed too much into the grid.
Power Consumption
pluginWhile 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.