ich habe eine OpenWB 2 Pro im Einsatz. Die Ladeeinstellungen - PV-Laden steht auf Regelmodus "Einspeisung".
Das hat gefühlt bisher auch gut funktioniert und heute habe ich zum ersten Mal festgestellt, dass das PV-Laden so geregelt wird, dass nicht ein paar hundert Watt eingespeist werden, sondern eher kontinuierlich 2 kW aus dem Speicher Entladen werden. Im ganz konkreten Fall kam der dann auch in Summe über alles über die 8,5 kW max des Wechselrichters, was dazu geführt hat, dass ein paar hundert Watt aus dem Netz bezogen wurden.
Ich habe mir dazu die Ladeeinstellungen und Konfigurationseinstellungen nochmal angesehen und nichts finden können, was mir das Verhalten erklärt.
Im Status sah alles gut aus und im Log wundern mich die beiden Punkte, dass von Phasenzahl Lademodus: 2 die Rede ist. Ist es nicht so, dass die OpenWB nur 1 oder 3 Phasen kann? und, dass von -2029.53W verbleibende Speicher-Leistung die Rede ist, das fühlt sich an, wie genau das, was hier zu viel geladen wird.
Darf ich jemanden mit mehr Fach-Expertise in Bezug auf das Lesen der Logs, als ich sie besitze, bitten da einmal drauf zu gucken, was dieses Verhalten bei mir verursacht hat?
Code: Alles auswählen
2025-06-17 14:30:02,821 - {root:69} - {INFO:MainThread} - # ***Start***
2025-06-17 14:30:02,825 - {root:70} - {DEBUG:MainThread} - Threads: [<_MainThread(MainThread, started 1992837504)>, <Thread(Thread-1, started daemon 1967817792)>, <Thread(Internal Chargepoint, started 1953813568)>, <Thread(Subdata, started 1876874304)>, <Thread(Setdata, started 1866462272)>, <Thread(Commands, started 1855976512)>, <Thread(SoC, started 1845490752)>, <Thread(Internal Chargepoint, started 1835004992)>, <Thread(Modbus Control Server, started 1824519232)>, <Thread(ChargepointStateUpdate cp 4, started 1816126528)>]
2025-06-17 14:30:02,873 - {modules.common.component_context:26} - {DEBUG:device0} - Update Komponente ['Kostal Smart Energy Meter oder TQ EM 410 Zähler']
2025-06-17 14:30:02,885 - {modules.common.component_context:58} - {DEBUG:device1} - Update Komponenten ['Kostal Plenticore Wechselrichter', 'Kostal Plenticore Speicher']
2025-06-17 14:30:02,896 - {modules.common.component_context:58} - {DEBUG:device2} - Update Komponenten ['Wärmepumpe']
2025-06-17 14:30:02,900 - {modules.common.component_context:26} - {DEBUG:set values cp4} - Update Komponente ['Ladepunkt']
2025-06-17 14:30:02,906 - {modules.common.component_context:26} - {DEBUG:device2} - Update Komponente ['Wärmepumpe']
2025-06-17 14:30:02,921 - {urllib3.connectionpool:227} - {DEBUG:set values cp4} - Starting new HTTP connection (1): 192.168.178.83:80
2025-06-17 14:30:02,939 - {modules.common.simcount._simcount:42} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1750163390.2131724, power=-2109, imported=872985.6180621955, exported=771918.5703613838)
2025-06-17 14:30:02,941 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00353514, power1: -2109, power2: -2099
2025-06-17 14:30:02,944 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: -7.43792
2025-06-17 14:30:02,946 - {modules.common.simcount._simcount:65} - {DEBUG:device1} - imported: 0 Wh, exported: 7.43792 Wh, new state: SimCounterState(timestamp=1750163402.9396596, power=-2099, imported=872985.6180621955, exported=771926.0082861016)
2025-06-17 14:30:02,949 - {modules.devices.kostal.kostal_plenticore.bat:29} - {DEBUG:device1} - raw bat power -2099
2025-06-17 14:30:02,965 - {urllib3.connectionpool:452} - {DEBUG:set values cp4} - http://192.168.178.83:80 "GET /connect.php HTTP/1.1" 200 526
2025-06-17 14:30:02,969 - {modules.common.req:32} - {DEBUG:set values cp4} - Get-Response: {"date":"2025:06:17-14:30:02","timestamp":1750163402,"powers":[2642.2,2534.1,2549.4],"power_all":7731.9,"currents":[11.594,11.182,11.252],"voltages":[232.95,232.03,232.98],"frequency":49.959,"imported":1372789,"exported":0,"plug_state":true,"charge_state":true,"phases_actual":3,"phases_target":3,"phases_in_use":3,"offered_current":11.3,"evse_signaling":"basic+fake_highlevel_dc","v2g_ready":0,"soc_value":74,"soc_timestamp":1750162078,"vehicle_id":"A4:53:EE:02:A4:1D","rfid_tag":null,"rfid_timestamp":null,"serial":"758931"}
2025-06-17 14:30:02,974 - {modules.common.store._api:26} - {DEBUG:set values cp4} - Raw data ChargepointState(currents=[11.594, 11.182, 11.252], powers=[2642.2, 2534.1, 2549.4], voltages=[232.95, 232.03, 232.98], frequency=49.959, imported=1372789, exported=0, power=7731.9, serial_number=758931, phases_in_use=3, charge_state=True, plug_state=True, rfid=None, rfid_timestamp=None, charging_current=0, charging_power=0, charging_voltage=0, power_factors=[0.0, 0.0, 0.0], soc=74, soc_timestamp=1750162078, evse_current=11.3, max_evse_current=None, vehicle_id=A4:53:EE:02:A4:1D)
2025-06-17 14:30:03,010 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[2.778, 3.305, 2.741], powers=[42.800000000000004, 118.7, 149.3], voltages=[233.994, 232.92600000000002, 233.738], power_factors=[0.149, 0.304, 0.341], imported=14241533.0, exported=16413917.8, power=310.8, frequency=50.0)
2025-06-17 14:30:03,084 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-8548, exported=34035152.0, dc_power=None)
2025-06-17 14:30:03,086 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data BatState(imported=872985.6180621955, exported=771926.0082861016, power=-2029.5335693359375, soc=90)
2025-06-17 14:30:03,167 - {modules.common.store._api:26} - {DEBUG:device2} - Raw data CounterState(currents=[0.0, 0.0, 0.05633474141359329], powers=[0.0, 0.0, 9.734150886535645], voltages=[233.72146606445312, 232.3370819091797, 233.4493408203125], power_factors=[0.0, 0.0, 0.8886651396751404], imported=114554.00085449219, exported=0, power=9.734150886535645, frequency=50.0099983215332)
2025-06-17 14:30:03,172 - {modules.common.component_context:26} - {DEBUG:component2} - Update Komponente ['Kostal Plenticore Speicher']
2025-06-17 14:30:03,174 - {modules.common.store._api:31} - {INFO:component2} - Saving BatState(imported=872985.6180621955, exported=771926.0082861016, power=-2029.5335693359375, soc=90)
2025-06-17 14:30:03,228 - {modules.common.component_context:26} - {DEBUG:component1} - Update Komponente ['Kostal Plenticore Wechselrichter']
2025-06-17 14:30:03,230 - {modules.common.store._api:26} - {DEBUG:component1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-6518.47, exported=34136211.61, dc_power=None)
2025-06-17 14:30:03,232 - {modules.common.component_context:26} - {DEBUG:update values cp4} - Update Komponente ['Ladepunkt']
2025-06-17 14:30:03,233 - {modules.common.store._api:31} - {INFO:component1} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-6518.47, exported=34136211.61, dc_power=None)
2025-06-17 14:30:03,235 - {modules.common.component_context:26} - {DEBUG:component5} - Update Komponente ['Wärmepumpe']
2025-06-17 14:30:03,237 - {modules.common.store._api:31} - {INFO:update values cp4} - Saving ChargepointState(currents=[11.594, 11.182, 11.252], powers=[2642.2, 2534.1, 2549.4], voltages=[232.95, 232.03, 232.98], frequency=49.959, imported=1372789, exported=0, power=7731.9, serial_number=758931, phases_in_use=3, charge_state=True, plug_state=True, rfid=None, rfid_timestamp=None, charging_current=0, charging_power=0, charging_voltage=0, power_factors=[0.0, 0.0, 0.0], soc=74, soc_timestamp=1750162078, evse_current=11.3, max_evse_current=None, vehicle_id=A4:53:EE:02:A4:1D)
2025-06-17 14:30:03,240 - {modules.common.store._api:31} - {INFO:component5} - Saving CounterState(currents=[0.0, 0.0, 0.05633474141359329], powers=[0.0, 0.0, 9.734150886535645], voltages=[233.72146606445312, 232.3370819091797, 233.4493408203125], power_factors=[0.0, 0.0, 0.8886651396751404], imported=114554.00085449219, exported=0, power=9.734150886535645, frequency=50.0099983215332)
2025-06-17 14:30:03,472 - {modules.common.component_context:26} - {DEBUG:component0} - Update Komponente ['Kostal Smart Energy Meter oder TQ EM 410 Zähler']
2025-06-17 14:30:03,474 - {modules.common.store._api:31} - {INFO:component0} - Saving CounterState(currents=[2.778, 3.305, 2.741], powers=[42.800000000000004, 118.7, 149.3], voltages=[233.994, 232.92600000000002, 233.738], power_factors=[0.149, 0.304, 0.341], imported=14241533.0, exported=16413917.8, power=310.8, frequency=50.0)
2025-06-17 14:30:03,633 - {control.counter:160} - {INFO:MainThread} - Verbleibende Ströme an Zähler 5: [35.0, 35.0, 34.94]A
2025-06-17 14:30:03,635 - {control.counter:160} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [43.81, 42.87, 43.51]A
2025-06-17 14:30:03,637 - {control.counter:187} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 31421.1W
2025-06-17 14:30:03,640 - {control.chargepoint.chargepoint:557} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2025-06-17 14:30:03,644 - {control.chargepoint.chargepoint:543} - {DEBUG:MainThread} - Phasenzahl Lademodus: 2
2025-06-17 14:30:03,648 - {control.chargepoint.chargepoint:707} - {INFO:MainThread} - LP 4, EV: Standard-Fahrzeug (EV-Nr.0): Theoretisch benötigter Strom 6A, Lademodus pv_charging, Submodus: Chargemode.PV_CHARGING, Phasen: 2, Priorität: False, max. Ist-Strom: 11.59
2025-06-17 14:30:03,651 - {control.bat_all:320} - {DEBUG:MainThread} - Speicher-Leistung nicht begrenzen, da keine Ladepunkte in einem Lademodus mit Netzbezug sind.
2025-06-17 14:30:03,654 - {control.bat_all:200} - {INFO:MainThread} - -2029.53W verbleibende Speicher-Leistung
2025-06-17 14:30:03,660 - {modules.common.simcount._simcount:42} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1750163391.0564349, power=993.8827062606811, imported=2634270.0282681286, exported=2.669393690239445)
2025-06-17 14:30:03,665 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00350107, power1: 993.883, power2: 1117.17
2025-06-17 14:30:03,669 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 3.69547
2025-06-17 14:30:03,671 - {modules.common.simcount._simcount:65} - {DEBUG:MainThread} - imported: 3.69547 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1750163403.660299, power=1117.165849113465, imported=2634273.7237360864, exported=2.669393690239445)
2025-06-17 14:30:03,675 - {control.data:268} - {INFO:MainThread} - bat2
BatData(get=Get(currents=[0.0, 0.0, 0.0], soc=90, daily_exported=2747.0, daily_imported=4022.0, imported=872985.62, exported=771926.01, fault_state=0, fault_str='Kein Fehler.', power=-2029.53, power_limit_controllable=False), set=Set(power_limit=0))
2025-06-17 14:30:03,679 - {control.data:238} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True, power_limit_mode='no_limit'), get=Get(power_limit_controllable=False, soc=90, daily_exported=2747.0, daily_imported=4022.0, fault_str='Kein Fehler.', fault_state=0, imported=872985.62, exported=771926.01, power=-2029.53), set=Set(charging_power_left=-2029.53, power_limit=None, regulate_up=False))
2025-06-17 14:30:03,683 - {control.data:239} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=2613.0, daily_exported=0, power=7731.9, imported=1372789, exported=0))
2025-06-17 14:30:03,687 - {control.data:268} - {INFO:MainThread} - cp4
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=', da die maximale Leistung an Zähler {} erreicht ist.', min_current=6, phases=2, prio=False, required_current=6, required_currents=[6, 6, 0.0], state=4, submode=<Chargemode.PV_CHARGING: 'pv_charging'>, timestamp_charge_start=1750162132.120696, timestamp_last_phase_switch=0, timestamp_switch_on_off=None), get=Get(charge_state=True, charging_current=0, charging_power=0, charging_voltage=0, 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=78.96), currents=[11.59, 11.18, 11.25], daily_imported=2613.0, daily_exported=0.0, error_timestamp=None, evse_current=11.3, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=1372789, max_evse_current=None, phases_in_use=3, plug_state=True, power=7731.9, rfid_timestamp=None, rfid=None, serial_number='758931', soc=74, soc_timestamp=1750162078, state_str=None, vehicle_id='A4:53:EE:02:A4:1D', voltages=[232.95, 232.03, 232.98]), set=Set(charging_ev=0, charging_ev_prev=0, current=11.37, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='pv_charging', costs=0, imported_at_mode_switch=1370142, imported_at_plugtime=1370142, imported_since_mode_switch=2613, imported_since_plugged=2613, range_charged=14.84659090909091, time_charged='0:20', timestamp_start_charging=1750162141.665861, ev=0, prio=False, rfid=None, serial_number=None, soc_at_start=74, soc_at_end=None, range_at_start=None, range_at_end=None), manual_lock=False, phases_to_use=2, plug_state_prev=True, plug_time=1750162081.041606, required_power=2760.0, rfid=None, current_prev=11.37, target_current=0, charging_ev_data=<control.ev.ev.Ev object at 0x6f53a2f8>, ocpp_transaction_id=None), config=Config(configuration={'ip_address': '192.168.178.83', 'duo_num': 0}, ev=0, name='openWB Pro Garage', type='openwb_pro', template=0, connected_phases=3, phase_1=1, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=4, ocpp_chargebox_id=None))
2025-06-17 14:30:03,701 - {control.data:268} - {INFO:MainThread} - cpt0
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), charging_type='AC', id=0, max_current_multi_phases=16, max_current_single_phase=16, dc_max_current=435, name='neues Ladepunkt-Profil', disable_after_unplug=False, valid_tags=[])
2025-06-17 14:30:03,704 - {control.data:268} - {INFO:MainThread} - counter0
CounterData(config=Config(max_power_errorcase=7000, max_currents=[35, 35, 35], max_total_power=24000), get=Get(powers=[42.8, 118.7, 149.3], currents=[2.78, 3.31, 2.74], voltages=[233.99, 232.93, 233.74], power_factors=[0.15, 0.3, 0.34], frequency=50.0, daily_exported=21795.0, daily_imported=125.0, imported=14241533.0, exported=16413917.8, fault_state=0, fault_str='Kein Fehler.', power=310.8), set=Set(error_timer=None, reserved_surplus=0, released_surplus=0, raw_power_left=31421.1, raw_currents_left=[43.81, 42.87, 43.51], surplus_power_left=0))
2025-06-17 14:30:03,709 - {control.data:268} - {INFO:MainThread} - counter5
CounterData(config=Config(max_power_errorcase=7000, max_currents=[35, 35, 35], max_total_power=24000), get=Get(powers=[0.0, 0.0, 9.73], currents=[0.0, 0.0, 0.06], voltages=[233.72, 232.34, 233.45], power_factors=[0.0, 0.0, 0.89], frequency=50.0099983215332, daily_exported=0, daily_imported=148.0, imported=114554.00085449219, exported=0, fault_state=0, fault_str='Kein Fehler.', power=9.734150886535645), set=Set(error_timer=None, reserved_surplus=0, released_surplus=0, raw_power_left=None, raw_currents_left=[35.0, 35.0, 34.94], surplus_power_left=0))
2025-06-17 14:30:03,713 - {control.data:243} - {INFO:MainThread} - counter_all_data
CounterAllData(config=Config(home_consumption_source_id=None, consider_less_charging=False), get=Get(hierarchy=[{'id': 0, 'type': 'counter', 'children': [{'id': 1, 'type': 'inverter', 'children': [{'id': 2, 'type': 'bat', 'children': []}]}, {'id': 4, 'type': 'cp', 'children': []}, {'id': 5, 'type': 'counter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=1117.165849113465, smarthome_power_excluded_from_home_consumption=0, invalid_home_consumption=0, daily_yield_home_consumption=8204.0, imported_home_consumption=2634273.7237360864, disengageable_smarthome_power=9))
2025-06-17 14:30:03,719 - {control.data:268} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Lade-Profil', 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(dc_min_current=145, dc_min_soc_current=145, min_soc_current=6, min_current=0, feed_in_limit=False, min_soc=20, max_soc=95), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=8, dc_current=145, limit=Limit(selected='soc', amount=21000, soc=95))))
2025-06-17 14:30:03,722 - {control.data:268} - {INFO:MainThread} - ev0
EvData(set=Set(soc_error_counter=0), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=[], get=Get(soc=78.96, soc_request_timestamp=1750163296.788252, soc_timestamp=1750163296.850268, force_soc_update=False, range=None, fault_state=0, fault_str='Kein Fehler.'))
2025-06-17 14:30:03,731 - {control.data:268} - {INFO:MainThread} - et0
EvTemplateData(dc_min_current=0, dc_max_current=0, name='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=True, control_pilot_interruption_duration=7, average_consump=17600, min_current=6, max_current_single_phase=16, battery_capacity=46000, efficiency=95, nominal_difference=1, keep_charge_active_duration=30)
2025-06-17 14:30:03,735 - {control.data:247} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=3), phase_switch_delay=7, pv_charging=PvCharging(bat_power_reserve=200, bat_power_reserve_active=True, control_range=[-230, 0], feed_in_yield=0, phase_switch_delay=7, phases_to_use=0, bat_power_discharge=1000, bat_power_discharge_active=True, min_bat_soc=50, bat_mode='ev_mode', switch_off_delay=60, switch_off_threshold=50, switch_on_delay=30, switch_on_threshold=1500), retry_failed_phase_switches=True, scheduled_charging=ScheduledCharging(phases_to_use=0, phases_to_use_pv=0), time_charging=TimeCharging(phases_to_use=1), unbalanced_load_limit=18, unbalanced_load=False), control_interval=10, extern_display_mode='primary', extern=False, external_buttons_hw=False, grid_protection_active=False, grid_protection_configured=False, grid_protection_random_stop=0, grid_protection_timestamp=None, http_api=False, mqtt_bridge=False, prices=Prices(bat=0.0002, cp=0, grid=0.00045, pv=0.00015), range_unit='km', ripple_control_receiver=RippleControlReceiver(get=RippleControlReceiverGet(fault_state=0, fault_str='Kein Fehler.', override_value=100), module=None, override_reference=<OverrideReference.CHARGEPOINT: 'chargepoint'>))
2025-06-17 14:30:03,743 - {control.data:248} - {INFO:MainThread} - general_data-display
primary
2025-06-17 14:30:03,750 - {control.data:249} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2025-06-17 14:30:03,752 - {control.data:250} - {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 0x6f576598>), led=Led(active=False), rfid=Rfid(active=False), dc_charging=False, ocpp=Ocpp(active=False, boot_notification_sent=False, url=None, version='ocpp1.6'))
2025-06-17 14:30:03,765 - {control.data:268} - {INFO:MainThread} - pv1
PvData(config=Config(max_ac_out=8500), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=33526.0, monthly_exported=761142.7799999975, yearly_exported=4452025.359999996, exported=34136211.61, fault_state=0, fault_str='Kein Fehler.', power=-6518.47))
2025-06-17 14:30:03,772 - {control.data:252} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=33526.0, fault_str='Kein Fehler.', fault_state=0, monthly_exported=761142.7799999975, yearly_exported=4452025.359999996, exported=34136211.61, power=-6518.47))
2025-06-17 14:30:03,775 - {control.data:268} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'backup_cloud': {'backup_before_update': True}, 'ip_address': '192.168.178.82', 'current_commit': '2025-05-28 12:05:56 +0200 [8fd4fe2ef]', 'current_branch': 'Release', 'current_branch_commit': '2025-05-28 12:05:56 +0200 [8fd4fe2ef]', 'current_missing_commits': [], 'datastore_version': 75, 'installAssistantDone': True, 'dataprotection_acknowledged': True, 'usage_terms_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.7-Patch.3', 'boot_done': True, 'lastlivevaluesJson': {'timestamp': 1750163391, 'time': '14:29:51', 'grid': 0.281, 'counter5-power': 0.01, 'house-power': 0.994, 'charging-all': 7.826, 'pv-all': 6.509, 'cp4-power': 7.826, 'ev0-soc': 78.96, 'bat-all-power': -2.039, 'bat-all-soc': 90}, 'serial_number': None, 'module_update_completed': True, 'mac_address': 'b8:27:eb:f3:0c:94'}
2025-06-17 14:30:03,780 - {control.data:281} - {INFO:MainThread} - device0
{'name': 'Kostal Smart Energy Meter oder TQ EM 410', 'type': 'kostal_sem', 'vendor': 'kostal', 'id': 0, 'configuration': {'modbus_id': 71, 'ip_address': '192.168.178.50', 'port': 502}}
2025-06-17 14:30:03,782 - {control.data:283} - {INFO:MainThread} - component0
{'name': 'Kostal Smart Energy Meter oder TQ EM 410 Zähler', 'type': 'counter', 'id': 0, 'info': {'manufacturer': None, 'model': None}, 'configuration': {}}
2025-06-17 14:30:03,785 - {control.data:281} - {INFO:MainThread} - device1
{'name': 'Kostal Plenticore', 'type': 'kostal_plenticore', 'vendor': 'kostal', 'id': 1, 'configuration': {'modbus_id': 71, 'ip_address': '192.168.178.51', 'port': 1502}}
2025-06-17 14:30:03,793 - {control.data:283} - {INFO:MainThread} - component1
{'name': 'Kostal Plenticore Wechselrichter', 'info': {'manufacturer': None, 'model': None}, 'type': 'inverter', 'id': 1, 'configuration': {}}
2025-06-17 14:30:03,795 - {control.data:283} - {INFO:MainThread} - component2
{'name': 'Kostal Plenticore Speicher', 'info': {'manufacturer': None, 'model': None}, 'type': 'bat', 'id': 2, 'configuration': {}}
2025-06-17 14:30:03,798 - {control.data:281} - {INFO:MainThread} - device2
{'name': 'Wärmepumpe', 'type': 'openwb_flex', 'vendor': 'openwb', 'id': 2, 'configuration': {'port': 4196, 'ip_address': '192.168.178.70'}}
2025-06-17 14:30:03,800 - {control.data:283} - {INFO:MainThread} - component5
{'name': 'Wärmepumpe', 'info': {'manufacturer': None, 'model': None}, 'type': 'consumption_counter', 'id': 5, 'configuration': {'id': 1, 'type': 'sdm630'}}
2025-06-17 14:30:03,801 - {control.data:255} - {INFO:MainThread} -
2025-06-17 14:30:03,803 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2025-06-17 14:30:03,804 - {control.algorithm.algorithm:63} - {DEBUG:MainThread} - Ladepunkt 4: Prüfen, ob Phasenumschaltung durchgeführt werden soll.
2025-06-17 14:30:03,806 - {control.chargepoint.chargepoint:557} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2025-06-17 14:30:03,807 - {control.ev.ev:362} - {DEBUG:MainThread} - Genutzter Strom: 11.59A, Überschuss: -2331.33W, benötigte neue Leistung: 0W
2025-06-17 14:30:03,809 - {control.ev.ev:383} - {DEBUG:MainThread} - Keine Phasenumschaltung, da das Fahrzeug nicht mit der vorgegebenen Stromstärke +/- der erlaubten Stromabweichung aus dem Fahrzeug-Profil/Minimalen Dauerstrom lädt.
2025-06-17 14:30:03,811 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2025-06-17 14:30:03,815 - {control.algorithm.min_current:21} - {INFO:MainThread} - Mode-Tuple Chargemode.PV_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2025-06-17 14:30:03,817 - {control.counter:198} - {DEBUG:MainThread} - Zähler 0: [37.81, 36.87, 43.51]A verbleibende Ströme, 28661.1W verbleibende Leistung
2025-06-17 14:30:03,818 - {control.algorithm.common:80} - {INFO:MainThread} - LP4: Stromstärke 6A
2025-06-17 14:30:03,820 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Soll-Strom setzen**
2025-06-17 14:30:03,824 - {control.counter:248} - {DEBUG:MainThread} - Anpassen des Regelbereichs -115.0W
2025-06-17 14:30:03,825 - {control.counter:514} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf 2525.569999999999W
2025-06-17 14:30:03,827 - {control.counter:514} - {DEBUG:MainThread} - Zähler 5: Begrenzung der verbleibenden Leistung auf 2525.569999999999W
2025-06-17 14:30:03,828 - {control.algorithm.algorithm:38} - {INFO:MainThread} - **PV-geführten Strom setzen**
2025-06-17 14:30:03,832 - {control.algorithm.filter_chargepoints:102} - {DEBUG:MainThread} - Geordnete Ladepunkte [4]
2025-06-17 14:30:03,834 - {control.algorithm.surplus_controlled:49} - {INFO:MainThread} - Mode-Tuple Chargemode.PV_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2025-06-17 14:30:03,835 - {control.loadmanagement:82} - {DEBUG:MainThread} - Leistungsüberschreitung auf 2525.569999999999W korrigieren: [10.0, 10.0, 0.0]
2025-06-17 14:30:03,837 - {control.counter:205} - {DEBUG:MainThread} - Zähler 0: [32.31963043478261, 31.37963043478261, 43.51]A verbleibende Ströme, 0.0W verbleibender Überschuss
2025-06-17 14:30:03,839 - {control.algorithm.common:80} - {INFO:MainThread} - LP4: Stromstärke 11.490369565217389A
2025-06-17 14:30:03,840 - {control.algorithm.surplus_controlled:146} - {DEBUG:MainThread} - Ungenutzten Soll-Strom aufschlagen ergibt 11.20036956521739A.
2025-06-17 14:30:03,842 - {control.process:26} - {INFO:MainThread} - # Ladung starten.
2025-06-17 14:30:03,846 - {control.process:109} - {INFO:MainThread} - LP4: set current 11.2 A, state CHARGING_ALLOWED
2025-06-17 14:30:03,867 - {modules.common.component_context:26} - {DEBUG:set current cp4} - Update Komponente ['Ladepunkt']
2025-06-17 14:30:03,876 - {urllib3.connectionpool:227} - {DEBUG:set current cp4} - Starting new HTTP connection (1): 192.168.178.83:80
2025-06-17 14:30:03,915 - {urllib3.connectionpool:452} - {DEBUG:set current cp4} - http://192.168.178.83:80 "POST /connect.php HTTP/1.1" 200 22
2025-06-17 14:30:03,924 - {modules.common.req:32} - {DEBUG:set current cp4} - Get-Response: OK Value:11.2 accepted
2025-06-17 14:30:04,232 - {helpermodules.changed_values_handler:126} - {DEBUG:MainThread} - Topic openWB/set/bat/get/exported, Payload 771926.01, vorherige Payload: 771918.57
2025-06-17 14:30:04,257 - {helpermodules.changed_values_handler:126} - {DEBUG:MainThread} - Topic openWB/set/bat/get/power, Payload -2029.53, vorherige Payload: -2038.95
2025-06-17 14:30:04,269 - {helpermodules.changed_values_handler:126} - {DEBUG:MainThread} - Topic openWB/set/bat/set/charging_power_left, Payload -2029.53, vorherige Payload: -2038.95
2025-06-17 14:30:04,273 - {helpermodules.changed_values_handler:126} - {DEBUG:MainThread} - Topic openWB/set/chargepoint/get/power, Payload 7731.9, vorherige Payload: 7825.6
2025-06-17 14:30:04,276 - {helpermodules.changed_values_handler:126} - {DEBUG:MainThread} - Topic openWB/set/chargepoint/get/imported, Payload 1372789, vorherige Payload: 1372755
2025-06-17 14:30:04,280 - {helpermodules.changed_values_handler:126} - {DEBUG:MainThread} - Topic openWB/set/counter/set/home_consumption, Payload 1117.165849113465, vorherige Payload: 993.8827062606811
2025-06-17 14:30:04,283 - {helpermodules.changed_values_handler:126} - {DEBUG:MainThread} - Topic openWB/set/counter/set/imported_home_consumption, Payload 2634273.7237360864, vorherige Payload: 2634270.0282681286
2025-06-17 14:30:05,315 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2025-06-17 14:30:10,333 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2025-06-17 14:30:10,343 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2025-06-17 14:30:10,347 - {root:69} - {INFO:MainThread} - # ***Start***
2025-06-17 14:30:10,355 - {root:70} - {DEBUG:MainThread} - Threads: [<_MainThread(MainThread, started 1992837504)>, <Thread(Thread-1, started daemon 1967817792)>, <Thread(Internal Chargepoint, started 1953813568)>, <Thread(Subdata, started 1876874304)>, <Thread(Setdata, started 1866462272)>, <Thread(Commands, started 1855976512)>, <Thread(SoC, started 1845490752)>, <Thread(Internal Chargepoint, started 1835004992)>, <Thread(Modbus Control Server, started 1824519232)>, <Thread(ChargepointStateUpdate cp 4, started 1816126528)>, <Thread(smarthome, started 1780978752)>]
2025-06-17 14:30:10,432 - {modules.common.component_context:26} - {DEBUG:device0} - Update Komponente ['Kostal Smart Energy Meter oder TQ EM 410 Zähler']
2025-06-17 14:30:10,436 - {modules.common.component_context:58} - {DEBUG:device1} - Update Komponenten ['Kostal Plenticore Wechselrichter', 'Kostal Plenticore Speicher']
2025-06-17 14:30:10,439 - {modules.common.component_context:58} - {DEBUG:device2} - Update Komponenten ['Wärmepumpe']
2025-06-17 14:30:10,445 - {modules.common.component_context:26} - {DEBUG:device2} - Update Komponente ['Wärmepumpe']
2025-06-17 14:30:10,448 - {modules.common.component_context:26} - {DEBUG:set values cp4} - Update Komponente ['Ladepunkt']
2025-06-17 14:30:10,462 - {urllib3.connectionpool:227} - {DEBUG:set values cp4} - Starting new HTTP connection (1): 192.168.178.83:80
2025-06-17 14:30:10,468 - {modules.common.simcount._simcount:42} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1750163402.9396596, power=-2099, imported=872985.6180621955, exported=771926.0082861016)
2025-06-17 14:30:10,491 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00209122, power1: -2099, power2: -2097
2025-06-17 14:30:10,495 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: -4.38737
2025-06-17 14:30:10,498 - {modules.common.simcount._simcount:65} - {DEBUG:device1} - imported: 0 Wh, exported: 4.38737 Wh, new state: SimCounterState(timestamp=1750163410.468042, power=-2097, imported=872985.6180621955, exported=771930.3956600095)
2025-06-17 14:30:10,503 - {modules.devices.kostal.kostal_plenticore.bat:29} - {DEBUG:device1} - raw bat power -2097
2025-06-17 14:30:10,511 - {urllib3.connectionpool:452} - {DEBUG:set values cp4} - http://192.168.178.83:80 "GET /connect.php HTTP/1.1" 200 520
2025-06-17 14:30:10,516 - {modules.common.req:32} - {DEBUG:set values cp4} - Get-Response: {"date":"2025:06:17-14:30:10","timestamp":1750163410,"powers":[2654.6,2547.1,2567.5],"power_all":7779.4,"currents":[11.63,11.229,11.332],"voltages":[233,231.96,232.9],"frequency":49.95,"imported":1372807,"exported":0,"plug_state":true,"charge_state":true,"phases_actual":3,"phases_target":3,"phases_in_use":3,"offered_current":11.2,"evse_signaling":"basic+fake_highlevel_dc","v2g_ready":0,"soc_value":74,"soc_timestamp":1750162078,"vehicle_id":"A4:53:EE:02:A4:1D","rfid_tag":null,"rfid_timestamp":null,"serial":"758931"}
2025-06-17 14:30:10,526 - {modules.common.store._api:26} - {DEBUG:set values cp4} - Raw data ChargepointState(currents=[11.63, 11.229, 11.332], powers=[2654.6, 2547.1, 2567.5], voltages=[233, 231.96, 232.9], frequency=49.95, imported=1372807, exported=0, power=7779.4, serial_number=758931, phases_in_use=3, charge_state=True, plug_state=True, rfid=None, rfid_timestamp=None, charging_current=0, charging_power=0, charging_voltage=0, power_factors=[0.0, 0.0, 0.0], soc=74, soc_timestamp=1750162078, evse_current=11.2, max_evse_current=None, vehicle_id=A4:53:EE:02:A4:1D)
2025-06-17 14:30:10,551 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-8548, exported=34035152.0, dc_power=None)
2025-06-17 14:30:10,556 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data BatState(imported=872985.6180621955, exported=771930.3956600095, power=-2027.8074951171875, soc=90)
2025-06-17 14:30:10,569 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[-3.16, 3.604, 3.098], powers=[-2.5, 77.7, 94.80000000000001], voltages=[234.067, 232.939, 233.82500000000002], power_factors=[0.005, 0.189, 0.209], imported=14241533.5, exported=16413917.8, power=170.0, frequency=50.008)
2025-06-17 14:30:10,726 - {modules.common.store._api:26} - {DEBUG:device2} - Raw data CounterState(currents=[0.0, 0.0, 0.05471190810203552], powers=[0.0, 0.0, 9.671394348144531], voltages=[233.8348388671875, 232.48712158203125, 233.54745483398438], power_factors=[0.0, 0.0, 0.8878144025802612], imported=114554.00085449219, exported=0, power=9.671394348144531, frequency=49.959999084472656)
2025-06-17 14:30:10,731 - {modules.common.component_context:26} - {DEBUG:component2} - Update Komponente ['Kostal Plenticore Speicher']
2025-06-17 14:30:10,733 - {modules.common.store._api:31} - {INFO:component2} - Saving BatState(imported=872985.6180621955, exported=771930.3956600095, power=-2027.8074951171875, soc=90)
2025-06-17 14:30:10,793 - {modules.common.component_context:26} - {DEBUG:component1} - Update Komponente ['Kostal Plenticore Wechselrichter']
2025-06-17 14:30:10,795 - {modules.common.store._api:26} - {DEBUG:component1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-6520.1900000000005, exported=34136207.22, dc_power=None)
2025-06-17 14:30:10,799 - {modules.common.store._api:31} - {INFO:component1} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-6520.1900000000005, exported=34136207.22, dc_power=None)
2025-06-17 14:30:10,818 - {modules.common.component_context:26} - {DEBUG:update values cp4} - Update Komponente ['Ladepunkt']
2025-06-17 14:30:10,822 - {modules.common.component_context:26} - {DEBUG:component5} - Update Komponente ['Wärmepumpe']
2025-06-17 14:30:10,823 - {modules.common.store._api:31} - {INFO:update values cp4} - Saving ChargepointState(currents=[11.63, 11.229, 11.332], powers=[2654.6, 2547.1, 2567.5], voltages=[233, 231.96, 232.9], frequency=49.95, imported=1372807, exported=0, power=7779.4, serial_number=758931, phases_in_use=3, charge_state=True, plug_state=True, rfid=None, rfid_timestamp=None, charging_current=0, charging_power=0, charging_voltage=0, power_factors=[0.0, 0.0, 0.0], soc=74, soc_timestamp=1750162078, evse_current=11.2, max_evse_current=None, vehicle_id=A4:53:EE:02:A4:1D)
2025-06-17 14:30:10,828 - {modules.common.store._api:31} - {INFO:component5} - Saving CounterState(currents=[0.0, 0.0, 0.05471190810203552], powers=[0.0, 0.0, 9.671394348144531], voltages=[233.8348388671875, 232.48712158203125, 233.54745483398438], power_factors=[0.0, 0.0, 0.8878144025802612], imported=114554.00085449219, exported=0, power=9.671394348144531, frequency=49.959999084472656)
2025-06-17 14:30:11,128 - {modules.common.component_context:26} - {DEBUG:component0} - Update Komponente ['Kostal Smart Energy Meter oder TQ EM 410 Zähler']
2025-06-17 14:30:11,130 - {modules.common.store._api:31} - {INFO:component0} - Saving CounterState(currents=[-3.16, 3.604, 3.098], powers=[-2.5, 77.7, 94.80000000000001], voltages=[234.067, 232.939, 233.82500000000002], power_factors=[0.005, 0.189, 0.209], imported=14241533.5, exported=16413917.8, power=170.0, frequency=50.008)
2025-06-17 14:30:11,287 - {control.counter:160} - {INFO:MainThread} - Verbleibende Ströme an Zähler 5: [35.0, 35.0, 34.95]A
2025-06-17 14:30:11,290 - {control.counter:160} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [49.79, 42.63, 43.230000000000004]A
2025-06-17 14:30:11,292 - {control.counter:187} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 31609.4W
2025-06-17 14:30:11,294 - {control.chargepoint.chargepoint:557} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2025-06-17 14:30:11,296 - {control.chargepoint.chargepoint:543} - {DEBUG:MainThread} - Phasenzahl Lademodus: 2
2025-06-17 14:30:11,301 - {control.chargepoint.chargepoint:707} - {INFO:MainThread} - LP 4, EV: Standard-Fahrzeug (EV-Nr.0): Theoretisch benötigter Strom 6A, Lademodus pv_charging, Submodus: Chargemode.PV_CHARGING, Phasen: 2, Priorität: False, max. Ist-Strom: 11.63
2025-06-17 14:30:11,304 - {control.bat_all:320} - {DEBUG:MainThread} - Speicher-Leistung nicht begrenzen, da keine Ladepunkte in einem Lademodus mit Netzbezug sind.
2025-06-17 14:30:11,307 - {control.bat_all:200} - {INFO:MainThread} - -2027.81W verbleibende Speicher-Leistung
2025-06-17 14:30:11,310 - {modules.common.simcount._simcount:42} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1750163403.660299, power=1117.165849113465, imported=2634273.7237360864, exported=2.669393690239445)
2025-06-17 14:30:11,313 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00212512, power1: 1117.17, power2: 928.929
2025-06-17 14:30:11,315 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 2.1741
2025-06-17 14:30:11,318 - {modules.common.simcount._simcount:65} - {DEBUG:MainThread} - imported: 2.1741 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1750163411.3107457, power=928.9286056518554, imported=2634275.8978383746, exported=2.669393690239445)
2025-06-17 14:30:11,324 - {control.data:268} - {INFO:MainThread} - bat2
BatData(get=Get(currents=[0.0, 0.0, 0.0], soc=90, daily_exported=2747.0, daily_imported=4022.0, imported=872985.62, exported=771930.4, fault_state=0, fault_str='Kein Fehler.', power=-2027.81, power_limit_controllable=False), set=Set(power_limit=0))
2025-06-17 14:30:11,327 - {control.data:238} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True, power_limit_mode='no_limit'), get=Get(power_limit_controllable=False, soc=90, daily_exported=2747.0, daily_imported=4022.0, fault_str='Kein Fehler.', fault_state=0, imported=872985.62, exported=771930.4, power=-2027.81), set=Set(charging_power_left=-2027.81, power_limit=None, regulate_up=False))
2025-06-17 14:30:11,330 - {control.data:239} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=2613.0, daily_exported=0, power=7779.4, imported=1372807, exported=0))
2025-06-17 14:30:11,334 - {control.data:268} - {INFO:MainThread} - cp4
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=', da die maximale Leistung an Zähler {} erreicht ist.', min_current=6, phases=2, prio=False, required_current=6, required_currents=[6, 6, 0.0], state=4, submode=<Chargemode.PV_CHARGING: 'pv_charging'>, timestamp_charge_start=1750162132.120696, timestamp_last_phase_switch=0, timestamp_switch_on_off=None), get=Get(charge_state=True, charging_current=0, charging_power=0, charging_voltage=0, 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=78.96), currents=[11.63, 11.23, 11.33], daily_imported=2613.0, daily_exported=0.0, error_timestamp=None, evse_current=11.2, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=1372807, max_evse_current=None, phases_in_use=3, plug_state=True, power=7779.4, rfid_timestamp=None, rfid=None, serial_number='758931', soc=74, soc_timestamp=1750162078, state_str=None, vehicle_id='A4:53:EE:02:A4:1D', voltages=[233, 231.96, 232.9]), set=Set(charging_ev=0, charging_ev_prev=0, current=11.2, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='pv_charging', costs=0, imported_at_mode_switch=1370142, imported_at_plugtime=1370142, imported_since_mode_switch=2647, imported_since_plugged=2647, range_charged=15.039772727272727, time_charged='0:21', timestamp_start_charging=1750162141.665861, ev=0, prio=False, rfid=None, serial_number=None, soc_at_start=74, soc_at_end=None, range_at_start=None, range_at_end=None), manual_lock=False, phases_to_use=2, plug_state_prev=True, plug_time=1750162081.041606, required_power=2760.0, rfid=None, current_prev=11.2, target_current=0, charging_ev_data=<control.ev.ev.Ev object at 0x6eb9a688>, ocpp_transaction_id=None), config=Config(configuration={'ip_address': '192.168.178.83', 'duo_num': 0}, ev=0, name='openWB Pro Garage', type='openwb_pro', template=0, connected_phases=3, phase_1=1, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=4, ocpp_chargebox_id=None))
2025-06-17 14:30:11,342 - {control.data:268} - {INFO:MainThread} - cpt0
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), charging_type='AC', id=0, max_current_multi_phases=16, max_current_single_phase=16, dc_max_current=435, name='neues Ladepunkt-Profil', disable_after_unplug=False, valid_tags=[])
2025-06-17 14:30:11,345 - {control.data:268} - {INFO:MainThread} - counter0
CounterData(config=Config(max_power_errorcase=7000, max_currents=[35, 35, 35], max_total_power=24000), get=Get(powers=[-2.5, 77.7, 94.8], currents=[-3.16, 3.6, 3.1], voltages=[234.07, 232.94, 233.83], power_factors=[0.01, 0.19, 0.21], frequency=50.008, daily_exported=21795.0, daily_imported=125.0, imported=14241533.5, exported=16413917.8, fault_state=0, fault_str='Kein Fehler.', power=170.0), set=Set(error_timer=None, reserved_surplus=0, released_surplus=0, raw_power_left=31609.4, raw_currents_left=[49.79, 42.63, 43.230000000000004], surplus_power_left=0))
2025-06-17 14:30:11,361 - {control.data:268} - {INFO:MainThread} - counter5
CounterData(config=Config(max_power_errorcase=7000, max_currents=[35, 35, 35], max_total_power=24000), get=Get(powers=[0.0, 0.0, 9.67], currents=[0.0, 0.0, 0.05], voltages=[233.83, 232.49, 233.55], power_factors=[0.0, 0.0, 0.89], frequency=49.959999084472656, daily_exported=0, daily_imported=148.0, imported=114554.00085449219, exported=0, fault_state=0, fault_str='Kein Fehler.', power=9.671394348144531), set=Set(error_timer=None, reserved_surplus=0, released_surplus=0, raw_power_left=None, raw_currents_left=[35.0, 35.0, 34.95], surplus_power_left=0))
2025-06-17 14:30:11,372 - {control.data:243} - {INFO:MainThread} - counter_all_data
CounterAllData(config=Config(home_consumption_source_id=None, consider_less_charging=False), get=Get(hierarchy=[{'id': 0, 'type': 'counter', 'children': [{'id': 1, 'type': 'inverter', 'children': [{'id': 2, 'type': 'bat', 'children': []}]}, {'id': 4, 'type': 'cp', 'children': []}, {'id': 5, 'type': 'counter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=928.9286056518554, smarthome_power_excluded_from_home_consumption=0, invalid_home_consumption=0, daily_yield_home_consumption=8204.0, imported_home_consumption=2634275.8978383746, disengageable_smarthome_power=9))
2025-06-17 14:30:11,376 - {control.data:268} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Lade-Profil', 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(dc_min_current=145, dc_min_soc_current=145, min_soc_current=6, min_current=0, feed_in_limit=False, min_soc=20, max_soc=95), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=8, dc_current=145, limit=Limit(selected='soc', amount=21000, soc=95))))
2025-06-17 14:30:11,378 - {control.data:268} - {INFO:MainThread} - ev0
EvData(set=Set(soc_error_counter=0), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=[], get=Get(soc=78.96, soc_request_timestamp=1750163296.788252, soc_timestamp=1750163296.850268, force_soc_update=False, range=None, fault_state=0, fault_str='Kein Fehler.'))
2025-06-17 14:30:11,382 - {control.data:268} - {INFO:MainThread} - et0
EvTemplateData(dc_min_current=0, dc_max_current=0, name='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=True, control_pilot_interruption_duration=7, average_consump=17600, min_current=6, max_current_single_phase=16, battery_capacity=46000, efficiency=95, nominal_difference=1, keep_charge_active_duration=30)
2025-06-17 14:30:11,385 - {control.data:247} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=3), phase_switch_delay=7, pv_charging=PvCharging(bat_power_reserve=200, bat_power_reserve_active=True, control_range=[-230, 0], feed_in_yield=0, phase_switch_delay=7, phases_to_use=0, bat_power_discharge=1000, bat_power_discharge_active=True, min_bat_soc=50, bat_mode='ev_mode', switch_off_delay=60, switch_off_threshold=50, switch_on_delay=30, switch_on_threshold=1500), retry_failed_phase_switches=True, scheduled_charging=ScheduledCharging(phases_to_use=0, phases_to_use_pv=0), time_charging=TimeCharging(phases_to_use=1), unbalanced_load_limit=18, unbalanced_load=False), control_interval=10, extern_display_mode='primary', extern=False, external_buttons_hw=False, grid_protection_active=False, grid_protection_configured=False, grid_protection_random_stop=0, grid_protection_timestamp=None, http_api=False, mqtt_bridge=False, prices=Prices(bat=0.0002, cp=0, grid=0.00045, pv=0.00015), range_unit='km', ripple_control_receiver=RippleControlReceiver(get=RippleControlReceiverGet(fault_state=0, fault_str='Kein Fehler.', override_value=100), module=None, override_reference=<OverrideReference.CHARGEPOINT: 'chargepoint'>))
2025-06-17 14:30:11,393 - {control.data:248} - {INFO:MainThread} - general_data-display
primary
2025-06-17 14:30:11,399 - {control.data:249} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2025-06-17 14:30:11,402 - {control.data:250} - {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 0x6f569d00>), led=Led(active=False), rfid=Rfid(active=False), dc_charging=False, ocpp=Ocpp(active=False, boot_notification_sent=False, url=None, version='ocpp1.6'))
2025-06-17 14:30:11,408 - {control.data:268} - {INFO:MainThread} - pv1
PvData(config=Config(max_ac_out=8500), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=33526.0, monthly_exported=761142.7799999975, yearly_exported=4452025.359999996, exported=34136207.22, fault_state=0, fault_str='Kein Fehler.', power=-6520.19))
2025-06-17 14:30:11,411 - {control.data:252} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=33526.0, fault_str='Kein Fehler.', fault_state=0, monthly_exported=761142.7799999975, yearly_exported=4452025.359999996, exported=34136207.22, power=-6520.19))
2025-06-17 14:30:11,417 - {control.data:268} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'backup_cloud': {'backup_before_update': True}, 'ip_address': '192.168.178.82', 'current_commit': '2025-05-28 12:05:56 +0200 [8fd4fe2ef]', 'current_branch': 'Release', 'current_branch_commit': '2025-05-28 12:05:56 +0200 [8fd4fe2ef]', 'current_missing_commits': [], 'datastore_version': 75, 'installAssistantDone': True, 'dataprotection_acknowledged': True, 'usage_terms_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.7-Patch.3', 'boot_done': True, 'lastlivevaluesJson': {'timestamp': 1750163403, 'time': '14:30:03', 'grid': 0.311, 'counter5-power': 0.01, 'house-power': 1.117, 'charging-all': 7.732, 'pv-all': 6.518, 'cp4-power': 7.732, 'ev0-soc': 78.96, 'bat-all-power': -2.03, 'bat-all-soc': 90}, 'serial_number': None, 'module_update_completed': True, 'mac_address': 'b8:27:eb:f3:0c:94'}
2025-06-17 14:30:11,422 - {control.data:281} - {INFO:MainThread} - device0
{'name': 'Kostal Smart Energy Meter oder TQ EM 410', 'type': 'kostal_sem', 'vendor': 'kostal', 'id': 0, 'configuration': {'modbus_id': 71, 'ip_address': '192.168.178.50', 'port': 502}}
2025-06-17 14:30:11,426 - {control.data:283} - {INFO:MainThread} - component0
{'name': 'Kostal Smart Energy Meter oder TQ EM 410 Zähler', 'type': 'counter', 'id': 0, 'info': {'manufacturer': None, 'model': None}, 'configuration': {}}
2025-06-17 14:30:11,431 - {control.data:281} - {INFO:MainThread} - device1
{'name': 'Kostal Plenticore', 'type': 'kostal_plenticore', 'vendor': 'kostal', 'id': 1, 'configuration': {'modbus_id': 71, 'ip_address': '192.168.178.51', 'port': 1502}}
2025-06-17 14:30:11,435 - {control.data:283} - {INFO:MainThread} - component1
{'name': 'Kostal Plenticore Wechselrichter', 'info': {'manufacturer': None, 'model': None}, 'type': 'inverter', 'id': 1, 'configuration': {}}
2025-06-17 14:30:11,444 - {control.data:283} - {INFO:MainThread} - component2
{'name': 'Kostal Plenticore Speicher', 'info': {'manufacturer': None, 'model': None}, 'type': 'bat', 'id': 2, 'configuration': {}}
2025-06-17 14:30:11,450 - {control.data:281} - {INFO:MainThread} - device2
{'name': 'Wärmepumpe', 'type': 'openwb_flex', 'vendor': 'openwb', 'id': 2, 'configuration': {'port': 4196, 'ip_address': '192.168.178.70'}}
2025-06-17 14:30:11,452 - {control.data:283} - {INFO:MainThread} - component5
{'name': 'Wärmepumpe', 'info': {'manufacturer': None, 'model': None}, 'type': 'consumption_counter', 'id': 5, 'configuration': {'id': 1, 'type': 'sdm630'}}
2025-06-17 14:30:11,454 - {control.data:255} - {INFO:MainThread} -
2025-06-17 14:30:11,455 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2025-06-17 14:30:11,456 - {control.algorithm.algorithm:63} - {DEBUG:MainThread} - Ladepunkt 4: Prüfen, ob Phasenumschaltung durchgeführt werden soll.
2025-06-17 14:30:11,458 - {control.chargepoint.chargepoint:557} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2025-06-17 14:30:11,460 - {control.ev.ev:362} - {DEBUG:MainThread} - Genutzter Strom: 11.63A, Überschuss: -2188.81W, benötigte neue Leistung: 0W
2025-06-17 14:30:11,461 - {control.ev.ev:383} - {DEBUG:MainThread} - Keine Phasenumschaltung, da das Fahrzeug nicht mit der vorgegebenen Stromstärke +/- der erlaubten Stromabweichung aus dem Fahrzeug-Profil/Minimalen Dauerstrom lädt.
2025-06-17 14:30:11,463 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2025-06-17 14:30:11,467 - {control.algorithm.min_current:21} - {INFO:MainThread} - Mode-Tuple Chargemode.PV_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2025-06-17 14:30:11,469 - {control.counter:198} - {DEBUG:MainThread} - Zähler 0: [43.79, 36.63, 43.230000000000004]A verbleibende Ströme, 28849.4W verbleibende Leistung
2025-06-17 14:30:11,471 - {control.algorithm.common:80} - {INFO:MainThread} - LP4: Stromstärke 6A
2025-06-17 14:30:11,473 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Soll-Strom setzen**
2025-06-17 14:30:11,476 - {control.counter:248} - {DEBUG:MainThread} - Anpassen des Regelbereichs -115.0W
2025-06-17 14:30:11,478 - {control.counter:514} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf 2715.5900000000015W
2025-06-17 14:30:11,479 - {control.counter:514} - {DEBUG:MainThread} - Zähler 5: Begrenzung der verbleibenden Leistung auf 2715.5900000000015W
2025-06-17 14:30:11,481 - {control.algorithm.algorithm:38} - {INFO:MainThread} - **PV-geführten Strom setzen**
2025-06-17 14:30:11,484 - {control.algorithm.filter_chargepoints:102} - {DEBUG:MainThread} - Geordnete Ladepunkte [4]
2025-06-17 14:30:11,486 - {control.algorithm.surplus_controlled:49} - {INFO:MainThread} - Mode-Tuple Chargemode.PV_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2025-06-17 14:30:11,488 - {control.loadmanagement:82} - {DEBUG:MainThread} - Leistungsüberschreitung auf 2715.5900000000015W korrigieren: [10.0, 10.0, 0.0]
2025-06-17 14:30:11,490 - {control.counter:205} - {DEBUG:MainThread} - Zähler 0: [37.88654347826086, 30.72654347826087, 43.230000000000004]A verbleibende Ströme, 0.0W verbleibender Überschuss
2025-06-17 14:30:11,491 - {control.algorithm.common:80} - {INFO:MainThread} - LP4: Stromstärke 11.903456521739134A
2025-06-17 14:30:11,493 - {control.algorithm.surplus_controlled:146} - {DEBUG:MainThread} - Ungenutzten Soll-Strom aufschlagen ergibt 11.473456521739132A.
2025-06-17 14:30:11,494 - {control.process:26} - {INFO:MainThread} - # Ladung starten.
2025-06-17 14:30:11,497 - {control.process:109} - {INFO:MainThread} - LP4: set current 11.47 A, state CHARGING_ALLOWED
2025-06-17 14:30:11,501 - {modules.common.component_context:26} - {DEBUG:set current cp4} - Update Komponente ['Ladepunkt']
2025-06-17 14:30:11,512 - {urllib3.connectionpool:227} - {DEBUG:set current cp4} - Starting new HTTP connection (1): 192.168.178.83:80
2025-06-17 14:30:11,546 - {urllib3.connectionpool:452} - {DEBUG:set current cp4} - http://192.168.178.83:80 "POST /connect.php HTTP/1.1" 200 23
2025-06-17 14:30:11,550 - {modules.common.req:32} - {DEBUG:set current cp4} - Get-Response: OK Value:11.47 accepted
2025-06-17 14:30:11,834 - {helpermodules.changed_values_handler:126} - {DEBUG:MainThread} - Topic openWB/set/bat/get/exported, Payload 771930.4, vorherige Payload: 771926.01
2025-06-17 14:30:11,848 - {helpermodules.changed_values_handler:126} - {DEBUG:MainThread} - Topic openWB/set/bat/get/power, Payload -2027.81, vorherige Payload: -2029.53
2025-06-17 14:30:11,864 - {helpermodules.changed_values_handler:126} - {DEBUG:MainThread} - Topic openWB/set/bat/set/charging_power_left, Payload -2027.81, vorherige Payload: -2029.53
2025-06-17 14:30:11,874 - {helpermodules.changed_values_handler:126} - {DEBUG:MainThread} - Topic openWB/set/chargepoint/get/power, Payload 7779.4, vorherige Payload: 7731.9
2025-06-17 14:30:11,877 - {helpermodules.changed_values_handler:126} - {DEBUG:MainThread} - Topic openWB/set/chargepoint/get/imported, Payload 1372807, vorherige Payload: 1372789
2025-06-17 14:30:11,898 - {helpermodules.changed_values_handler:126} - {DEBUG:MainThread} - Topic openWB/set/counter/set/home_consumption, Payload 928.9286056518554, vorherige Payload: 1117.165849113465
2025-06-17 14:30:11,914 - {helpermodules.changed_values_handler:126} - {DEBUG:MainThread} - Topic openWB/set/counter/set/imported_home_consumption, Payload 2634275.8978383746, vorherige Payload: 2634273.7237360864
2025-06-17 14:30:15,936 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2025-06-17 14:30:20,960 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2025-06-17 14:30:20,970 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2025-06-17 14:30:20,973 - {root:69} - {INFO:MainThread} - # ***Start***