Hi All,
At my parents house we have two sets of solar panels and inverters together with a Homewizard P1 meter set up.
One of the Inverters is an IP based Growatt min 2500tl-xe which is integrated in Home Assistant.
There is also a non IP based older inverter which does not have any TCP/IP based way of communicating with Home Assistant (that I am aware of).
In my energy dashboard configuration I currently have the following setup. See attachment called Dashboard config.
For Grid consumption I use the P1 Meter's energy import T1 and T2
For Return to grid i use the P1 Meter's energy export T1 and T2.
The Solar panels I have used the Growatt inverter's energy generated today.
When I look at the energy dashboard I have the following overview. See attachment Dashboard overview.
When I take a look at the energy dashboard overview, I notice that the solar generated is 5 kWh but the total exported to the grid is 7.6 kWh. Which makes sense because that is the solar generation of the Growatt inverter + the non TCP/IP based inverter.
Problem:
I wanted to create a new sensor/entity to monitor the non IP/TCP based inverter and add it as a solar panel in the dashboard so I can see both sets of solar panels and inverters are working alongside their solar forecasts and such. But I am not able to create a sensor/entity solely for the non IP/TCP based inverter.
What I have tried:
I tried to create a template sensor which subtracts the P1 Export from the daily generated solar power from the Growatt but the P1 entities are lifetime incremental additions which do not reset and the solar panel production entity is a daily sensor. There is a lifetime sensor for the Growatt Inverter but I am now confused which to use in the dashboard config.
I have tried to create a template sensor and use the following code to make a template sensor just for the non IP/TCP based inverter but I did not get the correct results.
Please check the attachments for sensor data.