Seite 1 von 3

Tesla Powerwall in Nightly

Verfasst: Di Feb 15, 2022 10:50 am
von simonkreuzer87
Hallo,

kann es sein, dass in der aktuellen Nightly 1.9.255 keine Daten für den EVU Übergabepunkt von der Tesla Powerwall rein kommen? Hat vielleicht noch jemand das Problem oder muss ich vielleicht noch was umstellen?

Re: Tesla Powerwall in Nightly

Verfasst: Mi Feb 16, 2022 6:52 pm
von Hammer-BS
edit: quote-Tags durch code ersetzt
---

Hallo,

ich habe das gleiche Problem (Nightly gerade installiert).
Das Auslesen der PV-Leistung und des Speichers aus der Powerwall funktioniert. Hausverbrauch wird jedoch mit < 30W angezeigt.
Das Problem war bei mir aber auch schon bei der aktuellen beta vorhanden - in der letzten Stable war noch alles ok.

Setup:
Standard+ (master)
Standard+ (LP)
Solaredge Wechselrichter
Tesla Gateway mit 3x Powerwall 2
EVU-Modul nicht verbaut

Hier der Log:

Code: Alles auswählen

2022-02-16 19:41:22: PID: 28456: **** Regulation loop needs 0 seconds (LV2) at 55 cleanup /var/www/html/openWB/regel.sh
2022-02-16 19:41:22: PID: 28456: **** Regulation loop start **** (LV1) at 70 main /var/www/html/openWB/regel.sh
2022-02-16 19:41:17: PID: 27065: **** Regulation loop needs 5 seconds (LV2) at 55 cleanup /var/www/html/openWB/regel.sh
2022-02-16 19:41:17: PID: 27065: Timing Umschaltung: 480 / 480 (LV1) at 15 u1p3pswitch u1p3p.sh
2022-02-16 19:41:17: PID: 27065: automatische Umschaltung aktiv (LV1) at 14 u1p3pswitch u1p3p.sh
2022-02-16 19:41:17: PID: 27065: Zeit zum abfragen aller Werte 5 Sekunden (LV1) at 176 main /var/www/html/openWB/regel.sh
2022-02-16 19:41:16: PID: 27065: chargestatlp1 0	chargestatlp2 0	chargestatlp3 0 (LV1) at 1275 loadvars loadvars.sh
2022-02-16 19:41:16: PID: 27065: plugstatlp1 0	plugstatlp2 0	plugstatlp3 0 (LV1) at 1274 loadvars loadvars.sh
2022-02-16 19:41:16: PID: 27065: lp1enabled 0	lp2enabled 0	lp3enabled 0 (LV1) at 1273 loadvars loadvars.sh
2022-02-16 19:41:16: PID: 27065: EVU 1:V/0A 2: V/0A 3: V/0A (LV1) at 1272 loadvars loadvars.sh
2022-02-16 19:41:16: PID: 27065: lla3 0	llv3 229.1	llas13 0 llas23  soclp1 0 soclp2 0 (LV1) at 1271 loadvars loadvars.sh
2022-02-16 19:41:16: PID: 27065: lla2 0	llv2 228.5	llas12 0 llas22  sofortll 32 hausverbrauch 0 wattbezug 0 uberschuss 10 (LV1) at 1270 loadvars loadvars.sh
2022-02-16 19:41:16: PID: 27065: lla1 0	llv1 230.4	llas11 0 llas21  mindestuberschuss 1500 abschaltuberschuss 5 lademodus 3 (LV1) at 1269 loadvars loadvars.sh
2022-02-16 19:41:16: PID: 27065: pv1watt 0 pv2watt  pvwatt 0 ladeleistung 0 llalt 0 nachtladen 0 nachtladen 0 minimalA 6 maximalA 32 (LV1) at 1268 loadvars loadvars.sh
2022-02-16 19:41:16: PID: 27065: speicherleistung 10 speichersoc 3 (LV1) at 1263 loadvars loadvars.sh
2022-02-16 19:41:16: PID: 27416: EVU RET: 0 (LV2) at 21 main modules/bezug_powerwall/main.sh
TypeError: list indices must be integers or slices, not str
meters_site["0"]["Cached_readings"]["v_l" + str(phase) + "n"] for phase in range(1, 4)
File "/var/www/html/openWB/modules/bezug_powerwall/powerwall.py", line 69, in <listcomp>
meters_site["0"]["Cached_readings"]["v_l" + str(phase) + "n"] for phase in range(1, 4)
File "/var/www/html/openWB/modules/bezug_powerwall/powerwall.py", line 69, in update_using_cookie
update_using_cookie(address, cookies)
File "/var/www/html/openWB/modules/bezug_powerwall/powerwall.py", line 106, 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_powerwall/powerwall.py", line 117, 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-02-16 19:41:16: PID: 21931: legacy run server: Unhandled exception
2022-02-16 19:41:16: PID: 21931: requests.packages.urllib3.connectionpool: https://192.168.7.71:443 "GET /api/meters/site HTTP/1.1" 200 1125
2022-02-16 19:41:16: PID: 21931: requests.packages.urllib3.connectionpool: Starting new HTTPS connection (1): 192.168.7.71:443
2022-02-16 19:41:15: PID: 21931: requests.packages.urllib3.connectionpool: https://192.168.7.71:443 "GET /api/meters/aggregates HTTP/1.1" 200 None
2022-02-16 19:41:15: PID: 21931: requests.packages.urllib3.connectionpool: Starting new HTTPS connection (1): 192.168.7.71:443
2022-02-16 19:41:15: PID: 21931: Powerwall: Firmware: 21.44.1 c58c2df3
2022-02-16 19:41:15: PID: 21931: requests.packages.urllib3.connectionpool: https://192.168.7.71:443 "GET /api/status HTTP/1.1" 200 266
2022-02-16 19:41:15: PID: 21931: requests.packages.urllib3.connectionpool: Starting new HTTPS connection (1): 192.168.7.71:443
2022-02-16 19:41:15: PID: 21931: Powerwall: Beginning update
2022-02-16 19:41:15: PID: 21931: legacy run server: Received command ["bezug_powerwall.powerwall","192.168.7.71","x@y.de","12345"]
2022-02-16 19:41:13: PID: 27216: BattLeistung: 10 (LV1) at 31 main modules/speicher_powerwall/main.sh
2022-02-16 19:41:13: PID: 27216: RET: 0 (LV2) at 27 main modules/speicher_powerwall/main.sh
2022-02-16 19:41:13: PID: 21931: legacy run server: Completed running command in 0.15s: ["speicher_powerwall.powerwall","192.168.7.71","x@y.de","12345"]
2022-02-16 19:41:13: PID: 21931: ValueStore: Saving BatState(soc=3.6139101447079325, exported=9951320, imported=11449090, power=10)
2022-02-16 19:41:13: PID: 21931: Powerwall: SoC-Response: {"percentage":3.6139101447079325}
2022-02-16 19:41:13: PID: 21931: requests.packages.urllib3.connectionpool: https://192.168.7.71:443 "GET /api/system_status/soe HTTP/1.1" 200 33
2022-02-16 19:41:13: PID: 21931: requests.packages.urllib3.connectionpool: Starting new HTTPS connection (1): 192.168.7.71:443
2022-02-16 19:41:13: PID: 21931: requests.packages.urllib3.connectionpool: https://192.168.7.71:443 "GET /api/meters/aggregates HTTP/1.1" 200 None
2022-02-16 19:41:13: PID: 21931: requests.packages.urllib3.connectionpool: Starting new HTTPS connection (1): 192.168.7.71:443
2022-02-16 19:41:13: PID: 21931: Powerwall: Beginning update
2022-02-16 19:41:13: PID: 21931: legacy run server: Received command ["speicher_powerwall.powerwall","192.168.7.71","x@y.de","12345"]
2022-02-16 19:41:13: PID: 27216: Speicher IP: 192.168.7.71 (LV2) at 22 main modules/speicher_powerwall/main.sh
2022-02-16 19:41:13: PID: 27216: Speicher Passwort: 12345 (LV2) at 21 main modules/speicher_powerwall/main.sh
2022-02-16 19:41:13: PID: 27216: Speicher User: x@y.de (LV2) at 20 main modules/speicher_powerwall/main.sh
2022-02-16 19:41:13: PID: 27216: Speicher Login erforderlich: 1 (LV2) at 19 main modules/speicher_powerwall/main.sh
2022-02-16 19:41:13: PID: 21931: legacy run server: Completed running command in 0.10s: ["wr_solaredge.solaredgeall","192.168.7.72","1","none","none","none","0","0","0","0"]
2022-02-16 19:41:13: PID: 21931: SolarEdge: Update completed successfully
2022-02-16 19:41:13: PID: 21931: ValueStore: Saving InverterState(power=0, counter=56539388.0, currents=[0.0, 0.0, 0.0])
2022-02-16 19:41:13: PID: 21931: SolarEdge: slave=1: power=0*10^0, energy=56539388*10^0, currents=[0, 0, 0] * 10^-2
2022-02-16 19:41:13: PID: 21931: pymodbus.payload: [0, 0, 0, 65534]
2022-02-16 19:41:13: PID: 21931: pymodbus.transaction: Changing transaction state from 'PROCESSING REPLY' to 'TRANSACTION_COMPLETE'
2022-02-16 19:41:13: PID: 21931: pymodbus.transaction: Getting transaction 3
2022-02-16 19:41:13: PID: 21931: pymodbus.transaction: Adding transaction 3
2022-02-16 19:41:13: PID: 21931: pymodbus.factory: Factory Response[ReadHoldingRegistersResponse: 3]
2022-02-16 19:41:13: PID: 21931: pymodbus.framer.socket_framer: Processing: 0x0 0x3 0x0 0x0 0x0 0xb 0x1 0x3 0x8 0x0 0x0 0x0 0x0 0x0 0x0 0xff 0xfe
2022-02-16 19:41:13: PID: 21931: pymodbus.transaction: RECV: 0x0 0x3 0x0 0x0 0x0 0xb 0x1 0x3 0x8 0x0 0x0 0x0 0x0 0x0 0x0 0xff 0xfe
2022-02-16 19:41:13: PID: 21931: pymodbus.transaction: Changing transaction state from 'WAITING FOR REPLY' to 'PROCESSING REPLY'
2022-02-16 19:41:13: PID: 21931: pymodbus.transaction: Changing transaction state from 'SENDING' to 'WAITING FOR REPLY'
2022-02-16 19:41:13: PID: 21931: pymodbus.client.sync: New Transaction state 'SENDING'
2022-02-16 19:41:13: PID: 21931: pymodbus.transaction: SEND: 0x0 0x3 0x0 0x0 0x0 0x6 0x1 0x3 0x9c 0x88 0x0 0x4
2022-02-16 19:41:13: PID: 21931: pymodbus.transaction: Running transaction 3
2022-02-16 19:41:13: PID: 21931: pymodbus.transaction: Current transaction state - TRANSACTION_COMPLETE
2022-02-16 19:41:13: PID: 21931: pymodbus.payload: [b'\x03^', b'\xb8\xfc']
2022-02-16 19:41:13: PID: 21931: pymodbus.payload: [862, 47356, 0]
2022-02-16 19:41:13: PID: 21931: pymodbus.transaction: Changing transaction state from 'PROCESSING REPLY' to 'TRANSACTION_COMPLETE'
2022-02-16 19:41:13: PID: 21931: pymodbus.transaction: Getting transaction 2
2022-02-16 19:41:13: PID: 21931: pymodbus.transaction: Adding transaction 2
2022-02-16 19:41:13: PID: 21931: pymodbus.factory: Factory Response[ReadHoldingRegistersResponse: 3]
2022-02-16 19:41:13: PID: 21931: pymodbus.framer.socket_framer: Processing: 0x0 0x2 0x0 0x0 0x0 0x9 0x1 0x3 0x6 0x3 0x5e 0xb8 0xfc 0x0 0x0
2022-02-16 19:41:13: PID: 21931: pymodbus.transaction: RECV: 0x0 0x2 0x0 0x0 0x0 0x9 0x1 0x3 0x6 0x3 0x5e 0xb8 0xfc 0x0 0x0
2022-02-16 19:41:13: PID: 21931: pymodbus.transaction: Changing transaction state from 'WAITING FOR REPLY' to 'PROCESSING REPLY'
2022-02-16 19:41:13: PID: 21931: pymodbus.transaction: Changing transaction state from 'SENDING' to 'WAITING FOR REPLY'
2022-02-16 19:41:13: PID: 21931: pymodbus.client.sync: New Transaction state 'SENDING'
2022-02-16 19:41:13: PID: 21931: pymodbus.transaction: SEND: 0x0 0x2 0x0 0x0 0x0 0x6 0x1 0x3 0x9c 0x9d 0x0 0x3
2022-02-16 19:41:13: PID: 21931: pymodbus.transaction: Running transaction 2
2022-02-16 19:41:13: PID: 21931: pymodbus.transaction: Current transaction state - TRANSACTION_COMPLETE
2022-02-16 19:41:13: PID: 21931: pymodbus.payload: [0, 0]
2022-02-16 19:41:13: PID: 21931: pymodbus.transaction: Changing transaction state from 'PROCESSING REPLY' to 'TRANSACTION_COMPLETE'
2022-02-16 19:41:13: PID: 21931: pymodbus.transaction: Getting transaction 1
2022-02-16 19:41:13: PID: 21931: pymodbus.transaction: Adding transaction 1
2022-02-16 19:41:13: PID: 21931: pymodbus.factory: Factory Response[ReadHoldingRegistersResponse: 3]
2022-02-16 19:41:13: PID: 21931: pymodbus.framer.socket_framer: Processing: 0x0 0x1 0x0 0x0 0x0 0x7 0x1 0x3 0x4 0x0 0x0 0x0 0x0
2022-02-16 19:41:13: PID: 21931: pymodbus.transaction: RECV: 0x0 0x1 0x0 0x0 0x0 0x7 0x1 0x3 0x4 0x0 0x0 0x0 0x0
2022-02-16 19:41:13: PID: 21931: pymodbus.transaction: Changing transaction state from 'WAITING FOR REPLY' to 'PROCESSING REPLY'
2022-02-16 19:41:13: PID: 21931: pymodbus.transaction: Changing transaction state from 'SENDING' to 'WAITING FOR REPLY'
2022-02-16 19:41:13: PID: 21931: pymodbus.client.sync: New Transaction state 'SENDING'
2022-02-16 19:41:13: PID: 21931: pymodbus.transaction: SEND: 0x0 0x1 0x0 0x0 0x0 0x6 0x1 0x3 0x9c 0x93 0x0 0x2
2022-02-16 19:41:13: PID: 21931: pymodbus.transaction: Running transaction 1
2022-02-16 19:41:13: PID: 21931: pymodbus.transaction: Current transaction state - IDLE
2022-02-16 19:41:13: PID: 21931: SolarEdge: Beginning update
2022-02-16 19:41:13: PID: 21931: legacy run server: Log level changed WARNING -> DEBUG
2022-02-16 19:41:12: PID: 27065: **** Regulation loop start **** (LV1) at 70 main /var/www/html/openWB/regel.sh
2022-02-16 19:41:02: PID: 26965: **** Regulation loop needs 0 seconds (LV2) at 55 cleanup /var/www/html/openWB/regel.sh
2022-02-16 19:41:02: PID: 26965: **** Regulation loop start **** (LV1) at 70 main /var/www/html/openWB/regel.sh
TypeError: list indices must be integers or slices, not str
meters_site["0"]["Cached_readings"]["v_l" + str(phase) + "n"] for phase in range(1, 4)
File "/var/www/html/openWB/modules/bezug_powerwall/powerwall.py", line 69, in <listcomp>
meters_site["0"]["Cached_readings"]["v_l" + str(phase) + "n"] for phase in range(1, 4)
File "/var/www/html/openWB/modules/bezug_powerwall/powerwall.py", line 69, in update_using_cookie
update_using_cookie(address, cookies)
File "/var/www/html/openWB/modules/bezug_powerwall/powerwall.py", line 106, 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_powerwall/powerwall.py", line 117, 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-02-16 19:40:55: PID: 21931: legacy run server: Unhandled exception
TypeError: list indices must be integers or slices, not str
meters_site["0"]["Cached_readings"]["v_l" + str(phase) + "n"] for phase in range(1, 4)
File "/var/www/html/openWB/modules/bezug_powerwall/powerwall.py", line 69, in <listcomp>
meters_site["0"]["Cached_readings"]["v_l" + str(phase) + "n"] for phase in range(1, 4)
File "/var/www/html/openWB/modules/bezug_powerwall/powerwall.py", line 69, in update_using_cookie
update_using_cookie(address, cookies)
File "/var/www/html/openWB/modules/bezug_powerwall/powerwall.py", line 106, 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_powerwall/powerwall.py", line 117, 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-02-16 19:40:35: PID: 21931: legacy run server: Unhandled exception
2022-02-16 19:40:29: PID: 22612: **** FATAL ********************************* (LV0)
2022-02-16 19:40:29: PID: 22612: **** FATAL Regulation loop needs 18 seconds (LV0)
2022-02-16 19:40:29: PID: 22612: **** FATAL ********************************* (LV0)
2022-02-16 19:40:22: PID: 23904: Pause nach Umschaltung: 2s (LV0)
TypeError: list indices must be integers or slices, not str
meters_site["0"]["Cached_readings"]["v_l" + str(phase) + "n"] for phase in range(1, 4)
File "/var/www/html/openWB/modules/bezug_powerwall/powerwall.py", line 69, in <listcomp>
meters_site["0"]["Cached_readings"]["v_l" + str(phase) + "n"] for phase in range(1, 4)
File "/var/www/html/openWB/modules/bezug_powerwall/powerwall.py", line 69, in update_using_cookie
update_using_cookie(address, cookies)
File "/var/www/html/openWB/modules/bezug_powerwall/powerwall.py", line 106, 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_powerwall/powerwall.py", line 117, 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-02-16 19:40:18: PID: 21931: legacy run server: Unhandled exception
InsecureRequestWarning,
2022-02-16 19:40:15: PID: 21931: legacy run server: /home/pi/.local/lib/python3.5/site-packages/urllib3/connectionpool.py:1050: InsecureRequestWarning: Unverified HTTPS request is being made to host '192.168.7.71'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/1.26.x/advanced-usage.html#ssl-warnings
2022-02-16 19:40:06: boot done :-)
AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1. Set the 'ServerName' directive globally to suppress this message
fix upload limit...OS Stretch
not activated, skipping
etprovider...
update broker...
load versions...
display update...
rfid 2 handler...
clear warning...

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100    41    0     0  100    41      0    174 --:--:-- --:--:-- --:--:--   175
                                 Dload  Upload   Total   Spent    Left  Speed
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
version...
Requirement already up-to-date: urllib3 in /usr/local/lib/python3.5/dist-packages
lxml installed...
ipparser installed...
jq installed...
python requests installed...
pymodbus installed...
aiohttp installed...
certifi installed...
docopt installed...
mqtt installed...
packages 2...
updating mosquitto config file
mosquitto...
cp: '/usr/share/zoneinfo/Europe/Berlin' and '/etc/localtime' are the same file
timezone...
evdev installed...
packages 1...
crontab 2...
...changed
apache...
LAN/WLAN...
crontab 1...
Starting legacy run server
legacy run server...
mqtt handler...
smarthome handler...
deleting browser cache
display...
rfid 2...
triginit...
Ramdisk init done.
Trigger update of logfiles...
Initializing Ramdisk /var/www/html/openWB/ramdisk
Config file Update done.
Updating /var/www/html/openWB/openwb.conf...
loading config
atreboot.sh started
Viele Grüße!

