Since a month or so I have solar panels in combination with a Enphase Envoy-S gateway. Since the standard Envoy HA integration doesn’t support the newest firmware (0.7x) I created a Python application/script that uses the gateway API (currently the ‘local’ one, so not (yet) through the Enphase ‘cloud’ API) to get data out (currently, the current power and the energy during the day).
This data is then posted to a MQTT topic which can be used in combination with the MQTT integration in HA to populate the energy dashboard.
Let me know what you think of it.