Code: Alles auswählen
2022-02-25 09:13:37: PID: 29476: **** Regulation loop needs 6 seconds (LV2) at 55 cleanup /var/www/html/openWB/regel.sh
2022-02-25 09:13:37: PID: 29476: uberschuss 372 wattbezug -2 ladestatus 1 llsoll 0 pvwatt -1075 mindestuberschussphasen 1500 wattkombiniert 372 schaltschwelle 230 (LV2) at 575 main /var/www/html/openWB/regel.sh
2022-02-25 09:13:37: PID: 29476: anzahlphasen 1 (LV1) at 574 main /var/www/html/openWB/regel.sh
2022-02-25 09:13:36: PID: 29476: Timing Umschaltung: 480 / 480 (LV1) at 15 u1p3pswitch u1p3p.sh
2022-02-25 09:13:36: PID: 29476: automatische Umschaltung aktiv (LV1) at 14 u1p3pswitch u1p3p.sh
2022-02-25 09:13:36: PID: 29476: Zeit zum abfragen aller Werte 4 Sekunden (LV1) at 176 main /var/www/html/openWB/regel.sh
2022-02-25 09:13:35: PID: 29476: chargestatlp1 0 chargestatlp2 0 chargestatlp3 0 (LV1) at 1275 loadvars loadvars.sh
2022-02-25 09:13:35: PID: 29476: plugstatlp1 0 plugstatlp2 0 plugstatlp3 0 (LV1) at 1274 loadvars loadvars.sh
2022-02-25 09:13:35: PID: 29476: lp1enabled 0 lp2enabled 0 lp3enabled 1 (LV1) at 1273 loadvars loadvars.sh
2022-02-25 09:13:35: PID: 29476: EVU 1:V/2A 2: V/0A 3: V/2A (LV1) at 1272 loadvars loadvars.sh
2022-02-25 09:13:35: PID: 29476: lla3 0 llv3 234.1 llas13 0 llas23 soclp1 3 soclp2 3 (LV1) at 1271 loadvars loadvars.sh
2022-02-25 09:13:35: PID: 29476: lla2 0 llv2 233.5 llas12 0 llas22 sofortll 32 hausverbrauch 503 wattbezug -2 uberschuss 372 (LV1) at 1270 loadvars loadvars.sh
2022-02-25 09:13:35: PID: 29476: lla1 0 llv1 234.0 llas11 0 llas21 mindestuberschuss 1500 abschaltuberschuss 5 lademodus 2 (LV1) at 1269 loadvars loadvars.sh
2022-02-25 09:13:35: PID: 29476: pv1watt -1075 pv2watt pvwatt -1075 ladeleistung 0 llalt 0 nachtladen 0 nachtladen 0 minimalA 6 maximalA 32 (LV1) at 1268 loadvars loadvars.sh
2022-02-25 09:13:35: PID: 29476: speicherleistung 570 speichersoc 42 (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))
File "/var/www/html/openWB/packages/modules/common/powerwall.py", line 69, in powerwall_update
powerwall_update(address, email, password, update_using_powerwall_client)
2022-02-25 09:13:35: PID: 29828: EVU RET: 0 (LV2) at 16 main modules/bezug_powerwall/main.sh
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-25 09:13:35: PID: 5874: legacy run server: Unhandled exception
2022-02-25 09:13:35: PID: 5874: root: Get-Response: [{"id":0,"location":"site","type":"synchrometerX","cts":[true,true,true,false],"inverted":[false,false,false,false],"connection":{"short_id":"1152100-13-H--JBL19231G3H117","device_serial":"JBL19246Y3C068synchrometerX","https_conf":{}},"Cached_readings":{"last_communication_time":"2022-02-25T10:13:35.262327133+02:00","instant_power":7,"instant_reactive_power":-968,"instant_apparent_power":968.0253095864798,"frequency":0,"energy_exported":17549332.87773295,"energy_imported":2092524.8031346377,"instant_average_voltage":404.9707993176792,"instant_average_current":0,"i_a_current":2.8055,"i_b_current":1.2745,"i_c_current":2.7720000000000002,"last_phase_voltage_communication_time":"2022-02-25T10:13:35.262406629+02:00","v_l1n":233.89000000000001,"v_l2n":233.55,"v_l3n":233.99,"last_phase_power_communication_time":"2022-02-25T10:13:35.262327133+02:00","real_power_a":367,"real_power_b":-126,"real_power_c":-234,"reactive_power_a":-278,"reactive_power_b":-160,"reactive_power_c":-530,"last_phase_energy_communication_time":"0001-01-01T00:00:00Z","serial_number":"JBL19246Y3C068","timeout":1500000000,"instant_total_current":0}}]
2022-02-25 09:13:35: PID: 5874: requests.packages.urllib3.connectionpool: https://192.168.99.71:443 "GET /api/meters/site HTTP/1.1" 200 1129
2022-02-25 09:13:35: PID: 5874: root: Get-Response: {"site":{"last_communication_time":"2022-02-25T10:13:35.262327133+02:00","instant_power":7,"instant_reactive_power":-968,"instant_apparent_power":968.0253095864798,"frequency":0,"energy_exported":17549332.87773295,"energy_imported":2092524.8031346377,"instant_average_voltage":404.9707993176792,"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-25T10:13:35.260773586+02:00","instant_power":-580,"instant_reactive_power":0,"instant_apparent_power":580,"frequency":50.027,"energy_exported":4240700,"energy_imported":4875310,"instant_average_voltage":233.8,"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},"load":{"last_communication_time":"2022-02-25T10:13:35.260461851+02:00","instant_power":525.75,"instant_reactive_power":-593.25,"instant_apparent_power":792.6907499144922,"frequency":0,"energy_exported":0,"energy_imported":10357219.54323959,"instant_average_voltage":404.9707993176792,"instant_average_current":1.2982417519629004,"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":1.2982417519629004},"solar":{"last_communication_time":"2022-02-25T10:13:35.260461851+02:00","instant_power":1097,"instant_reactive_power":360,"instant_apparent_power":1154.5600893846972,"frequency":0,"energy_exported":26492926.887168262,"energy_imported":44289.2693303587,"instant_average_voltage":404.95925231229535,"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-25 09:13:35: PID: 5874: requests.packages.urllib3.connectionpool: https://192.168.99.71:443 "GET /api/meters/aggregates HTTP/1.1" 200 None
2022-02-25 09:13:35: PID: 5874: Powerwall: Firmware: 22.1.1 b0ec2432
2022-02-25 09:13:35: PID: 5874: root: Get-Response: {"din":"1152100-13-H--JBL19231G3H117","start_time":"2022-02-24 02:47:53 +0800","up_time_seconds":"31h25m41.406943245s","is_new":false,"version":"22.1.1 b0ec2432","git_hash":"b0ec24329c08e44c2acc564b2c4a50e47181c024","commission_count":3,"device_type":"teg","sync_type":"v2.1","leader":"","followers":null,"cellular_disabled":false}
2022-02-25 09:13:35: PID: 5874: requests.packages.urllib3.connectionpool: https://192.168.99.71:443 "GET /api/status HTTP/1.1" 200 264
2022-02-25 09:13:35: PID: 5874: requests.packages.urllib3.connectionpool: Starting new HTTPS connection (1): 192.168.99.71:443
2022-02-25 09:13:35: PID: 5874: Powerwall: Beginning update
2022-02-25 09:13:35: PID: 5874: legacy run server: Received command ["bezug_powerwall.powerwall","192.168.99.71","x@y.de","12345"]
2022-02-25 09:13:33: PID: 29476: Calling SoC-Module <modules/soc_volvo/main.sh> (LV2) at 22 run_soc_module loadvars.sh
2022-02-25 09:13:32: PID: 29627: BattLeistung: 570 (LV1) at 31 main modules/speicher_powerwall/main.sh
2022-02-25 09:13:32: PID: 29627: RET: 0 (LV2) at 27 main modules/speicher_powerwall/main.sh
2022-02-25 09:13:32: PID: 5874: legacy run server: Completed running command in 0.10s: ["speicher_powerwall.powerwall","192.168.99.71","x@y.de","12345"]
2022-02-25 09:13:32: PID: 5874: ValueStore: Saving BatState(soc=42.138319376263354, exported=4240700, power=570.0000000000001, imported=4875310)
2022-02-25 09:13:32: PID: 5874: root: Get-Response: {"percentage":42.138319376263354}
2022-02-25 09:13:32: PID: 5874: requests.packages.urllib3.connectionpool: https://192.168.99.71:443 "GET /api/system_status/soe HTTP/1.1" 200 33
2022-02-25 09:13:32: PID: 5874: root: Get-Response: {"site":{"last_communication_time":"2022-02-25T10:13:32.75167394+02:00","instant_power":7,"instant_reactive_power":-962,"instant_apparent_power":962.0254674383626,"frequency":0,"energy_exported":17549332.87377037,"energy_imported":2092524.8031346377,"instant_average_voltage":404.930384798836,"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-25T10:13:32.74978266+02:00","instant_power":-570.0000000000001,"instant_reactive_power":20,"instant_apparent_power":570.350769263968,"frequency":50.024,"energy_exported":4240700,"energy_imported":4875310,"instant_average_voltage":233.8,"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},"load":{"last_communication_time":"2022-02-25T10:13:32.749667916+02:00","instant_power":534.2499999999999,"instant_reactive_power":-611.25,"instant_apparent_power":811.8187143691625,"frequency":0,"energy_exported":0,"energy_imported":10357218.626946297,"instant_average_voltage":404.930384798836,"instant_average_current":1.3193625868935674,"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":1.3193625868935674},"solar":{"last_communication_time":"2022-02-25T10:13:32.749667916+02:00","instant_power":1101,"instant_reactive_power":355,"instant_apparent_power":1156.8171852112157,"frequency":0,"energy_exported":26492925.96691239,"energy_imported":44289.2693303587,"instant_average_voltage":404.9303847988359,"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-25 09:13:32: PID: 5874: requests.packages.urllib3.connectionpool: https://192.168.99.71:443 "GET /api/meters/aggregates HTTP/1.1" 200 None
2022-02-25 09:13:32: PID: 5874: requests.packages.urllib3.connectionpool: Starting new HTTPS connection (1): 192.168.99.71:443
2022-02-25 09:13:32: PID: 5874: Powerwall: Beginning update
2022-02-25 09:13:32: PID: 5874: legacy run server: Received command ["speicher_powerwall.powerwall","192.168.99.71","x@y.de","12345"]
2022-02-25 09:13:32: PID: 29627: Speicher IP: 192.168.99.71 (LV2) at 22 main modules/speicher_powerwall/main.sh
2022-02-25 09:13:32: PID: 29627: Speicher Passwort: 12345 (LV2) at 21 main modules/speicher_powerwall/main.sh
2022-02-25 09:13:32: PID: 29627: Speicher User: x@y.de (LV2) at 20 main modules/speicher_powerwall/main.sh
2022-02-25 09:13:32: PID: 29627: Speicher Login erforderlich: 1 (LV2) at 19 main modules/speicher_powerwall/main.sh
2022-02-25 09:13:32: PID: 5874: legacy run server: Completed running command in 0.08s: ["wr_solaredge.solaredgeall","192.168.99.72","1","none","none","none","0","0","0","0"]
2022-02-25 09:13:32: PID: 5874: SolarEdge: Update completed successfully
2022-02-25 09:13:32: PID: 5874: ValueStore: Saving InverterState(counter=21040658.0, currents=[1.8, 1.69, 1.73], power=-1075.4)
2022-02-25 09:13:32: PID: 5874: SolarEdge: slave=1: power=10754*10^-1, energy=21040658*10^0, currents=[180, 169, 173] * 10^-2
2022-02-25 09:13:32: PID: 5874: pymodbus.payload: [180, 169, 173, 65534]
2022-02-25 09:13:32: PID: 5874: pymodbus.transaction: Changing transaction state from 'PROCESSING REPLY' to 'TRANSACTION_COMPLETE'
2022-02-25 09:13:32: PID: 5874: pymodbus.transaction: Getting transaction 3
2022-02-25 09:13:32: PID: 5874: pymodbus.transaction: Adding transaction 3
2022-02-25 09:13:32: PID: 5874: pymodbus.factory: Factory Response[ReadHoldingRegistersResponse: 3]
2022-02-25 09:13:32: PID: 5874: pymodbus.framer.socket_framer: Processing: 0x0 0x3 0x0 0x0 0x0 0xb 0x1 0x3 0x8 0x0 0xb4 0x0 0xa9 0x0 0xad 0xff 0xfe
2022-02-25 09:13:32: PID: 5874: pymodbus.transaction: RECV: 0x0 0x3 0x0 0x0 0x0 0xb 0x1 0x3 0x8 0x0 0xb4 0x0 0xa9 0x0 0xad 0xff 0xfe
2022-02-25 09:13:32: PID: 5874: pymodbus.transaction: Changing transaction state from 'WAITING FOR REPLY' to 'PROCESSING REPLY'
2022-02-25 09:13:32: PID: 5874: pymodbus.transaction: Changing transaction state from 'SENDING' to 'WAITING FOR REPLY'
2022-02-25 09:13:32: PID: 5874: pymodbus.client.sync: New Transaction state 'SENDING'
2022-02-25 09:13:32: PID: 5874: pymodbus.transaction: SEND: 0x0 0x3 0x0 0x0 0x0 0x6 0x1 0x3 0x9c 0x88 0x0 0x4
2022-02-25 09:13:32: PID: 5874: pymodbus.transaction: Running transaction 3
2022-02-25 09:13:32: PID: 5874: pymodbus.transaction: Current transaction state - TRANSACTION_COMPLETE
2022-02-25 09:13:32: PID: 5874: pymodbus.payload: [b'\x01A', b'\x0e\x12']
2022-02-25 09:13:32: PID: 5874: pymodbus.payload: [321, 3602, 0]
2022-02-25 09:13:32: PID: 5874: pymodbus.transaction: Changing transaction state from 'PROCESSING REPLY' to 'TRANSACTION_COMPLETE'
2022-02-25 09:13:32: PID: 5874: pymodbus.transaction: Getting transaction 2
2022-02-25 09:13:32: PID: 5874: pymodbus.transaction: Adding transaction 2
2022-02-25 09:13:32: PID: 5874: pymodbus.factory: Factory Response[ReadHoldingRegistersResponse: 3]
2022-02-25 09:13:32: PID: 5874: pymodbus.framer.socket_framer: Processing: 0x0 0x2 0x0 0x0 0x0 0x9 0x1 0x3 0x6 0x1 0x41 0xe 0x12 0x0 0x0
2022-02-25 09:13:32: PID: 5874: pymodbus.transaction: RECV: 0x0 0x2 0x0 0x0 0x0 0x9 0x1 0x3 0x6 0x1 0x41 0xe 0x12 0x0 0x0
2022-02-25 09:13:32: PID: 5874: pymodbus.transaction: Changing transaction state from 'WAITING FOR REPLY' to 'PROCESSING REPLY'
2022-02-25 09:13:32: PID: 5874: pymodbus.transaction: Changing transaction state from 'SENDING' to 'WAITING FOR REPLY'
2022-02-25 09:13:32: PID: 5874: pymodbus.client.sync: New Transaction state 'SENDING'
2022-02-25 09:13:32: PID: 5874: pymodbus.transaction: SEND: 0x0 0x2 0x0 0x0 0x0 0x6 0x1 0x3 0x9c 0x9d 0x0 0x3
2022-02-25 09:13:32: PID: 5874: pymodbus.transaction: Running transaction 2
2022-02-25 09:13:32: PID: 5874: pymodbus.transaction: Current transaction state - TRANSACTION_COMPLETE
2022-02-25 09:13:32: PID: 5874: pymodbus.payload: [10754, 65535]
2022-02-25 09:13:32: PID: 5874: pymodbus.transaction: Changing transaction state from 'PROCESSING REPLY' to 'TRANSACTION_COMPLETE'
2022-02-25 09:13:32: PID: 5874: pymodbus.transaction: Getting transaction 1
2022-02-25 09:13:32: PID: 5874: pymodbus.transaction: Adding transaction 1
2022-02-25 09:13:32: PID: 5874: pymodbus.factory: Factory Response[ReadHoldingRegistersResponse: 3]
2022-02-25 09:13:32: PID: 5874: pymodbus.framer.socket_framer: Processing: 0x0 0x1 0x0 0x0 0x0 0x7 0x1 0x3 0x4 0x2a 0x2 0xff 0xff
2022-02-25 09:13:32: PID: 5874: pymodbus.transaction: RECV: 0x0 0x1 0x0 0x0 0x0 0x7 0x1 0x3 0x4 0x2a 0x2 0xff 0xff
2022-02-25 09:13:32: PID: 5874: pymodbus.transaction: Changing transaction state from 'WAITING FOR REPLY' to 'PROCESSING REPLY'
2022-02-25 09:13:32: PID: 5874: pymodbus.transaction: Changing transaction state from 'SENDING' to 'WAITING FOR REPLY'
2022-02-25 09:13:32: PID: 5874: pymodbus.client.sync: New Transaction state 'SENDING'
2022-02-25 09:13:32: PID: 5874: pymodbus.transaction: SEND: 0x0 0x1 0x0 0x0 0x0 0x6 0x1 0x3 0x9c 0x93 0x0 0x2
2022-02-25 09:13:32: PID: 5874: pymodbus.transaction: Running transaction 1
2022-02-25 09:13:32: PID: 5874: pymodbus.transaction: Current transaction state - IDLE
2022-02-25 09:13:32: PID: 5874: SolarEdge: Beginning update
2022-02-25 09:13:32: PID: 5874: legacy run server: Received command ["wr_solaredge.solaredgeall","192.168.99.72","1","none","none","none","0","0","0","0"]
2022-02-25 09:13:31: PID: 29476: **** Regulation loop start **** (LV1) at 70 main /var/www/html/openWB/regel.sh