Bzw. hier ein Ausschnitt hiervon entsprechend der Anforderung
Code: Alles auswählen
# ***Start***
2024-02-28 07:11:20,082 - {modules.common.component_context:54} - {DEBUG:device1} - Update Komponenten ['MQTT-Zähler', 'MQTT-Wechselrichter']
2024-02-28 07:11:20,083 - {modules.devices.mqtt.device:47} - {DEBUG:device1} - MQTT-Module müssen nicht ausgelesen werden.
2024-02-28 07:11:20,084 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-02-28 07:11:20,127 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['MQTT-Wechselrichter']
2024-02-28 07:11:20,129 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-02-28 07:11:20,138 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['MQTT-Zähler']
2024-02-28 07:11:20,235 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 2: [61.85, 61.86, 61.83]A
2024-02-28 07:11:20,243 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 2: 42255.53W
2024-02-28 07:11:20,245 - {control.chargepoint.chargepoint:541} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-02-28 07:11:20,247 - {control.chargepoint.chargepoint:524} - {DEBUG:MainThread} - Phasenzahl Lademodus: 3
2024-02-28 07:11:20,249 - {helpermodules.timecheck:186} - {DEBUG:MainThread} - delta 0:13:00.750000 start_time 2024-02-28 06:56:59.250000 end 2024-02-28 07:10:00 now 2024-02-28 07:11:20.248668
2024-02-28 07:11:20,250 - {control.ev:734} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -860.998668s, Dauer 0.21687499999999993h, Termin heute verpasst: False
2024-02-28 07:11:20,251 - {control.ev:783} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen-Standard
2024-02-28 07:11:20,256 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Einstellungen in dem Fahrzeug-Profil beschränken den Strom auf mindestens 6 A.
2024-02-28 07:11:20,258 - {control.chargepoint.chargepoint:665} - {INFO:MainThread} - LP 1, EV: Opel Corsa-e (EV-Nr.1): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.INSTANT_CHARGING, Phasen: 3, Priorität: False, max. Ist-Strom: 6.16
2024-02-28 07:11:20,262 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1709100660.6853917, power=616.3600000000001, imported=322729.56181327574, exported=0)
2024-02-28 07:11:20,264 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00543811, power1: 616.36, power2: 744.47
2024-02-28 07:11:20,265 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 3.70017
2024-02-28 07:11:20,268 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 3.70017 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1709100680.2625852, power=744.4699999999998, imported=322733.2619844186, exported=0)
2024-02-28 07:11:20,270 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=False), get=Get(soc=0, daily_exported=0.0, daily_imported=0.0, fault_str='Kein Fehler.', fault_state=0, imported=0, exported=0, power=0), set=Set(charging_power_left=0, regulate_up=False, switch_on_soc_reached=False))
2024-02-28 07:11:20,271 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=5931.0, daily_exported=0.0, power=3476.53, imported=142338.0, exported=0))
2024-02-28 07:11:20,273 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen-Standard', failed_phase_switches=1, imported_at_plan_start=136263.0, imported_instant_charging=None, limit=None, phases=3, prio=False, required_current=6, required_currents=[6, 6, 6], state=4, submode=<Chargemode.INSTANT_CHARGING: 'instant_charging'>, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, timestamp_switch_on_off=None), get=Get(charge_state=True, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False, time_charging_in_use=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=69.59), currents=[5.98, 6.16, 5.87], daily_imported=5931.0, daily_exported=0.0, evse_current=600, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=142338.0, phases_in_use=3, plug_state=True, power=3476.53, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Die Einstellungen in dem Fahrzeug-Profil beschränken den Strom auf mindestens 6 A.', vehicle_id=None, voltages=[220.74, 220.04, 217.86]), set=Set(change_ev_permitted=[True, ''], charging_ev=1, charging_ev_prev=1, current=6, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0.0842, imported_at_mode_switch=136263.0, imported_at_plugtime=136263.0, imported_since_mode_switch=6054.989999999991, imported_since_plugged=6054.989999999991, range_charged=30.274949999999954, time_charged='1:28', timestamp_start_charging=1709095380.59388, ev=1, prio=False, rfid=None), manual_lock=False, phases_to_use=3, plug_state_prev=True, plug_time=1709053260.887991, required_power=4140, rfid=None, target_current=0, charging_ev_data=<control.ev.Ev object at 0x70ab9fb8>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=1, name='Interne openWB', type='internal_openwb', template=0, connected_phases=3, phase_1=3, auto_phase_switch_hw=1, control_pilot_interruption_hw=1, id=1))
2024-02-28 07:11:20,276 - {control.data:266} - {INFO:MainThread} - cpt0
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=0, max_current_multi_phases=20, max_current_single_phase=20, name='Standard Ladepunkt-Profil', rfid_enabling=False, valid_tags=[])
2024-02-28 07:11:20,277 - {control.data:266} - {INFO:MainThread} - counter2
CounterData(config=Config(max_currents=[63, 63, 63], max_total_power=43000), get=Get(powers=[1379, 1314, 1384], currents=[7.31, 7.01, 7.15], voltages=[218.3, 221.6, 219.8], power_factors=[0.95999991893768, 0.95999991893768, 0.95999991893768], unbalanced_load=0, frequency=50, daily_exported=0.0, daily_imported=2220.0, imported=5818330, exported=22073990, fault_state=0, fault_str='Kein Fehler.', power=4221), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=42255.53, raw_currents_left=[61.85, 61.86, 61.83], surplus_power_left=0, state_str=''))
2024-02-28 07:11:20,279 - {control.data:241} - {INFO:MainThread} - counter_all_data
CounterAllData(config=Config(reserve_for_not_charging=True), get=Get(hierarchy=[{'id': 2, 'type': 'counter', 'children': [{'id': 3, 'type': 'inverter', 'children': []}, {'id': 1, 'type': 'cp', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=744.4699999999998, invalid_home_consumption=0, daily_yield_home_consumption=2213.0, imported_home_consumption=322733.2619844186, disengageable_smarthome_power=0))
2024-02-28 07:11:20,280 - {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='scheduled_charging', pv_charging=PvCharging(min_soc_current=12, min_current=0, feed_in_limit=False, min_soc=0, max_soc=80), scheduled_charging=ScheduledCharging(plans={'1': ScheduledChargingPlan(active=True, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, False, False, False]), current=32, name='Zielladen-Standard', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=90, soc_scheduled=80), time='07:10')}), instant_charging=InstantCharging(current=32, limit=Limit(selected='soc', amount=50000, soc=80))))
2024-02-28 07:11:20,282 - {control.data:266} - {INFO:MainThread} - ct1
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={'0': TimeChargingPlan(active=False, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[True, True, True, True, True, False, False]), time=['07:00', '08:00'], name='Wochentags morgens', current=7, limit=Limit(selected='none', amount=1000, soc=50))}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={'0': ScheduledChargingPlan(active=True, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, False, False, False]), current=14, name='Morgens', limit=ScheduledLimit(selected='soc', amount=3000, soc_limit=90, soc_scheduled=80), time='07:45')}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2024-02-28 07:11:20,283 - {control.data:266} - {INFO:MainThread} - ct2
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={'2': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[True, True, True, True, True, False, False]), time=['07:15', '08:00'], name='Wochentags morgens', current=7, limit=Limit(selected='none', amount=1000, soc=50))}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2024-02-28 07:11:20,284 - {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=0, soc_timestamp=1706991493.0, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-02-28 07:11:20,285 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(soc_error_counter=0), charge_template=0, ev_template=1, name='Opel Corsa-e', tag_id=[], get=Get(soc=69.59, soc_timestamp=1709100556.591419, force_soc_update=False, range=116, fault_state=0, fault_str='Kein Fehler.'))
2024-02-28 07:11:20,286 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Profil', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=True, control_pilot_interruption_duration=7, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=46000, efficiency=95, nominal_difference=1, keep_charge_active_duration=50)
2024-02-28 07:11:20,287 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Opel Corsa-e', max_current_multi_phases=16, max_phases=3, phase_switch_pause=60, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=True, control_pilot_interruption_duration=4, average_consump=20000, min_current=6, max_current_single_phase=32, battery_capacity=46000, efficiency=95, nominal_difference=1, keep_charge_active_duration=40)
2024-02-28 07:11:20,289 - {control.data:245} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=3), pv_charging=PvCharging(bat_prio=False, charging_power_reserve=200, control_range=[0, 230], feed_in_yield=15000, phase_switch_delay=5, phases_to_use=0, rundown_power=1000, rundown_soc=50, switch_off_delay=60, switch_off_soc=40, switch_off_threshold=500, switch_on_delay=30, switch_on_soc=60, switch_on_threshold=1500), scheduled_charging=ScheduledCharging(phases_to_use=0), time_charging=TimeCharging(phases_to_use=3), unbalanced_load_limit=18, unbalanced_load=False), control_interval=20, 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.00033, cp=0, grid=0.00033, pv=7e-05), 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-02-28 07:11:20,290 - {control.data:246} - {INFO:MainThread} - general_data-display
primary
2024-02-28 07:11:20,291 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-02-28 07:11:20,292 - {control.data:248} - {INFO:MainThread} - optional_data
OptionalData(et=Et(get=EtGet(fault_state=0, fault_str='Kein Fehler.', prices={})), int_display=InternalDisplay(active=False, on_if_plugged_in=True, pin_active=False, pin_code='0000', standby=60, theme=<modules.display_themes.cards.config.CardsDisplayTheme object at 0x70ab4058>), led=Led(active=False), rfid=Rfid(active=True))
2024-02-28 07:11:20,292 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=13000), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=26439950, fault_state=0, fault_str='Kein Fehler.', power=0))
2024-02-28 07:11:20,294 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=26439950, power=0))
2024-02-28 07:11:20,296 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.60', 'current_commit': '2024-02-20 12:30:40 +0100 [1561b0d01]', 'current_branch': 'Beta', 'current_branch_commit': '2024-02-20 12:30:40 +0100 [1561b0d01]', 'current_missing_commits': [], 'datastore_version': 37, 'dataprotection_acknowledged': True, 'usage_terms_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Beta.2', 'boot_done': True, 'lastlivevaluesJson': {'timestamp': 1709100660, 'time': '07:11:00', 'grid': 4.138, 'house-power': 0.616, 'charging-all': 3.522, 'pv-all': -0.0, 'cp1-power': 3.522, 'ev1-soc': 69.59}, 'module_update_completed': True}
2024-02-28 07:11:20,297 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'MQTT', 'type': 'mqtt', 'id': 1, 'configuration': {}}
2024-02-28 07:11:20,298 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'MQTT-Zähler', 'type': 'counter', 'id': 2, 'configuration': {}}
2024-02-28 07:11:20,299 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'MQTT-Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-02-28 07:11:20,300 - {control.data:253} - {INFO:MainThread} -
2024-02-28 07:11:20,301 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-02-28 07:11:20,301 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-02-28 07:11:20,302 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 2
2024-02-28 07:11:20,304 - {control.counter:176} - {DEBUG:MainThread} - Zähler 2: [55.85, 55.86, 55.83]A verbleibende Ströme, 38115.53W verbleibende Leistung
2024-02-28 07:11:20,304 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-02-28 07:11:20,307 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-02-28 07:11:20,309 - {control.algorithm.filter_chargepoints:116} - {DEBUG:MainThread} - Geordnete Ladepunkte [1]
2024-02-28 07:11:20,310 - {control.algorithm.additional_current:26} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 2
2024-02-28 07:11:20,311 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-02-28 07:11:20,313 - {control.counter:249} - {DEBUG:MainThread} - Anpassen des Regelbereichs -115.0W
2024-02-28 07:11:20,315 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -4999.470000000001W
2024-02-28 07:11:20,316 - {control.counter:484} - {DEBUG:MainThread} - Zähler 2: Begrenzung der verbleibenden Leistung auf -4999.470000000001W
2024-02-28 07:11:20,317 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-02-28 07:11:20,318 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-02-28 07:11:20,320 - {control.process:111} - {INFO:MainThread} - LP1: set current 6 A, state CHARGING_ALLOWED
2024-02-28 07:11:20,324 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-02-28 07:11:20,348 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-02-28 07:11:25,580 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-02-28 07:11:30,594 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-02-28 07:11:30,595 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-02-28 07:11:30,595 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
Ich störe mich auch an der Formulierung: Beschränkung auf maximal, wäre sinnvoller.