I tried to update to the 1.9.304 nightly today (2024-03-11 14:39:13 +0100 [5a6a1a6d]), because I wanted to have the latest EVCC binary included (#2826).
With this nightly build, the connection to my SolarEdge WR fails:
pymodbus.exceptions.ConnectionException: Modbus Error: [Connection] Failed to connect[ModbusTcpClient(192.168.1.171:502)]
raise ConnectionException("Failed to connect[%s]" % (self.__str__()))
File "/usr/local/lib/python3.5/dist-packages/pymodbus/client/sync.py", line 119, in __enter__
self.delegate.__enter__()
File "/var/www/html/openWB/packages/modules/common/modbus.py", line 52, in __enter__
with dev.client:
File "/var/www/html/openWB/packages/modules/devices/solaredge/device.py", line 217, in read_legacy
Traceback (most recent call last):
2024-03-12 10:13:12: PID: 7619: modules.common.fault_state: SolarEdge Wechselrichter: FaultState FaultStateLevel.ERROR, FaultStr <class 'pymodbus.exceptions.ConnectionException'> Modbus Error: [Connection] Failed to connect[ModbusTcpClient(192.168.1.171:502)], Traceback:
2024-03-12 10:13:12: PID: 7619: pymodbus.client.sync: Connection to (192.168.1.171, 502) failed: [Errno 111] Connection refused
2024-03-12 10:13:04: PID: 7619: pymodbus.client.sync: Connection to (192.168.1.171, 502) failed: [Errno 111] Connection refused
This message is printed repeatedly. With the previously installed version (stable 1.9.303), this issue didn't occur.
For now, I'll restore the backup of the stable version.
I tried to update to the 1.9.304 nightly today (2024-03-11 14:39:13 +0100 [5a6a1a6d]), because I wanted to have the latest EVCC binary included (#2826).
With this nightly build, the connection to my SolarEdge WR fails:
This message is printed repeatedly. With the previously installed version (stable 1.9.303), this issue didn't occur.
For now, I'll restore the backup of the stable version.