Btw, I am running a m5stickc with Tasmota to monitor my EG4LLv2 batteries. I use the Modbus TCP bridge and query the data and publish from another machine (the one that runs HA). The code is on GitHub at
https://github.com/gonzalop/wombatt (screenshot and HA dashboard YAML
here). It supports Modbus RTU, Modbus TCP and direct serial connection to the batteries. For inverters, I use the same tool but through a TCP to RS232 bridge running on an Atom lite.
Adding support for lifepower4 should be straightforward, but I would need someone who is willing and able to test things (nothing destructive, the monitoring command only issues 'read register' Modbus commands).
View attachment 176700
The pic shows the M5Stick with an RS485 hat, and 2 atoms with the RS232 interface, one for each inverter, and a USB hub powered by a small battery. The RS485 hat is connected to a wago where all the batteries RS485 wires are plugged into.