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
https://github.com/twistedroutes/eg4_inverter_ha
using the api from
https://github.com/twistedroutes/eg4_inverter_api
Done:
ToDo:
Really appreciate this! Happy to help package for HACS or just buy beer.
@galvan TY. I think much more testing and a bit more development is require before HACS. Hoping some people try it out so I can make it useful for people other than myself 🙂