Tesla Powerwall in Nightly

Fragen zur Nutzung, Features, usw..
simonkreuzer87
Beiträge: 71
Registriert: Fr Jul 09, 2021 2:41 pm
Has thanked: 1 time

Re: Tesla Powerwall in Nightly

Beitrag von simonkreuzer87 »

Sehr schön, bei mir geht es auch.
Hammer-BS
Beiträge: 23
Registriert: Mi Okt 28, 2020 7:57 pm

Re: Tesla Powerwall in Nightly

Beitrag von Hammer-BS »

Hallo,

seit heute werden bei mir die EVU-Werte der Powerwall nicht mehr angezeigt.
Im Debug-Log sind diverse Fehler, aus denen ich aber nicht schlau werde.

Es wurde weder ein Update seit der aktuellen beta gemacht noch etwas an den Moduleinstellungen geändert.

Hier der Log:

Code: Alles auswählen

2022-02-28 16:46:38: PID: 6097: **** Regulation loop needs 7 seconds (LV2) at 55 cleanup /var/www/html/openWB/regel.sh
2022-02-28 16:46:38: PID: 6097: uberschuss 0 wattbezug 0 ladestatus 1 llsoll 0 pvwatt -4396 mindestuberschussphasen 1500 wattkombiniert 0 schaltschwelle 230 (LV2) at 575 main /var/www/html/openWB/regel.sh
2022-02-28 16:46:38: PID: 6097: anzahlphasen 1 (LV1) at 574 main /var/www/html/openWB/regel.sh
2022-02-28 16:46:37: PID: 6097: Timing Umschaltung: 480 / 480 (LV1) at 15 u1p3pswitch u1p3p.sh
2022-02-28 16:46:37: PID: 6097: automatische Umschaltung aktiv (LV1) at 14 u1p3pswitch u1p3p.sh
2022-02-28 16:46:37: PID: 6097: Zeit zum abfragen aller Werte 6 Sekunden (LV1) at 176 main /var/www/html/openWB/regel.sh
2022-02-28 16:46:36: PID: 6097: chargestatlp1 0	chargestatlp2 0	chargestatlp3 0 (LV1) at 1275 loadvars loadvars.sh
2022-02-28 16:46:36: PID: 6097: plugstatlp1 0	plugstatlp2 0	plugstatlp3 0 (LV1) at 1274 loadvars loadvars.sh
2022-02-28 16:46:36: PID: 6097: lp1enabled 0	lp2enabled 0	lp3enabled 0 (LV1) at 1273 loadvars loadvars.sh
2022-02-28 16:46:36: PID: 6097: EVU 1:V/0A 2: V/0A 3: V/0A (LV1) at 1272 loadvars loadvars.sh
2022-02-28 16:46:36: PID: 6097: lla3 0	llv3 234.4	llas13 0 llas23  soclp1 0 soclp2 0 (LV1) at 1271 loadvars loadvars.sh
2022-02-28 16:46:36: PID: 6097: lla2 0	llv2 234.1	llas12 0 llas22  sofortll 32 hausverbrauch 5646 wattbezug 0 uberschuss 0 (LV1) at 1270 loadvars loadvars.sh
2022-02-28 16:46:36: PID: 6097: lla1 0	llv1 235.2	llas11 0 llas21  mindestuberschuss 1500 abschaltuberschuss 5 lademodus 1 (LV1) at 1269 loadvars loadvars.sh
2022-02-28 16:46:36: PID: 6097: pv1watt -4396 pv2watt  pvwatt -4396 ladeleistung 0 llalt 0 nachtladen 0 nachtladen 0 minimalA 8 maximalA 32 (LV1) at 1268 loadvars loadvars.sh
2022-02-28 16:46:36: PID: 6097: speicherleistung -1250 speichersoc 87 (LV1) at 1263 loadvars loadvars.sh
TypeError: catching classes that do not inherit from BaseException is not allowed
except [KeyError, HTTPError]:
File "/var/www/html/openWB/modules/bezug_powerwall/powerwall.py", line 38, in update_using_powerwall_client
update_function(PowerwallHttpClient(address, session, cookies))
2022-02-28 16:46:35: PID: 6385: EVU RET: 0 (LV2) at 16 main modules/bezug_powerwall/main.sh
File "/var/www/html/openWB/packages/modules/common/powerwall.py", line 69, in powerwall_update
powerwall_update(address, email, password, update_using_powerwall_client)
File "/var/www/html/openWB/modules/bezug_powerwall/powerwall.py", line 49, 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 53, 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):

