There are a few projects out there that connect directly with your inverter to get some data. Someone over on DIYSolarForums asked if there was an API for the web. There's only a B2B API at the moment, so I decided to write a Python wrapper for people to be able to query their inverter and battery data vis the web (Monitor.eg4...).
Then I decided to use that to try to create my first Home Assistant integration/Custom Component. Note that I only have access to a single 12000XP so YMMV!
....
ok so the first attempt at custom integration has started...Feel free to try it out