http funktioniert nicht richtig bzw überall

Mike2020
Beiträge: 53
Registriert: Mi Sep 30, 2020 8:05 pm

Re: http funktioniert nicht richtig bzw überall

Beitrag von Mike2020 »

Hab seit ein par Tagen Corona! Nicht gut. Melde mich später wieder...
Kernel: Linux 4.19.66-v7+ GNU/Linux - Python 3.5.3 - openWB Version: 1.9.303.0
Board: Raspberry Pi 3 Model B Plus Rev 1.3 # CPU: ARMv7 Processor rev 4 (v7l)
Ioniq PlugIn, Bj: 2018
Mike2020
Beiträge: 53
Registriert: Mi Sep 30, 2020 8:05 pm

Re: http funktioniert nicht richtig bzw überall

Beitrag von Mike2020 »

Dann bin ich mal gespannt, was die Einstellungen so sagen:

Code: Alles auswählen

2022-11-14 18:26:05: PID: 14345: **** Regulation loop needs 4 seconds (LV2) at 55 cleanup /var/www/html/openWB/regel.sh
2022-11-14 18:26:05: PID: 14345: Sofort ladung bei minimal A 6 Ladeleistung zu gering (LV1) at 88 sofortlademodus sofortlademodus.sh
curl: try 'curl --help' or 'curl --manual' for more information
curl: no URL specified!
curl: try 'curl --help' or 'curl --manual' for more information
curl: no URL specified!
2022-11-14 18:26:04: PID: 14345: Timing Umschaltung: 540 / 420 (LV1) at 17 u1p3pswitch u1p3p.sh
2022-11-14 18:26:04: PID: 14345: automatische Umschaltung aktiv (LV1) at 16 u1p3pswitch u1p3p.sh
2022-11-14 18:26:04: PID: 14345: Zeit zum abfragen aller Werte 3 Sekunden (LV1) at 176 main /var/www/html/openWB/regel.sh
2022-11-14 18:26:03: PID: 14345: chargestatlp1 0 chargestatlp2 0 chargestatlp3 0 (LV1) at 1300 loadvars loadvars.sh
2022-11-14 18:26:03: PID: 14345: plugstatlp1 1 plugstatlp2 0 plugstatlp3 0 (LV1) at 1299 loadvars loadvars.sh
2022-11-14 18:26:03: PID: 14345: lp1enabled 1 lp2enabled 1 lp3enabled 1 (LV1) at 1298 loadvars loadvars.sh
2022-11-14 18:26:03: PID: 14345: EVU 1:V/0A 2: V/0A 3: V/0A (LV1) at 1297 loadvars loadvars.sh
2022-11-14 18:26:03: PID: 14345: lla3 33 llv3 233.3 llas13  llas23  soclp1 0 soclp2  (LV1) at 1296 loadvars loadvars.sh
2022-11-14 18:26:03: PID: 14345: lla2 0 llv2 232.8 llas12  llas22  sofortll 13 hausverbrauch 454 wattbezug 0 uberschuss 0 (LV1) at 1295 loadvars loadvars.sh
2022-11-14 18:26:03: PID: 14345: lla1 0 llv1 232.9 llas11  llas21  mindestuberschuss 500 abschaltuberschuss 5 lademodus 0 (LV1) at 1294 loadvars loadvars.sh
2022-11-14 18:26:03: PID: 14345: pv1watt 0 pv2watt  pvwatt 0 ladeleistung 0 llalt 6 nachtladen 0 nachtladen 0 minimalA 6 maximalA 15 (LV1) at 1293 loadvars loadvars.sh
2022-11-14 18:26:03: PID: 14545: RET: 0 (LV2) at 16 main modules/bezug_http/main.sh
Exception: Invalid URL <None>: Absolute HTTP or HTTPS URL required
raise Exception("Invalid URL <" + path + ">: Absolute HTTP or HTTPS URL required")
File "/var/www/html/openWB/packages/modules/http/device.py", line 80, in create_paths_dict
current_l3_path=current_l3_path,
File "/var/www/html/openWB/packages/modules/http/device.py", line 128, 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, "inverter": read_legacy_inverter}, argv
File "/var/www/html/openWB/packages/modules/http/device.py", line 146, 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-14 18:26:03: PID: 18254: legacy run server: Unhandled exception
2022-11-14 18:26:03: PID: 18254: legacy run server: Received command ["modules.http.device","counter","http://www.miwa.de/solar/EVU.txt in","None","None","none","none","
Exception: Invalid URL <>: Absolute HTTP or HTTPS URL required
raise Exception("Invalid URL <" + path + ">: Absolute HTTP or HTTPS URL required")
File "/var/www/html/openWB/packages/modules/http/device.py", line 80, in create_paths_dict
exported_path=exported_path,
File "/var/www/html/openWB/packages/modules/http/device.py", line 139, in read_legacy_inverter
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, "inverter": read_legacy_inverter}, argv
File "/var/www/html/openWB/packages/modules/http/device.py", line 146, 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-14 18:26:02: PID: 18254: legacy run server: Unhandled exception
2022-11-14 18:26:02: PID: 18254: legacy run server: Received command ["modules.http.device","inverter","http://www.miwa.de/solar/PVM.txt","","1"]
2022-11-14 18:26:01: PID: 14345: **** Regulation loop start **** (LV1) at 70 main /var/www/html/openWB/regel.sh
Kernel: Linux 4.19.66-v7+ GNU/Linux - Python 3.5.3 - openWB Version: 1.9.303.0
Board: Raspberry Pi 3 Model B Plus Rev 1.3 # CPU: ARMv7 Processor rev 4 (v7l)
Ioniq PlugIn, Bj: 2018
yankee
Beiträge: 481
Registriert: Sa Mai 16, 2020 11:34 am

