Code: Alles auswählen
2024-05-03 18:39:30,994 - {root:75} - {INFO:MainThread} - # ***Start***
2024-05-03 18:39:31,063 - {modules.common.component_context:54} - {DEBUG:device1} - Update Komponenten ['Kostal Plenticore Zähler', 'Kostal Plenticore Speicher', 'Kostal Plenticore Wechselrichter']
2024-05-03 18:39:31,066 - {modules.common.component_context:25} - {DEBUG:set values cp4} - Update Komponente ['Ladepunkt']
2024-05-03 18:39:31,092 - {modules.common.simcount._simcount:38} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1714754360.3356001, power=-6, imported=743925.6188230778, exported=682681.1145600606)
2024-05-03 18:39:31,094 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00298796, power1: -6, power2: -5
2024-05-03 18:39:31,095 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: -0.0164338
2024-05-03 18:39:31,096 - {modules.common.simcount._simcount:53} - {DEBUG:device1} - imported: 0 Wh, exported: 0.0164338 Wh, new state: SimCounterState(timestamp=1714754371.0922549, power=-5, imported=743925.6188230778, exported=682681.1309938387)
2024-05-03 18:39:31,099 - {modules.devices.kostal_plenticore.bat:28} - {DEBUG:device1} - raw bat power -5
2024-05-03 18:39:31,201 - {modules.common.simcount._simcount:38} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1714754360.432846, power=-440.70001220703125, imported=3463347.1851975285, exported=nan)
2024-05-03 18:39:31,202 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00299129, power1: -440.7, power2: -458.7
2024-05-03 18:39:31,202 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: -1.34518
2024-05-03 18:39:31,202 - {modules.common.simcount._simcount:53} - {DEBUG:device1} - imported: 0 Wh, exported: 1.34518 Wh, new state: SimCounterState(timestamp=1714754371.201504, power=-458.70001220703125, imported=3463347.1851975285, exported=nan)
2024-05-03 18:39:31,203 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data CounterState(currents=[-2.187000036239624, 1.249000072479248, -1.0329999923706055], powers=[-453.3999938964844, 50.20000076293945, -56.70000076293945], voltages=[234.82901000976562, 235.2670135498047, 235.8050079345703], power_factors=[1.0, 1.0, 1.0], imported=3463347.1851975285, exported=nan, power=-458.70001220703125, frequency=49.96200180053711)
2024-05-03 18:39:31,234 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-1288, exported=52120748.0, dc_power=None)
2024-05-03 18:39:31,235 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data BatState(imported=743925.6188230778, exported=682681.1309938387, power=-3.0480384826660156, soc=100)
2024-05-03 18:39:31,239 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['Kostal Plenticore Speicher']
2024-05-03 18:39:31,240 - {modules.common.store._api:30} - {INFO:component2} - Saving BatState(imported=743925.6188230778, exported=682681.1309938387, power=-3.0480384826660156, soc=100)
2024-05-03 18:39:31,401 - {modules.common.component_context:25} - {DEBUG:component5} - Update Komponente ['Kostal Plenticore Wechselrichter']
2024-05-03 18:39:31,402 - {modules.common.store._api:26} - {DEBUG:component5} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-1284.95, exported=52181992.49, dc_power=None)
2024-05-03 18:39:31,402 - {modules.common.component_context:25} - {DEBUG:update values cp4} - Update Komponente ['Ladepunkt']
2024-05-03 18:39:31,402 - {modules.common.store._api:30} - {INFO:component5} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-1284.95, exported=52181992.49, dc_power=None)
2024-05-03 18:39:31,441 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['Kostal Plenticore Zähler']
2024-05-03 18:39:31,441 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[-2.187000036239624, 1.249000072479248, -1.0329999923706055], powers=[-453.3999938964844, 50.20000076293945, -56.70000076293945], voltages=[234.82901000976562, 235.2670135498047, 235.8050079345703], power_factors=[1.0, 1.0, 1.0], imported=3463347.1851975285, exported=nan, power=-458.70001220703125, frequency=49.96200180053711)
2024-05-03 18:39:31,466 - {helpermodules.setdata:338} - {ERROR:Setdata} - Payload ungültig: Topic openWB/set/counter/0/get/exported, Payload nan liegt in keinem der angegebenen Wertebereiche.
2024-05-03 18:39:31,494 - {helpermodules.changed_values_handler:120} - {DEBUG:MainThread} - Topic openWB/set/bat/get/exported, Payload 682681.13, vorherige Payload: 682681.11
2024-05-03 18:39:31,495 - {helpermodules.changed_values_handler:120} - {DEBUG:MainThread} - Topic openWB/set/bat/get/power, Payload -3.05, vorherige Payload: -3.66
2024-05-03 18:39:31,571 - {control.bat_all:182} - {INFO:MainThread} - -3.05W verbleibende Speicher-Leistung
2024-05-03 18:39:31,572 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [52.19, 48.75, 51.03]A
2024-05-03 18:39:31,573 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 35458.70001220703W
2024-05-03 18:39:31,576 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 4: Keine Ladung, da kein Auto angesteckt ist.
2024-05-03 18:39:31,580 - {modules.common.simcount._simcount:38} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1714754360.6703837, power=845.2999877929688, imported=4439035.034054645, exported=0)
2024-05-03 18:39:31,581 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00303045, power1: 845.3, power2: 829.3
2024-05-03 18:39:31,581 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 2.53739
2024-05-03 18:39:31,584 - {modules.common.simcount._simcount:53} - {DEBUG:MainThread} - imported: 2.53739 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1714754371.5800002, power=829.2999877929688, imported=4439037.571449572, exported=0)
2024-05-03 18:39:31,587 - {control.data:266} - {INFO:MainThread} - bat2
BatData(get=Get(currents=[0.0, 0.0, 0.0], soc=100, daily_exported=6954.0, daily_imported=9856.0, imported=743925.62, exported=682681.13, fault_state=0, fault_str='Kein Fehler.', power=-3.05))
2024-05-03 18:39:31,590 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=100, daily_exported=6954.0, daily_imported=9856.0, fault_str='Kein Fehler.', fault_state=0, imported=743925.62, exported=682681.13, power=-3.05), set=Set(charging_power_left=-3.05, regulate_up=False))
2024-05-03 18:39:31,595 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=6562.0, daily_exported=0.0, power=0, imported=5831974.12, exported=0))
2024-05-03 18:39:31,598 - {control.data:266} - {INFO:MainThread} - cp4
ChargepointData(control_parameter=ControlParameter(chargemode='stop', current_plan=None, failed_phase_switches=0, imported_at_plan_start=None, imported_instant_charging=None, limit=None, phases=0, prio=False, required_current=0, required_currents=[0.0, 0.0, 0.0], state=0, submode='stop', timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, timestamp_switch_on_off=None), get=Get(charge_state=False, 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=0), currents=[0.0, 0.0, 0.0], daily_imported=6562.0, daily_exported=0.0, evse_current=0, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=5831974.12, phases_in_use=1, plug_state=False, power=0, rfid_timestamp=None, rfid=None, serial_number='21224986', soc=None, soc_timestamp=None, state_str='Keine Ladung, da kein Auto angesteckt ist.', vehicle_id=None, voltages=[234.79, 234.87, 235.89]), set=Set(change_ev_permitted=[True, ''], charging_ev=-1, charging_ev_prev=-1, current=0, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='_', costs=0, imported_at_mode_switch=0, imported_at_plugtime=0, imported_since_mode_switch=0, imported_since_plugged=0, range_charged=0, time_charged='00:00', timestamp_start_charging=None, ev=-1, prio=False, rfid=None, serial_number=None), manual_lock=False, phases_to_use=1, plug_state_prev=False, plug_time=None, required_power=0, rfid=None, target_current=0, charging_ev_data=<control.ev.Ev object at 0x700af670>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='Interne openWB', type='internal_openwb', template=0, connected_phases=3, phase_1=1, auto_phase_switch_hw=False, control_pilot_interruption_hw=True, id=4))
2024-05-03 18:39:31,604 - {control.data:266} - {INFO:MainThread} - cpt0
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=0, max_current_multi_phases=32, max_current_single_phase=32, name='Standard Ladepunkt-Profil', rfid_enabling=False, valid_tags=[])
2024-05-03 18:39:31,606 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[50, 50, 50], max_total_power=35000), get=Get(powers=[-453.4, 50.2, -56.7], currents=[-2.19, 1.25, -1.03], voltages=[234.83, 235.27, 235.81], power_factors=[1.0, 1.0, 1.0], unbalanced_load=0, frequency=49.96200180053711, daily_exported=0.0, daily_imported=314.0, imported=3463347.1851975285, exported=499144.5786805999, fault_state=0, fault_str='Kein Fehler.', power=-458.70001220703125), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=35458.70001220703, raw_currents_left=[52.19, 48.75, 51.03], surplus_power_left=0, state_str=''))
2024-05-03 18:39:31,611 - {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': 5, 'type': 'inverter', 'children': [{'id': 2, 'type': 'bat', 'children': []}]}, {'id': 4, 'type': 'cp', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=829.2999877929688, smarthome_power_excluded_from_home_consumption=0, invalid_home_consumption=0, daily_yield_home_consumption=6610.0, imported_home_consumption=4439037.571449572, disengageable_smarthome_power=0))
2024-05-03 18:39:31,612 - {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=8, min_current=8, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=32, limit=Limit(selected='none', amount=66000, soc=100))))
2024-05-03 18:39:31,613 - {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=True, range=None, fault_state=0, fault_str='Kein Fehler.'))
2024-05-03 18:39:31,614 - {control.data:266} - {INFO:MainThread} - ev3
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-05-03 18:39:31,615 - {control.data:266} - {INFO:MainThread} - ev4
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-05-03 18:39:31,615 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Profil', max_current_multi_phases=32, max_phases=3, phase_switch_pause=2, prevent_phase_switch=True, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=8, max_current_single_phase=32, battery_capacity=18000, efficiency=90, nominal_difference=1, keep_charge_active_duration=40)
2024-05-03 18:39:31,617 - {control.data:245} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=3), pv_charging=PvCharging(bat_power_reserve=400, bat_power_reserve_active=True, control_range=[0, 230], feed_in_yield=0, phase_switch_delay=7, phases_to_use=1, bat_power_discharge=3000, bat_power_discharge_active=True, min_bat_soc=20, bat_mode='bat_mode', switch_off_delay=120, switch_off_threshold=500, switch_on_delay=20, switch_on_threshold=2000), retry_failed_phase_switches=False, scheduled_charging=ScheduledCharging(phases_to_use=3), time_charging=TimeCharging(phases_to_use=3), 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=True, grid_protection_random_stop=0, grid_protection_timestamp='', mqtt_bridge=False, prices=Prices(bat=0.00011, cp=0, grid=0.00031, pv=0.0001008), 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-05-03 18:39:31,618 - {control.data:246} - {INFO:MainThread} - general_data-display
primary
2024-05-03 18:39:31,619 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-05-03 18:39:31,620 - {control.data:248} - {INFO:MainThread} - optional_data
OptionalData(et=Et(get=EtGet(fault_state=0, fault_str='Kein Fehler.', prices={})), int_display=InternalDisplay(active=True, on_if_plugged_in=True, pin_active=False, pin_code='0000', standby=60, theme=<modules.display_themes.cards.config.CardsDisplayTheme object at 0x700b0cd0>), led=Led(active=False), rfid=Rfid(active=False))
2024-05-03 18:39:31,621 - {control.data:266} - {INFO:MainThread} - pv5
PvData(config=Config(max_ac_out=10000), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=26591.0, monthly_exported=115833.39999999851, yearly_exported=3415335.079999998, exported=52181992.49, fault_state=0, fault_str='Kein Fehler.', power=-1284.95))
2024-05-03 18:39:31,622 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=26591.0, fault_str='Kein Fehler.', fault_state=0, monthly_exported=115833.39999999851, yearly_exported=3415335.079999998, exported=52181992.49, power=-1284.95))
2024-05-03 18:39:31,623 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.178.80', 'current_commit': '2024-05-03 10:26:56 +0200 [93a31f7ef]', 'current_branch': 'master', 'current_branch_commit': '2024-05-03 10:26:56 +0200 [93a31f7ef]', 'current_missing_commits': [], 'datastore_version': 44, 'dataprotection_acknowledged': True, 'usage_terms_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.4-Beta.2', 'boot_done': True, 'lastlivevaluesJson': {'timestamp': 1714754360, 'time': '18:39:20', 'grid': -0.441, 'house-power': 0.845, 'charging-all': 0.0, 'pv-all': 1.282, 'cp4-power': 0.0, 'bat-all-power': -0.004, 'bat-all-soc': 100}, 'backup_before_update': True, 'module_update_completed': True}
2024-05-03 18:39:31,625 - {dataclass_utils._dataclass_asdict:23} - {DEBUG:MainThread} - {'name': 'Kostal Plenticore', 'type': 'kostal_plenticore', 'id': 1, 'configuration': <modules.devices.kostal_plenticore.config.KostalPlenticoreConfiguration object at 0x70a6e628>}
2024-05-03 18:39:31,626 - {dataclass_utils._dataclass_asdict:23} - {DEBUG:MainThread} - {'modbus_id': 71, 'ip_address': 'http://192.168.178.52', 'port': 1502}
2024-05-03 18:39:31,626 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Kostal Plenticore', 'type': 'kostal_plenticore', 'id': 1, 'configuration': {'modbus_id': 71, 'ip_address': 'http://192.168.178.52', 'port': 1502}}
2024-05-03 18:39:31,626 - {dataclass_utils._dataclass_asdict:23} - {DEBUG:MainThread} - {'name': 'Kostal Plenticore Zähler', 'type': 'counter', 'id': 0, 'configuration': <modules.devices.kostal_plenticore.config.KostalPlenticoreCounterConfiguration object at 0x70a731c0>}
2024-05-03 18:39:31,627 - {dataclass_utils._dataclass_asdict:23} - {DEBUG:MainThread} - {}
2024-05-03 18:39:31,627 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'Kostal Plenticore Zähler', 'type': 'counter', 'id': 0, 'configuration': {}}
2024-05-03 18:39:31,627 - {dataclass_utils._dataclass_asdict:23} - {DEBUG:MainThread} - {'name': 'Kostal Plenticore Speicher', 'type': 'bat', 'id': 2, 'configuration': <modules.devices.kostal_plenticore.config.KostalPlenticoreBatConfiguration object at 0x70a733e8>}
2024-05-03 18:39:31,628 - {dataclass_utils._dataclass_asdict:23} - {DEBUG:MainThread} - {}
2024-05-03 18:39:31,629 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'Kostal Plenticore Speicher', 'type': 'bat', 'id': 2, 'configuration': {}}
2024-05-03 18:39:31,630 - {dataclass_utils._dataclass_asdict:23} - {DEBUG:MainThread} - {'name': 'Kostal Plenticore Wechselrichter', 'type': 'inverter', 'id': 5, 'configuration': <modules.devices.kostal_plenticore.config.KostalPlenticoreInverterConfiguration object at 0x70a737d8>}
2024-05-03 18:39:31,631 - {dataclass_utils._dataclass_asdict:23} - {DEBUG:MainThread} - {}
2024-05-03 18:39:31,632 - {control.data:281} - {INFO:MainThread} - component5
{'name': 'Kostal Plenticore Wechselrichter', 'type': 'inverter', 'id': 5, 'configuration': {}}
2024-05-03 18:39:31,634 - {control.data:253} - {INFO:MainThread} -
2024-05-03 18:39:31,637 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-05-03 18:39:31,642 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-05-03 18:39:31,646 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-05-03 18:39:31,649 - {control.counter:249} - {DEBUG:MainThread} - Anpassen des Regelbereichs 115.0W
2024-05-03 18:39:31,649 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: 570.6500122070313W
2024-05-03 18:39:31,652 - {control.counter:495} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf 570.6500122070313W
2024-05-03 18:39:31,661 - {control.algorithm.algorithm:38} - {INFO:MainThread} - **PV-geführten Strom setzen**
2024-05-03 18:39:31,663 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-05-03 18:39:31,667 - {modules.common.component_context:25} - {DEBUG:set current cp4} - Update Komponente ['Ladepunkt']
2024-05-03 18:39:31,696 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-05-03 18:39:35,919 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-05-03 18:39:40,933 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-05-03 18:39:40,935 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-05-03 18:39:40,937 - {root:75} - {INFO:MainThread} - # ***Start***
2024-05-03 18:39:40,999 - {modules.common.component_context:54} - {DEBUG:device1} - Update Komponenten ['Kostal Plenticore Zähler', 'Kostal Plenticore Speicher', 'Kostal Plenticore Wechselrichter']
2024-05-03 18:39:41,001 - {modules.common.component_context:25} - {DEBUG:set values cp4} - Update Komponente ['Ladepunkt']
2024-05-03 18:39:41,037 - {modules.common.simcount._simcount:38} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1714754371.0922549, power=-5, imported=743925.6188230778, exported=682681.1309938387)
2024-05-03 18:39:41,038 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00276246, power1: -5, power2: -5
2024-05-03 18:39:41,039 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: -0.0138123
2024-05-03 18:39:41,039 - {modules.common.simcount._simcount:53} - {DEBUG:device1} - imported: 0 Wh, exported: 0.0138123 Wh, new state: SimCounterState(timestamp=1714754381.0371168, power=-5, imported=743925.6188230778, exported=682681.1448061469)
2024-05-03 18:39:41,043 - {modules.devices.kostal_plenticore.bat:28} - {DEBUG:device1} - raw bat power -5
2024-05-03 18:39:41,160 - {modules.common.simcount._simcount:38} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1714754371.201504, power=-458.70001220703125, imported=3463347.1851975285, exported=nan)
2024-05-03 18:39:41,161 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.0027663, power1: -458.7, power2: -436.1
2024-05-03 18:39:41,161 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: -1.23764
2024-05-03 18:39:41,161 - {modules.common.simcount._simcount:53} - {DEBUG:device1} - imported: 0 Wh, exported: 1.23764 Wh, new state: SimCounterState(timestamp=1714754381.1601946, power=-436.1000061035156, imported=3463347.1851975285, exported=nan)
2024-05-03 18:39:41,162 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data CounterState(currents=[-2.2060000896453857, 1.3140000104904175, -1.0850000381469727], powers=[-456.3000183105469, 51.20000076293945, -32.70000076293945], voltages=[234.7790069580078, 235.18301391601562, 235.6850128173828], power_factors=[1.0, 1.0, 1.0], imported=3463347.1851975285, exported=nan, power=-436.1000061035156, frequency=49.97200393676758)
2024-05-03 18:39:41,231 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-1291, exported=52120748.0, dc_power=None)
2024-05-03 18:39:41,235 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data BatState(imported=743925.6188230778, exported=682681.1448061469, power=-3.0395047664642334, soc=100)
2024-05-03 18:39:41,249 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['Kostal Plenticore Speicher']
2024-05-03 18:39:41,251 - {modules.common.store._api:30} - {INFO:component2} - Saving BatState(imported=743925.6188230778, exported=682681.1448061469, power=-3.0395047664642334, soc=100)
2024-05-03 18:39:41,422 - {modules.common.component_context:25} - {DEBUG:component5} - Update Komponente ['Kostal Plenticore Wechselrichter']
2024-05-03 18:39:41,423 - {modules.common.store._api:26} - {DEBUG:component5} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-1287.96, exported=52181992.48, dc_power=None)
2024-05-03 18:39:41,424 - {modules.common.component_context:25} - {DEBUG:update values cp4} - Update Komponente ['Ladepunkt']
2024-05-03 18:39:41,425 - {modules.common.store._api:30} - {INFO:component5} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-1287.96, exported=52181992.48, dc_power=None)
2024-05-03 18:39:41,465 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['Kostal Plenticore Zähler']
2024-05-03 18:39:41,465 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[-2.2060000896453857, 1.3140000104904175, -1.0850000381469727], powers=[-456.3000183105469, 51.20000076293945, -32.70000076293945], voltages=[234.7790069580078, 235.18301391601562, 235.6850128173828], power_factors=[1.0, 1.0, 1.0], imported=3463347.1851975285, exported=nan, power=-436.1000061035156, frequency=49.97200393676758)
2024-05-03 18:39:41,487 - {helpermodules.setdata:338} - {ERROR:Setdata} - Payload ungültig: Topic openWB/set/counter/0/get/exported, Payload nan liegt in keinem der angegebenen Wertebereiche.
2024-05-03 18:39:41,520 - {helpermodules.changed_values_handler:120} - {DEBUG:MainThread} - Topic openWB/set/bat/get/exported, Payload 682681.14, vorherige Payload: 682681.13
2024-05-03 18:39:41,522 - {helpermodules.changed_values_handler:120} - {DEBUG:MainThread} - Topic openWB/set/bat/get/power, Payload -3.04, vorherige Payload: -3.05
2024-05-03 18:39:41,602 - {control.bat_all:182} - {INFO:MainThread} - -3.04W verbleibende Speicher-Leistung
2024-05-03 18:39:41,604 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [52.21, 48.69, 51.09]A
2024-05-03 18:39:41,605 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 35436.100006103516W
2024-05-03 18:39:41,608 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 4: Keine Ladung, da kein Auto angesteckt ist.
2024-05-03 18:39:41,613 - {modules.common.simcount._simcount:38} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1714754371.5800002, power=829.2999877929688, imported=4439037.571449572, exported=0)
2024-05-03 18:39:41,618 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00278695, power1: 829.3, power2: 854.9
2024-05-03 18:39:41,619 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 2.34689
2024-05-03 18:39:41,622 - {modules.common.simcount._simcount:53} - {DEBUG:MainThread} - imported: 2.34689 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1714754381.613016, power=854.8999938964844, imported=4439039.918339143, exported=0)
2024-05-03 18:39:41,625 - {control.data:266} - {INFO:MainThread} - bat2
BatData(get=Get(currents=[0.0, 0.0, 0.0], soc=100, daily_exported=6954.0, daily_imported=9856.0, imported=743925.62, exported=682681.14, fault_state=0, fault_str='Kein Fehler.', power=-3.04))
2024-05-03 18:39:41,626 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=100, daily_exported=6954.0, daily_imported=9856.0, fault_str='Kein Fehler.', fault_state=0, imported=743925.62, exported=682681.14, power=-3.04), set=Set(charging_power_left=-3.04, regulate_up=False))
2024-05-03 18:39:41,627 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=6562.0, daily_exported=0.0, power=0, imported=5831974.12, exported=0))
2024-05-03 18:39:41,628 - {control.data:266} - {INFO:MainThread} - cp4
ChargepointData(control_parameter=ControlParameter(chargemode='stop', current_plan=None, failed_phase_switches=0, imported_at_plan_start=None, imported_instant_charging=None, limit=None, phases=0, prio=False, required_current=0, required_currents=[0.0, 0.0, 0.0], state=0, submode='stop', timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, timestamp_switch_on_off=None), get=Get(charge_state=False, 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=0), currents=[0.0, 0.0, 0.0], daily_imported=6562.0, daily_exported=0.0, evse_current=0, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=5831974.12, phases_in_use=1, plug_state=False, power=0, rfid_timestamp=None, rfid=None, serial_number='21224986', soc=None, soc_timestamp=None, state_str='Keine Ladung, da kein Auto angesteckt ist.', vehicle_id=None, voltages=[234.69, 235.13, 235.61]), set=Set(change_ev_permitted=[True, ''], charging_ev=-1, charging_ev_prev=-1, current=0, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='_', costs=0, imported_at_mode_switch=0, imported_at_plugtime=0, imported_since_mode_switch=0, imported_since_plugged=0, range_charged=0, time_charged='00:00', timestamp_start_charging=None, ev=-1, prio=False, rfid=None, serial_number=None), manual_lock=False, phases_to_use=1, plug_state_prev=False, plug_time=None, required_power=0, rfid=None, target_current=0, charging_ev_data=<control.ev.Ev object at 0x70096568>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='Interne openWB', type='internal_openwb', template=0, connected_phases=3, phase_1=1, auto_phase_switch_hw=False, control_pilot_interruption_hw=True, id=4))
2024-05-03 18:39:41,630 - {control.data:266} - {INFO:MainThread} - cpt0
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=0, max_current_multi_phases=32, max_current_single_phase=32, name='Standard Ladepunkt-Profil', rfid_enabling=False, valid_tags=[])
2024-05-03 18:39:41,631 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[50, 50, 50], max_total_power=35000), get=Get(powers=[-456.3, 51.2, -32.7], currents=[-2.21, 1.31, -1.09], voltages=[234.78, 235.18, 235.69], power_factors=[1.0, 1.0, 1.0], unbalanced_load=0, frequency=49.97200393676758, daily_exported=0.0, daily_imported=314.0, imported=3463347.1851975285, exported=499144.5786805999, fault_state=0, fault_str='Kein Fehler.', power=-436.1000061035156), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=35436.100006103516, raw_currents_left=[52.21, 48.69, 51.09], surplus_power_left=0, state_str=''))
2024-05-03 18:39:41,632 - {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': 5, 'type': 'inverter', 'children': [{'id': 2, 'type': 'bat', 'children': []}]}, {'id': 4, 'type': 'cp', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=854.8999938964844, smarthome_power_excluded_from_home_consumption=0, invalid_home_consumption=0, daily_yield_home_consumption=6610.0, imported_home_consumption=4439039.918339143, disengageable_smarthome_power=0))
2024-05-03 18:39:41,633 - {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=8, min_current=8, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=32, limit=Limit(selected='none', amount=66000, soc=100))))
2024-05-03 18:39:41,634 - {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=True, range=None, fault_state=0, fault_str='Kein Fehler.'))
2024-05-03 18:39:41,635 - {control.data:266} - {INFO:MainThread} - ev3
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-05-03 18:39:41,636 - {control.data:266} - {INFO:MainThread} - ev4
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-05-03 18:39:41,637 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Profil', max_current_multi_phases=32, max_phases=3, phase_switch_pause=2, prevent_phase_switch=True, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=8, max_current_single_phase=32, battery_capacity=18000, efficiency=90, nominal_difference=1, keep_charge_active_duration=40)
2024-05-03 18:39:41,638 - {control.data:245} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=3), pv_charging=PvCharging(bat_power_reserve=400, bat_power_reserve_active=True, control_range=[0, 230], feed_in_yield=0, phase_switch_delay=7, phases_to_use=1, bat_power_discharge=3000, bat_power_discharge_active=True, min_bat_soc=20, bat_mode='bat_mode', switch_off_delay=120, switch_off_threshold=500, switch_on_delay=20, switch_on_threshold=2000), retry_failed_phase_switches=False, scheduled_charging=ScheduledCharging(phases_to_use=3), time_charging=TimeCharging(phases_to_use=3), 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=True, grid_protection_random_stop=0, grid_protection_timestamp='', mqtt_bridge=False, prices=Prices(bat=0.00011, cp=0, grid=0.00031, pv=0.0001008), 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-05-03 18:39:41,639 - {control.data:246} - {INFO:MainThread} - general_data-display
primary
2024-05-03 18:39:41,640 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-05-03 18:39:41,641 - {control.data:248} - {INFO:MainThread} - optional_data
OptionalData(et=Et(get=EtGet(fault_state=0, fault_str='Kein Fehler.', prices={})), int_display=InternalDisplay(active=True, on_if_plugged_in=True, pin_active=False, pin_code='0000', standby=60, theme=<modules.display_themes.cards.config.CardsDisplayTheme object at 0x700a0148>), led=Led(active=False), rfid=Rfid(active=False))
2024-05-03 18:39:41,642 - {control.data:266} - {INFO:MainThread} - pv5
PvData(config=Config(max_ac_out=10000), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=26591.0, monthly_exported=115833.39999999851, yearly_exported=3415335.079999998, exported=52181992.48, fault_state=0, fault_str='Kein Fehler.', power=-1287.96))
2024-05-03 18:39:41,643 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=26591.0, fault_str='Kein Fehler.', fault_state=0, monthly_exported=115833.39999999851, yearly_exported=3415335.079999998, exported=52181992.48, power=-1287.96))
2024-05-03 18:39:41,644 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.178.80', 'current_commit': '2024-05-03 10:26:56 +0200 [93a31f7ef]', 'current_branch': 'master', 'current_branch_commit': '2024-05-03 10:26:56 +0200 [93a31f7ef]', 'current_missing_commits': [], 'datastore_version': 44, 'dataprotection_acknowledged': True, 'usage_terms_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.4-Beta.2', 'boot_done': True, 'lastlivevaluesJson': {'timestamp': 1714754371, 'time': '18:39:31', 'grid': -0.459, 'house-power': 0.829, 'charging-all': 0.0, 'pv-all': 1.285, 'cp4-power': 0.0, 'bat-all-power': -0.003, 'bat-all-soc': 100}, 'backup_before_update': True, 'module_update_completed': True}
2024-05-03 18:39:41,645 - {dataclass_utils._dataclass_asdict:23} - {DEBUG:MainThread} - {'name': 'Kostal Plenticore', 'type': 'kostal_plenticore', 'id': 1, 'configuration': <modules.devices.kostal_plenticore.config.KostalPlenticoreConfiguration object at 0x70a6e628>}
2024-05-03 18:39:41,646 - {dataclass_utils._dataclass_asdict:23} - {DEBUG:MainThread} - {'modbus_id': 71, 'ip_address': 'http://192.168.178.52', 'port': 1502}
2024-05-03 18:39:41,647 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Kostal Plenticore', 'type': 'kostal_plenticore', 'id': 1, 'configuration': {'modbus_id': 71, 'ip_address': 'http://192.168.178.52', 'port': 1502}}
2024-05-03 18:39:41,648 - {dataclass_utils._dataclass_asdict:23} - {DEBUG:MainThread} - {'name': 'Kostal Plenticore Zähler', 'type': 'counter', 'id': 0, 'configuration': <modules.devices.kostal_plenticore.config.KostalPlenticoreCounterConfiguration object at 0x70a731c0>}
2024-05-03 18:39:41,649 - {dataclass_utils._dataclass_asdict:23} - {DEBUG:MainThread} - {}
2024-05-03 18:39:41,650 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'Kostal Plenticore Zähler', 'type': 'counter', 'id': 0, 'configuration': {}}
2024-05-03 18:39:41,651 - {dataclass_utils._dataclass_asdict:23} - {DEBUG:MainThread} - {'name': 'Kostal Plenticore Speicher', 'type': 'bat', 'id': 2, 'configuration': <modules.devices.kostal_plenticore.config.KostalPlenticoreBatConfiguration object at 0x70a733e8>}
2024-05-03 18:39:41,652 - {dataclass_utils._dataclass_asdict:23} - {DEBUG:MainThread} - {}
2024-05-03 18:39:41,653 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'Kostal Plenticore Speicher', 'type': 'bat', 'id': 2, 'configuration': {}}
2024-05-03 18:39:41,653 - {dataclass_utils._dataclass_asdict:23} - {DEBUG:MainThread} - {'name': 'Kostal Plenticore Wechselrichter', 'type': 'inverter', 'id': 5, 'configuration': <modules.devices.kostal_plenticore.config.KostalPlenticoreInverterConfiguration object at 0x70a737d8>}
2024-05-03 18:39:41,654 - {dataclass_utils._dataclass_asdict:23} - {DEBUG:MainThread} - {}
2024-05-03 18:39:41,655 - {control.data:281} - {INFO:MainThread} - component5
{'name': 'Kostal Plenticore Wechselrichter', 'type': 'inverter', 'id': 5, 'configuration': {}}
2024-05-03 18:39:41,655 - {control.data:253} - {INFO:MainThread} -
2024-05-03 18:39:41,655 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-05-03 18:39:41,656 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-05-03 18:39:41,658 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-05-03 18:39:41,660 - {control.counter:249} - {DEBUG:MainThread} - Anpassen des Regelbereichs 115.0W
2024-05-03 18:39:41,661 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: 548.0600061035157W
2024-05-03 18:39:41,662 - {control.counter:495} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf 548.0600061035157W
2024-05-03 18:39:41,663 - {control.algorithm.algorithm:38} - {INFO:MainThread} - **PV-geführten Strom setzen**
2024-05-03 18:39:41,665 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-05-03 18:39:41,676 - {modules.common.component_context:25} - {DEBUG:set current cp4} - Update Komponente ['Ladepunkt']
2024-05-03 18:39:41,697 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-05-03 18:39:45,921 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-05-03 18:39:50,934 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-05-03 18:39:50,936 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-05-03 18:39:50,938 - {root:75} - {INFO:MainThread} - # ***Start***