Modbus growatt meter chint dsu666 emulator

I have a P1 digital meter i'm reading this out with smartmeter, I also have growatt and recently installed batteries, .. but rather then installing a new chint one meter I've made emulator that reads the values from the p1 meter and allows you to use that to do the and sends them back to the system through a modbus convertor that emulates the chint meter.

The effect.

This has a config and is able to get items from homeassistant and emulate the meter