torbennehmer / hacs-e3dc

Homeassistant E3DC Integration
GNU Affero General Public License v3.0
70 stars 8 forks source link

Add entities for energy production of individual strings #44

Open bullitt186 opened 1 year ago

bullitt186 commented 1 year ago

Checklist

Is your feature request related to a problem? Please describe.

I have Solar Panels on both sides of my roof. one facing to the east, one facing to the west. In order to get a good forecast of my PV production, i have set up two roofs in the Forecast.Solar Integration. However the forecast is not very accurate. I want to tune the parameters of the Forecast per roof and match it with the actual production. Therefore, I'd like to get the output of the individual strings so i can compare the the string output for each roof side with the forecast per roof side.

Describe the solution you'd like

Today, the Integration only delivers the combined power from the PV modules in sensor.s10x_solar_production. However the python_e3dc library delivers via get_pvi_data() a strings object:

"strings": { 0:
                        {
                            "power": <power>,
                            "voltage": <voltage>,
                            "current": <current>,
                            "energyAll": <energy all>
                        }

I'd like to have the energyAll per String as an entity in the E3DC HA integration.

Describe alternatives you've considered

I could hack a quick and dirty solution via node red or something similar but I like it neat and tidy and think others may benefit from this feature as well :-)

Additional context

Similar to the discussions on additional powermeters here, ideally there would be a way to identify the installed strings so that the entities can be created during configuration of the integration.

Diagnostics dump

No response

kwitt21 commented 1 year ago

I would also really appreciate the ability to display both strings/trackers separately with this integration in Home Assistant!

rhammeran commented 11 months ago

I would also be very pleased if this enhancement would be implemented