Seit der nightly geht die Kommunikation mit meinen SMA Wechselrichtern nicht mehr. Daily reset, reboot etc hat nichts gebracht. Vor Update war ich auch auf der nightly, da lief alles einwandfrei!
Code: Alles auswählen
pymodbus.exceptions.ConnectionException: Modbus Error: [Connection] Failed to connect[ModbusTcpClient(192.168.178.180: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 inv.tcp_client:
File "/var/www/html/openWB/packages/modules/devices/sma_sunny_boy/device.py", line 180, in read_inverter
Traceback (most recent call last):
2023-01-24 12:01:23: PID: 9251: soc.modules.common.fault_state: Sma Sunny Boy/Tripower Wechselrichter: FaultState FaultStateLevel.ERROR, FaultStr <class 'pymodbus.exceptions.ConnectionException'> Modbus Error: [Connection] Failed to connect[ModbusTcpClient(192.168.178.180:502)], Traceback:
2023-01-24 12:01:23: PID: 9251: pymodbus.client.sync: Connection to (192.168.178.180, 502) failed: [Errno 111] Connection refused
pymodbus.exceptions.ConnectionException: Modbus Error: [Connection] Failed to connect[ModbusTcpClient(192.168.178.180: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 inv.tcp_client:
File "/var/www/html/openWB/packages/modules/devices/sma_sunny_boy/device.py", line 180, in read_inverter
Traceback (most recent call last):
2023-01-24 12:01:13: PID: 9251: soc.modules.common.fault_state: Sma Sunny Boy/Tripower Wechselrichter: FaultState FaultStateLevel.ERROR, FaultStr <class 'pymodbus.exceptions.ConnectionException'> Modbus Error: [Connection] Failed to connect[ModbusTcpClient(192.168.178.180:502)], Traceback:
2023-01-24 12:01:13: PID: 9251: pymodbus.client.sync: Connection to (192.168.178.180, 502) failed: [Errno 111] Connection refused
pymodbus.exceptions.ConnectionException: Modbus Error: [Connection] Failed to connect[ModbusTcpClient(192.168.178.180: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 inv.tcp_client:
File "/var/www/html/openWB/packages/modules/devices/sma_sunny_boy/device.py", line 180, in read_inverter
Traceback (most recent call last):
2023-01-24 12:01:03: PID: 9251: soc.modules.common.fault_state: Sma Sunny Boy/Tripower Wechselrichter: FaultState FaultStateLevel.ERROR, FaultStr <class 'pymodbus.exceptions.ConnectionException'> Modbus Error: [Connection] Failed to connect[ModbusTcpClient(192.168.178.180:502)], Traceback:
2023-01-24 12:01:03: PID: 9251: pymodbus.client.sync: Connection to (192.168.178.180, 502) failed: [Errno 111] Connection refused
pymodbus.exceptions.ConnectionException: Modbus Error: [Connection] Failed to connect[ModbusTcpClient(192.168.178.180: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 inv.tcp_client:
File "/var/www/html/openWB/packages/modules/devices/sma_sunny_boy/device.py", line 180, in read_inverter
Traceback (most recent call last):
2023-01-24 12:00:53: PID: 9251: soc.modules.common.fault_state: Sma Sunny Boy/Tripower Wechselrichter: FaultState FaultStateLevel.ERROR, FaultStr <class 'pymodbus.exceptions.ConnectionException'> Modbus Error: [Connection] Failed to connect[ModbusTcpClient(192.168.178.180:502)], Traceback:
2023-01-24 12:00:53: PID: 9251: pymodbus.client.sync: Connection to (192.168.178.180, 502) failed: [Errno 111] Connection refused
pymodbus.exceptions.ConnectionException: Modbus Error: [Connection] Failed to connect[ModbusTcpClient(192.168.178.180: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 inv.tcp_client:
File "/var/www/html/openWB/packages/modules/devices/sma_sunny_boy/device.py", line 180, in read_inverter
Traceback (most recent call last):
2023-01-24 12:00:43: PID: 9251: soc.modules.common.fault_state: Sma Sunny Boy/Tripower Wechselrichter: FaultState FaultStateLevel.ERROR, FaultStr <class 'pymodbus.exceptions.ConnectionException'> Modbus Error: [Connection] Failed to connect[ModbusTcpClient(192.168.178.180:502)], Traceback:
2023-01-24 12:00:43: PID: 9251: pymodbus.client.sync: Connection to (192.168.178.180, 502) failed: [Errno 111] Connection refused
pymodbus.exceptions.ConnectionException: Modbus Error: [Connection] Failed to connect[ModbusTcpClient(192.168.178.180: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 inv.tcp_client:
File "/var/www/html/openWB/packages/modules/devices/sma_sunny_boy/device.py", line 180, in read_inverter
Traceback (most recent call last):
2023-01-24 12:00:33: PID: 9251: soc.modules.common.fault_state: Sma Sunny Boy/Tripower Wechselrichter: FaultState FaultStateLevel.ERROR, FaultStr <class 'pymodbus.exceptions.ConnectionException'> Modbus Error: [Connection] Failed to connect[ModbusTcpClient(192.168.178.180:502)], Traceback:
2023-01-24 12:00:33: PID: 9251: pymodbus.client.sync: Connection to (192.168.178.180, 502) failed: [Errno 111] Connection refused
pymodbus.exceptions.ConnectionException: Modbus Error: [Connection] Failed to connect[ModbusTcpClient(192.168.178.180: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 inv.tcp_client:
File "/var/www/html/openWB/packages/modules/devices/sma_sunny_boy/device.py", line 180, in read_inverter
Traceback (most recent call last):
2023-01-24 12:00:23: PID: 9251: soc.modules.common.fault_state: Sma Sunny Boy/Tripower Wechselrichter: FaultState FaultStateLevel.ERROR, FaultStr <class 'pymodbus.exceptions.ConnectionException'> Modbus Error: [Connection] Failed to connect[ModbusTcpClient(192.168.178.180:502)], Traceback:
2023-01-24 12:00:23: PID: 9251: pymodbus.client.sync: Connection to (192.168.178.180, 502) failed: [Errno 111] Connection refused
pymodbus.exceptions.ConnectionException: Modbus Error: [Connection] Failed to connect[ModbusTcpClient(192.168.178.180: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 inv.tcp_client:
File "/var/www/html/openWB/packages/modules/devices/sma_sunny_boy/device.py", line 180, in read_inverter
Traceback (most recent call last):
2023-01-24 12:00:13: PID: 9251: soc.modules.common.fault_state: Sma Sunny Boy/Tripower Wechselrichter: FaultState FaultStateLevel.ERROR, FaultStr <class 'pymodbus.exceptions.ConnectionException'> Modbus Error: [Connection] Failed to connect[ModbusTcpClient(192.168.178.180:502)], Traceback:
2023-01-24 12:00:13: PID: 9251: pymodbus.client.sync: Connection to (192.168.178.180, 502) failed: [Errno 111] Connection refused
2023-01-24 12:00:03: PID: 6238: ##### cron5min.sh finished ##### (LV0)
pymodbus.exceptions.ConnectionException: Modbus Error: [Connection] Failed to connect[ModbusTcpClient(192.168.178.180: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 inv.tcp_client:
File "/var/www/html/openWB/packages/modules/devices/sma_sunny_boy/device.py", line 180, in read_inverter
Traceback (most recent call last):
2023-01-24 12:00:03: PID: 9251: soc.modules.common.fault_state: Sma Sunny Boy/Tripower Wechselrichter: FaultState FaultStateLevel.ERROR, FaultStr <class 'pymodbus.exceptions.ConnectionException'> Modbus Error: [Connection] Failed to connect[ModbusTcpClient(192.168.178.180:502)], Traceback:
2023-01-24 12:00:03: PID: 9251: pymodbus.client.sync: Connection to (192.1
Ich komme bei beiden auf die Weboberfläche, Modbus ist bei beiden aktiv.