home-assistant / core

:house_with_garden: Open source home automation that puts local control and privacy first.
https://www.home-assistant.io
Apache License 2.0
69.99k stars 29.07k forks source link

SolarNet doesnt work #115220

Closed dan87aut closed 3 months ago

dan87aut commented 3 months ago

The problem

As of today, the solarnet entities are no longer displayed.

Sensor.Solarnet_self-sufficiency

Sensor.Solarnet_own consumption

Sensor.Solarnet_performance_from_network

What version of Home Assistant Core has the issue?

core-2024.4.2

What was the last working version of Home Assistant Core?

core-2024.4.2

What type of installation are you running?

Home Assistant OS

Integration causing the issue

Fronius SolarNet

Link to integration documentation on our website

No response

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

home-assistant[bot] commented 3 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!

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. - `@home-assistant add-label needs-more-information` Add a label (needs-more-information, problem in dependency, problem in custom component) to the issue. - `@home-assistant remove-label needs-more-information` Remove a label (needs-more-information, problem in dependency, problem in custom component) on the issue.

(message by CodeOwnersMention)


fronius documentation fronius source (message by IssueLinks)

farmio commented 3 months ago

Hi πŸ‘‹! There have not been any changes to fronius code lately. It also works as intended on my test systems. What exactly do you mean by "solarnet entities are no longer displayed"? They should be visible here Open your Home Assistant instance and show your devices. -> Fronius -> SolarNet

If you like, you can check your inverter/dataloggers response with

curl "http://$FRONIUS_IP/solar_api/v1/GetPowerFlowRealtimeData.fcgi"
dan87aut commented 3 months ago

Hi, this is the Answer: { "Body" : { "Data" : {} }, "Head" : { "RequestArguments" : {}, "Status" : { "Code" : 255, "Reason" : "Internal error.", "UserMessage" : "" }, "Timestamp" : "2024-04-10T09:39:59+00:00" } }

dan87aut commented 3 months ago

image

I have now completely deleted the integration and reactivated it, but no difference

There was maintenance work at solarnet.com 2 days ago

Since then, these entities have no longer been displayed.

The values ​​are available in solarnet.com and also in solarnet local.

farmio commented 3 months ago

Internal error

🀷 Maybe try updating the firmware or something like that. Otherwise contact Fronius support. There is nothing HA can do at this point.

We don't use solarweb.com in the integration.

dan87aut commented 3 months ago

Thank you

I don't use solarweb.com either.

As already mentioned, there was maintenance work in the last few days and since then that is exactly what no longer works, everything else works.

I have HA and all integrations as well as the inverter on the latest version

dan87aut commented 3 months ago

I have now completely uninstalled the integration and reinstalled it.

Now I no longer see any entities displayed on SolarNet.

Smart meters and solar power are available.

But unfortunately not SolarNet.

I don't understand what it is.

LOG-DEBUGING: 2024-04-10 12:34:58.003 DEBUG (MainThread) [homeassistant.components.fronius] Finished fetching fronius_meters_192.168.178.140 data in 0.026 seconds (success: True) 2024-04-10 12:34:58.003 DEBUG (MainThread) [pyfronius] Get current system ohmpilot data for GetOhmPilotRealtimeData.cgi?Scope=System 2024-04-10 12:34:58.019 DEBUG (MainThread) [pyfronius] Converting system ohmpilot data: '{}' 2024-04-10 12:34:58.020 DEBUG (MainThread) [homeassistant.components.fronius] Finished fetching fronius_ohmpilot_192.168.178.140 data in 0.017 seconds (success: True) 2024-04-10 12:34:58.020 DEBUG (MainThread) [pyfronius] Get current power flow data for GetPowerFlowRealtimeData.fcgi 2024-04-10 12:35:10.542 DEBUG (MainThread) [homeassistant.components.fronius] Finished fetching fronius_power_flow_192.168.178.140 data in 12.522 seconds (success: False) 2024-04-10 12:35:10.543 DEBUG (MainThread) [pyfronius] Get current system storage data for GetStorageRealtimeData.cgi?Scope=System 2024-04-10 12:35:10.562 DEBUG (MainThread) [pyfronius] Converting system storage data: '{}' 2024-04-10 12:35:10.562 DEBUG (MainThread) [homeassistant.components.fronius] Finished fetching fronius_storages_192.168.178.140 data in 0.019 seconds (success: True)

dan87aut commented 3 months ago

Hello farmio,

I asked Fronius and they haven't changed anything in the API either.

I'm really at a loss as to why these values ​​(current performance, current self-consumption, etc.) are suddenly no longer being transmitted.

Can anyone help me here?

farmio commented 3 months ago

There are multiple API endpoints. The mentioned entities come from the one I posted above. It yields an "Internal Error". From my perspective only Fronius support can help you there.

Maybe a restart of the device / datalogger (depending on your installation) can fix it too, I don't know. You seem to be the first and only one to encounter this issue.

dan87aut commented 3 months ago

Thanks, I just turned off the inverter and turned it back on after about 10 minutes. (completely unplugged)

It works again

thank you very much again