Re: Tesla Powerwall in Nightly

Verfasst: Di Feb 22, 2022 4:50 pm
von Hammer-BS
Hallo,

vielleicht hilft das bei der Lösungssuche.

Ich habe an einem anderen Standort das gleiche Setup, jedoch mit folgenden Unterschieden:
- nur 1x Powerwall am Tesla Gateway
- EVU-Modul von openWB (SDM) verbaut

An diesem Standort wird der Netzbezug angezeigt, sowohl mit Powerall als auch mit EVU-Modul in der EVU-Konfiguration.
Firmware ist bei beiden Standorten jeweils die aktuelle Nightly 1.9.255 (2022-02-22 11:56:30 +0100 [b13a45c8] ).

Gerne stelle ich die Standorte auch für Tests zur Verfügung - bräuchte dann nur ein paar Infos, was ich tun muss.

Viele Grüße!

Re: Tesla Powerwall in Nightly

Verfasst: Mi Feb 23, 2022 9:12 am
von simonkreuzer87
Falls nötig kann ich auch gerne Daten oder Zugang zur Verfügung stellen. Bei Bedarf einfach melden.

Re: Tesla Powerwall in Nightly

Verfasst: Do Feb 24, 2022 9:28 am
von yankee
Hammer-BS hat geschrieben: Mi Feb 16, 2022 6:52 pm
TypeError: list indices must be integers or slices, not str
meters_site["0"]["Cached_readings"]["v_l" + str(phase) + "n"] for phase in range(1, 4)
File "/var/www/html/openWB/modules/bezug_powerwall/powerwall.py", line 69, in <listcomp>
[..]
2022-02-16 19:41:16: PID: 21931: legacy run server: Unhandled exception
Das hier ist eine klare Ansage wo der Fehler her kommt. Nur leider nicht darüber wie die Lösung aussieht. Ich habe mit #2056 das logging erweitert. Das löst zwar das Problem nicht, zeigt aber welche Daten ankommen und bringen damit den Lösungsweg.