Re: http funktioniert nicht richtig bzw überall

Beitrag von yankee »

Mike2020 hat geschrieben: Mo Nov 14, 2022 5:30 pm

Code: Alles auswählen

2022-11-14 18:26:05: PID: 14345: **** Regulation loop needs 4 seconds (LV2) at 55 cleanup /var/www/html/openWB/regel.sh
2022-11-14 18:26:05: PID: 14345: Sofort ladung bei minimal A 6 Ladeleistung zu gering (LV1) at 88 sofortlademodus sofortlademodus.sh
curl: try 'curl --help' or 'curl --manual' for more information
curl: no URL specified!
curl: try 'curl --help' or 'curl --manual' for more information
curl: no URL specified!
2022-11-14 18:26:04: PID: 14345: Timing Umschaltung: 540 / 420 (LV1) at 17 u1p3pswitch u1p3p.sh
Das wäre auch noch eine spannende Frage wo das her kommt. Irgendwas ist da auch noch falsch. Hat aber nichts mit dem Problem zu tun welches du ansprichst.
Mike2020 hat geschrieben: Mo Nov 14, 2022 5:30 pm

Code: Alles auswählen

Exception: Invalid URL <None>: Absolute HTTP or HTTPS URL required
[..]
2022-11-14 18:26:03: PID: 18254: legacy run server: Received command ["modules.http.device","counter","http://www.miwa.de/solar/EVU.txt in","None","None","none","none","
Exception: Invalid URL <>: Absolute HTTP or HTTPS URL required
[..]
2022-11-14 18:26:02: PID: 18254: legacy run server: Received command ["modules.http.device","inverter","http://www.miwa.de/solar/PVM.txt","","1"]
Das hingegen ist eindeutig. Bei der EVU-Konfig hast du als URL für den Leistungspfad "http://www.miwa.de/solar/EVU.txt in" angegeben. Das mit dem " in" am Ende sieht schon verdächtig aus, ist aber nicht unbedingt falsch. Unbedingt falsch sind aber für die Zählerstände die Werte "None". Wenn du die nicht hast musst du "none" verwenden, also kleingeschrieben!
Beim Wechselrichter hast du für den Zählerstand das Feld komplett leer gelassen. Auch da muss "none" stehen, wenn du keine URL dafür hast.
Mike2020
Beiträge: 53
Registriert: Mi Sep 30, 2020 8:05 pm

Re: http funktioniert nicht richtig bzw überall

Beitrag von Mike2020 »

Danke für die Richtung:
- das "in" kommt von mir. Irgendwie ist das mit rein gerustscht. Hat aber trotzdem funktioniert.
- "none" ist jetzt alles klein
- beim Wechselrichter steht jetzt auch "none"

Es klappt. Nur weil ich "none" groß geschrieben habe!
Und das mit den plus/minus vor den Werten ist auch wichtig ;-)
Die ganzen LP3,4 5, ... sind jetzt auch weg.

Danke.

Aber wieso steht immer noch Speicher. LP2 und SoC,... drin? Stehen die immer drin oder kann ich die auch ausblenden.
Leider funktioniert "Netz" noch nicht. Da steht "0" drin
Kernel: Linux 4.19.66-v7+ GNU/Linux - Python 3.5.3 - openWB Version: 1.9.303.0
Board: Raspberry Pi 3 Model B Plus Rev 1.3 # CPU: ARMv7 Processor rev 4 (v7l)
Ioniq PlugIn, Bj: 2018
Mike2020
Beiträge: 53
Registriert: Mi Sep 30, 2020 8:05 pm

Re: http funktioniert nicht richtig bzw überall

Beitrag von Mike2020 »

LP2, 3, 4,... kann man indirekt abschalten. Mit passenden Suchwörten doch noch gefunden:

von HSC » Mi Mär 23, 2022 12:22 pm
Geh mal unter Einstellungen/ Erscheinungsbild.
Dort 1x Legende de- und aktivieren.
Kernel: Linux 4.19.66-v7+ GNU/Linux - Python 3.5.3 - openWB Version: 1.9.303.0
Board: Raspberry Pi 3 Model B Plus Rev 1.3 # CPU: ARMv7 Processor rev 4 (v7l)
Ioniq PlugIn, Bj: 2018
Antworten