Hallo zusammen,
Danke für Eure Tips!
@yankee: Super Tip ! Seit welcher Version gibt es die API ? Ich biete den Code hier auch für Interessierte zum Nachbau an, daher muss ich die Mindest OpenWB Version mit erwähnen. Ich werde es mir nach meinem Urlaub anschauen.
Hat es dann heute überhaupt noch einen Effekt, wenn ich direkt etwas in die Ramdisk schreibe?
Diese Werte hier werde ich aktuell dann nicht über die RamDisk in die OpenWB bringen, richtig ?
Code: Alles auswählen
/var/www/html/openWB/ramdisk/evuhz 50 >> funtioniert
/var/www/html/openWB/ramdisk/evuv1 227 >> funtioniert nicht
/var/www/html/openWB/ramdisk/evuv2 227 >> funtioniert nicht
/var/www/html/openWB/ramdisk/evuv3 225 >> funtioniert nicht
/var/www/html/openWB/ramdisk/bezugw1 -2 >> funtioniert nicht
/var/www/html/openWB/ramdisk/bezugw2 164 >> funtioniert nicht
/var/www/html/openWB/ramdisk/bezugw3 141 >> funtioniert nicht
Wie derNeueDet schreibt, ist mir der Weg über einen PR wegen dem Batteriehersteller leider verwehrt. Bei einem Neukauf der Batterie wäre das für mich ein Thema, aber mit dem eigenen Modul konnte ich mir (und ein paar Wenigen anderen) ganz gut helfen.
@LenaK:
Ich habe gerade die folgende Version aktiv: 1.9.250 (2022-01-12 15:01:08 +0100 [af01572c] )
Ich habe dass LogLvl auf 2 gesetzt und bekomme folgende Meldungen für das EVU und Speicher HTTP modul:
Für mich scheint das Problem ein falsche Character zu sein.
"UnicodeEncodeError: 'ascii' codec can't encode character '\xe4' in position 56: ordinal not in range(128)"
Code: Alles auswählen
2022-01-15 08:13:35: RET: 0 (LV2) at 21 main modules/bezug_http/main.sh
2022-01-15 08:13:35: PID: 27394: legacy run server: Completed running command in 0.16s: ["modules.http.device","counter","http://127.0.0.1/openWB/ramdisk/wattbezug_senec","http://127.0.0.1
2022-01-15 08:13:35: PID: 27394: root: EVU Einspeisung: 17858943.0
2022-01-15 08:13:35: PID: 27394: root: EVU Bezug: 4346490.0
2022-01-15 08:13:35: PID: 27394: root: EVU Watt: 388.0
2022-01-15 08:13:35: PID: 27394: root: Antwort auf http://127.0.0.1/openWB/ramdisk/wattbezug_senec 388
2022-01-15 08:13:35: PID: 27394: root: Get-Response: 388
2022-01-15 08:13:35: PID: 27394: requests.packages.urllib3.connectionpool: http://127.0.0.1:80 "GET /openWB/ramdisk/wattbezug_senec HTTP/1.1" 200 3
2022-01-15 08:13:35: PID: 27394: requests.packages.urllib3.connectionpool: Starting new HTTP connection (1): 127.0.0.1:80
2022-01-15 08:13:34: PID: 27394: root: Antwort auf http://127.0.0.1/openWB/ramdisk/einspeisungkwh_senec 17858943
2022-01-15 08:13:34: PID: 27394: root: Get-Response: 17858943
2022-01-15 08:13:34: PID: 27394: requests.packages.urllib3.connectionpool: http://127.0.0.1:80 "GET /openWB/ramdisk/einspeisungkwh_senec HTTP/1.1" 200 8
2022-01-15 08:13:34: PID: 27394: requests.packages.urllib3.connectionpool: Starting new HTTP connection (1): 127.0.0.1:80
2022-01-15 08:13:34: PID: 27394: root: Antwort auf http://127.0.0.1/openWB/ramdisk/bezugkwh_senec 4346490
2022-01-15 08:13:34: PID: 27394: root: Get-Response: 4346490
2022-01-15 08:13:34: PID: 27394: requests.packages.urllib3.connectionpool: http://127.0.0.1:80 "GET /openWB/ramdisk/bezugkwh_senec HTTP/1.1" 200 7
2022-01-15 08:13:34: PID: 27394: requests.packages.urllib3.connectionpool: Starting new HTTP connection (1): 127.0.0.1:80
2022-01-15 08:13:34: PID: 27394: root: Antwort auf http://127.0.0.1/openWB/ramdisk/bezuga3_senec 1
2022-01-15 08:13:34: PID: 27394: root: Get-Response: 1
2022-01-15 08:13:34: PID: 27394: requests.packages.urllib3.connectionpool: http://127.0.0.1:80 "GET /openWB/ramdisk/bezuga3_senec HTTP/1.1" 200 1
2022-01-15 08:13:34: PID: 27394: requests.packages.urllib3.connectionpool: Starting new HTTP connection (1): 127.0.0.1:80
2022-01-15 08:13:34: PID: 27394: root: Antwort auf http://127.0.0.1/openWB/ramdisk/bezuga2_senec 1
2022-01-15 08:13:34: PID: 27394: root: Get-Response: 1
2022-01-15 08:13:34: PID: 27394: requests.packages.urllib3.connectionpool: http://127.0.0.1:80 "GET /openWB/ramdisk/bezuga2_senec HTTP/1.1" 200 1
2022-01-15 08:13:34: PID: 27394: requests.packages.urllib3.connectionpool: Starting new HTTP connection (1): 127.0.0.1:80
2022-01-15 08:13:34: PID: 27394: root: Antwort auf http://127.0.0.1/openWB/ramdisk/bezuga1_senec 1
2022-01-15 08:13:34: PID: 27394: root: Get-Response: 1
2022-01-15 08:13:34: PID: 27394: requests.packages.urllib3.connectionpool: http://127.0.0.1:80 "GET /openWB/ramdisk/bezuga1_senec HTTP/1.1" 200 1
2022-01-15 08:13:34: PID: 27394: requests.packages.urllib3.connectionpool: Starting new HTTP connection (1): 127.0.0.1:80
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 56: 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):
--- Logging error ---
Arguments: ()
Message: 'Komponente HTTP Z\xe4hler auslesen.'
self.logger.debug(message, exc_info=exception)
File "/var/www/html/openWB/packages/helpermodules/log.py", line 40, in debug
log.MainLogger().debug("Komponente "+self.component_config["name"]+" auslesen.")
File "/var/www/html/openWB/packages/modules/http/counter.py", line 42, in update
self._components[component].update()
File "/var/www/html/openWB/packages/modules/http/device.py", line 65, in update
device.update()
File "/var/www/html/openWB/packages/modules/http/device.py", line 98, in run_device_legacy
run_device_legacy(create_legacy_device_config(power_path), component_config)
File "/var/www/html/openWB/packages/modules/http/device.py", line 132, 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 147, in main
importlib.import_module(parsed[0]).main(parsed[1:])
File "/var/www/html/openWB/packages/legacy_run_server.py", line 77, in handle_message
self.__callback(read_all_bytes(connection))
File "/var/www/html/openWB/packages/legacy_run_server.py", line 56, 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 56: 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):
--- Logging error ---
Arguments: ()
Message: 'Komponente HTTP Z\xe4hler auslesen.'
self.logger.debug(message, exc_info=exception)
File "/var/www/html/openWB/packages/helpermodules/log.py", line 40, in debug
log.MainLogger().debug("Komponente "+self.component_config["name"]+" auslesen.")
File "/var/www/html/openWB/packages/modules/http/counter.py", line 42, in update
self._components[component].update()
File "/var/www/html/openWB/packages/modules/http/device.py", line 65, in update
device.update()
File "/var/www/html/openWB/packages/modules/http/device.py", line 98, in run_device_legacy
run_device_legacy(create_legacy_device_config(power_path), component_config)
File "/var/www/html/openWB/packages/modules/http/device.py", line 132, 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 147, in main
importlib.import_module(parsed[0]).main(parsed[1:])
File "/var/www/html/openWB/packages/legacy_run_server.py", line 77, in handle_message
self.__callback(read_all_bytes(connection))
File "/var/www/html/openWB/packages/legacy_run_server.py", line 56, 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 56: 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):
--- Logging error ---
Arguments: ()
Message: 'Komponente HTTP Z\xe4hler auslesen.'
self.logger.debug(message, exc_info=exception)
File "/var/www/html/openWB/packages/helpermodules/log.py", line 40, in debug
log.MainLogger().debug("Komponente "+self.component_config["name"]+" auslesen.")
File "/var/www/html/openWB/packages/modules/http/counter.py", line 42, in update
self._components[component].update()
File "/var/www/html/openWB/packages/modules/http/device.py", line 65, in update
device.update()
File "/var/www/html/openWB/packages/modules/http/device.py", line 98, in run_device_legacy
run_device_legacy(create_legacy_device_config(power_path), component_config)
File "/var/www/html/openWB/packages/modules/http/device.py", line 132, 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 147, in main
importlib.import_module(parsed[0]).main(parsed[1:])
File "/var/www/html/openWB/packages/legacy_run_server.py", line 77, in handle_message
self.__callback(read_all_bytes(connection))
File "/var/www/html/openWB/packages/legacy_run_server.py", line 56, 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 56: 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):
--- Logging error ---
Arguments: ()
Message: 'Komponente HTTP Z\xe4hler auslesen.'
self.logger.debug(message, exc_info=exception)
File "/var/www/html/openWB/packages/helpermodules/log.py", line 40, in debug
log.MainLogger().debug("Komponente "+self.component_config["name"]+" auslesen.")
File "/var/www/html/openWB/packages/modules/http/counter.py", line 42, in update
self._components[component].update()
File "/var/www/html/openWB/packages/modules/http/device.py", line 65, in update
device.update()
File "/var/www/html/openWB/packages/modules/http/device.py", line 98, in run_device_legacy
run_device_legacy(create_legacy_device_config(power_path), component_config)
File "/var/www/html/openWB/packages/modules/http/device.py", line 132, 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-01-15 08:13:34: PID: 27394: root: Start device reading {'component0': <modules.http.counter.HttpCounter object at 0x71a87d50>}
2022-01-15 08:13:34: PID: 27394: root: Http Konfiguration: {'domain': '127.0.0.1', 'protocol': 'http'}{'imported_path': '/openWB/ramdisk/bezugkwh_senec', 'power_path': '/openWB/ramdisk/wattbezug_senec', 'power_l3_path': '/openWB/ramdisk/bezuga3_senec', 'exported_path': '/openWB/ramdisk/einspeisungkwh_senec', 'power_l1_path': '/openWB/ramdisk/bezuga1_senec', 'power_l2_path': '/openWB/ramdisk/bezuga2_senec'}
2022-01-15 08:13:34: PID: 27394: legacy run server: Received command ["modules.http.device","counter","http://127.0.0.1/openWB/ramdisk/wattbezug_senec","http://127.0.0.1
2022-01-15 08:13:33: BattLeistung: -3 (LV1) at 31 main modules/speicher_http/main.sh
2022-01-15 08:13:33: RET: 0 (LV2) at 27 main modules/speicher_http/main.sh
2022-01-15 08:13:33: PID: 27394: legacy run server: Completed running command in 0.09s: ["modules.http.device","bat","http://127.0.0.1/openWB/ramdisk/speicherleistung_senec","http://127.0.
2022-01-15 08:13:33: PID: 27394: root: BAT Bezug: 4023218.0
2022-01-15 08:13:33: PID: 27394: root: BAT Einspeisung: 3795598.0
2022-01-15 08:13:33: PID: 27394: root: BAT Watt: -3.0
2022-01-15 08:13:33: PID: 27394: root: Antwort auf http://127.0.0.1/openWB/ramdisk/speicherekwh_senec 3795598
2022-01-15 08:13:33: PID: 27394: root: Get-Response: 3795598
2022-01-15 08:13:33: PID: 27394: requests.packages.urllib3.connectionpool: http://127.0.0.1:80 "GET /openWB/ramdisk/speicherekwh_senec HTTP/1.1" 200 7
2022-01-15 08:13:33: PID: 27394: requests.packages.urllib3.connectionpool: Starting new HTTP connection (1): 127.0.0.1:80
2022-01-15 08:13:33: PID: 27394: root: Antwort auf http://127.0.0.1/openWB/ramdisk/speicherikwh_senec 4023218
2022-01-15 08:13:33: PID: 27394: root: Get-Response: 4023218
2022-01-15 08:13:33: PID: 27394: requests.packages.urllib3.connectionpool: http://127.0.0.1:80 "GET /openWB/ramdisk/speicherikwh_senec HTTP/1.1" 200 7
2022-01-15 08:13:33: PID: 27394: requests.packages.urllib3.connectionpool: Starting new HTTP connection (1): 127.0.0.1:80
2022-01-15 08:13:33: PID: 27394: root: Antwort auf http://127.0.0.1/openWB/ramdisk/speichersoc_senec 0
2022-01-15 08:13:33: PID: 27394: root: Get-Response: 0
2022-01-15 08:13:33: PID: 27394: requests.packages.urllib3.connectionpool: http://127.0.0.1:80 "GET /openWB/ramdisk/speichersoc_senec HTTP/1.1" 200 1
2022-01-15 08:13:33: PID: 27394: requests.packages.urllib3.connectionpool: Starting new HTTP connection (1): 127.0.0.1:80
2022-01-15 08:13:33: PID: 27394: root: Antwort auf http://127.0.0.1/openWB/ramdisk/speicherleistung_senec -3
2022-01-15 08:13:33: PID: 27394: root: Get-Response: -3
2022-01-15 08:13:33: PID: 27394: requests.packages.urllib3.connectionpool: http://127.0.0.1:80 "GET /openWB/ramdisk/speicherleistung_senec HTTP/1.1" 200 2
2022-01-15 08:13:33: PID: 27394: requests.packages.urllib3.connectionpool: Starting new HTTP connection (1): 127.0.0.1:80
2022-01-15 08:13:33: PID: 27394: root: Komponente HTTP Speicher auslesen.
2022-01-15 08:13:33: PID: 27394: root: Start device reading {'component0': <modules.http.bat.HttpBat object at 0x72bc62f0>}
2022-01-15 08:13:33: PID: 27394: root: Http Konfiguration: {'domain': '127.0.0.1', 'protocol': 'http'}{'imported_path': '/openWB/ramdisk/speicherikwh_senec', 'power_path': '/openWB/ramdisk/speicherleistung_senec', 'exported_path': '/openWB/ramdisk/speicherekwh_senec', 'soc_path': '/openWB/ramdisk/speichersoc_senec'}
2022-01-15 08:13:33: PID: 27394: legacy run server: Received command ["modules.http.device","bat","http://127.0.0.1/openWB/ramdisk/speicherleistung_senec","http://127.0.
2022-01-15 08:13:33: Speicher SoC: http://127.0.0.1/openWB/ramdisk/speichersoc_senec (LV2) at 22 main modules/speicher_http/main.sh
2022-01-15 08:13:33: Speicher Watt: http://127.0.0.1/openWB/ramdisk/speicherleistung_senec (LV2) at 21 main modules/speicher_http/main.sh
2022-01-15 08:13:33: Speicher Import: http://127.0.0.1/openWB/ramdisk/speicherikwh_senec (LV2) at 20 main modules/speicher_http/main.sh
2022-01-15 08:13:33: Speicher Export: http://127.0.0.1/openWB/ramdisk/speicherekwh_senec (LV2) at 19 main modules/speicher_http/main.sh
nach dem Update auf 1.9.250 (2022-01-14 16:31:53 +0100 [b8e58965] ) ist der ASCII Fehler weg
Code: Alles auswählen
2022-01-15 08:27:34: RET: 0 (LV2) at 21 main modules/bezug_http/main.sh
2022-01-15 08:27:34: PID: 5038: legacy run server: Completed running command in 0.13s: ["modules.http.device","counter","http://127.0.0.1/openWB/ramdisk/wattbezug_senec","http://127.0.0.1
2022-01-15 08:27:34: PID: 5038: root: EVU Einspeisung: 17858943.0
2022-01-15 08:27:34: PID: 5038: root: EVU Bezug: 4346576.0
2022-01-15 08:27:34: PID: 5038: root: EVU Watt: 350.0
2022-01-15 08:27:34: PID: 5038: root: Antwort auf http://127.0.0.1/openWB/ramdisk/wattbezug_senec 350
2022-01-15 08:27:34: PID: 5038: root: Get-Response: 350
2022-01-15 08:27:34: PID: 5038: requests.packages.urllib3.connectionpool: http://127.0.0.1:80 "GET /openWB/ramdisk/wattbezug_senec HTTP/1.1" 200 3
2022-01-15 08:27:34: PID: 5038: requests.packages.urllib3.connectionpool: Starting new HTTP connection (1): 127.0.0.1:80
2022-01-15 08:27:34: PID: 5038: root: Antwort auf http://127.0.0.1/openWB/ramdisk/einspeisungkwh_senec 17858943
2022-01-15 08:27:34: PID: 5038: root: Get-Response: 17858943
2022-01-15 08:27:34: PID: 5038: requests.packages.urllib3.connectionpool: http://127.0.0.1:80 "GET /openWB/ramdisk/einspeisungkwh_senec HTTP/1.1" 200 8
2022-01-15 08:27:34: PID: 5038: requests.packages.urllib3.connectionpool: Starting new HTTP connection (1): 127.0.0.1:80
2022-01-15 08:27:34: PID: 5038: root: Antwort auf http://127.0.0.1/openWB/ramdisk/bezugkwh_senec 4346576
2022-01-15 08:27:34: PID: 5038: root: Get-Response: 4346576
2022-01-15 08:27:34: PID: 5038: requests.packages.urllib3.connectionpool: http://127.0.0.1:80 "GET /openWB/ramdisk/bezugkwh_senec HTTP/1.1" 200 7
2022-01-15 08:27:34: PID: 5038: requests.packages.urllib3.connectionpool: Starting new HTTP connection (1): 127.0.0.1:80
2022-01-15 08:27:34: PID: 5038: root: Antwort auf http://127.0.0.1/openWB/ramdisk/bezuga3_senec 0
2022-01-15 08:27:34: PID: 5038: root: Get-Response: 0
2022-01-15 08:27:34: PID: 5038: requests.packages.urllib3.connectionpool: http://127.0.0.1:80 "GET /openWB/ramdisk/bezuga3_senec HTTP/1.1" 200 1
2022-01-15 08:27:34: PID: 5038: requests.packages.urllib3.connectionpool: Starting new HTTP connection (1): 127.0.0.1:80
2022-01-15 08:27:34: PID: 5038: root: Antwort auf http://127.0.0.1/openWB/ramdisk/bezuga2_senec 1
2022-01-15 08:27:34: PID: 5038: root: Get-Response: 1
2022-01-15 08:27:34: PID: 5038: requests.packages.urllib3.connectionpool: http://127.0.0.1:80 "GET /openWB/ramdisk/bezuga2_senec HTTP/1.1" 200 1
2022-01-15 08:27:34: PID: 5038: requests.packages.urllib3.connectionpool: Starting new HTTP connection (1): 127.0.0.1:80
2022-01-15 08:27:34: PID: 5038: root: Antwort auf http://127.0.0.1/openWB/ramdisk/bezuga1_senec 1
2022-01-15 08:27:34: PID: 5038: root: Get-Response: 1
2022-01-15 08:27:34: PID: 5038: requests.packages.urllib3.connectionpool: http://127.0.0.1:80 "GET /openWB/ramdisk/bezuga1_senec HTTP/1.1" 200 1
2022-01-15 08:27:34: PID: 5038: requests.packages.urllib3.connectionpool: Starting new HTTP connection (1): 127.0.0.1:80
2022-01-15 08:27:34: PID: 5038: root: Start device reading {'component0': <modules.http.counter.HttpCounter object at 0x73e326d0>}
2022-01-15 08:27:34: PID: 5038: root: Http Konfiguration: {'protocol': 'http', 'domain': '127.0.0.1'}{'power_l2_path': '/openWB/ramdisk/bezuga2_senec', 'power_l1_path': '/openWB/ramdisk/bezuga1_senec', 'imported_path': '/openWB/ramdisk/bezugkwh_senec', 'power_path': '/openWB/ramdisk/wattbezug_senec', 'power_l3_path': '/openWB/ramdisk/bezuga3_senec', 'exported_path': '/openWB/ramdisk/einspeisungkwh_senec'}
2022-01-15 08:27:34: PID: 5038: legacy run server: Received command ["modules.http.device","counter","http://127.0.0.1/openWB/ramdisk/wattbezug_senec","http://127.0.0.1
2022-01-15 08:27:33: BattLeistung: -3 (LV1) at 31 main modules/speicher_http/main.sh
2022-01-15 08:27:33: RET: 0 (LV2) at 27 main modules/speicher_http/main.sh
2022-01-15 08:27:33: PID: 5038: legacy run server: Completed running command in 0.08s: ["modules.http.device","bat","http://127.0.0.1/openWB/ramdisk/speicherleistung_senec","http://127.0.
2022-01-15 08:27:33: PID: 5038: root: BAT Bezug: 4023218.0
2022-01-15 08:27:33: PID: 5038: root: BAT Einspeisung: 3795599.0
2022-01-15 08:27:33: PID: 5038: root: BAT Watt: -3.0
2022-01-15 08:27:33: PID: 5038: root: Antwort auf http://127.0.0.1/openWB/ramdisk/speicherekwh_senec 3795599
2022-01-15 08:27:33: PID: 5038: root: Get-Response: 3795599
2022-01-15 08:27:33: PID: 5038: requests.packages.urllib3.connectionpool: http://127.0.0.1:80 "GET /openWB/ramdisk/speicherekwh_senec HTTP/1.1" 200 7
2022-01-15 08:27:33: PID: 5038: requests.packages.urllib3.connectionpool: Starting new HTTP connection (1): 127.0.0.1:80
2022-01-15 08:27:33: PID: 5038: root: Antwort auf http://127.0.0.1/openWB/ramdisk/speicherikwh_senec 4023218
2022-01-15 08:27:33: PID: 5038: root: Get-Response: 4023218
2022-01-15 08:27:33: PID: 5038: requests.packages.urllib3.connectionpool: http://127.0.0.1:80 "GET /openWB/ramdisk/speicherikwh_senec HTTP/1.1" 200 7
2022-01-15 08:27:33: PID: 5038: requests.packages.urllib3.connectionpool: Starting new HTTP connection (1): 127.0.0.1:80
2022-01-15 08:27:33: PID: 5038: root: Antwort auf http://127.0.0.1/openWB/ramdisk/speichersoc_senec 0
2022-01-15 08:27:33: PID: 5038: root: Get-Response: 0
2022-01-15 08:27:33: PID: 5038: requests.packages.urllib3.connectionpool: http://127.0.0.1:80 "GET /openWB/ramdisk/speichersoc_senec HTTP/1.1" 200 1
2022-01-15 08:27:33: PID: 5038: requests.packages.urllib3.connectionpool: Starting new HTTP connection (1): 127.0.0.1:80
2022-01-15 08:27:33: PID: 5038: root: Antwort auf http://127.0.0.1/openWB/ramdisk/speicherleistung_senec -3
2022-01-15 08:27:33: PID: 5038: root: Get-Response: -3
2022-01-15 08:27:33: PID: 5038: requests.packages.urllib3.connectionpool: http://127.0.0.1:80 "GET /openWB/ramdisk/speicherleistung_senec HTTP/1.1" 200 2
2022-01-15 08:27:33: PID: 5038: requests.packages.urllib3.connectionpool: Starting new HTTP connection (1): 127.0.0.1:80
2022-01-15 08:27:33: PID: 5038: root: Komponente HTTP Speicher auslesen.
2022-01-15 08:27:33: PID: 5038: root: Start device reading {'component0': <modules.http.bat.HttpBat object at 0x73e30d10>}
2022-01-15 08:27:33: PID: 5038: root: Http Konfiguration: {'protocol': 'http', 'domain': '127.0.0.1'}{'soc_path': '/openWB/ramdisk/speichersoc_senec', 'imported_path': '/openWB/ramdisk/speicherikwh_senec', 'exported_path': '/openWB/ramdisk/speicherekwh_senec', 'power_path': '/openWB/ramdisk/speicherleistung_senec'}
2022-01-15 08:27:33: PID: 5038: legacy run server: Received command ["modules.http.device","bat","http://127.0.0.1/openWB/ramdisk/speicherleistung_senec","http://127.0.
2022-01-15 08:27:33: Speicher SoC: http://127.0.0.1/openWB/ramdisk/speichersoc_senec (LV2) at 22 main modules/speicher_http/main.sh
2022-01-15 08:27:33: Speicher Watt: http://127.0.0.1/openWB/ramdisk/speicherleistung_senec (LV2) at 21 main modules/speicher_http/main.sh
2022-01-15 08:27:33: Speicher Import: http://127.0.0.1/openWB/ramdisk/speicherikwh_senec (LV2) at 20 main modules/speicher_http/main.sh
2022-01-15 08:27:33: Speicher Export: http://127.0.0.1/openWB/ramdisk/speicherekwh_senec (LV2) at 19 main modules/speicher_http/main.sh
Kann es sein, dass die Stromstärke im EVU Status berechnet wird und ich sie deshalb nicht sehe, weil ich die Spannung nicht laden kann ?
Wenn ja, dann muss mein nächster Schritt sein, auf die API zu wechseln.