core
core copied to clipboard
Fronius Gen24: Wrong value for solar production
The problem
The value for solar production in Home Assistant is always about 300Wh lower than in Fronius Solarweb. According to Solarweb I produced 10,25kWh yesterday - according to Home Assistant 9,88kWh. The day before: Solarweb 9,47kWh - Home Assistant 9,14kWh. As source for the solar production I use the "Energy total" value from the inverter. (Symo GEN24 8.0 Plus - Newest Firmware)
What version of Home Assistant Core has the issue?
core-2023.10.3
What was the last working version of Home Assistant Core?
No response
What type of installation are you running?
Home Assistant OS
Integration causing the issue
Fronius
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
All other values from the Fronius devices (Smart Meter, Ohmpilot) correspond 1:1 with the values from the Solarweb app. Only the total consumption differs by the amount that is also missing in solar production.
Hey there @nielstron, @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!
Code owner commands
Code owners of fronius
can trigger bot actions by commenting:
-
@home-assistant close
Closes the issue. -
@home-assistant rename Awesome new title
Renames the issue. -
@home-assistant reopen
Reopen the issue. -
@home-assistant unassign fronius
Removes the current integration label and assignees on the issue, add the integration domain after the command.
(message by CodeOwnersMention)
fronius documentation fronius source (message by IssueLinks)
Hi 👋! Do you have a battery?
Hi 👋! Do you have a battery?
Hi,
No battery. Gen24 --- SmartMeter --- Ohmpilot
I just checked my HA energy dashboard values for solar production against the Fronius ios App. These are exactly the same values for the last couple days (apart from showing a decimal less). As source, I too use the inverter devices total value.
I can't really say where these differences come from. You could collect API responses 2 days after sunset and compare the values manually. If they still differ, you could send these responses with your question to Fronius support.
FRONIUS_IP=192.168.1.2 # your inverters ip
curl "http://$FRONIUS_IP/solar_api/v1/GetInverterRealtimeData.cgi?Scope=Device&DeviceId=1&DataCollection=CommonInverterData" -o "inverter_result.json"
saves the response to a inverter_result.json
file.
Just collected the API response (1 hour before sunrise) and I'll do the same tomorrow. When I check the device total value from the inverter in Home Assistant over the last few days it's exactly the offset I got compared to Solarweb. I have no idea what could be the reason for that... :(
Does anyone have a Fronius Gen24 and can confirm that the solar production values match those from the Solarweb app?
Looking through my data, solar.web seems to report 2.5% more than the energy dashboard which is using the "PV xxx total energy" entity value. I have a Gen24 without a battery (yet).
Looking through my data, solar.web seems to report 2.5% more than the energy dashboard which is using the "PV xxx total energy" entity value. I have a Gen24 without a battery (yet).
Thanks for your input! So this sounds like the same problem I have.
@farmio Seems like in the API the AC power is passed, in Solarweb the DC power is displayed. Any way to fix this in the Fronius Integration so that the value is like the one on Solarweb?
We can only work with the values we get from the API.
That said, we don't know for sure if your AC / DC theory is true. The only way to find out is to ask Fronius support. But even if it was, I guess users would still be more interested in AC energy (after inverter loss) as this is what can be used/sold.
We can only work with the values we get from the API.
That said, we don't know for sure if your AC / DC theory is true. The only way to find out is to ask Fronius support. But even if it was, I guess users would still be more interested in AC energy (after inverter loss) as this is what can be used/sold.
Guess you're right! Can you talk to Fronius regarding the AC/DC thing and if there is a way to display the same in HA Energy Dash and in Solarweb?
I guess that is on you. I don't have any differences on my Solarweb compared to HA - probably because I don't have Gen24. So I could not even provide example data for them. I also don't have any sort of special channel to Fronius employees 🤷
I guess that is on you. I don't have any differences on my Solarweb compared to HA - probably because I don't have Gen24. So I could not even provide example data for them. I also don't have any sort of special channel to Fronius 🤷
Ah ok - I thought you were in contact with Fronius because of the HA-Integration many times before.
The integration includes a "SolarWeb" device - Can you pull data from Solarweb directly for the Integration? I saw there is also an "Energy_total" entity, but it shows the same value as the one from the Gen24 inverter. Maybe you can get the solar production directly from Solarweb?
It's a "SolarNet" device 😉 that's their term for their local device connection (Modbus based). We currently don't use Solarweb at all. There is an API and also a custom integration for that though. https://github.com/drc38/Fronius_solarweb
I confirm that HA integration shows approx. 300-360 W lower stats of energy production and consumption compared to SolarWeb on GEN24.
Hello, i got a aprox. difference of 300W as well (4651W vs. 4970W , see attached screenshots) Additionally the values for production and consumption seem to be swapped in HA. Is there any configuration file to fix this? I'm using a fronius Symo GEN24 and a SmartMeter.
Thanks.
@schemart this looks like a wrong configuration of energy panel entities.
OK, but the only display I configured myself is the daily resetted "Erzeugte Tagesenergie". Te others are as they were. Ist there a configfile to change the assignments?
Tx.
Settings -> Dashboards -> Energy
Have a look at the integration documentation for the recommended entities to use.
Thanks, :) I just clicked too much at the right side every time and got the energy display but not the configuration. Sorry I just started wit HA. Thanks again !
Looking through my data, solar.web seems to report 2.5% more than the energy dashboard which is using the "PV xxx total energy" entity value. I have a Gen24 without a battery (yet).
Did anyone of you contact fronius with regard to that issue? I have the same, solarweb reporting almost 5% more than solar net.
I also checked the values obtained via Modbus (ActWh register for total energy) which reads exactly the same as solar net.
So definitely not an issues with this integration.
Seems like in the API the AC power is passed, in Solarweb the DC power is displayed.
Can confirm this, the "DC lifetime energy" registers (MPPT1+2) sum up exactly to the SolarWeb value.
What I find misleading, is that SolarWeb mixes DC and AC energy values in the balance graphs (AC for energy delivered to the grid)
Btw, while "energy to battery" matches "DC charged energy" register in Modbus, the "energy from battery" value in SolarWeb consumption page does not match "DC discharged energy" register - so far I have no clue where this discrepancy comes from...
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.