thanks for pointing this out and referring me to the docs. I have added another Riemann Sensor, which uses the power photovoltaics. AFAIK this is the DC power, not the AC power.
If a battery is connected to an inverter: Use Riemann sum over Power photovoltaics entity (from your SolarNet device).
In you screenshots you can see that at about 9 oâclock there is a wrong interpretation.
There is no self consumed solar power and negative battery discharging.
Does your template sensor take into account, that there is missing energy because of the battery efficency? I donât have the two byd sensors so i canât tell if they work as I expect.
But if they come from the integration you have the energy total sensor which updates every 10sec and the other two which update every minute, so the sensor has even less accuracy but still a correct total, which could produce problem with historic data.
The accuracy of the riemann is low, but you can use a modbus sensor to optimize that, but still your dashboard seams to be wrong.
The check if the total daily numbers are correct you have to calculate yourself which are more accurate, but just because your sensor has a higher value doesnât mean it is more accurate.
I integrated my battery with the settings from the first post. I do not really remember the reason I put in kW instead of w. Until May 9th, everything was fine. Between 9 and 10 PM, the numeric value of kWh went up by 1000x.
I (partly) solved the Problem by switching from âKWâ to âWâ in âconfiguration.yamlâ
The values are now looking good. The problem is the wrong energy history for the battery. Any idea how to âbulkâ edit the wrong values? Thatâs a lot of data to correct with the statistic function in the developer toolsâŠ
I would have to manually correct all data points between May, 9th and today?!
Another thing is that there are two readings on May, 20th that are even higher. I tried to edit this in the statistic function, but I couldnât find the values for that time. I only see 5-Minute intervals (where I already manually edited 22:05 and 22:00, which did not resolve the problem). The exact timestamps (22:06:47 and 22:07:44) are not shown there.
Grr⊠I just wrote a nice message to say itâs working⊠And after checking it, itâs not working at all. I might as well chuck random numbers at it
A lot of different configurations and problems are discusses already. But did somebody have an complete Guide or a blog how to integrate fronius in the energy dashboard with battery etc. ?
Just a heads up: in the coming release 2024.7 there will be a bunch of new entities.
The signed power entities of Fronius API will be split up to 2 separate entities (positive and negative part - eg. charging/discharging). Therefore less template entities will be needed then (max(0-..., 0)).
The old signed entity will just be available as before for backward compatibility, but on new installations disabled by default.
Since it is beta phase now (until Wednesday) you may have a look at Lokalise and search for âfroniusâ to have decent names right from the start for everyone (especially if you know other languages than English or German). https://developers.home-assistant.io/docs/translations
I have still some questions regarding all the entities showing up.
I have 2 inverters, Symo and GEN24. That means I have 2 SolarNet devices, the 2 inverters itself as separate devices the BYD batterie and my smart meter.
Did I understood right, that I need a helper to sum up the PV power from Symo and GEN24? The same for PV energy?
In one SolarNet device I see the entity âsensor.solarnet_leistung_generatorâ and the entity âsensor.solarnet_verbrauchsleistungâ What is this?
Thanks for all the help here @csett86 . Am I correct to assume that the integral is always for the past 24hours (rolling window)? Or is it always counted from the beginning of the day?
The integral calculates the time elapsed since the last update of the source entity and the value. So if it updates 1 kW after 1 hour thats 1 kWh. But 1 kW every 15 min is 0.25 kWh.
If you want a reset every day use the Utility Meter
You should be using Riemann sum integral.
Now you are just assigning the wrong unit and device class (kWh instead of kW). This will not work in energy dashboard.