Bitte mache ein Update auf die aktuelle nightly und schaue dann nochmal ins Log. Poste einen Ausschnitt aus dem Log, der mit "**** Regulation loop start ****" beginnt und endet. Verwende bitte [​code][/code] statt [​quote][/quote]. Die Logausgabe lässt sich damit besser lesen.

Re: Tesla Powerwall in Nightly

Verfasst: Do Feb 24, 2022 12:52 pm
von Hammer-BS
Hallo,

ich bin noch auf der Version 1.9.255 (2022-02-22 11:56:30 +0100 [b13a45c8] ).
Da noch Fahrzeuge laden, werde ich die Nightly heute abend aktualisieren und den Log einstellen.

Was mich jedoch verwirrt, ist, dass bereits heute der Hausverbrauch korrekt angezeigt wird (EVU-Modul: Powerwall).

Hier der Log von heute:

Code: Alles auswählen

2022-02-24 13:35:17: PID: 25324: **** Regulation loop needs 6 seconds (LV2) at 55 cleanup /var/www/html/openWB/regel.sh
2022-02-24 13:35:17: PID: 25324: Sofort ladung Ladepunkt 2 bei minimal A 6 Ladeleistung zu gering (LV1) at 368 sofortlademodus sofortlademodus.sh
2022-02-24 13:35:17: PID: 25324: Sofort ladung Ladepunkt 1 bei minimal A 6 Ladeleistung zu gering (LV1) at 284 sofortlademodus sofortlademodus.sh
2022-02-24 13:35:17: PID: 25324: Timing Umschaltung: 480 / 480 (LV1) at 15 u1p3pswitch u1p3p.sh
2022-02-24 13:35:17: PID: 25324: automatische Umschaltung aktiv (LV1) at 14 u1p3pswitch u1p3p.sh
2022-02-24 13:35:16: PID: 25324: Zeit zum abfragen aller Werte 5 Sekunden (LV1) at 176 main /var/www/html/openWB/regel.sh
2022-02-24 13:35:16: PID: 25324: chargestatlp1 0	chargestatlp2 0	chargestatlp3 0 (LV1) at 1275 loadvars loadvars.sh
2022-02-24 13:35:16: PID: 25324: plugstatlp1 1	plugstatlp2 1	plugstatlp3 0 (LV1) at 1274 loadvars loadvars.sh
2022-02-24 13:35:16: PID: 25324: lp1enabled 1	lp2enabled 1	lp3enabled 0 (LV1) at 1273 loadvars loadvars.sh
2022-02-24 13:35:16: PID: 25324: EVU 1:V/0A 2: V/0A 3: V/0A (LV1) at 1272 loadvars loadvars.sh
2022-02-24 13:35:16: PID: 25324: lla3 0	llv3 233.0	llas13 0 llas23  soclp1 0 soclp2 0 (LV1) at 1271 loadvars loadvars.sh
2022-02-24 13:35:16: PID: 25324: lla2 0	llv2 232.4	llas12 0 llas22  sofortll 32 hausverbrauch 15636 wattbezug 5063 uberschuss -5033 (LV1) at 1270 loadvars loadvars.sh
2022-02-24 13:35:16: PID: 25324: lla1 0	llv1 232.1	llas11 0 llas21  mindestuberschuss 1500 abschaltuberschuss 5 lademodus 0 (LV1) at 1269 loadvars loadvars.sh
2022-02-24 13:35:16: PID: 25324: pv1watt -10603 pv2watt  pvwatt -10603 ladeleistung 0 llalt 6 nachtladen 0 nachtladen 0 minimalA 6 maximalA 32 (LV1) at 1268 loadvars loadvars.sh
2022-02-24 13:35:16: PID: 25324: speicherleistung 30 speichersoc 9 (LV1) at 1263 loadvars loadvars.sh
2022-02-24 13:35:15: PID: 25619: EVU RET: 0 (LV2) at 21 main modules/bezug_powerwall/main.sh
2022-02-24 13:35:15: PID: 16511: legacy run server: Completed running command in 0.15s: ["bezug_powerwall.powerwall","192.168.7.71","x@.de","12345"]
2022-02-24 13:35:15: PID: 16511: ValueStore: Saving CounterState(currents=[0.0, 0.0, 0.0], exported=14430421.45133581, voltages=[230, 230, 230], power_factors=[0, 0, 0], power=5063, powers=[0, 0, 0], imported=61071665.97920244, frequency=50)
2022-02-24 13:35:15: PID: 16511: requests.packages.urllib3.connectionpool: https://192.168.7.71:443 "GET /api/meters/aggregates HTTP/1.1" 200 None
2022-02-24 13:35:15: PID: 16511: requests.packages.urllib3.connectionpool: Starting new HTTPS connection (1): 192.168.7.71:443
2022-02-24 13:35:15: PID: 16511: Powerwall: Firmware: 22.1.1 b0ec2432
2022-02-24 13:35:15: PID: 16511: requests.packages.urllib3.connectionpool: https://192.168.7.71:443 "GET /api/status HTTP/1.1" 200 264
2022-02-24 13:35:15: PID: 16511: requests.packages.urllib3.connectionpool: Starting new HTTPS connection (1): 192.168.7.71:443
2022-02-24 13:35:15: PID: 16511: Powerwall: Beginning update
2022-02-24 13:35:15: PID: 16511: legacy run server: Received command ["bezug_powerwall.powerwall","192.168.7.71","x@.de","12345"]
2022-02-24 13:35:13: PID: 25486: BattLeistung: 30 (LV1) at 31 main modules/speicher_powerwall/main.sh
2022-02-24 13:35:13: PID: 25486: RET: 0 (LV2) at 27 main modules/speicher_powerwall/main.sh
2022-02-24 13:35:13: PID: 16511: legacy run server: Completed running command in 0.52s: ["speicher_powerwall.powerwall","192.168.7.71","x@.de","12345"]
2022-02-24 13:35:13: PID: 16511: ValueStore: Saving BatState(exported=10030920, soc=9.529376647927963, power=30, imported=11554130)
2022-02-24 13:35:13: PID: 16511: Powerwall: SoC-Response: {"percentage":9.529376647927963}
2022-02-24 13:35:13: PID: 16511: requests.packages.urllib3.connectionpool: https://192.168.7.71:443 "GET /api/system_status/soe HTTP/1.1" 200 32
2022-02-24 13:35:13: PID: 16511: requests.packages.urllib3.connectionpool: Starting new HTTPS connection (1): 192.168.7.71:443
2022-02-24 13:35:13: PID: 16511: requests.packages.urllib3.connectionpool: https://192.168.7.71:443 "GET /api/meters/aggregates HTTP/1.1" 200 None
2022-02-24 13:35:12: PID: 16511: requests.packages.urllib3.connectionpool: Starting new HTTPS connection (1): 192.168.7.71:443
2022-02-24 13:35:12: PID: 16511: Powerwall: Beginning update
2022-02-24 13:35:12: PID: 16511: legacy run server: Received command ["speicher_powerwall.powerwall","192.168.7.71","x@.de","12345"]
2022-02-24 13:35:12: PID: 25486: Speicher IP: 192.168.7.71 (LV2) at 22 main modules/speicher_powerwall/main.sh
2022-02-24 13:35:12: PID: 25486: Speicher Passwort: XHLBP (LV2) at 21 main modules/speicher_powerwall/main.sh
2022-02-24 13:35:12: PID: 25486: Speicher User: x@y.de (LV2) at 20 main modules/speicher_powerwall/main.sh
2022-02-24 13:35:12: PID: 25486: Speicher Login erforderlich: 1 (LV2) at 19 main modules/speicher_powerwall/main.sh
2022-02-24 13:35:12: PID: 16511: legacy run server: Completed running command in 0.09s: ["wr_solaredge.solaredgeall","192.168.7.72","1","none","none","none","0","0","0","0"]
2022-02-24 13:35:12: PID: 16511: SolarEdge: Update completed successfully
2022-02-24 13:35:12: PID: 16511: ValueStore: Saving InverterState(currents=[15.290000000000001, 15.32, 15.24], power=-10603.0, counter=57006304.0)
2022-02-24 13:35:12: PID: 16511: SolarEdge: slave=1: power=10603*10^0, energy=57006304*10^0, currents=[1529, 1532, 1524] * 10^-2
2022-02-24 13:35:12: PID: 16511: pymodbus.payload: [1529, 1532, 1524, 65534]
2022-02-24 13:35:12: PID: 16511: pymodbus.transaction: Changing transaction state from 'PROCESSING REPLY' to 'TRANSACTION_COMPLETE'
2022-02-24 13:35:12: PID: 16511: pymodbus.transaction: Getting transaction 3
2022-02-24 13:35:12: PID: 16511: pymodbus.transaction: Adding transaction 3
2022-02-24 13:35:12: PID: 16511: pymodbus.factory: Factory Response[ReadHoldingRegistersResponse: 3]
2022-02-24 13:35:12: PID: 16511: pymodbus.framer.socket_framer: Processing: 0x0 0x3 0x0 0x0 0x0 0xb 0x1 0x3 0x8 0x5 0xf9 0x5 0xfc 0x5 0xf4 0xff 0xfe
2022-02-24 13:35:12: PID: 16511: pymodbus.transaction: RECV: 0x0 0x3 0x0 0x0 0x0 0xb 0x1 0x3 0x8 0x5 0xf9 0x5 0xfc 0x5 0xf4 0xff 0xfe
2022-02-24 13:35:12: PID: 16511: pymodbus.transaction: Changing transaction state from 'WAITING FOR REPLY' to 'PROCESSING REPLY'
2022-02-24 13:35:12: PID: 16511: pymodbus.transaction: Changing transaction state from 'SENDING' to 'WAITING FOR REPLY'
2022-02-24 13:35:12: PID: 16511: pymodbus.client.sync: New Transaction state 'SENDING'
2022-02-24 13:35:12: PID: 16511: pymodbus.transaction: SEND: 0x0 0x3 0x0 0x0 0x0 0x6 0x1 0x3 0x9c 0x88 0x0 0x4
2022-02-24 13:35:12: PID: 16511: pymodbus.transaction: Running transaction 3
2022-02-24 13:35:12: PID: 16511: pymodbus.transaction: Current transaction state - TRANSACTION_COMPLETE
2022-02-24 13:35:12: PID: 16511: pymodbus.payload: [b'\x03e', b'\xd8\xe0']
2022-02-24 13:35:12: PID: 16511: pymodbus.payload: [869, 55520, 0]
2022-02-24 13:35:12: PID: 16511: pymodbus.transaction: Changing transaction state from 'PROCESSING REPLY' to 'TRANSACTION_COMPLETE'
2022-02-24 13:35:12: PID: 16511: pymodbus.transaction: Getting transaction 2
2022-02-24 13:35:12: PID: 16511: pymodbus.transaction: Adding transaction 2
2022-02-24 13:35:12: PID: 16511: pymodbus.factory: Factory Response[ReadHoldingRegistersResponse: 3]
2022-02-24 13:35:12: PID: 16511: pymodbus.framer.socket_framer: Processing: 0x0 0x2 0x0 0x0 0x0 0x9 0x1 0x3 0x6 0x3 0x65 0xd8 0xe0 0x0 0x0
2022-02-24 13:35:12: PID: 16511: pymodbus.transaction: RECV: 0x0 0x2 0x0 0x0 0x0 0x9 0x1 0x3 0x6 0x3 0x65 0xd8 0xe0 0x0 0x0
2022-02-24 13:35:12: PID: 16511: pymodbus.transaction: Changing transaction state from 'WAITING FOR REPLY' to 'PROCESSING REPLY'
2022-02-24 13:35:12: PID: 16511: pymodbus.transaction: Changing transaction state from 'SENDING' to 'WAITING FOR REPLY'
2022-02-24 13:35:12: PID: 16511: pymodbus.client.sync: New Transaction state 'SENDING'
2022-02-24 13:35:12: PID: 16511: pymodbus.transaction: SEND: 0x0 0x2 0x0 0x0 0x0 0x6 0x1 0x3 0x9c 0x9d 0x0 0x3
2022-02-24 13:35:12: PID: 16511: pymodbus.transaction: Running transaction 2
2022-02-24 13:35:12: PID: 16511: pymodbus.transaction: Current transaction state - TRANSACTION_COMPLETE
2022-02-24 13:35:12: PID: 16511: pymodbus.payload: [10603, 0]
2022-02-24 13:35:12: PID: 16511: pymodbus.transaction: Changing transaction state from 'PROCESSING REPLY' to 'TRANSACTION_COMPLETE'
2022-02-24 13:35:12: PID: 16511: pymodbus.transaction: Getting transaction 1
2022-02-24 13:35:12: PID: 16511: pymodbus.transaction: Adding transaction 1
2022-02-24 13:35:12: PID: 16511: pymodbus.factory: Factory Response[ReadHoldingRegistersResponse: 3]
2022-02-24 13:35:12: PID: 16511: pymodbus.framer.socket_framer: Processing: 0x0 0x1 0x0 0x0 0x0 0x7 0x1 0x3 0x4 0x29 0x6b 0x0 0x0
2022-02-24 13:35:12: PID: 16511: pymodbus.transaction: RECV: 0x0 0x1 0x0 0x0 0x0 0x7 0x1 0x3 0x4 0x29 0x6b 0x0 0x0
2022-02-24 13:35:12: PID: 16511: pymodbus.transaction: Changing transaction state from 'WAITING FOR REPLY' to 'PROCESSING REPLY'
2022-02-24 13:35:12: PID: 16511: pymodbus.transaction: Changing transaction state from 'SENDING' to 'WAITING FOR REPLY'
2022-02-24 13:35:12: PID: 16511: pymodbus.client.sync: New Transaction state 'SENDING'
2022-02-24 13:35:12: PID: 16511: pymodbus.transaction: SEND: 0x0 0x1 0x0 0x0 0x0 0x6 0x1 0x3 0x9c 0x93 0x0 0x2
2022-02-24 13:35:12: PID: 16511: pymodbus.transaction: Running transaction 1
2022-02-24 13:35:12: PID: 16511: pymodbus.transaction: Current transaction state - IDLE
2022-02-24 13:35:12: PID: 16511: SolarEdge: Beginning update
2022-02-24 13:35:12: PID: 16511: legacy run server: Received command ["wr_solaredge.solaredgeall","192.168.7.72","1","none","none","none","0","0","0","0"]
2022-02-24 13:35:11: PID: 25324: **** Regulation loop start **** (LV1) at 70 main /var/www/html/openWB/regel.sh

