Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Nightly 1.9.304: pymodbus exception connecting to SolarEdge WR #2827

Open
mwilck opened this issue Mar 12, 2024 · 0 comments
Open

Nightly 1.9.304: pymodbus exception connecting to SolarEdge WR #2827

mwilck opened this issue Mar 12, 2024 · 0 comments

Comments

@mwilck
Copy link

mwilck commented Mar 12, 2024

I tried to update to the 1.9.304 nightly today (2024-03-11 14:39:13 +0100 [5a6a1a6]), 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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant