Re: Rückmeldungen Nightly 1.9.274
Verfasst: Do Aug 25, 2022 6:45 pm
Auch ein Ausschalten und Neustart produziert die selben Einträge im Log (1.9.274 (2022-08-24 15:04:39 +0200 [4863094e] )):Reboote Deine Box mal. Sieht für mich so aus, als ob der Legacy run server nicht neu gestartet wurde und noch die alten Python Dateien genutzt werden.
Code: Alles auswählen
KeyError: 'port'
type = arg_spec.annotations[argument_name]
File "/var/www/html/openWB/packages/helpermodules/cli/_run_using_positional_cli_args.py", line 11, in _add_positional_parser_args
_add_positional_parser_args(sub_parsers.add_parser(command_name), function)
File "/var/www/html/openWB/packages/helpermodules/cli/_run_using_positional_cli_args.py", line 29, in run_using_positional_cli_args
{"bat": read_legacy_bat, "counter": read_legacy_counter, "inverter": read_legacy_inverter}, argv
File "/var/www/html/openWB/packages/modules/sungrow/device.py", line 103, 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
2022-08-25 20:29:43: PID: 4875: EVU RET: 0 (LV2) at 16 main modules/bezug_sungrow/main.sh
Traceback (most recent call last):
2022-08-25 20:29:43: PID: 2019: legacy run server: Unhandled exception
2022-08-25 20:29:43: PID: 2019: legacy run server: Received command ["modules.sungrow.device","counter","192.168.111.71","502","1","0"]
2022-08-25 20:29:43: PID: 4845: BAT RET: 0 (LV2) at 16 main modules/speicher_sungrow/main.sh
KeyError: 'port'
type = arg_spec.annotations[argument_name]
File "/var/www/html/openWB/packages/helpermodules/cli/_run_using_positional_cli_args.py", line 11, in _add_positional_parser_args
_add_positional_parser_args(sub_parsers.add_parser(command_name), function)
File "/var/www/html/openWB/packages/helpermodules/cli/_run_using_positional_cli_args.py", line 29, in run_using_positional_cli_args
{"bat": read_legacy_bat, "counter": read_legacy_counter, "inverter": read_legacy_inverter}, argv
File "/var/www/html/openWB/packages/modules/sungrow/device.py", line 103, 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-08-25 20:29:43: PID: 2019: legacy run server: Unhandled exception
2022-08-25 20:29:43: PID: 2019: legacy run server: Received command ["modules.sungrow.device","bat","192.168.111.71","502","1"]
KeyError: 'port'
type = arg_spec.annotations[argument_name]
File "/var/www/html/openWB/packages/helpermodules/cli/_run_using_positional_cli_args.py", line 11, in _add_positional_parser_args
_add_positional_parser_args(sub_parsers.add_parser(command_name), function)
File "/var/www/html/openWB/packages/helpermodules/cli/_run_using_positional_cli_args.py", line 29, in run_using_positional_cli_args
{"bat": read_legacy_bat, "counter": read_legacy_counter, "inverter": read_legacy_inverter}, argv
File "/var/www/html/openWB/packages/modules/sungrow/device.py", line 103, 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-08-25 20:29:43: PID: 2019: legacy run server: Unhandled exception
2022-08-25 20:29:43: PID: 2019: legacy run server: Received command ["modules.sungrow.device","inverter","192.168.111.71","502","1","1"]
Jeder Wechselrichter hat eine eigene IP und Geräteadresse.
Die angehängten Geräte (EVU, PV und Batterie) sind nur über diese IP und Adresse zu erreichen. Natürlich mit den Modbusregistern.
Heißt in meinem Fall das am WR1 die EVU, die PV Module und die Batterie hängen und der 2 WR nur die PV-Module hat, ich also 192.168.xx.1:502 Adresse 1 für EVU, PV und die Batterie und 192.168.xx.2:502 Adresse 2 für die 2. PV verwende. Das mit den 2 Verbindungen wird sich bei 2 Sungrow Wechselrichtern nicht vermeiden lassen.
So wie es in der 2.0 alpha3 von heute umgesetzt wurde funktioniert es einwandfrei.
Danke und Gruß!