StephanJoubert / home_assistant_solarman

Home Assistant component for Solarman collectors used with a variety of inverters.
Apache License 2.0
544 stars 199 forks source link

Show just export to grid (excluded import) #374

Open lordvalium opened 1 year ago

lordvalium commented 1 year ago

How can i see the export to grid with the import excluded?

I assume in these variables is both combined?

image
Hetzi74 commented 1 year ago

What exactly do you want to get? Du you want to get kWh of exported energy to grid? (This is stored at sensor.solarman_energy_selling_today at least at my hyd-zss-hp-3k-6k.yaml for my inverter)

Or do you want to get the power at every minute. That is something you have to make some math with a template. Something like this i do:

template:

But this is still the combined case with export an import to grid combined. To get the export only you will have to add some if case around to just get the positive export values.

lordvalium commented 1 year ago

Thanks that worked.