Re: Tesla Powerwall in Nightly

Verfasst: Do Feb 24, 2022 2:33 pm
von Hammer-BS
Update auf die aktuelle Nightly durchgeführt - 1.9.256 (2022-02-24 10:58:06 +0100 [ba96eb6a] )
Hausverbrauch und EVU-Anzeige funktioniert nach wie vor.

Auf der Statusseite bei Speicher steht jedoch noch:
"Störungsbeschreibung - Die Werte konnten nicht innerhalb des Timeouts abgefragt werden. Bitte Konfiguration und Gerätestatus prüfen."
Die Batterieladung bzw. -entladung und der SOC der Powerwall werden jedoch korrekt angezeigt.

Hier der aktuelle Log:

Code: Alles auswählen

2022-02-24 15:27:08: PID: 5788: **** Regulation loop needs 7 seconds (LV2) at 55 cleanup /var/www/html/openWB/regel.sh
2022-02-24 15:27:08: PID: 5788: Sofort ladung Ladepunkt 2 erhöht auf 6 bei minimal A 6 Ladeleistung zu gering (LV1) at 374 sofortlademodus sofortlademodus.sh
2022-02-24 15:27:07: PID: 5788: Sofort ladung Ladepunkt 1 erhöht auf 6 bei minimal A 6 Ladeleistung zu gering (LV1) at 290 sofortlademodus sofortlademodus.sh
2022-02-24 15:27:06: PID: 5788: Timing Umschaltung: 480 / 480 (LV1) at 15 u1p3pswitch u1p3p.sh
2022-02-24 15:27:06: PID: 5788: automatische Umschaltung aktiv (LV1) at 14 u1p3pswitch u1p3p.sh
2022-02-24 15:27:06: PID: 5788: Zeit zum abfragen aller Werte 4 Sekunden (LV1) at 176 main /var/www/html/openWB/regel.sh
2022-02-24 15:27:05: PID: 5788: chargestatlp1 0	chargestatlp2 0	chargestatlp3 0 (LV1) at 1275 loadvars loadvars.sh
2022-02-24 15:27:05: PID: 5788: plugstatlp1 0	plugstatlp2 0	plugstatlp3 0 (LV1) at 1274 loadvars loadvars.sh
2022-02-24 15:27:05: PID: 5788: lp1enabled 0	lp2enabled 0	lp3enabled 0 (LV1) at 1273 loadvars loadvars.sh
2022-02-24 15:27:05: PID: 5788: EVU 1:V/0A 2: V/0A 3: V/0A (LV1) at 1272 loadvars loadvars.sh
2022-02-24 15:27:05: PID: 5788: lla3 0	llv3 232.0	llas13 0 llas23  soclp1 0 soclp2 0 (LV1) at 1271 loadvars loadvars.sh
2022-02-24 15:27:05: PID: 5788: lla2 0	llv2 231.5	llas12 0 llas22  sofortll 32 hausverbrauch 5221 wattbezug -10 uberschuss 6610 (LV1) at 1270 loadvars loadvars.sh
2022-02-24 15:27:05: PID: 5788: lla1 0	llv1 233.0	llas11 0 llas21  mindestuberschuss 1500 abschaltuberschuss 5 lademodus 0 (LV1) at 1269 loadvars loadvars.sh
2022-02-24 15:27:05: PID: 5788: pv1watt -11831 pv2watt  pvwatt -11831 ladeleistung 0 llalt 0 nachtladen 0 nachtladen 0 minimalA 6 maximalA 32 (LV1) at 1268 loadvars loadvars.sh
2022-02-24 15:27:05: PID: 5788: speicherleistung 6600 speichersoc 24 (LV1) at 1263 loadvars loadvars.sh
2022-02-24 15:27:05: PID: 6152: EVU RET: 0 (LV2) at 16 main modules/bezug_powerwall/main.sh
2022-02-24 15:27:05: PID: 8646: legacy run server: Completed running command in 0.09s: ["bezug_powerwall.powerwall","192.168.7.71","x@y.de","12345"]
2022-02-24 15:27:05: PID: 8646: ValueStore: Saving CounterState(power_factors=[0, 0, 0], powers=[0, 0, 0], exported=14430852.12270359, frequency=50, currents=[0.0, 0.0, 0.0], voltages=[230, 230, 230], imported=61071954.83219866, power=-10)
2022-02-24 15:27:05: PID: 8646: root: Get-Response: {"site":{"last_communication_time":"2022-02-24T16:27:05.402988399+02:00","instant_power":-10,"instant_reactive_power":-1931,"instant_apparent_power":1931.0258931459205,"frequency":0,"energy_exported":14430852.12270359,"energy_imported":61071954.83219866,"instant_average_voltage":401.9454839071256,"instant_average_current":0,"i_a_current":0,"i_b_current":0,"i_c_current":0,"last_phase_voltage_communication_time":"0001-01-01T00:00:00Z","last_phase_power_communication_time":"0001-01-01T00:00:00Z","last_phase_energy_communication_time":"0001-01-01T00:00:00Z","timeout":1500000000,"num_meters_aggregated":1,"instant_total_current":0},"battery":{"last_communication_time":"2022-02-24T16:27:05.346398044+02:00","instant_power":-6600,"instant_reactive_power":110,"instant_apparent_power":6600.916603018099,"frequency":49.994,"energy_exported":10032800,"energy_imported":11562570,"instant_average_voltage":231.03333333333333,"instant_average_current":0,"i_a_current":0,"i_b_current":0,"i_c_current":0,"last_phase_voltage_communication_time":"0001-01-01T00:00:00Z","last_phase_power_communication_time":"0001-01-01T00:00:00Z","last_phase_energy_communication_time":"0001-01-01T00:00:00Z","timeout":1500000000,"num_meters_aggregated":3,"instant_total_current":0},"load":{"last_communication_time":"2022-02-24T16:27:05.346398044+02:00","instant_power":5272,"instant_reactive_power":-1712.75,"instant_apparent_power":5543.238815214441,"frequency":0,"energy_exported":0,"energy_imported":100561538.32022321,"instant_average_voltage":401.9454839071256,"instant_average_current":13.116206577950157,"i_a_current":0,"i_b_current":0,"i_c_current":0,"last_phase_voltage_communication_time":"0001-01-01T00:00:00Z","last_phase_power_communication_time":"0001-01-01T00:00:00Z","last_phase_energy_communication_time":"0001-01-01T00:00:00Z","timeout":1500000000,"instant_total_current":13.116206577950157},"solar":{"last_communication_time":"2022-02-24T16:27:05.403150515+02:00","instant_power":11854,"instant_reactive_power":86,"instant_apparent_power":11854.311958101996,"frequency":0,"energy_exported":55531195.86920164,"energy_imported":80990.25847348581,"instant_average_voltage":401.9685779178931,"instant_average_current":0,"i_a_current":0,"i_b_current":0,"i_c_current":0,"last_phase_voltage_communication_time":"0001-01-01T00:00:00Z","last_phase_power_communication_time":"0001-01-01T00:00:00Z","last_phase_energy_communication_time":"0001-01-01T00:00:00Z","timeout":1500000000,"num_meters_aggregated":1,"instant_total_current":0}}
2022-02-24 15:27:05: PID: 8646: requests.packages.urllib3.connectionpool: https://192.168.7.71:443 "GET /api/meters/aggregates HTTP/1.1" 200 None
2022-02-24 15:27:05: PID: 8646: Powerwall: Firmware: 22.1.1 b0ec2432
2022-02-24 15:27:05: PID: 8646: root: Get-Response: {"din":"1152100-13-E--JBL19193G3E006","start_time":"2022-02-24 01:25:16 +0800","up_time_seconds":"15h1m48.465908197s","is_new":false,"version":"22.1.1 b0ec2432","git_hash":"b0ec24329c08e44c2acc564b2c4a50e47181c024","commission_count":0,"device_type":"teg","sync_type":"v2","leader":"","followers":null,"cellular_disabled":false}
2022-02-24 15:27:05: PID: 8646: requests.packages.urllib3.connectionpool: https://192.168.7.71:443 "GET /api/status HTTP/1.1" 200 262
2022-02-24 15:27:05: PID: 8646: requests.packages.urllib3.connectionpool: Starting new HTTPS connection (1): 192.168.7.71:443
2022-02-24 15:27:05: PID: 8646: Powerwall: Beginning update
2022-02-24 15:27:05: PID: 8646: legacy run server: Received command ["bezug_powerwall.powerwall","192.168.7.71","x@y.de","12345"]
2022-02-24 15:27:03: PID: 5953: BattLeistung: 6600 (LV1) at 31 main modules/speicher_powerwall/main.sh
2022-02-24 15:27:02: PID: 5953: RET: 0 (LV2) at 27 main modules/speicher_powerwall/main.sh
2022-02-24 15:27:02: PID: 8646: legacy run server: Completed running command in 0.10s: ["speicher_powerwall.powerwall","192.168.7.71","x@y.de","12345"]
2022-02-24 15:27:02: PID: 8646: ValueStore: Saving BatState(imported=11562570, exported=10032800, soc=24.454007263320232, power=6600)
2022-02-24 15:27:02: PID: 8646: root: Get-Response: {"percentage":24.454007263320232}
2022-02-24 15:27:02: PID: 8646: requests.packages.urllib3.connectionpool: https://192.168.7.71:443 "GET /api/system_status/soe HTTP/1.1" 200 33
2022-02-24 15:27:02: PID: 8646: root: Get-Response: {"site":{"last_communication_time":"2022-02-24T16:27:02.891050711+02:00","instant_power":6,"instant_reactive_power":-1720,"instant_apparent_power":1720.0104650844423,"frequency":0,"energy_exported":14430852.12270359,"energy_imported":61071954.82967663,"instant_average_voltage":402.05518045827154,"instant_average_current":0,"i_a_current":0,"i_b_current":0,"i_c_current":0,"last_phase_voltage_communication_time":"0001-01-01T00:00:00Z","last_phase_power_communication_time":"0001-01-01T00:00:00Z","last_phase_energy_communication_time":"0001-01-01T00:00:00Z","timeout":1500000000,"num_meters_aggregated":1,"instant_total_current":0},"battery":{"last_communication_time":"2022-02-24T16:27:02.832746573+02:00","instant_power":-6600,"instant_reactive_power":120,"instant_apparent_power":6601.090818948032,"frequency":49.994,"energy_exported":10032800,"energy_imported":11562570,"instant_average_voltage":231.23333333333335,"instant_average_current":0,"i_a_current":0,"i_b_current":0,"i_c_current":0,"last_phase_voltage_communication_time":"0001-01-01T00:00:00Z","last_phase_power_communication_time":"0001-01-01T00:00:00Z","last_phase_energy_communication_time":"0001-01-01T00:00:00Z","timeout":1500000000,"num_meters_aggregated":3,"instant_total_current":0},"load":{"last_communication_time":"2022-02-24T16:27:02.832746573+02:00","instant_power":5259.75,"instant_reactive_power":-1705.5,"instant_apparent_power":5529.348995361027,"frequency":0,"energy_exported":0,"energy_imported":100561531.73079705,"instant_average_voltage":402.05518045827154,"instant_average_current":13.082159503590573,"i_a_current":0,"i_b_current":0,"i_c_current":0,"last_phase_voltage_communication_time":"0001-01-01T00:00:00Z","last_phase_power_communication_time":"0001-01-01T00:00:00Z","last_phase_energy_communication_time":"0001-01-01T00:00:00Z","timeout":1500000000,"instant_total_current":13.082159503590573},"solar":{"last_communication_time":"2022-02-24T16:27:02.890902969+02:00","instant_power":11865,"instant_reactive_power":-113,"instant_apparent_power":11865.538083036943,"frequency":0,"energy_exported":55531189.28229751,"energy_imported":80990.25847348581,"instant_average_voltage":402.0840479717311,"instant_average_current":0,"i_a_current":0,"i_b_current":0,"i_c_current":0,"last_phase_voltage_communication_time":"0001-01-01T00:00:00Z","last_phase_power_communication_time":"0001-01-01T00:00:00Z","last_phase_energy_communication_time":"0001-01-01T00:00:00Z","timeout":1500000000,"num_meters_aggregated":1,"instant_total_current":0}}
2022-02-24 15:27:02: PID: 8646: requests.packages.urllib3.connectionpool: https://192.168.7.71:443 "GET /api/meters/aggregates HTTP/1.1" 200 None
2022-02-24 15:27:02: PID: 8646: requests.packages.urllib3.connectionpool: Starting new HTTPS connection (1): 192.168.7.71:443
2022-02-24 15:27:02: PID: 8646: Powerwall: Beginning update
2022-02-24 15:27:02: PID: 8646: legacy run server: Received command ["speicher_powerwall.powerwall","192.168.7.71","x@y.de","12345"]
2022-02-24 15:27:02: PID: 5953: Speicher IP: 192.168.7.71 (LV2) at 22 main modules/speicher_powerwall/main.sh
2022-02-24 15:27:02: PID: 5953: Speicher Passwort: 12345 (LV2) at 21 main modules/speicher_powerwall/main.sh
2022-02-24 15:27:02: PID: 5953: Speicher User: x@y.de (LV2) at 20 main modules/speicher_powerwall/main.sh
2022-02-24 15:27:02: PID: 5953: Speicher Login erforderlich: 1 (LV2) at 19 main modules/speicher_powerwall/main.sh
2022-02-24 15:27:02: PID: 8646: legacy run server: Completed running command in 0.09s: ["wr_solaredge.solaredgeall","192.168.7.72","1","none","none","none","0","0","0","0"]
2022-02-24 15:27:02: PID: 8646: SolarEdge: Update completed successfully
2022-02-24 15:27:02: PID: 8646: ValueStore: Saving InverterState(currents=[16.990000000000002, 17.0, 17.0], power=-11831.0, counter=57029408.0)
2022-02-24 15:27:02: PID: 8646: SolarEdge: slave=1: power=11831*10^0, energy=57029408*10^0, currents=[1699, 1700, 1700] * 10^-2
2022-02-24 15:27:02: PID: 8646: pymodbus.payload: [1699, 1700, 1700, 65534]
2022-02-24 15:27:02: PID: 8646: pymodbus.transaction: Changing transaction state from 'PROCESSING REPLY' to 'TRANSACTION_COMPLETE'
2022-02-24 15:27:02: PID: 8646: pymodbus.transaction: Getting transaction 3
2022-02-24 15:27:02: PID: 8646: pymodbus.transaction: Adding transaction 3
2022-02-24 15:27:02: PID: 8646: pymodbus.factory: Factory Response[ReadHoldingRegistersResponse: 3]
2022-02-24 15:27:02: PID: 8646: pymodbus.framer.socket_framer: Processing: 0x0 0x3 0x0 0x0 0x0 0xb 0x1 0x3 0x8 0x6 0xa3 0x6 0xa4 0x6 0xa4 0xff 0xfe
2022-02-24 15:27:02: PID: 8646: pymodbus.transaction: RECV: 0x0 0x3 0x0 0x0 0x0 0xb 0x1 0x3 0x8 0x6 0xa3 0x6 0xa4 0x6 0xa4 0xff 0xfe
2022-02-24 15:27:02: PID: 8646: pymodbus.transaction: Changing transaction state from 'WAITING FOR REPLY' to 'PROCESSING REPLY'
2022-02-24 15:27:02: PID: 8646: pymodbus.transaction: Changing transaction state from 'SENDING' to 'WAITING FOR REPLY'
2022-02-24 15:27:02: PID: 8646: pymodbus.client.sync: New Transaction state 'SENDING'
2022-02-24 15:27:02: PID: 8646: pymodbus.transaction: SEND: 0x0 0x3 0x0 0x0 0x0 0x6 0x1 0x3 0x9c 0x88 0x0 0x4
2022-02-24 15:27:02: PID: 8646: pymodbus.transaction: Running transaction 3
2022-02-24 15:27:02: PID: 8646: pymodbus.transaction: Current transaction state - TRANSACTION_COMPLETE
2022-02-24 15:27:02: PID: 8646: pymodbus.payload: [b'\x03f', b'3 ']
2022-02-24 15:27:02: PID: 8646: pymodbus.payload: [870, 13088, 0]
2022-02-24 15:27:02: PID: 8646: pymodbus.transaction: Changing transaction state from 'PROCESSING REPLY' to 'TRANSACTION_COMPLETE'
2022-02-24 15:27:02: PID: 8646: pymodbus.transaction: Getting transaction 2
2022-02-24 15:27:02: PID: 8646: pymodbus.transaction: Adding transaction 2
2022-02-24 15:27:02: PID: 8646: pymodbus.factory: Factory Response[ReadHoldingRegistersResponse: 3]
2022-02-24 15:27:02: PID: 8646: pymodbus.framer.socket_framer: Processing: 0x0 0x2 0x0 0x0 0x0 0x9 0x1 0x3 0x6 0x3 0x66 0x33 0x20 0x0 0x0
2022-02-24 15:27:02: PID: 8646: pymodbus.transaction: RECV: 0x0 0x2 0x0 0x0 0x0 0x9 0x1 0x3 0x6 0x3 0x66 0x33 0x20 0x0 0x0
2022-02-24 15:27:02: PID: 8646: pymodbus.transaction: Changing transaction state from 'WAITING FOR REPLY' to 'PROCESSING REPLY'
2022-02-24 15:27:02: PID: 8646: pymodbus.transaction: Changing transaction state from 'SENDING' to 'WAITING FOR REPLY'
2022-02-24 15:27:02: PID: 8646: pymodbus.client.sync: New Transaction state 'SENDING'
2022-02-24 15:27:02: PID: 8646: pymodbus.transaction: SEND: 0x0 0x2 0x0 0x0 0x0 0x6 0x1 0x3 0x9c 0x9d 0x0 0x3
2022-02-24 15:27:02: PID: 8646: pymodbus.transaction: Running transaction 2
2022-02-24 15:27:02: PID: 8646: pymodbus.transaction: Current transaction state - TRANSACTION_COMPLETE
2022-02-24 15:27:02: PID: 8646: pymodbus.payload: [11831, 0]
2022-02-24 15:27:02: PID: 8646: pymodbus.transaction: Changing transaction state from 'PROCESSING REPLY' to 'TRANSACTION_COMPLETE'
2022-02-24 15:27:02: PID: 8646: pymodbus.transaction: Getting transaction 1
2022-02-24 15:27:02: PID: 8646: pymodbus.transaction: Adding transaction 1
2022-02-24 15:27:02: PID: 8646: pymodbus.factory: Factory Response[ReadHoldingRegistersResponse: 3]
2022-02-24 15:27:02: PID: 8646: pymodbus.framer.socket_framer: Processing: 0x0 0x1 0x0 0x0 0x0 0x7 0x1 0x3 0x4 0x2e 0x37 0x0 0x0
2022-02-24 15:27:02: PID: 8646: pymodbus.transaction: RECV: 0x0 0x1 0x0 0x0 0x0 0x7 0x1 0x3 0x4 0x2e 0x37 0x0 0x0
2022-02-24 15:27:02: PID: 8646: pymodbus.transaction: Changing transaction state from 'WAITING FOR REPLY' to 'PROCESSING REPLY'
2022-02-24 15:27:02: PID: 8646: pymodbus.transaction: Changing transaction state from 'SENDING' to 'WAITING FOR REPLY'
2022-02-24 15:27:02: PID: 8646: pymodbus.client.sync: New Transaction state 'SENDING'
2022-02-24 15:27:02: PID: 8646: pymodbus.transaction: SEND: 0x0 0x1 0x0 0x0 0x0 0x6 0x1 0x3 0x9c 0x93 0x0 0x2
2022-02-24 15:27:02: PID: 8646: pymodbus.transaction: Running transaction 1
2022-02-24 15:27:02: PID: 8646: pymodbus.transaction: Current transaction state - IDLE
2022-02-24 15:27:02: PID: 8646: SolarEdge: Beginning update
2022-02-24 15:27:02: PID: 8646: legacy run server: Received command ["wr_solaredge.solaredgeall","192.168.7.72","1","none","none","none","0","0","0","0"]
2022-02-24 15:27:01: PID: 5788: **** Regulation loop start **** (LV1) at 70 main /var/www/html/openWB/regel.sh

