@LenaK: Zunächst vilen Dank für Deine Hilfsbereitschaft, aber ich würde gern anmerken, dass es hier primär
Hier nochmal ein aktueller Auszug aus dem Main.log, in dem das 2x zu sehen ist:
Code: Alles auswählen
2024-07-06 12:15:20,154 - {root:75} - {INFO:MainThread} - # ***Start***
2024-07-06 12:15:20,217 - {modules.devices.sonnenbatterie.device:61} - {DEBUG:device1} - Start device reading {'component0': <modules.devices.sonnenbatterie.counter.SonnenbatterieCounter object at 0x6d053358>, 'component1': <modules.devices.sonnenbatterie.inverter.SonnenbatterieInverter object at 0x6cdb4ad8>, 'component2': <modules.devices.sonnenbatterie.bat.SonnenbatterieBat object at 0x6d05c928>}
2024-07-06 12:15:20,221 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['SonnenBatterie Zähler']
2024-07-06 12:15:20,223 - {modules.devices.sonnenbatterie.counter:111} - {DEBUG:device1} - Variante: 3
2024-07-06 12:15:20,226 - {modules.common.component_context:25} - {DEBUG:set values cp3} - Update Komponente ['Ladepunkt']
2024-07-06 12:15:20,235 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): 192.168.0.167:80
2024-07-06 12:15:20,282 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://192.168.0.167:80 "GET /api/v2/status HTTP/1.1" 200 None
2024-07-06 12:15:20,285 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"Apparent_output":237,"BackupBuffer":"0","BatteryCharging":false,"BatteryDischarging":false,"Consumption_Avg":3816,"Consumption_W":3248,"Fac":49.976,"FlowConsumptionBattery":false,"FlowConsumptionGrid":false,"FlowConsumptionProduction":true,"FlowGridBattery":false,"FlowProductionBattery":false,"FlowProductionGrid":true,"GridFeedIn_W":125.0,"IsSystemInstalled":1,"OperatingMode":"2","Pac_total_W":-6,"Production_W":3379,"RSOC":72,"RemainingCapacity_Wh":8919,"Sac1":79,"Sac2":79,"Sac3":79,"SystemStatus":"OnGrid","Timestamp":"2024-07-06 12:15:19","USOC":71,"Uac":237.0,"Ubat":52.0,"dischargeNotAllowed":false,"generator_autostart":false}
2024-07-06 12:15:20,287 - {modules.devices.sonnenbatterie.counter:76} - {DEBUG:device1} - EVU Leistung: -125.0
2024-07-06 12:15:20,287 - {modules.devices.sonnenbatterie.counter:79} - {DEBUG:device1} - EVU Spannung: 237.0
2024-07-06 12:15:20,288 - {modules.devices.sonnenbatterie.counter:81} - {DEBUG:device1} - EVU Netzfrequenz: 49.976
2024-07-06 12:15:20,288 - {modules.common.simcount._simcount:38} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1720260910.2216232, power=-217.0, imported=33334.64052402758, exported=1617759.6608029613)
2024-07-06 12:15:20,289 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00279643, power1: -217, power2: -125
2024-07-06 12:15:20,289 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: -0.478189
2024-07-06 12:15:20,290 - {modules.common.simcount._simcount:53} - {DEBUG:device1} - imported: 0 Wh, exported: 0.478189 Wh, new state: SimCounterState(timestamp=1720260920.2887642, power=-125.0, imported=33334.64052402758, exported=1617760.1389921615)
2024-07-06 12:15:20,293 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data CounterState(currents=[0.0, 0.0, 0.0], powers=[0.0, 0.0, 0.0], voltages=[237.0, 237.0, 237.0], power_factors=[0.0, 0.0, 0.0], imported=33334.64052402758, exported=1617760.1389921615, power=-125.0, frequency=49.976)
2024-07-06 12:15:20,301 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['SonnenBatterie Wechselrichter']
2024-07-06 12:15:20,301 - {modules.devices.sonnenbatterie.inverter:100} - {DEBUG:device1} - Variante: 3
2024-07-06 12:15:20,308 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): 192.168.0.167:80
2024-07-06 12:15:20,353 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://192.168.0.167:80 "GET /api/v2/status HTTP/1.1" 200 None
2024-07-06 12:15:20,356 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"Apparent_output":237,"BackupBuffer":"0","BatteryCharging":false,"BatteryDischarging":false,"Consumption_Avg":3816,"Consumption_W":3248,"Fac":49.976,"FlowConsumptionBattery":false,"FlowConsumptionGrid":false,"FlowConsumptionProduction":true,"FlowGridBattery":false,"FlowProductionBattery":false,"FlowProductionGrid":true,"GridFeedIn_W":125.0,"IsSystemInstalled":1,"OperatingMode":"2","Pac_total_W":-6,"Production_W":3379,"RSOC":72,"RemainingCapacity_Wh":8919,"Sac1":79,"Sac2":79,"Sac3":79,"SystemStatus":"OnGrid","Timestamp":"2024-07-06 12:15:19","USOC":71,"Uac":237.0,"Ubat":52.0,"dischargeNotAllowed":false,"generator_autostart":false}
2024-07-06 12:15:20,358 - {modules.devices.sonnenbatterie.inverter:76} - {DEBUG:device1} - Speicher PV Leistung: -3379
2024-07-06 12:15:20,359 - {modules.common.simcount._simcount:38} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1720260910.3185194, power=-2865, imported=0.0, exported=2004330.3478624842)
2024-07-06 12:15:20,360 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00278918, power1: -2865, power2: -3379
2024-07-06 12:15:20,360 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: -8.70781
2024-07-06 12:15:20,361 - {modules.common.simcount._simcount:53} - {DEBUG:device1} - imported: 0 Wh, exported: 8.70781 Wh, new state: SimCounterState(timestamp=1720260920.3595579, power=-3379, imported=0.0, exported=2004339.055674217)
2024-07-06 12:15:20,362 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-3379, exported=2004339.055674217, dc_power=None)
2024-07-06 12:15:20,364 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['SonnenBatterie Speicher']
2024-07-06 12:15:20,365 - {modules.devices.sonnenbatterie.bat:122} - {DEBUG:device1} - Variante: 3
2024-07-06 12:15:20,376 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): 192.168.0.167:80
2024-07-06 12:15:20,421 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://192.168.0.167:80 "GET /api/v2/status HTTP/1.1" 200 None
2024-07-06 12:15:20,424 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"Apparent_output":237,"BackupBuffer":"0","BatteryCharging":false,"BatteryDischarging":false,"Consumption_Avg":3816,"Consumption_W":3248,"Fac":49.976,"FlowConsumptionBattery":false,"FlowConsumptionGrid":false,"FlowConsumptionProduction":true,"FlowGridBattery":false,"FlowProductionBattery":false,"FlowProductionGrid":true,"GridFeedIn_W":125.0,"IsSystemInstalled":1,"OperatingMode":"2","Pac_total_W":-6,"Production_W":3379,"RSOC":72,"RemainingCapacity_Wh":8919,"Sac1":79,"Sac2":79,"Sac3":79,"SystemStatus":"OnGrid","Timestamp":"2024-07-06 12:15:19","USOC":71,"Uac":237.0,"Ubat":52.0,"dischargeNotAllowed":false,"generator_autostart":false}
2024-07-06 12:15:20,425 - {modules.devices.sonnenbatterie.bat:92} - {DEBUG:device1} - Speicher Leistung: 6
2024-07-06 12:15:20,426 - {modules.devices.sonnenbatterie.bat:94} - {DEBUG:device1} - Speicher SoC: 71
2024-07-06 12:15:20,427 - {modules.common.simcount._simcount:38} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1720260910.4396708, power=-603, imported=141918.07970972062, exported=104918.19539370092)
2024-07-06 12:15:20,427 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.0027743, power1: -603, power2: 6
2024-07-06 12:15:20,428 - {modules.common.simcount._calculate:24} - {DEBUG:device1} - power changed sign. Total energy: -0.828127, exported energy: -0.828209
2024-07-06 12:15:20,428 - {modules.common.simcount._simcount:53} - {DEBUG:device1} - imported: 8.19989e-05 Wh, exported: 0.828209 Wh, new state: SimCounterState(timestamp=1720260920.4271364, power=6, imported=141918.07979171953, exported=104919.02360305749)
2024-07-06 12:15:20,429 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data BatState(imported=141918.07979171953, exported=104919.02360305749, power=6, soc=71)
2024-07-06 12:15:20,437 - {modules.common.component_context:25} - {DEBUG:component1} - Update Komponente ['SonnenBatterie Wechselrichter']
2024-07-06 12:15:20,439 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SonnenBatterie Speicher']
2024-07-06 12:15:20,441 - {modules.common.component_context:25} - {DEBUG:update values cp3} - Update Komponente ['Ladepunkt']
2024-07-06 12:15:20,445 - {modules.common.store._api:26} - {DEBUG:component1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-3379, exported=2004339.055674217, dc_power=None)
2024-07-06 12:15:20,448 - {modules.common.store._api:30} - {INFO:component2} - Saving BatState(imported=141918.07979171953, exported=104919.02360305749, power=6, soc=71)
2024-07-06 12:15:20,452 - {modules.common.store._api:30} - {INFO:component1} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-3379, exported=2004339.055674217, dc_power=None)
2024-07-06 12:15:20,513 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SonnenBatterie Zähler']
2024-07-06 12:15:20,514 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[0.0, 0.0, 0.0], powers=[0.0, 0.0, 0.0], voltages=[237.0, 237.0, 237.0], power_factors=[0.0, 0.0, 0.0], imported=33334.64052402758, exported=1617760.1389921615, power=-125.0, frequency=49.976)
2024-07-06 12:15:20,575 - {helpermodules.changed_values_handler:120} - {DEBUG:MainThread} - Topic openWB/set/bat/get/exported, Payload 104919.02, vorherige Payload: 104918.2
2024-07-06 12:15:20,576 - {helpermodules.changed_values_handler:120} - {DEBUG:MainThread} - Topic openWB/set/bat/get/power, Payload 6, vorherige Payload: -603
2024-07-06 12:15:20,660 - {control.bat_all:188} - {INFO:MainThread} - -194W verbleibende Speicher-Leistung
2024-07-06 12:15:20,663 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [41.06, 40.81, 40.96]A
2024-07-06 12:15:20,664 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 28281.41W
2024-07-06 12:15:20,666 - {control.chargepoint.chargepoint:550} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-07-06 12:15:20,666 - {control.chargepoint.chargepoint:533} - {DEBUG:MainThread} - Phasenzahl Lademodus: 3
2024-07-06 12:15:20,682 - {control.chargepoint.chargepoint:674} - {INFO:MainThread} - LP 3, EV: ioniq5 (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus pv_charging, Submodus: Chargemode.INSTANT_CHARGING, Phasen: 3, Priorität: False, max. Ist-Strom: 6.06
2024-07-06 12:15:20,696 - {control.counter_all:102} - {ERROR:MainThread} - Ungültiger Hausverbrauch: -908.4099999999999W, Berücksichtigte Komponenten neben EVU [{'id': 1, 'type': 'inverter', 'children': []}, {'id': 2, 'type': 'bat', 'children': []}, {'id': 3, 'type': 'cp', 'children': []}]
2024-07-06 12:15:20,700 - {modules.common.simcount._simcount:38} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1720260910.7925875, power=0, imported=224722.74429476185, exported=0)
2024-07-06 12:15:20,702 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00275223, power1: 0, power2: 0
2024-07-06 12:15:20,705 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 0
2024-07-06 12:15:20,707 - {modules.common.simcount._simcount:53} - {DEBUG:MainThread} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1720260920.7006297, power=0, imported=224722.74429476185, exported=0)
2024-07-06 12:15:20,711 - {control.data:266} - {INFO:MainThread} - bat2
BatData(get=Get(currents=[0.0, 0.0, 0.0], soc=71, daily_exported=2254.0, daily_imported=4.0, imported=141918.08, exported=104919.02, fault_state=0, fault_str='Kein Fehler.', power=6))
2024-07-06 12:15:20,714 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=71, daily_exported=2254.0, daily_imported=4.0, fault_str='Kein Fehler.', fault_state=0, imported=141918.08, exported=104919.02, power=6), set=Set(charging_power_left=-194, regulate_up=True))
2024-07-06 12:15:20,718 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=8061.0, daily_exported=0.0, power=4156.41, imported=5670581.05, exported=0))
2024-07-06 12:15:20,719 - {control.data:266} - {INFO:MainThread} - cp3
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.PV_CHARGING: 'pv_charging'>, current_plan=None, failed_phase_switches=0, imported_at_plan_start=None, imported_instant_charging=None, limit=None, phases=3, prio=False, required_current=6, required_currents=[6, 6, 6], state=1, submode=<Chargemode.INSTANT_CHARGING: 'instant_charging'>, timestamp_auto_phase_switch=1720260902.722551, timestamp_perform_phase_switch=None, timestamp_switch_on_off=None), get=Get(charge_state=True, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False, time_charging_in_use=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=42), currents=[6.06, 5.81, 5.96], daily_imported=8061.0, daily_exported=0.0, evse_current=600, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=5670581.05, phases_in_use=3, plug_state=True, power=4156.41, rfid_timestamp=None, rfid=None, serial_number='21894932', soc=None, soc_timestamp=None, state_str=None, vehicle_id=None, voltages=[234.61, 234.76, 234.93]), set=Set(change_ev_permitted=False, charging_ev=2, charging_ev_prev=2, current=6, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='pv_charging', costs=1.2476, imported_at_mode_switch=5662482.91, imported_at_plugtime=5662482.91, imported_since_mode_switch=8088.870000000112, imported_since_plugged=8088.870000000112, range_charged=44.93816666666729, time_charged='2:40', timestamp_start_charging=1720251270.72049, ev=2, prio=False, rfid=None, serial_number=None), manual_lock=False, phases_to_use=3, plug_state_prev=True, plug_time=1720251260.67492, required_power=4140, rfid=None, target_current=0, charging_ev_data=<control.ev.Ev object at 0x6d047088>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=2, name='Carport', type='internal_openwb', template=0, connected_phases=3, phase_1=1, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=3))
2024-07-06 12:15:20,721 - {control.data:266} - {INFO:MainThread} - cpt0
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=0, max_current_multi_phases=16, max_current_single_phase=16, name='Standard Ladepunkt-Profil', rfid_enabling=False, valid_tags=[])
2024-07-06 12:15:20,722 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[35, 35, 35], max_total_power=24000), get=Get(powers=[0.0, 0.0, 0.0], currents=[0.0, 0.0, 0.0], voltages=[237.0, 237.0, 237.0], power_factors=[0.0, 0.0, 0.0], unbalanced_load=0, frequency=49.976, daily_exported=3579.0, daily_imported=342.0, imported=33334.64052402758, exported=1617760.1389921615, fault_state=1, fault_str='Der Wert für den Hausverbrauch ist nicht plausibel (negativ). Bitte die Leistungen der Komponenten und die Anordnung in der Hierarchie prüfen.', power=-125.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=28281.41, raw_currents_left=[41.06, 40.81, 40.96], surplus_power_left=0, state_str=''))
2024-07-06 12:15:20,723 - {control.data:241} - {INFO:MainThread} - counter_all_data
CounterAllData(config=Config(reserve_for_not_charging=False), get=Get(hierarchy=[{'id': 0, 'type': 'counter', 'children': [{'id': 1, 'type': 'inverter', 'children': []}, {'id': 2, 'type': 'bat', 'children': []}, {'id': 3, 'type': 'cp', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=0, smarthome_power_excluded_from_home_consumption=0, invalid_home_consumption=3, daily_yield_home_consumption=3902.0, imported_home_consumption=224722.74429476185, disengageable_smarthome_power=0))
2024-07-06 12:15:20,724 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Lade-Profil', disable_after_unplug=False, prio=False, load_default=False, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2024-07-06 12:15:20,724 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='ioniq5', disable_after_unplug=False, prio=False, load_default=False, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=10, min_current=6, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=16, limit=Limit(selected='none', amount=70000, soc=75))))
2024-07-06 12:15:20,725 - {control.data:266} - {INFO:MainThread} - ev0
EvData(set=Set(soc_error_counter=0), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=[], get=Get(soc=None, soc_timestamp=None, force_soc_update=False, range=None, fault_state=0, fault_str='Kein Fehler.'))
2024-07-06 12:15:20,727 - {control.data:266} - {INFO:MainThread} - ev2
EvData(set=Set(soc_error_counter=0), charge_template=1, ev_template=1, name='ioniq5', tag_id=[], get=Get(soc=42, soc_timestamp=1720260636.911089, force_soc_update=False, range=211.0, fault_state=2, fault_str='<class \'UnboundLocalError\'> ("local variable \'response\' referenced before assignment",)'))
2024-07-06 12:15:20,728 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Profil', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=10, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=1, keep_charge_active_duration=40)
2024-07-06 12:15:20,732 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='ioniq5', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=True, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=18000, min_current=6, max_current_single_phase=16, battery_capacity=73000, efficiency=90, nominal_difference=1, keep_charge_active_duration=60)
2024-07-06 12:15:20,733 - {control.data:245} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=3), pv_charging=PvCharging(bat_power_reserve=200, bat_power_reserve_active=True, control_range=[0, 230], feed_in_yield=0, phase_switch_delay=1, phases_to_use=0, bat_power_discharge=500, bat_power_discharge_active=True, min_bat_soc=94, bat_mode='min_soc_bat_mode', switch_off_delay=900, switch_off_threshold=50, switch_on_delay=30, switch_on_threshold=500), retry_failed_phase_switches=True, scheduled_charging=ScheduledCharging(phases_to_use=0), time_charging=TimeCharging(phases_to_use=3), unbalanced_load_limit=20, unbalanced_load=False), control_interval=10, extern_display_mode='primary', extern=False, external_buttons_hw=False, grid_protection_active=False, grid_protection_configured=True, grid_protection_random_stop=0, grid_protection_timestamp='', mqtt_bridge=False, prices=Prices(bat=0.0002, cp=0, grid=0.0003, pv=0.00015), range_unit='km', ripple_control_receiver=RippleControlReceiver(get=RippleControlReceiverGet(fault_state=0, fault_str='Kein Fehler.', override_value=100), module=None, overrice_reference=<OverrideReference.CHARGEPOINT: 'chargepoint'>))
2024-07-06 12:15:20,735 - {control.data:246} - {INFO:MainThread} - general_data-display
primary
2024-07-06 12:15:20,735 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-07-06 12:15:20,736 - {control.data:248} - {INFO:MainThread} - optional_data
OptionalData(et=Et(get=EtGet(fault_state=0, fault_str='Kein Fehler.', prices={})), int_display=InternalDisplay(active=False, on_if_plugged_in=True, pin_active=False, pin_code='0000', standby=60, theme=<modules.display_themes.cards.config.CardsDisplayTheme object at 0x6d053970>), led=Led(active=False), rfid=Rfid(active=False))
2024-07-06 12:15:20,739 - {control.data:266} - {INFO:MainThread} - pv1
PvData(config=Config(max_ac_out=3300), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=84716.0, monthly_exported=158669.87699999986, yearly_exported=0, exported=2004339.056, fault_state=0, fault_str='Kein Fehler.', power=-3379))
2024-07-06 12:15:20,741 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=84716.0, fault_str='Kein Fehler.', fault_state=0, monthly_exported=158669.87699999986, yearly_exported=0, exported=2004339.056, power=-3379))
2024-07-06 12:15:20,743 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.0.119', 'current_commit': '2024-06-04 08:52:24 +0200 [417a30647]', 'current_branch': 'Release', 'current_branch_commit': '2024-06-04 08:52:24 +0200 [417a30647]', 'current_missing_commits': [], 'dataprotection_acknowledged': True, 'datastore_version': 44, 'usage_terms_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.4', 'boot_done': True, 'lastlivevaluesJson': {'timestamp': 1720260910, 'time': '12:15:10', 'grid': -0.217, 'house-power': 0.0, 'charging-all': 4.162, 'pv-all': 2.865, 'cp3-power': 4.162, 'ev2-soc': 42, 'bat-all-power': -0.603, 'bat-all-soc': 71}, 'backup_before_update': True, 'module_update_completed': True}
2024-07-06 12:15:20,744 - {dataclass_utils._dataclass_asdict:23} - {DEBUG:MainThread} - {'name': 'SonnenBatterie', 'type': 'sonnenbatterie', 'id': 1, 'configuration': <modules.devices.sonnenbatterie.config.SonnenBatterieConfiguration object at 0x70ad95c8>}
2024-07-06 12:15:20,745 - {dataclass_utils._dataclass_asdict:23} - {DEBUG:MainThread} - {'variant': 3, 'ip_address': '192.168.0.167'}
2024-07-06 12:15:20,746 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'SonnenBatterie', 'type': 'sonnenbatterie', 'id': 1, 'configuration': {'variant': 3, 'ip_address': '192.168.0.167'}}
2024-07-06 12:15:20,749 - {dataclass_utils._dataclass_asdict:23} - {DEBUG:MainThread} - {'name': 'SonnenBatterie Zähler', 'type': 'counter', 'id': 0, 'configuration': <modules.devices.sonnenbatterie.config.SonnenbatterieCounterConfiguration object at 0x714291a8>}
2024-07-06 12:15:20,750 - {dataclass_utils._dataclass_asdict:23} - {DEBUG:MainThread} - {}
2024-07-06 12:15:20,753 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SonnenBatterie Zähler', 'type': 'counter', 'id': 0, 'configuration': {}}
2024-07-06 12:15:20,754 - {dataclass_utils._dataclass_asdict:23} - {DEBUG:MainThread} - {'name': 'SonnenBatterie Wechselrichter', 'type': 'inverter', 'id': 1, 'configuration': <modules.devices.sonnenbatterie.config.SonnenbatterieInverterConfiguration object at 0x6d05eda8>}
2024-07-06 12:15:20,755 - {dataclass_utils._dataclass_asdict:23} - {DEBUG:MainThread} - {}
2024-07-06 12:15:20,756 - {control.data:281} - {INFO:MainThread} - component1
{'name': 'SonnenBatterie Wechselrichter', 'type': 'inverter', 'id': 1, 'configuration': {}}
2024-07-06 12:15:20,756 - {dataclass_utils._dataclass_asdict:23} - {DEBUG:MainThread} - {'name': 'SonnenBatterie Speicher', 'type': 'bat', 'id': 2, 'configuration': <modules.devices.sonnenbatterie.config.SonnenbatterieBatConfiguration object at 0x6cd41f88>}
2024-07-06 12:15:20,757 - {dataclass_utils._dataclass_asdict:23} - {DEBUG:MainThread} - {}
2024-07-06 12:15:20,757 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SonnenBatterie Speicher', 'type': 'bat', 'id': 2, 'configuration': {}}
2024-07-06 12:15:20,758 - {control.data:253} - {INFO:MainThread} -
2024-07-06 12:15:20,759 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-07-06 12:15:20,760 - {control.algorithm.algorithm:63} - {DEBUG:MainThread} - Ladepunkt 3: Prüfen, ob Phasenumschaltung durchgeführt werden soll.
2024-07-06 12:15:20,760 - {control.chargepoint.chargepoint:550} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-07-06 12:15:20,761 - {control.counter:204} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: 69.0W
2024-07-06 12:15:20,762 - {control.ev:462} - {DEBUG:MainThread} - Genutzter Strom: 6.06A, Überschuss: -69.0W, benötigte neue Leistung: 0W
2024-07-06 12:15:20,763 - {control.counter:204} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: 69.0W
2024-07-06 12:15:20,766 - {control.ev:507} - {INFO:MainThread} - LP 3: Umschaltung von 3 auf 1 Phasen in 14 Min. 42 Sek..
2024-07-06 12:15:20,768 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-07-06 12:15:20,770 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.PV_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-07-06 12:15:20,771 - {control.counter:176} - {DEBUG:MainThread} - Zähler 0: [35.06, 34.81, 34.96]A verbleibende Ströme, 24141.41W verbleibende Leistung
2024-07-06 12:15:20,772 - {control.algorithm.common:95} - {INFO:MainThread} - LP3: Stromstärke 6A
2024-07-06 12:15:20,774 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-07-06 12:15:20,777 - {control.algorithm.filter_chargepoints:116} - {DEBUG:MainThread} - Geordnete Ladepunkte [3]
2024-07-06 12:15:20,778 - {control.algorithm.additional_current:26} - {INFO:MainThread} - Mode-Tuple Chargemode.PV_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-07-06 12:15:20,781 - {control.algorithm.common:95} - {INFO:MainThread} - LP3: Stromstärke 6A
2024-07-06 12:15:20,786 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Einspeisung erzeugt werden.
2024-07-06 12:15:20,789 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -152.59000000000015W
2024-07-06 12:15:20,789 - {control.counter:495} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -152.59000000000015W
2024-07-06 12:15:20,790 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-07-06 12:15:20,793 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-07-06 12:15:20,795 - {dataclass_utils._dataclass_asdict:23} - {DEBUG:MainThread} - {'chargemode_log_entry': 'pv_charging', 'costs': 1.2476, 'imported_at_mode_switch': 5662482.91, 'imported_at_plugtime': 5662482.91, 'imported_since_mode_switch': 8098.139999999665, 'imported_since_plugged': 8098.139999999665, 'range_charged': 44.9896666666648, 'time_charged': '2:40', 'timestamp_start_charging': 1720251270.72049, 'ev': 2, 'prio': False, 'rfid': None, 'serial_number': None}
2024-07-06 12:15:20,797 - {control.process:111} - {INFO:MainThread} - LP3: set current 6 A, state PHASE_SWITCH_DELAY
2024-07-06 12:15:20,800 - {modules.common.component_context:25} - {DEBUG:set current cp3} - Update Komponente ['Ladepunkt']
2024-07-06 12:15:20,832 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-07-06 12:15:25,126 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-07-06 12:15:30,143 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-07-06 12:15:30,145 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-07-06 12:15:30,147 - {root:75} - {INFO:MainThread} - # ***Start***
2024-07-06 12:15:30,217 - {modules.devices.sonnenbatterie.device:61} - {DEBUG:device1} - Start device reading {'component0': <modules.devices.sonnenbatterie.counter.SonnenbatterieCounter object at 0x6d053358>, 'component1': <modules.devices.sonnenbatterie.inverter.SonnenbatterieInverter object at 0x6cdb4ad8>, 'component2': <modules.devices.sonnenbatterie.bat.SonnenbatterieBat object at 0x6d05c928>}
2024-07-06 12:15:30,218 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['SonnenBatterie Zähler']
2024-07-06 12:15:30,219 - {modules.devices.sonnenbatterie.counter:111} - {DEBUG:device1} - Variante: 3
2024-07-06 12:15:30,227 - {modules.common.component_context:25} - {DEBUG:set values cp3} - Update Komponente ['Ladepunkt']
2024-07-06 12:15:30,234 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): 192.168.0.167:80
2024-07-06 12:15:30,310 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://192.168.0.167:80 "GET /api/v2/status HTTP/1.1" 200 None
2024-07-06 12:15:30,312 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"Apparent_output":324,"BackupBuffer":"0","BatteryCharging":false,"BatteryDischarging":true,"Consumption_Avg":3718,"Consumption_W":3245,"Fac":49.968,"FlowConsumptionBattery":true,"FlowConsumptionGrid":true,"FlowConsumptionProduction":true,"FlowGridBattery":false,"FlowProductionBattery":false,"FlowProductionGrid":false,"GridFeedIn_W":-36.0,"IsSystemInstalled":1,"OperatingMode":"2","Pac_total_W":293,"Production_W":2915,"RSOC":72,"RemainingCapacity_Wh":8916,"Sac1":108,"Sac2":108,"Sac3":108,"SystemStatus":"OnGrid","Timestamp":"2024-07-06 12:15:29","USOC":71,"Uac":237.0,"Ubat":52.0,"dischargeNotAllowed":false,"generator_autostart":false}
2024-07-06 12:15:30,313 - {modules.devices.sonnenbatterie.counter:76} - {DEBUG:device1} - EVU Leistung: 36.0
2024-07-06 12:15:30,314 - {modules.devices.sonnenbatterie.counter:79} - {DEBUG:device1} - EVU Spannung: 237.0
2024-07-06 12:15:30,314 - {modules.devices.sonnenbatterie.counter:81} - {DEBUG:device1} - EVU Netzfrequenz: 49.968
2024-07-06 12:15:30,315 - {modules.common.simcount._simcount:38} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1720260920.2887642, power=-125.0, imported=33334.64052402758, exported=1617760.1389921615)
2024-07-06 12:15:30,315 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00278511, power1: -125, power2: 36
2024-07-06 12:15:30,316 - {modules.common.simcount._calculate:24} - {DEBUG:device1} - power changed sign. Total energy: -0.123937, exported energy: -0.135147
2024-07-06 12:15:30,316 - {modules.common.simcount._simcount:53} - {DEBUG:device1} - imported: 0.0112096 Wh, exported: 0.135147 Wh, new state: SimCounterState(timestamp=1720260930.315164, power=36.0, imported=33334.65173366716, exported=1617760.2741392436)
2024-07-06 12:15:30,317 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data CounterState(currents=[0.0, 0.0, 0.0], powers=[0.0, 0.0, 0.0], voltages=[237.0, 237.0, 237.0], power_factors=[0.0, 0.0, 0.0], imported=33334.65173366716, exported=1617760.2741392436, power=36.0, frequency=49.968)
2024-07-06 12:15:30,321 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['SonnenBatterie Wechselrichter']
2024-07-06 12:15:30,323 - {modules.devices.sonnenbatterie.inverter:100} - {DEBUG:device1} - Variante: 3
2024-07-06 12:15:30,328 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): 192.168.0.167:80
2024-07-06 12:15:30,394 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://192.168.0.167:80 "GET /api/v2/status HTTP/1.1" 200 None
2024-07-06 12:15:30,396 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"Apparent_output":324,"BackupBuffer":"0","BatteryCharging":false,"BatteryDischarging":true,"Consumption_Avg":3718,"Consumption_W":3245,"Fac":49.968,"FlowConsumptionBattery":true,"FlowConsumptionGrid":true,"FlowConsumptionProduction":true,"FlowGridBattery":false,"FlowProductionBattery":false,"FlowProductionGrid":false,"GridFeedIn_W":-36.0,"IsSystemInstalled":1,"OperatingMode":"2","Pac_total_W":293,"Production_W":2915,"RSOC":72,"RemainingCapacity_Wh":8916,"Sac1":108,"Sac2":108,"Sac3":108,"SystemStatus":"OnGrid","Timestamp":"2024-07-06 12:15:29","USOC":71,"Uac":237.0,"Ubat":52.0,"dischargeNotAllowed":false,"generator_autostart":false}
2024-07-06 12:15:30,398 - {modules.devices.sonnenbatterie.inverter:76} - {DEBUG:device1} - Speicher PV Leistung: -2915
2024-07-06 12:15:30,398 - {modules.common.simcount._simcount:38} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1720260920.3595579, power=-3379, imported=0.0, exported=2004339.055674217)
2024-07-06 12:15:30,399 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.0027887, power1: -3379, power2: -2915
2024-07-06 12:15:30,399 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: -8.77605
2024-07-06 12:15:30,400 - {modules.common.simcount._simcount:53} - {DEBUG:device1} - imported: 0 Wh, exported: 8.77605 Wh, new state: SimCounterState(timestamp=1720260930.3988857, power=-2915, imported=0.0, exported=2004347.8317199878)
2024-07-06 12:15:30,401 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-2915, exported=2004347.8317199878, dc_power=None)
2024-07-06 12:15:30,402 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['SonnenBatterie Speicher']
2024-07-06 12:15:30,403 - {modules.devices.sonnenbatterie.bat:122} - {DEBUG:device1} - Variante: 3
2024-07-06 12:15:30,410 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): 192.168.0.167:80
2024-07-06 12:15:30,468 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://192.168.0.167:80 "GET /api/v2/status HTTP/1.1" 200 None
2024-07-06 12:15:30,471 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"Apparent_output":324,"BackupBuffer":"0","BatteryCharging":false,"BatteryDischarging":true,"Consumption_Avg":3718,"Consumption_W":3245,"Fac":49.968,"FlowConsumptionBattery":true,"FlowConsumptionGrid":true,"FlowConsumptionProduction":true,"FlowGridBattery":false,"FlowProductionBattery":false,"FlowProductionGrid":false,"GridFeedIn_W":-36.0,"IsSystemInstalled":1,"OperatingMode":"2","Pac_total_W":293,"Production_W":2915,"RSOC":72,"RemainingCapacity_Wh":8916,"Sac1":108,"Sac2":108,"Sac3":108,"SystemStatus":"OnGrid","Timestamp":"2024-07-06 12:15:29","USOC":71,"Uac":237.0,"Ubat":52.0,"dischargeNotAllowed":false,"generator_autostart":false}
2024-07-06 12:15:30,472 - {modules.devices.sonnenbatterie.bat:92} - {DEBUG:device1} - Speicher Leistung: -293
2024-07-06 12:15:30,473 - {modules.devices.sonnenbatterie.bat:94} - {DEBUG:device1} - Speicher SoC: 71
2024-07-06 12:15:30,473 - {modules.common.simcount._simcount:38} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1720260920.4271364, power=6, imported=141918.07979171953, exported=104919.02360305749)
2024-07-06 12:15:30,474 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00279078, power1: 6, power2: -293
2024-07-06 12:15:30,474 - {modules.common.simcount._calculate:24} - {DEBUG:device1} - power changed sign. Total energy: -0.400477, exported energy: -0.400645
2024-07-06 12:15:30,475 - {modules.common.simcount._simcount:53} - {DEBUG:device1} - imported: 0.000168007 Wh, exported: 0.400645 Wh, new state: SimCounterState(timestamp=1720260930.473955, power=-293, imported=141918.07995972654, exported=104919.42424841282)
2024-07-06 12:15:30,476 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data BatState(imported=141918.07995972654, exported=104919.42424841282, power=-293, soc=71)
2024-07-06 12:15:30,486 - {modules.common.component_context:25} - {DEBUG:component1} - Update Komponente ['SonnenBatterie Wechselrichter']
2024-07-06 12:15:30,487 - {modules.common.store._api:26} - {DEBUG:component1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-2915, exported=2004347.8317199878, dc_power=None)
2024-07-06 12:15:30,488 - {modules.common.store._api:30} - {INFO:component1} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-2915, exported=2004347.8317199878, dc_power=None)
2024-07-06 12:15:30,494 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SonnenBatterie Speicher']
2024-07-06 12:15:30,495 - {modules.common.store._api:30} - {INFO:component2} - Saving BatState(imported=141918.07995972654, exported=104919.42424841282, power=-293, soc=71)
2024-07-06 12:15:30,497 - {modules.common.component_context:25} - {DEBUG:update values cp3} - Update Komponente ['Ladepunkt']
2024-07-06 12:15:30,538 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SonnenBatterie Zähler']
2024-07-06 12:15:30,538 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[0.0, 0.0, 0.0], powers=[0.0, 0.0, 0.0], voltages=[237.0, 237.0, 237.0], power_factors=[0.0, 0.0, 0.0], imported=33334.65173366716, exported=1617760.2741392436, power=36.0, frequency=49.968)
2024-07-06 12:15:30,595 - {helpermodules.changed_values_handler:120} - {DEBUG:MainThread} - Topic openWB/set/bat/get/exported, Payload 104919.42, vorherige Payload: 104919.02
2024-07-06 12:15:30,596 - {helpermodules.changed_values_handler:120} - {DEBUG:MainThread} - Topic openWB/set/bat/get/power, Payload -293, vorherige Payload: 6
2024-07-06 12:15:30,682 - {control.bat_all:188} - {INFO:MainThread} - -293W verbleibende Speicher-Leistung
2024-07-06 12:15:30,683 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [41.08, 40.81, 40.95]A
2024-07-06 12:15:30,684 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 28119.54W
2024-07-06 12:15:30,686 - {control.chargepoint.chargepoint:550} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-07-06 12:15:30,687 - {control.chargepoint.chargepoint:533} - {DEBUG:MainThread} - Phasenzahl Lademodus: 3
2024-07-06 12:15:30,690 - {control.chargepoint.chargepoint:674} - {INFO:MainThread} - LP 3, EV: ioniq5 (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus pv_charging, Submodus: Chargemode.INSTANT_CHARGING, Phasen: 3, Priorität: False, max. Ist-Strom: 6.08
2024-07-06 12:15:30,692 - {control.counter_all:102} - {ERROR:MainThread} - Ungültiger Hausverbrauch: -911.54W, Berücksichtigte Komponenten neben EVU [{'id': 1, 'type': 'inverter', 'children': []}, {'id': 2, 'type': 'bat', 'children': []}, {'id': 3, 'type': 'cp', 'children': []}]
2024-07-06 12:15:30,696 - {modules.common.simcount._simcount:38} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1720260920.7006297, power=0, imported=224722.74429476185, exported=0)
2024-07-06 12:15:30,697 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00277655, power1: 0, power2: 0
2024-07-06 12:15:30,699 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 0
2024-07-06 12:15:30,704 - {modules.common.simcount._simcount:53} - {DEBUG:MainThread} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1720260930.69621, power=0, imported=224722.74429476185, exported=0)
2024-07-06 12:15:30,706 - {control.data:266} - {INFO:MainThread} - bat2
BatData(get=Get(currents=[0.0, 0.0, 0.0], soc=71, daily_exported=2254.0, daily_imported=4.0, imported=141918.08, exported=104919.42, fault_state=0, fault_str='Kein Fehler.', power=-293))
2024-07-06 12:15:30,708 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=71, daily_exported=2254.0, daily_imported=4.0, fault_str='Kein Fehler.', fault_state=0, imported=141918.08, exported=104919.42, power=-293), set=Set(charging_power_left=-293, regulate_up=True))
2024-07-06 12:15:30,709 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=8061.0, daily_exported=0.0, power=4155.54, imported=5670592.77, exported=0))
2024-07-06 12:15:30,712 - {control.data:266} - {INFO:MainThread} - cp3
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.PV_CHARGING: 'pv_charging'>, current_plan=None, failed_phase_switches=0, imported_at_plan_start=None, imported_instant_charging=None, limit=None, phases=3, prio=False, required_current=6, required_currents=[6, 6, 6], state=1, submode=<Chargemode.INSTANT_CHARGING: 'instant_charging'>, timestamp_auto_phase_switch=1720260902.722551, timestamp_perform_phase_switch=None, timestamp_switch_on_off=None), get=Get(charge_state=True, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False, time_charging_in_use=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=42), currents=[6.08, 5.81, 5.95], daily_imported=8061.0, daily_exported=0.0, evse_current=600, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=5670592.77, phases_in_use=3, plug_state=True, power=4155.54, rfid_timestamp=None, rfid=None, serial_number='21894932', soc=None, soc_timestamp=None, state_str=None, vehicle_id=None, voltages=[234.38, 234.7, 234.79]), set=Set(change_ev_permitted=False, charging_ev=2, charging_ev_prev=2, current=6, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='pv_charging', costs=1.2476, imported_at_mode_switch=5662482.91, imported_at_plugtime=5662482.91, imported_since_mode_switch=8098.139999999665, imported_since_plugged=8098.139999999665, range_charged=44.9896666666648, time_charged='2:40', timestamp_start_charging=1720251270.72049, ev=2, prio=False, rfid=None, serial_number=None), manual_lock=False, phases_to_use=3, plug_state_prev=True, plug_time=1720251260.67492, required_power=4140, rfid=None, target_current=0, charging_ev_data=<control.ev.Ev object at 0x6cdb9550>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=2, name='Carport', type='internal_openwb', template=0, connected_phases=3, phase_1=1, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=3))
2024-07-06 12:15:30,713 - {control.data:266} - {INFO:MainThread} - cpt0
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=0, max_current_multi_phases=16, max_current_single_phase=16, name='Standard Ladepunkt-Profil', rfid_enabling=False, valid_tags=[])
2024-07-06 12:15:30,714 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[35, 35, 35], max_total_power=24000), get=Get(powers=[0.0, 0.0, 0.0], currents=[0.0, 0.0, 0.0], voltages=[237.0, 237.0, 237.0], power_factors=[0.0, 0.0, 0.0], unbalanced_load=0, frequency=49.968, daily_exported=3579.0, daily_imported=342.0, imported=33334.65173366716, exported=1617760.2741392436, fault_state=1, fault_str='Der Wert für den Hausverbrauch ist nicht plausibel (negativ). Bitte die Leistungen der Komponenten und die Anordnung in der Hierarchie prüfen.', power=36.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=28119.54, raw_currents_left=[41.08, 40.81, 40.95], surplus_power_left=0, state_str=''))
2024-07-06 12:15:30,715 - {control.data:241} - {INFO:MainThread} - counter_all_data
CounterAllData(config=Config(reserve_for_not_charging=False), get=Get(hierarchy=[{'id': 0, 'type': 'counter', 'children': [{'id': 1, 'type': 'inverter', 'children': []}, {'id': 2, 'type': 'bat', 'children': []}, {'id': 3, 'type': 'cp', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=0, smarthome_power_excluded_from_home_consumption=0, invalid_home_consumption=3, daily_yield_home_consumption=3902.0, imported_home_consumption=224722.74429476185, disengageable_smarthome_power=0))
2024-07-06 12:15:30,716 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Lade-Profil', disable_after_unplug=False, prio=False, load_default=False, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2024-07-06 12:15:30,717 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='ioniq5', disable_after_unplug=False, prio=False, load_default=False, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=10, min_current=6, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=16, limit=Limit(selected='none', amount=70000, soc=75))))
2024-07-06 12:15:30,718 - {control.data:266} - {INFO:MainThread} - ev0
EvData(set=Set(soc_error_counter=0), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=[], get=Get(soc=None, soc_timestamp=None, force_soc_update=False, range=None, fault_state=0, fault_str='Kein Fehler.'))
2024-07-06 12:15:30,720 - {control.data:266} - {INFO:MainThread} - ev2
EvData(set=Set(soc_error_counter=0), charge_template=1, ev_template=1, name='ioniq5', tag_id=[], get=Get(soc=42, soc_timestamp=1720260636.911089, force_soc_update=False, range=211.0, fault_state=2, fault_str='<class \'UnboundLocalError\'> ("local variable \'response\' referenced before assignment",)'))
2024-07-06 12:15:30,722 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Profil', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=10, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=1, keep_charge_active_duration=40)
2024-07-06 12:15:30,724 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='ioniq5', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=True, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=18000, min_current=6, max_current_single_phase=16, battery_capacity=73000, efficiency=90, nominal_difference=1, keep_charge_active_duration=60)
2024-07-06 12:15:30,726 - {control.data:245} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=3), pv_charging=PvCharging(bat_power_reserve=200, bat_power_reserve_active=True, control_range=[0, 230], feed_in_yield=0, phase_switch_delay=1, phases_to_use=0, bat_power_discharge=500, bat_power_discharge_active=True, min_bat_soc=94, bat_mode='min_soc_bat_mode', switch_off_delay=900, switch_off_threshold=50, switch_on_delay=30, switch_on_threshold=500), retry_failed_phase_switches=True, scheduled_charging=ScheduledCharging(phases_to_use=0), time_charging=TimeCharging(phases_to_use=3), unbalanced_load_limit=20, unbalanced_load=False), control_interval=10, extern_display_mode='primary', extern=False, external_buttons_hw=False, grid_protection_active=False, grid_protection_configured=True, grid_protection_random_stop=0, grid_protection_timestamp='', mqtt_bridge=False, prices=Prices(bat=0.0002, cp=0, grid=0.0003, pv=0.00015), range_unit='km', ripple_control_receiver=RippleControlReceiver(get=RippleControlReceiverGet(fault_state=0, fault_str='Kein Fehler.', override_value=100), module=None, overrice_reference=<OverrideReference.CHARGEPOINT: 'chargepoint'>))
2024-07-06 12:15:30,726 - {control.data:246} - {INFO:MainThread} - general_data-display
primary
2024-07-06 12:15:30,728 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-07-06 12:15:30,728 - {control.data:248} - {INFO:MainThread} - optional_data
OptionalData(et=Et(get=EtGet(fault_state=0, fault_str='Kein Fehler.', prices={})), int_display=InternalDisplay(active=False, on_if_plugged_in=True, pin_active=False, pin_code='0000', standby=60, theme=<modules.display_themes.cards.config.CardsDisplayTheme object at 0x6d0446e8>), led=Led(active=False), rfid=Rfid(active=False))
2024-07-06 12:15:30,729 - {control.data:266} - {INFO:MainThread} - pv1
PvData(config=Config(max_ac_out=3300), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=84716.0, monthly_exported=158669.87699999986, yearly_exported=0, exported=2004347.832, fault_state=0, fault_str='Kein Fehler.', power=-2915))
2024-07-06 12:15:30,729 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=84716.0, fault_str='Kein Fehler.', fault_state=0, monthly_exported=158669.87699999986, yearly_exported=0, exported=2004347.832, power=-2915))
2024-07-06 12:15:30,729 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.0.119', 'current_commit': '2024-06-04 08:52:24 +0200 [417a30647]', 'current_branch': 'Release', 'current_branch_commit': '2024-06-04 08:52:24 +0200 [417a30647]', 'current_missing_commits': [], 'dataprotection_acknowledged': True, 'datastore_version': 44, 'usage_terms_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.4', 'boot_done': True, 'lastlivevaluesJson': {'timestamp': 1720260920, 'time': '12:15:20', 'grid': -0.125, 'house-power': 0.0, 'charging-all': 4.156, 'pv-all': 3.379, 'cp3-power': 4.156, 'ev2-soc': 42, 'bat-all-power': 0.006, 'bat-all-soc': 71}, 'backup_before_update': True, 'module_update_completed': True}
2024-07-06 12:15:30,730 - {dataclass_utils._dataclass_asdict:23} - {DEBUG:MainThread} - {'name': 'SonnenBatterie', 'type': 'sonnenbatterie', 'id': 1, 'configuration': <modules.devices.sonnenbatterie.config.SonnenBatterieConfiguration object at 0x70ad95c8>}
2024-07-06 12:15:30,732 - {dataclass_utils._dataclass_asdict:23} - {DEBUG:MainThread} - {'variant': 3, 'ip_address': '192.168.0.167'}
2024-07-06 12:15:30,733 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'SonnenBatterie', 'type': 'sonnenbatterie', 'id': 1, 'configuration': {'variant': 3, 'ip_address': '192.168.0.167'}}
2024-07-06 12:15:30,734 - {dataclass_utils._dataclass_asdict:23} - {DEBUG:MainThread} - {'name': 'SonnenBatterie Zähler', 'type': 'counter', 'id': 0, 'configuration': <modules.devices.sonnenbatterie.config.SonnenbatterieCounterConfiguration object at 0x714291a8>}
2024-07-06 12:15:30,736 - {dataclass_utils._dataclass_asdict:23} - {DEBUG:MainThread} - {}
2024-07-06 12:15:30,737 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SonnenBatterie Zähler', 'type': 'counter', 'id': 0, 'configuration': {}}
2024-07-06 12:15:30,738 - {dataclass_utils._dataclass_asdict:23} - {DEBUG:MainThread} - {'name': 'SonnenBatterie Wechselrichter', 'type': 'inverter', 'id': 1, 'configuration': <modules.devices.sonnenbatterie.config.SonnenbatterieInverterConfiguration object at 0x6d05eda8>}
2024-07-06 12:15:30,739 - {dataclass_utils._dataclass_asdict:23} - {DEBUG:MainThread} - {}
2024-07-06 12:15:30,740 - {control.data:281} - {INFO:MainThread} - component1
{'name': 'SonnenBatterie Wechselrichter', 'type': 'inverter', 'id': 1, 'configuration': {}}
2024-07-06 12:15:30,741 - {dataclass_utils._dataclass_asdict:23} - {DEBUG:MainThread} - {'name': 'SonnenBatterie Speicher', 'type': 'bat', 'id': 2, 'configuration': <modules.devices.sonnenbatterie.config.SonnenbatterieBatConfiguration object at 0x6cd41f88>}
2024-07-06 12:15:30,743 - {dataclass_utils._dataclass_asdict:23} - {DEBUG:MainThread} - {}
2024-07-06 12:15:30,744 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SonnenBatterie Speicher', 'type': 'bat', 'id': 2, 'configuration': {}}
2024-07-06 12:15:30,746 - {control.data:253} - {INFO:MainThread} -
2024-07-06 12:15:30,749 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-07-06 12:15:30,750 - {control.algorithm.algorithm:63} - {DEBUG:MainThread} - Ladepunkt 3: Prüfen, ob Phasenumschaltung durchgeführt werden soll.
2024-07-06 12:15:30,751 - {control.chargepoint.chargepoint:550} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-07-06 12:15:30,752 - {control.counter:204} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: 329.0W
2024-07-06 12:15:30,754 - {control.ev:462} - {DEBUG:MainThread} - Genutzter Strom: 6.08A, Überschuss: -329.0W, benötigte neue Leistung: 0W
2024-07-06 12:15:30,755 - {control.counter:204} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: 329.0W
2024-07-06 12:15:30,758 - {control.ev:507} - {INFO:MainThread} - LP 3: Umschaltung von 3 auf 1 Phasen in 14 Min. 32 Sek..
2024-07-06 12:15:30,761 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-07-06 12:15:30,763 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.PV_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-07-06 12:15:30,765 - {control.counter:176} - {DEBUG:MainThread} - Zähler 0: [35.08, 34.81, 34.95]A verbleibende Ströme, 23979.54W verbleibende Leistung
2024-07-06 12:15:30,766 - {control.algorithm.common:95} - {INFO:MainThread} - LP3: Stromstärke 6A
2024-07-06 12:15:30,769 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-07-06 12:15:30,771 - {control.algorithm.filter_chargepoints:116} - {DEBUG:MainThread} - Geordnete Ladepunkte [3]
2024-07-06 12:15:30,773 - {control.algorithm.additional_current:26} - {INFO:MainThread} - Mode-Tuple Chargemode.PV_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-07-06 12:15:30,774 - {control.algorithm.common:95} - {INFO:MainThread} - LP3: Stromstärke 6A
2024-07-06 12:15:30,777 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Einspeisung erzeugt werden.
2024-07-06 12:15:30,778 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -413.4599999999991W
2024-07-06 12:15:30,780 - {control.counter:495} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -413.4599999999991W
2024-07-06 12:15:30,781 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-07-06 12:15:30,783 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-07-06 12:15:30,785 - {dataclass_utils._dataclass_asdict:23} - {DEBUG:MainThread} - {'chargemode_log_entry': 'pv_charging', 'costs': 1.2476, 'imported_at_mode_switch': 5662482.91, 'imported_at_plugtime': 5662482.91, 'imported_since_mode_switch': 8109.859999999404, 'imported_since_plugged': 8109.859999999404, 'range_charged': 45.05477777777447, 'time_charged': '2:41', 'timestamp_start_charging': 1720251270.72049, 'ev': 2, 'prio': False, 'rfid': None, 'serial_number': None}
2024-07-06 12:15:30,788 - {control.process:111} - {INFO:MainThread} - LP3: set current 6 A, state PHASE_SWITCH_DELAY
2024-07-06 12:15:30,795 - {modules.common.component_context:25} - {DEBUG:set current cp3} - Update Komponente ['Ladepunkt']
2024-07-06 12:15:30,826 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-07-06 12:15:35,111 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-07-06 12:15:40,128 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-07-06 12:15:40,130 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
Vielleicht bin ich zu blöd, aber ich verstehe schlicht nicht, was Dir an Information fehlt. Da hilft es auch nicht, nochmals auf
zu verweisen. Nach dem was ich da lese, meine ich alle Informationen geliefert zu haben die ich liefern konnte / sollte.
Ich habe nochmal etwas weiter experimentiert, aber das wird ein nächstes Posting.