During handling of the above exception, another exception occurred:

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 29, 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 29, in update_using_powerwall_client
Traceback (most recent call last):
2022-02-28 16:46:35: PID: 29033: legacy run server: Unhandled exception
2022-02-28 16:46:35: PID: 29033: root: Get-Response: [{"id":0,"location":"site","type":"synchrometerX","cts":[true,true,true,false],"inverted":[false,false,false,false],"connection":{"short_id":"1152100-13-E--JBL19193G3E006","device_serial":"JBL19168C3D061synchrometerX","https_conf":{}},"Cached_readings":{"last_communication_time":"2022-02-28T17:46:35.603342434+02:00","instant_power":77,"instant_reactive_power":-446,"instant_apparent_power":452.59805567412684,"frequency":0,"energy_exported":14485688.454890436,"energy_imported":61478538.61740915,"instant_average_voltage":407.03193977868614,"instant_average_current":0,"i_a_current":3.095,"i_b_current":4.686,"i_c_current":4.2465,"last_phase_voltage_communication_time":"2022-02-28T17:46:35.603453553+02:00","v_l1n":235.46,"v_l2n":234.44,"v_l3n":235.1,"last_phase_power_communication_time":"2022-02-28T17:46:35.603342434+02:00","real_power_a":-39,"real_power_b":735,"real_power_c":-619,"reactive_power_a":-350,"reactive_power_b":404,"reactive_power_c":-500,"last_phase_energy_communication_time":"0001-01-01T00:00:00Z","serial_number":"JBL19168C3D061","timeout":1500000000,"instant_total_current":0}}]
2022-02-28 16:46:35: PID: 29033: requests.packages.urllib3.connectionpool: https://192.168.7.71:443 "GET /api/meters/site HTTP/1.1" 200 1103
2022-02-28 16:46:35: PID: 29033: root: Get-Response: {"site":{"last_communication_time":"2022-02-28T17:46:35.603342434+02:00","instant_power":77,"instant_reactive_power":-446,"instant_apparent_power":452.59805567412684,"frequency":0,"energy_exported":14485688.454890436,"energy_imported":61478538.61740915,"instant_average_voltage":407.03193977868614,"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-28T17:46:35.573551034+02:00","instant_power":840,"instant_reactive_power":-40,"instant_apparent_power":840.9518416651455,"frequency":49.992000000000004,"energy_exported":10130590,"energy_imported":11703470,"instant_average_voltage":235.16666666666666,"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-28T17:46:35.573551034+02:00","instant_power":5297,"instant_reactive_power":-447,"instant_apparent_power":5315.827122847394,"frequency":0,"energy_exported":0,"energy_imported":101347514.51566556,"instant_average_voltage":407.03193977868614,"instant_average_current":13.013720748499779,"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.013720748499779},"solar":{"last_communication_time":"2022-02-28T17:46:35.579695329+02:00","instant_power":4390,"instant_reactive_power":39,"instant_apparent_power":4390.173231206259,"frequency":0,"energy_exported":56009161.77090627,"energy_imported":81617.41775941072,"instant_average_voltage":407.06080729214557,"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-28 16:46:35: PID: 29033: requests.packages.urllib3.connectionpool: https://192.168.7.71:443 "GET /api/meters/aggregates HTTP/1.1" 200 None
2022-02-28 16:46:35: PID: 29033: Powerwall: Firmware: 22.1.1 b0ec2432
2022-02-28 16:46:35: PID: 29033: root: Get-Response: {"din":"1152100-13-E--JBL19193G3E006","start_time":"2022-02-24 01:25:16 +0800","up_time_seconds":"112h21m18.659846577s","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-28 16:46:35: PID: 29033: requests.packages.urllib3.connectionpool: https://192.168.7.71:443 "GET /api/status HTTP/1.1" 200 264
2022-02-28 16:46:35: PID: 29033: requests.packages.urllib3.connectionpool: Starting new HTTPS connection (1): 192.168.7.71:443
2022-02-28 16:46:35: PID: 29033: Powerwall: Beginning update
2022-02-28 16:46:35: PID: 29033: legacy run server: Received command ["bezug_powerwall.powerwall","192.168.7.71","x@y.de","12345"]
2022-02-28 16:46:33: PID: 6252: BattLeistung: -1250 (LV1) at 31 main modules/speicher_powerwall/main.sh
2022-02-28 16:46:33: PID: 6252: RET: 0 (LV2) at 27 main modules/speicher_powerwall/main.sh
2022-02-28 16:46:33: PID: 29033: legacy run server: Completed running command in 0.12s: ["speicher_powerwall.powerwall","192.168.7.71","x@y.de","12345"]
2022-02-28 16:46:33: PID: 29033: ValueStore: Saving BatState(soc=87.220883733638, imported=11703470, exported=10130590, power=-1250)
2022-02-28 16:46:33: PID: 29033: root: Get-Response: {"percentage":87.220883733638}
2022-02-28 16:46:33: PID: 29033: requests.packages.urllib3.connectionpool: https://192.168.7.71:443 "GET /api/system_status/soe HTTP/1.1" 200 30
2022-02-28 16:46:33: PID: 29033: root: Get-Response: {"site":{"last_communication_time":"2022-02-28T17:46:32.888535645+02:00","instant_power":-31,"instant_reactive_power":-342,"instant_apparent_power":343.4020966738555,"frequency":0,"energy_exported":14485688.451823562,"energy_imported":61478538.616740465,"instant_average_voltage":407.19359785405925,"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-28T17:46:32.857197454+02:00","instant_power":1250,"instant_reactive_power":-40,"instant_apparent_power":1250.6398362438324,"frequency":49.996,"energy_exported":10130590,"energy_imported":11703470,"instant_average_voltage":235.30000000000004,"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-28T17:46:32.857197454+02:00","instant_power":5631.5,"instant_reactive_power":-329.5,"instant_apparent_power":5641.131313841222,"frequency":0,"energy_exported":0,"energy_imported":101347512.07700011,"instant_average_voltage":407.19359785405925,"instant_average_current":13.830030800283764,"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.830030800283764},"solar":{"last_communication_time":"2022-02-28T17:46:32.867520774+02:00","instant_power":4396,"instant_reactive_power":58,"instant_apparent_power":4396.382603914268,"frequency":0,"energy_exported":56009159.32984263,"energy_imported":81617.41775941072,"instant_average_voltage":407.2166918648268,"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-28 16:46:33: PID: 29033: requests.packages.urllib3.connectionpool: https://192.168.7.71:443 "GET /api/meters/aggregates HTTP/1.1" 200 None
2022-02-28 16:46:32: PID: 29033: requests.packages.urllib3.connectionpool: Starting new HTTPS connection (1): 192.168.7.71:443
2022-02-28 16:46:32: PID: 29033: Powerwall: Beginning update
2022-02-28 16:46:32: PID: 29033: legacy run server: Received command ["speicher_powerwall.powerwall","192.168.7.71","x@y.de","12345"]
2022-02-28 16:46:32: PID: 6252: Speicher IP: 192.168.7.71 (LV2) at 22 main modules/speicher_powerwall/main.sh
2022-02-28 16:46:32: PID: 6252: Speicher Passwort: 12345 (LV2) at 21 main modules/speicher_powerwall/main.sh
2022-02-28 16:46:32: PID: 6252: Speicher User: x@y.de (LV2) at 20 main modules/speicher_powerwall/main.sh
2022-02-28 16:46:32: PID: 6252: Speicher Login erforderlich: 1 (LV2) at 19 main modules/speicher_powerwall/main.sh
2022-02-28 16:46:32: PID: 6232: RET: 0 (LV2) at 18 main modules/wr_powerwall/main.sh
2022-02-28 16:46:32: PID: 29033: legacy run server: Completed running command in 0.09s: ["wr_powerwall.powerwall","192.168.7.71","x@y.de","12345"]
2022-02-28 16:46:32: PID: 29033: ValueStore: Saving InverterState(power=-4396, currents=[0, 0, 0], counter=56009159.32984263)
2022-02-28 16:46:32: PID: 29033: root: Get-Response: {"site":{"last_communication_time":"2022-02-28T17:46:32.687282332+02:00","instant_power":39,"instant_reactive_power":-334,"instant_apparent_power":336.2692373679162,"frequency":0,"energy_exported":14485688.451823562,"energy_imported":61478538.616740465,"instant_average_voltage":407.1589568379079,"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-28T17:46:32.655790023+02:00","instant_power":1200,"instant_reactive_power":-60,"instant_apparent_power":1201.4990636700472,"frequency":49.996,"energy_exported":10130590,"energy_imported":11703470,"instant_average_voltage":235.30000000000004,"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-28T17:46:32.655790023+02:00","instant_power":5659.25,"instant_reactive_power":-340.25,"instant_apparent_power":5669.469166068372,"frequency":0,"energy_exported":0,"energy_imported":101347512.07700011,"instant_average_voltage":407.1589568379079,"instant_average_current":13.899362656666243,"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.899362656666243},"solar":{"last_communication_time":"2022-02-28T17:46:32.666261086+02:00","instant_power":4396,"instant_reactive_power":42,"instant_apparent_power":4396.200632364269,"frequency":0,"energy_exported":56009159.32984263,"energy_imported":81617.41775941072,"instant_average_voltage":407.18782435136734,"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-28 16:46:32: PID: 29033: requests.packages.urllib3.connectionpool: https://192.168.7.71:443 "GET /api/meters/aggregates HTTP/1.1" 200 None
2022-02-28 16:46:32: PID: 29033: requests.packages.urllib3.connectionpool: Starting new HTTPS connection (1): 192.168.7.71:443
2022-02-28 16:46:32: PID: 29033: Powerwall: Beginning update
2022-02-28 16:46:32: PID: 29033: legacy run server: Received command ["wr_powerwall.powerwall","192.168.7.71","x@y.de","12345"]
2022-02-28 16:46:31: PID: 6097: **** Regulation loop start **** (LV1) at 70 main /var/www/html/openWB/regel.sh
Master: Standard+ (LP 1) mit RFID-Scanner, konfiguriert in Modus 2 (ca. 10 Nutzer)
Ladepunkt: Standard+ (LP 2)
SolarEdge Wechselrichter
Tesla Powerwall (konfiguriert als Batteriespeicher + EVU)
LutzB
Beiträge: 3781
Registriert: Di Feb 25, 2020 9:23 am
Has thanked: 4 times
Been thanked: 25 times

Re: Tesla Powerwall in Nightly

Beitrag von LutzB »

Dann mach mal ein Update. Da war noch ein Bug drin.
Hammer-BS
Beiträge: 23
Registriert: Mi Okt 28, 2020 7:57 pm

Re: Tesla Powerwall in Nightly

Beitrag von Hammer-BS »

Alles klar - mit der aktuellen Nightly läuft's!
Master: Standard+ (LP 1) mit RFID-Scanner, konfiguriert in Modus 2 (ca. 10 Nutzer)
Ladepunkt: Standard+ (LP 2)
SolarEdge Wechselrichter
Tesla Powerwall (konfiguriert als Batteriespeicher + EVU)
Antworten