Re: Tesla Powerwall in Nightly

Verfasst: Do Feb 24, 2022 4:57 pm
von simonkreuzer87
Hallo, das sieht man aber nur weil kein Netzbezug ist. Wenn man von der Startseite das Menü öffnen und dann auf Status geht sieht man unter EVU dass hier nichts eingelesen wird. Bei meiner OWB die in Betrieb ist läuft das über den SMA Home Manager und hier sind alle Werte ausgefüllt.

Einmal mit Tesla Backup Gateway:
Mit Tesla
Mit Tesla
Einmal mit SMA Sunny Home Manager:
Mit SMA
Mit SMA

Re: Tesla Powerwall in Nightly

Verfasst: Do Feb 24, 2022 5:26 pm
von Hammer-BS
Hallo,

mir ist nicht ganz klar, worauf du dich beziehst.

Die Powerwall kann den Netzbezug nicht nach Phasen getrennt zurückgeben. Daher habe ich an meinem privaten Anschluss auch neben der Powerwall das EVU-Modul installiert, um nicht den Hausanschluss zu überlasten. Der Hausanschluss an dem Standort in diesem Thread ist jedoch mit 3x 120 A abgesichert, sodass das EVU-Modul nicht zwingend erforderlich ist. Mir reicht hier die kw-Angabe der Powerwall als EVU-Modul, um PV-Überschussladen zu ermöglichen. Dies hat bei der stable funktioniert, bei der beta dann nicht mehr, in der aktuellen Nightly jedoch wieder schon.

Falls du dich hierauf beziehst:
Hammer-BS hat geschrieben: Do Feb 24, 2022 2:33 pm Auf der Statusseite bei Speicher steht jedoch noch:
"Störungsbeschreibung - Die Werte konnten nicht innerhalb des Timeouts abgefragt werden. Bitte Konfiguration und Gerätestatus prüfen."
Die Batterieladung bzw. -entladung und der SOC der Powerwall werden jedoch korrekt angezeigt.
Die Störungsbeschreibung steht in der Rubrik "Speicher", nicht "EVU". Ich verstehe nicht, warum die Fehlermeldung kommt, obwohl alle Speicherparameter in Echtzeit korrekt ausgelesen werden (Abgleich mit Tesla-App).

Re: Tesla Powerwall in Nightly

Verfasst: Do Feb 24, 2022 6:32 pm
von LutzB
Vermutlich ist das eine alte Meldung. Die werden noch nicht konsequent gelöscht. Wenn alles gut aussieht, einfach ignorieren.