Closed kgiedrius closed 5 months ago
Hey there @farmio, mind taking a look at this issue as it has been labeled with an integration (fronius
) you are listed as a code owner for? Thanks!
(message by CodeOwnersMention)
fronius documentation fronius source (message by IssueLinks)
Hi 👋! This should already be fixed by https://github.com/home-assistant/core/pull/102270 back in November 23. I'd need more detailed infos about what happened there to see why this didn't work for your specific case. Anyway, be sure to have your inverter and datalogger updated to the latest firmware version.
strange, but probably fix is not working or still not in release ? My inverter is Fronius Symo and there was no firmware update or power outage when this spike in data happened.
should I provide any other information to help solving this case ?
The fix was in the November 2023 release. I run 2 Symos and none of these shows such behaviour - nor did they before November. So I don't really have any lead to start investigating.
I would probably require lot more info like API responses when such happens. What exact entity are you using for your energy dashboard (to which HA device does it belong)? What firmware is running on the inverter and Datalogger?
The issue was with latest and with 1 year old firmware. now both firmwares are latest.
Energy dashboard configuration:
But as I understand if values which are: < 1 or null or false could be skipped - it can solve the issue in general.
Or maybe you can add check in code that if total energy is less than previous value - do nothing or etc.
by the way why you use solarnet when Fronius itself has json api with much more data ?
The integration does only use Fronuis json API (SolarAPI). SolarNet is their underlying internal Modbus communication - the json API feeds from that. We don't use their cloud thing called SolarWeb (there is a custom component that does).
Not values <1
, but values 0
or null
are skipped.
I can't see which HA device this entity is from. Make sure it is the inverter device, not the SolarNet device.
here is device:
yeah, that's the one to use.
look at the recorder amount in both images (when issue happened):
it was not timeout or 0 it was 10x less for 1 datapoint and then restores.
this value is from api ? if yes its very strange how it became 10x smaller for a moment:)
in db it looks like this (accuracy become 5 digits instead of 3):
Well, it looks like it came from the API. You should probably consult Fronius support with this issue. I don't think there is anything I can do at this point.
from this api? /solar_api/v1/GetInverterRealtimeData.cgi?Scope=Device&DataCollection=CumulationInverterData&DeviceId=1
or which call you use?
it uses /solar_api/v1/GetInverterRealtimeData.cgi?Scope=Device&DeviceId=1&DataCollection=CommonInverterData
not "CumulationInverterData".
but from this api call response I see that total_energy is integer (watt hours), not float, so can't it be wrong divider used in Home assistent, because in DB it is converted to kwh from wh
can't it be wrong divider used in Home assistent, because in DB it is converted to kwh from wh
I don't see why this would be a thing. Before doing guesswork, it would be better to log the API responses until the issue occurs again.
logger:
default: info
logs:
# homeassistant.components.fronius: debug
pyfronius: debug
Hello, since yesterday I no longer see current power (grid or PV) or self-sufficiency displayed in Home Assistant (SolarNet).
Does anyone else have this problem?
@dan87aut your comment doesn't look like its related to this issue. If you think you found a bug, please open a new issue. For support questions please head to the community forums.
There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. Please make sure to update to the latest Home Assistant version and check if that solves the issue. Let us know if that works for you by adding a comment 👍 This issue has now been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.
The problem
I use sensor.symo_17_5_3_m_1_energy_total value in home assistant Energy dashboard and from time to time (a few times a year) ir corrupts energy dashboard statistics. What I found in this sensor charts that at the moment when data corrupts it becomes 0 value and in next datapoint restores. In this case Home assistant Energy dashboard generate statistics from 0 - to restored value.
How it looks after data issue:
How is should look:
What version of Home Assistant Core has the issue?
2024.3.0
What was the last working version of Home Assistant Core?
same issue with older versions
What type of installation are you running?
Home Assistant OS
Integration causing the issue
Fronius component / Energy dashboard
Link to integration documentation on our website
https://www.home-assistant.io/integrations/fronius/
Diagnostics information
No response
Example YAML snippet
No response
Anything in the logs that might be useful for us?
No response
Additional information
No response