I have the same problem. It’s not every day, but it’s very enjoying because it messes up all graphs.
I’m trying to figure out what causes it, but no luck.
I nog have installed hass in a VM (previously is was in a docker) with the same configuration and the problem also exists there
I have the same and now the database is kinda fucked up.
i found out that in the Database the ‘sum’ count is the problem. (i changed the value’s, but it gets back)
if you use this query, u can see the differents with the sum value :
SELECT * FROM “statistics” WHERE metadata_id >=‘xxx’ AND start like ‘2022-01-27 %’
ORDER BY created desc LIMIT 100
see posts above, there is a user and a installer login. (u can find default pwd’s online)
If that is not working u have to ask the installer for the PWD’s…
@Nicko1 did u fix it, because stats (long term) are fucked up now…
i have corrected them in the DB it self and this worked for a couple of days.
But when the entity fails again, it’s again fucked up, the counter is not correct.
i don’t use a SMA EM but just the HA integration, which works great just this part is not ok.
My SMA EM and SMA Inverter are both fixed connected to the local LAN. In my inverter I see a modbus/speedwire connection to the Energy Meter. So there’s a lan-switch in between.
hi i have succesfully implemented the addon
i can see all sensors.
i hav a question about these 2:
pv_power_a
Pv_power_b
I suppose i need to count both value together and then it should get the active power the panels are producing?
howeverr if I check my inverter by ip (webinterface) , and check the current power there is a difference: (432W on webpage → but sensors are:pv_power_a:236W and pv_power_b:264W = 500W)