Closed ornago closed 3 years ago
fronius documentation fronius source (message by IssueLinks)
Hey there @nielstron, 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)
Hey! I found the underlying issue. With the firmware update on the fronius device their API got less tolerant about a trailing /
in the configured resource
option.
After I changed my config to look like this ...
- platform: fronius
resource: http://192.168.0.181
monitored_conditions:
- sensor_type: meter
device: 0
- sensor_type: inverter
device: 4
- sensor_type: power_flow
... (mind the now gone trailing slash in the URL!) it worked fine. The fronius API after the firmware upgrade now being more strict about trailing slashes breaks the pyfronius
module used by the fronius
integration here. Hence, I want to say that this is definitely not an issue with Home Assistant Core, so I am closing this issue for now. I have been sitting together with a friend, providing a PR (https://github.com/nielstron/pyfronius/pull/28) to pyfronius
to be less strict about trailing slashes in the given device URL.
The problem
After upgrading the firmware of Fronius DataManager from 3.17.3-1 to 3.18.7-1 Home Assistant loses track of the fronius-related entities (they disappear from the whole system) and I observe the log entries provided in this issue.
My last working configuration (in
config/sensors.yaml
) is also providedI can see that the _solarapi is actually providing meaningful output, as I can query
http://192.168.0.181/solar_api/v1/GetMeterRealtimeData.cgi?Scope=Device&DeviceId=0
and it gives me JSON with all sorts of data I'd love to see reappearing in Home Assistant:With the 3.17 firmware version everything was working as expected, the changelog of fronius' firmware update does not really give insights what has changed that could have broken the integration. I am a bit out of ideas here and would appreciate any kind of help! :)
What is version of Home Assistant Core has the issue?
core-2021.8.3
What was the last working version of Home Assistant Core?
core-2021.8.3
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/
Example YAML snippet
Anything in the logs that might be useful for us?
Additional information
No response