Skip to content

HA 2025.4.1 + SolageEdgeModbus 2.0.4/5 causes "Connection unexpectedly closed 0.000 seconds" exceptions #297

@sffbigmac

Description

@sffbigmac

Starting with 2.0.4 slash 2.0.5 (and at the same time move to HA 2025.4.1) I started to see the recently reported exception:

Logger: custom_components.solaredge_modbus
Source: helpers/update_coordinator.py:412
integration: SolarEdge Modbus ([documentation](https://github.com/binsentsu/home-assistant-solaredge-modbus))
First occurred: 19:43:24 (3 occurrences)
Last logged: 22:10:22

Error fetching solaredge data: Error updating modbus data: Modbus Error: [Connection] ModbusTcpClient solaredgehost:1502: Connection unexpectedly closed 0.000 seconds into read of unbounded read bytes without response from slave before it closed connection
Error fetching solaredge data: Error updating modbus data: Value 0 failed validation (>0)

preceeded with a

Logger: pymodbus.logging
Source: custom_components/solaredge_modbus/__init__.py:296
integration: SolarEdge Modbus ([documentation](https://github.com/binsentsu/home-assistant-solaredge-modbus))
First occurred: 22:09:52 (1 occurrences)
Last logged: 22:09:52

Exception response 131 / 0

These seem to happen on startup of HA, but also occur later occassionally. Data at the time of occurrence is missing accordingly from the sensor.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions