Re: Keine Daten mehr von E3DC
Verfasst: Do Nov 17, 2022 7:09 pm
Nightly habe ich eingespielt, jedoch keine Veränderung. Allerdings werden die Shellys nun wieder abgerufen, aber auch in Stable 1.9.281.
Code: Alles auswählen
2022-11-22 22:07:52: PID: 3939: BAT RET: 0 (LV2) at 16 main modules/speicher_e3dc/main.sh
pymodbus.exceptions.ConnectionException: Modbus Error: [Connection] Failed to connect[ModbusTcpClient(192.168.178.91: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 modbus.ModbusTcpClient_(address, port=502) as client:
File "/var/www/html/openWB/packages/modules/devices/e3dc/device.py", line 101, in read_legacy_bat
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
{"bat": read_legacy_bat, "counter": read_legacy_counter}, argv
File "/var/www/html/openWB/packages/modules/devices/e3dc/device.py", line 129, 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-11-22 22:07:52: PID: 2822: legacy run server: Unhandled exception
2022-11-22 22:07:52: PID: 2822: pymodbus.client.sync: Connection to (192.168.178.91, 502) failed: [Errno 111] Connection refused
2022-11-22 22:07:52: PID: 2822: modules.devices.e3dc.device: Ip: 192.168.178.91, read_external False pv_other False
2022-11-22 22:07:52: PID: 2822: modules.devices.e3dc.device: e3dc id: 1
2022-11-22 22:07:52: PID: 2822: modules.devices.e3dc.device: e3dc pv_module: none
2022-11-22 22:07:52: PID: 2822: modules.devices.e3dc.device: e3dc read_ext: False
2022-11-22 22:07:52: PID: 2822: modules.devices.e3dc.device: e3dc IP-Adresse2: none
2022-11-22 22:07:52: PID: 2822: modules.devices.e3dc.device: e3dc IP-Adresse1: 192.168.178.91
2022-11-22 22:07:52: PID: 2822: legacy run server: Received command ["modules.devices.e3dc.device","bat","192.168.178.91","none","0","none","1"]
2022-11-22 22:07:51: PID: 3764: **** Regulation loop start **** (LV1) at 77 main /var/www/html/openWB/regel.sh
2022-11-22 22:07:47: PID: 2271: **** Regulation loop needs 6 seconds (LV2) at 62 cleanup /var/www/html/openWB/regel.sh
2022-11-22 22:07:47: PID: 2271: Überschuss 0; mindestens 1320 (LV1) at 104 nurpvlademodus nurpv.sh
2022-11-22 22:07:47: PID: 2271: uberschuss 0 wattbezug 0 ladestatus 0 llsoll 0 pvwatt 0 mindestuberschussphasen 1320 wattkombiniert 0 schaltschwelle 230 (LV2) at 583 main /var/www/html/openWB/regel.sh
2022-11-22 22:07:47: PID: 2271: anzahlphasen 1 (LV1) at 582 main /var/www/html/openWB/regel.sh
2022-11-22 22:07:47: PID: 2271: LP1 Modbus 0 korrekt (LV1) at 236 evsemodbuscheck evsedintest.sh
2022-11-22 22:07:45: PID: 2271: Timing Umschaltung: 480 / 480 (LV1) at 17 u1p3pswitch u1p3p.sh
2022-11-22 22:07:45: PID: 2271: automatische Umschaltung aktiv (LV1) at 16 u1p3pswitch u1p3p.sh
2022-11-22 22:07:45: PID: 2271: Zeit zum abfragen aller Werte 4 Sekunden (LV1) at 183 main /var/www/html/openWB/regel.sh
2022-11-22 22:07:44: PID: 2271: chargestatlp1 0 chargestatlp2 0 chargestatlp3 0 (LV1) at 1310 loadvars loadvars.sh
2022-11-22 22:07:44: PID: 2271: plugstatlp1 0 plugstatlp2 0 plugstatlp3 0 (LV1) at 1309 loadvars loadvars.sh
2022-11-22 22:07:44: PID: 2271: lp1enabled 1 lp2enabled 1 lp3enabled 1 (LV1) at 1308 loadvars loadvars.sh
2022-11-22 22:07:44: PID: 2271: EVU 1:V/0A 2: V/0A 3: V/0A (LV1) at 1307 loadvars loadvars.sh
2022-11-22 22:07:44: PID: 2271: lla3 0 llv3 239.4 llas13 0 llas23 soclp1 64 soclp2 78 (LV1) at 1306 loadvars loadvars.sh
2022-11-22 22:07:44: PID: 2271: lla2 0 llv2 238.0 llas12 0 llas22 sofortll 16 hausverbrauch 0 wattbezug 0 uberschuss 0 (LV1) at 1305 loadvars loadvars.sh
2022-11-22 22:07:44: PID: 2271: lla1 0 llv1 236.7 llas11 0 llas21 mindestuberschuss 1320 abschaltuberschuss 5 lademodus 2 (LV1) at 1304 loadvars loadvars.sh
2022-11-22 22:07:44: PID: 2271: pv1watt 0 pv2watt pvwatt 0 ladeleistung 0 llalt 0 nachtladen 0 nachtladen 0 minimalA 10 maximalA 32 (LV1) at 1303 loadvars loadvars.sh
2022-11-22 22:07:44: PID: 2271: speicherleistung 0 speichersoc 0 (LV1) at 1298 loadvars loadvars.sh
pymodbus.exceptions.ConnectionException: Modbus Error: [Connection] Failed to connect[ModbusTcpClient(192.168.178.91: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 modbus.ModbusTcpClient_(device_config.configuration.address, 502) as client:
File "/var/www/html/openWB/packages/modules/devices/e3dc/device.py", line 39, in update_components
self.__component_updater(self.components.values())
File "/var/www/html/openWB/packages/modules/common/configurable_device.py", line 75, in update
device.update()
File "/var/www/html/openWB/packages/modules/devices/e3dc/device.py", line 60, in run_device_legacy
num), component_config)
File "/var/www/html/openWB/packages/modules/devices/e3dc/device.py", line 75, in read_legacy_counter
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
2022-11-22 22:07:44: PID: 2598: EVU RET: 0 (LV2) at 16 main modules/bezug_e3dc/main.sh
{"bat": read_legacy_bat, "counter": read_legacy_counter}, argv
File "/var/www/html/openWB/packages/modules/devices/e3dc/device.py", line 129, 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-11-22 22:07:44: PID: 2822: legacy run server: Unhandled exception
Arguments: (<modules.devices.e3dc.config.E3dc object at 0x74f5a9b0>, <modules.devices.e3dc.config.E3dcCounterSetup object at 0x74f5aa30>)
Message: 'E3dc Configuration: %s, Component Configuration: %s'
log.debug("E3dc Configuration: %s, Component Configuration: %s", device_config, component_config)
File "/var/www/html/openWB/packages/modules/devices/e3dc/device.py", line 59, in run_device_legacy
num), component_config)
File "/var/www/html/openWB/packages/modules/devices/e3dc/device.py", line 75, in read_legacy_counter
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
{"bat": read_legacy_bat, "counter": read_legacy_counter}, argv
File "/var/www/html/openWB/packages/modules/devices/e3dc/device.py", line 129, 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
self._target(*self._args, **self._kwargs)
File "/usr/lib/python3.5/threading.py", line 862, in run
self.run()
File "/usr/lib/python3.5/threading.py", line 914, in _bootstrap_inner
self._bootstrap_inner()
File "/usr/lib/python3.5/threading.py", line 882, in _bootstrap
Call stack:
UnicodeEncodeError: 'ascii' codec can't encode character '\xe4' in position 273: ordinal not in range(128)
stream.write(msg)
File "/usr/lib/python3.5/logging/__init__.py", line 983, in emit
Traceback (most recent call last):
2022-11-22 22:07:44: PID: 2822: legacy run server: --- Logging error ---
2022-11-22 22:07:44: PID: 2822: pymodbus.client.sync: Connection to (192.168.178.91, 502) failed: [Errno 111] Connection refused
2022-11-22 22:07:44: PID: 2822: modules.devices.e3dc.device: Config: E3dc(id=1, configuration=E3dcConfiguration(address=192.168.178.91), name=E3DC, type=E3DC)
2022-11-22 22:07:44: PID: 2822: legacy run server: Received command ["modules.devices.e3dc.device","counter","192.168.178.91","1"]
2022-11-22 22:07:42: PID: 2271: Calling SoC-Module: modules/soc_myrenault/main.sh for chargepoint 2 (LV2) at 23 run_soc_module loadvars.sh
2022-11-22 22:07:42: PID: 2271: Request to run SoC-Module: soc_myrenaultlp2 (LV2) at 4 run_soc_module loadvars.sh
pymodbus.exceptions.ConnectionException: Modbus Error: [Connection] Failed to connect[ModbusTcpClient(192.168.178.91: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__()
2022-11-22 22:07:42: PID: 2469: BAT RET: 0 (LV2) at 16 main modules/speicher_e3dc/main.sh
File "/var/www/html/openWB/packages/modules/common/modbus.py", line 52, in __enter__
with modbus.ModbusTcpClient_(address, port=502) as client:
File "/var/www/html/openWB/packages/modules/devices/e3dc/device.py", line 101, in read_legacy_bat
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
{"bat": read_legacy_bat, "counter": read_legacy_counter}, argv
File "/var/www/html/openWB/packages/modules/devices/e3dc/device.py", line 129, 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-11-22 22:07:42: PID: 2822: legacy run server: Unhandled exception
2022-11-22 22:07:42: PID: 2822: pymodbus.client.sync: Connection to (192.168.178.91, 502) failed: [Errno 111] Connection refused
2022-11-22 22:07:42: PID: 2822: modules.devices.e3dc.device: Ip: 192.168.178.91, read_external False pv_other False
2022-11-22 22:07:42: PID: 2822: modules.devices.e3dc.device: e3dc id: 1
2022-11-22 22:07:42: PID: 2822: modules.devices.e3dc.device: e3dc pv_module: none
2022-11-22 22:07:42: PID: 2822: modules.devices.e3dc.device: e3dc read_ext: False
2022-11-22 22:07:42: PID: 2822: modules.devices.e3dc.device: e3dc IP-Adresse2: none
2022-11-22 22:07:42: PID: 2822: modules.devices.e3dc.device: e3dc IP-Adresse1: 192.168.178.91
2022-11-22 22:07:42: PID: 2822: legacy run server: Received command ["modules.devices.e3dc.device","bat","192.168.178.91","none","0","none","1"]
2022-11-22 22:07:41: PID: 2271: **** Regulation loop start **** (LV1) at 77 main /var/www/html/openWB/regel.sh
2022-11-22 22:07:36: PID: 765: **** Regulation loop needs 5 seconds (LV2) at 62 cleanup /var/www/html/openWB/regel.sh
2022-11-22 22:07:36: PID: 765: Überschuss 0; mindestens 1320 (LV1) at 104 nurpvlademodus nurpv.sh
2022-11-22 22:07:36: PID: 765: uberschuss 0 wattbezug 0 ladestatus 0 llsoll 0 pvwatt 0 mindestuberschussphasen 1320 wattkombiniert 0 schaltschwelle 230 (LV2) at 583 main /var/www/html/openWB/regel.sh
2022-11-22 22:07:36: PID: 765: anzahlphasen 1 (LV1) at 582 main /var/www/html/openWB/regel.sh
2022-11-22 22:07:35: PID: 765: Timing Umschaltung: 480 / 480 (LV1) at 17 u1p3pswitch u1p3p.sh
2022-11-22 22:07:35: PID: 765: automatische Umschaltung aktiv (LV1) at 16 u1p3pswitch u1p3p.sh
2022-11-22 22:07:35: PID: 765: Zeit zum abfragen aller Werte 4 Sekunden (LV1) at 183 main /var/www/html/openWB/regel.sh
2022-11-22 22:07:34: PID: 765: chargestatlp1 0 chargestatlp2 0 chargestatlp3 0 (LV1) at 1310 loadvars loadvars.sh
2022-11-22 22:07:34: PID: 765: plugstatlp1 0 plugstatlp2 0 plugstatlp3 0 (LV1) at 1309 loadvars loadvars.sh
2022-11-22 22:07:34: PID: 765: lp1enabled 1 lp2enabled 1 lp3enabled 1 (LV1) at 1308 loadvars loadvars.sh
2022-11-22 22:07:34: PID: 765: EVU 1:V/0A 2: V/0A 3: V/0A (LV1) at 1307 loadvars loadvars.sh
2022-11-22 22:07:34: PID: 765: lla3 0 llv3 239.5 llas13 0 llas23 soclp1 64 soclp2 78 (LV1) at 1306 loadvars loadvars.sh
2022-11-22 22:07:34: PID: 765: lla2 0 llv2 238.0 llas12 0 llas22 sofortll 16 hausverbrauch 0 wattbezug 0 uberschuss 0 (LV1) at 1305 loadvars loadvars.sh
2022-11-22 22:07:34: PID: 765: lla1 0 llv1 236.8 llas11 0 llas21 mindestuberschuss 1320 abschaltuberschuss 5 lademodus 2 (LV1) at 1304 loadvars loadvars.sh
2022-11-22 22:07:34: PID: 765: pv1watt 0 pv2watt pvwatt 0 ladeleistung 0 llalt 0 nachtladen 0 nachtladen 0 minimalA 10 maximalA 32 (LV1) at 1303 loadvars loadvars.sh
2022-11-22 22:07:34: PID: 765: speicherleistung 0 speichersoc 0 (LV1) at 1298 loadvars loadvars.sh
pymodbus.exceptions.ConnectionException: Modbus Error: [Connection] Failed to connect[ModbusTcpClient(192.168.178.91: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 modbus.ModbusTcpClient_(device_config.configuration.address, 502) as client:
File "/var/www/html/openWB/packages/modules/devices/e3dc/device.py", line 39, in update_components
self.__component_updater(self.components.values())
File "/var/www/html/openWB/packages/modules/common/configurable_device.py", line 75, in update
device.update()
File "/var/www/html/openWB/packages/modules/devices/e3dc/device.py", line 60, in run_device_legacy
num), component_config)
File "/var/www/html/openWB/packages/modules/devices/e3dc/device.py", line 75, in read_legacy_counter
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
{"bat": read_legacy_bat, "counter": read_legacy_counter}, argv
File "/var/www/html/openWB/packages/modules/devices/e3dc/device.py", line 129, 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
2022-11-22 22:07:34: PID: 1090: EVU RET: 0 (LV2) at 16 main modules/bezug_e3dc/main.sh
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-11-22 22:07:34: PID: 2822: legacy run server: Unhandled exception
Arguments: (<modules.devices.e3dc.config.E3dc object at 0x74fb9570>, <modules.devices.e3dc.config.E3dcCounterSetup object at 0x74fb9ad0>)
Message: 'E3dc Configuration: %s, Component Configuration: %s'
log.debug("E3dc Configuration: %s, Component Configuration: %s", device_config, component_config)
File "/var/www/html/openWB/packages/modules/devices/e3dc/device.py", line 59, in run_device_legacy
num), component_config)
File "/var/www/html/openWB/packages/modules/devices/e3dc/device.py", line 75, in read_legacy_counter
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
{"bat": read_legacy_bat, "counter": read_legacy_counter}, argv
File "/var/www/html/openWB/packages/modules/devices/e3dc/device.py", line 129, 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
self._target(*self._args, **self._kwargs)
File "/usr/lib/python3.5/threading.py", line 862, in run
self.run()
File "/usr/lib/python3.5/threading.py", line 914, in _bootstrap_inner
self._bootstrap_inner()
File "/usr/lib/python3.5/threading.py", line 882, in _bootstrap
Call stack:
UnicodeEncodeError: 'ascii' codec can't encode character '\xe4' in position 273: ordinal not in range(128)
stream.write(msg)
File "/usr/lib/python3.5/logging/__init__.py", line 983, in emit
Traceback (most recent call last):
2022-11-22 22:07:34: PID: 2822: legacy run server: --- Logging error ---
2022-11-22 22:07:34: PID: 2822: pymodbus.client.sync: Connection to (192.168.178.91, 502) failed: [Errno 111] Connection refused
2022-11-22 22:07:34: PID: 2822: modules.devices.e3dc.device: Config: E3dc(id=1, configuration=E3dcConfiguration(address=192.168.178.91), name=E3DC, type=E3DC)
2022-11-22 22:07:34: PID: 2822: legacy run server: Received command ["modules.devices.e3dc.device","counter","192.168.178.91","1"]
2022-11-22 22:07:33: PID: 765: Calling SoC-Module: modules/soc_myrenault/main.sh for chargepoint 2 (LV2) at 23 run_soc_module loadvars.sh
2022-11-22 22:07:33: PID: 765: Request to run SoC-Module: soc_myrenaultlp2 (LV2) at 4 run_soc_module loadvars.sh
pymodbus.exceptions.ConnectionException: Modbus Error: [Connection] Failed to connect[ModbusTcpClient(192.168.178.91: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__