Mit e3dc scheint etwas nicht zu stimmen - im Log bekomme ich immer "host down", der ist es aber bestimmt nicht. Hier mal das Log meines Spiel-Raspis mit der aktuellen Beta 1.9.257:
Code: Alles auswählen
/usr/lib/python3/dist-packages/requests/__init__.py:91: RequestsDependencyWarning: urllib3 (1.26.8) or chardet (3.0.4) doesn't match a supported version!
RequestsDependencyWarning)
/usr/lib/python3/dist-packages/requests/__init__.py:91: RequestsDependencyWarning: urllib3 (1.26.8) or chardet (3.0.4) doesn't match a supported version!
RequestsDependencyWarning)
/usr/lib/python3/dist-packages/requests/__init__.py:91: RequestsDependencyWarning: urllib3 (1.26.8) or chardet (3.0.4) doesn't match a supported version!
pymodbus.exceptions.ConnectionException: Modbus Error: [Connection] Failed to connect[ModbusTcpClient(192.168.8.10:502)]
raise ConnectionException("Failed to connect[%s]" % (self.__str__()))
File "/usr/local/lib/python3.7/dist-packages/pymodbus/client/sync.py", line 120, in __enter__
self.delegate.__enter__()
File "/var/www/html/openWB/packages/modules/common/modbus.py", line 54, in __enter__
with ModbusClient(address, port=502) as client:
File "/var/www/html/openWB/modules/speicher_e3dc/e3dc.py", line 29, in update_e3dc_battery
update_e3dc_battery(addresses, read_external, pv_other)
File "/var/www/html/openWB/modules/speicher_e3dc/e3dc.py", line 69, in update
parser.set_defaults(RUN=lambda args: function(*[getattr(args, argument_name) for argument_name in arg_spec.args]))
File "/var/www/html/openWB/packages/helpermodules/cli/_run_using_positional_cli_args.py", line 19, in <lambda>
args.RUN(args)
File "/var/www/html/openWB/packages/helpermodules/cli/_run_using_positional_cli_args.py", line 34, in run_using_positional_cli_args
run_using_positional_cli_args(update, argv)
File "/var/www/html/openWB/modules/speicher_e3dc/e3dc.py", line 74, in main
importlib.import_module(parsed[0]).main(parsed[1:])
File "/var/www/html/openWB/packages/legacy_run_server.py", line 109, in handle_message
self.__callback(read_all_bytes(connection))
File "/var/www/html/openWB/packages/legacy_run_server.py", line 87, in handle_connection
yield
File "/var/www/html/openWB/packages/legacy_run_server.py", line 48, in redirect_stdout_stderr_exceptions_to_log
Traceback (most recent call last):
2022-03-01 14:07:32: PID: 1553: legacy run server: Unhandled exception
2022-03-01 14:07:32: PID: 1553: pymodbus.client.sync: Connection to (192.168.8.10, 502) failed: [Errno 111] Connection refused
RequestsDependencyWarning)
/usr/lib/python3/dist-packages/requests/__init__.py:91: RequestsDependencyWarning: urllib3 (1.26.8) or chardet (3.0.4) doesn't match a supported version!
RequestsDependencyWarning)
/usr/lib/python3/dist-packages/requests/__init__.py:91: RequestsDependencyWarning: urllib3 (1.26.8) or chardet (3.0.4) doesn't match a supported version!
pymodbus.exceptions.ConnectionException: Modbus Error: [Connection] Failed to connect[ModbusTcpClient(192.168.8.10:502)]
raise ConnectionException("Failed to connect[%s]" % (self.__str__()))
File "/usr/local/lib/python3.7/dist-packages/pymodbus/client/sync.py", line 120, in __enter__
self.delegate.__enter__()
File "/var/www/html/openWB/packages/modules/common/modbus.py", line 54, in __enter__
with ModbusClient(ipaddress, port=502) as client:
File "/var/www/html/openWB/modules/bezug_e3dc/e3dc.py", line 17, in update
parser.set_defaults(RUN=lambda args: function(*[getattr(args, argument_name) for argument_name in arg_spec.args]))
File "/var/www/html/openWB/packages/helpermodules/cli/_run_using_positional_cli_args.py", line 19, in <lambda>
args.RUN(args)
File "/var/www/html/openWB/packages/helpermodules/cli/_run_using_positional_cli_args.py", line 34, in run_using_positional_cli_args
run_using_positional_cli_args(update, argv)
File "/var/www/html/openWB/modules/bezug_e3dc/e3dc.py", line 43, in main
importlib.import_module(parsed[0]).main(parsed[1:])
File "/var/www/html/openWB/packages/legacy_run_server.py", line 109, in handle_message
self.__callback(read_all_bytes(connection))
File "/var/www/html/openWB/packages/legacy_run_server.py", line 87, in handle_connection
yield
File "/var/www/html/openWB/packages/legacy_run_server.py", line 48, in redirect_stdout_stderr_exceptions_to_log
Traceback (most recent call last):
2022-03-01 14:07:23: PID: 1553: legacy run server: Unhandled exception
2022-03-01 14:07:23: PID: 1553: pymodbus.client.sync: Connection to (192.168.8.10, 502) failed: [Errno 111] Connection refused
pymodbus.exceptions.ConnectionException: Modbus Error: [Connection] Failed to connect[ModbusTcpClient(192.168.8.10:502)]
raise ConnectionException("Failed to connect[%s]" % (self.__str__()))
File "/usr/local/lib/python3.7/dist-packages/pymodbus/client/sync.py", line 120, in __enter__
self.delegate.__enter__()
File "/var/www/html/openWB/packages/modules/common/modbus.py", line 54, in __enter__
with ModbusClient(address, port=502) as client:
File "/var/www/html/openWB/modules/speicher_e3dc/e3dc.py", line 29, in update_e3dc_battery
update_e3dc_battery(addresses, read_external, pv_other)
File "/var/www/html/openWB/modules/speicher_e3dc/e3dc.py", line 69, in update
parser.set_defaults(RUN=lambda args: function(*[getattr(args, argument_name) for argument_name in arg_spec.args]))
File "/var/www/html/openWB/packages/helpermodules/cli/_run_using_positional_cli_args.py", line 19, in <lambda>
args.RUN(args)
File "/var/www/html/openWB/packages/helpermodules/cli/_run_using_positional_cli_args.py", line 34, in run_using_positional_cli_args
run_using_positional_cli_args(update, argv)
File "/var/www/html/openWB/modules/speicher_e3dc/e3dc.py", line 74, in main
importlib.import_module(parsed[0]).main(parsed[1:])
File "/var/www/html/openWB/packages/legacy_run_server.py", line 109, in handle_message
self.__callback(read_all_bytes(connection))
File "/var/www/html/openWB/packages/legacy_run_server.py", line 87, in handle_connection
yield
File "/var/www/html/openWB/packages/legacy_run_server.py", line 48, in redirect_stdout_stderr_exceptions_to_log
Traceback (most recent call last):
2022-03-01 14:07:22: PID: 1553: legacy run server: Unhandled exception
2022-03-01 14:07:22: PID: 1553: pymodbus.client.sync: Connection to (192.168.8.10, 502) failed: [Errno 111] Connection refused
Aber ich bezweifle, dass es die Beta ist. Meine produktive openWB sind noch auf 1.9.249 und da sind auch diese Meldungen drin.
Code: Alles auswählen
2022-03-01 14:45:01: ##### cron5min.sh started ##### (LV0)
2022-03-01 14:40:02: ##### cron5min.sh finished ##### (LV0)
2022-03-01 14:40:01: ##### cron5min.sh started ##### (LV0)
pymodbus.exceptions.ConnectionException: Modbus Error: [Connection] Failed to connect[ModbusTcpClient(192.168.8.10:502)]
raise ConnectionException("Failed to connect[%s]" % (self.__str__()))
File "/usr/local/lib/python2.7/dist-packages/pymodbus/client/sync.py", line 107, in execute
return self.execute(request)
File "/usr/local/lib/python2.7/dist-packages/pymodbus/client/common.py", line 114, in read_holding_registers
resp= client.read_holding_registers(40073,2,unit=1)
File "/var/www/html/openWB/modules/bezug_e3dc/e3dc.py", line 17, in <module>
Traceback (most recent call last):
pymodbus.exceptions.ConnectionException: Modbus Error: [Connection] Failed to connect[ModbusTcpClient(192.168.8.10:502)]
raise ConnectionException("Failed to connect[%s]" % (self.__str__()))
File "/usr/local/lib/python2.7/dist-packages/pymodbus/client/sync.py", line 107, in execute
return self.execute(request)
File "/usr/local/lib/python2.7/dist-packages/pymodbus/client/common.py", line 114, in read_holding_registers
resp= client.read_holding_registers(40082,1,unit=1)
File "/var/www/html/openWB/modules/speicher_e3dc/e3dc.py", line 18, in <module>
Traceback (most recent call last):
2022-03-01 14:35:03: ##### cron5min.sh finished ##### (LV0)
2022-03-01 14:35:01: ##### cron5min.sh started ##### (LV0)
2022-03-01 14:30:03: ##### cron5min.sh finished ##### (LV0)
2022-03-01 14:30:01: ##### cron5min.sh started ##### (LV0)
2022-03-01 14:25:03: ##### cron5min.sh finished ##### (LV0)
2022-03-01 14:25:01: ##### cron5min.sh started ##### (LV0)
pymodbus.exceptions.ConnectionException: Modbus Error: [Connection] Failed to connect[ModbusTcpClient(192.168.8.10:502)]
raise ConnectionException("Failed to connect[%s]" % (self.__str__()))
File "/usr/local/lib/python2.7/dist-packages/pymodbus/client/sync.py", line 107, in execute
return self.execute(request)
File "/usr/local/lib/python2.7/dist-packages/pymodbus/client/common.py", line 114, in read_holding_registers
resp= client.read_holding_registers(40073,2,unit=1)
File "/var/www/html/openWB/modules/bezug_e3dc/e3dc.py", line 17, in <module>
Traceback (most recent call last):
pymodbus.exceptions.ConnectionException: Modbus Error: [Connection] Failed to connect[ModbusTcpClient(192.168.8.10:502)]
raise ConnectionException("Failed to connect[%s]" % (self.__str__()))
File "/usr/local/lib/python2.7/dist-packages/pymodbus/client/sync.py", line 107, in execute
return self.execute(request)
File "/usr/local/lib/python2.7/dist-packages/pymodbus/client/common.py", line 114, in read_holding_registers
resp= client.read_holding_registers(40082,1,unit=1)
File "/var/www/html/openWB/modules/speicher_e3dc/e3dc.py", line 18, in <module>
Traceback (most recent call last):
2022-03-01 14:20:03: ##### cron5min.sh finished ##### (LV0)
2022-03-01 14:20:01: ##### cron5min.sh started ##### (LV0)
2022-03-01 14:15:03: ##### cron5min.sh finished ##### (LV0)
2022-03-01 14:15:01: ##### cron5min.sh started ##### (LV0)
2022-03-01 14:10:03: ##### cron5min.sh finished ##### (LV0)
2022-03-01 14:10:01: ##### cron5min.sh started ##### (LV0)
pymodbus.exceptions.ConnectionException: Modbus Error: [Connection] Failed to connect[ModbusTcpClient(192.168.8.10:502)]
raise ConnectionException("Failed to connect[%s]" % (self.__str__()))
File "/usr/local/lib/python2.7/dist-packages/pymodbus/client/sync.py", line 107, in execute
return self.execute(request)
File "/usr/local/lib/python2.7/dist-packages/pymodbus/client/common.py", line 114, in read_holding_registers
resp= client.read_holding_registers(40082,1,unit=1)
File "/var/www/html/openWB/modules/speicher_e3dc/e3dc.py", line 18, in <module>
Traceback (most recent call last):
pymodbus.exceptions.ConnectionException: Modbus Error: [Connection] Failed to connect[ModbusTcpClient(192.168.8.10:502)]
raise ConnectionException("Failed to connect[%s]" % (self.__str__()))
File "/usr/local/lib/python2.7/dist-packages/pymodbus/client/sync.py", line 107, in execute
return self.execute(request)
File "/usr/local/lib/python2.7/dist-packages/pymodbus/client/common.py", line 114, in read_holding_registers
resp= client.read_holding_registers(40073,2,unit=1)
File "/var/www/html/openWB/modules/bezug_e3dc/e3dc.py", line 17, in <module>
Traceback (most recent call last):
pymodbus.exceptions.ConnectionException: Modbus Error: [Connection] Failed to connect[ModbusTcpClient(192.168.8.10:502)]
raise ConnectionException("Failed to connect[%s]" % (self.__str__()))
File "/usr/local/lib/python2.7/dist-packages/pymodbus/client/sync.py", line 107, in execute
return self.execute(request)
File "/usr/local/lib/python2.7/dist-packages/pymodbus/client/common.py", line 114, in read_holding_registers
resp= client.read_holding_registers(40082,1,unit=1)
File "/var/www/html/openWB/modules/speicher_e3dc/e3dc.py", line 18, in <module>
Traceback (most recent call last):
2022-03-01 14:05:02: ##### cron5min.sh finished ##### (LV0)
2022-03-01 14:05:01: ##### cron5min.sh started ##### (LV0)
2022-03-01 14:00:03: ##### cron5min.sh finished ##### (LV0)
2022-03-01 14:00:02: ##### cron5min.sh started ##### (LV0)
2022-03-01 13:55:03: ##### cron5min.sh finished ##### (LV0)
2022-03-01 13:55:01: ##### cron5min.sh started ##### (LV0)
Ich vermute mal eher, dass es an e3dc liegt. Die haben ja letztens ein größeres Update gemacht und da sind mir irgendwann mal in dem Graphen diese Zacken im SoC aufgefallen.
Und da es ja höchst unwahrscheinlich ist, dass der SoC einfach mal von 96% auf 0% einbricht, habe ich halt mal in den Logs nachgeschaut.
Kann noch jemand mit e3dc diese Beobachtung bestätigen?