Hi Folks,
I have integrated the seven standard data points provided by GE into my solar spreadsheet:
Solar To Home, Solar To Battery, Solar To Grid, Grid To Home, Grid To Battery, Battery To Home and Battery To Grid
I sum them by month. I like it. I pretend it matters!
Soon, there's a strong chance these stats will no longer be available to me and I'd like to reproduce them in Home Assistant.
Has anyone done this work already and would you be prepared to share the code?
I've started, but it is a lot more complex than might first appear.
For example - Solar to battery. How hard can it be? If the battery's charging and the sun's out then add the charge rate to a utility meter.
But wait...
What if solar is generating more than my battery can consume?, maybe take the minimum of the Battery Charge and PV Generation.
But wait...
What if it's an Octopus freebie session, then some of that charge might be from the grid. I think I just have to ignore this scenario, the solar is going "somewhere" but there's no telling where. I can accept this, but unless I handle it gracefully I'm in danger of double counting because the same situation exists with Solar to House. So only one of these Utility Meters should take the solar kW during this scenario.
Someone here will already have thought all this through and could save me the headache.
Any generous, brainy folk out there?
Thanks all.
