Feedback Beta 2

Fragen zur Nutzung, Features, usw..
LenaK
Beiträge: 1315
Registriert: Fr Jan 22, 2021 6:40 am
Been thanked: 17 times

Re: Feedback Beta 2

Beitrag von LenaK »

Samoht hat geschrieben: Sa Mär 18, 2023 12:42 pm Ich habe ein Verständnisproblem oder einen Bug:

So wie ich das verstanden habe (und auch in einem alten Post hier im Forum gefunden), bedeutet "Minimal SoC", dass im PV-Modus dann immer mit der eingestellten "Minimal SoC Stromstärke" geladen wird, auch wenn keine PV-Leistung verfügbar ist (und zwar bis dieser "Minimal SoC" erreicht ist).

Beim mir startet das Laden aber überhaupt nicht, wenn der "Minimal SoC" unterhalb des echten SoC des Fahrzeugs ist... öh, hä? 😅

IMG_0079.jpeg

Sobald ich den "Minimal SoC" hochstelle (also > SoC), startet das Laden ganz normal und die PV-Regelung (Sonne ist im Moment genug da) läuft auch anscheinend so wie sie soll (bis hin zu 16 A).

Eigentlich hätte ich gedacht, ich kann den Wert einfach bei 0 % lassen und nur PV laden.

Sorry, ich checks nicht. Hab das auch bei der 1.9er nicht verwendet. Kann mir bitte jemand auf die Sprünge helfen oder gerne auch noch auf eine Erklärung im Forum verlinken? :?:

Herzlichen Dank! 🙂

edit: 2023-03-13 14:52:30 +0100 [91d8e437] ist installiert
Bitte das Debuglevel auf Details stellen und einen kompletten Durchlauf von # ***Start*** bis # ***Start*** aus dem main.log posten, wenn der Fehler auftritt. Sensible Daten wie Benutzernamen und Kennwörter unkenntlich machen.
LenaK
Beiträge: 1315
Registriert: Fr Jan 22, 2021 6:40 am
Been thanked: 17 times

Re: Feedback Beta 2

Beitrag von LenaK »

Basti hat geschrieben: Di Mär 21, 2023 8:42 am Guten Morgen,

kann es sein das wenn 2 Openwb2 Custom damit gesteuert werden und beide im Stop sind und der Modus bei der LP1 geändert wird sich auch der Modus der LP2 ändert? Das sollte doch so nicht sein? Ich vermute hier ist ein BUG

Version. 2023-03-13 14:52:30 +0100 [91d8e437]

Danke
Bitte das Debuglevel auf Details stellen und einen kompletten Durchlauf von # ***Start*** bis # ***Start*** aus dem main.log posten, wenn der Fehler auftritt. Sensible Daten wie Benutzernamen und Kennwörter unkenntlich machen.
Basti
Beiträge: 79
Registriert: Di Feb 21, 2023 3:28 pm
Been thanked: 7 times

Re: Feedback Beta 2

Beitrag von Basti »

Hallo Lena,

ich habe das ganze nochmal getestet und diesmal die Box Offline gelassen ( die zweite ). Leider das gleiche verhalten. Beiden Boxen Stellen sich sowohl unter Sofortladen und PV laden gleich ein und bleiben nicht in Ihrem Status wie zugewiesen.
Modusauswahl_fehler.jpg

Code: Alles auswählen

2023-03-27 19:14:20,725 - {root:61} - {INFO:MainThread} - # ***Start*** 
2023-03-27 19:14:20,731 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x7f262132c0d0>, 'component1': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x7f262132c3d0>}
2023-03-27 19:14:20,731 - {modules.common.component_context:24} - {DEBUG:cp2} - Update Komponente ['Ladepunkt']
2023-03-27 19:14:20,732 - {modules.common.component_context:24} - {DEBUG:cp3} - Update Komponente ['Ladepunkt']
2023-03-27 19:14:20,733 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2023-03-27 19:14:21,231 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-646, -560, -21, -65], Scale 0
2023-03-27 19:14:21,280 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [35, 12, 12], Scale -1
2023-03-27 19:14:21,778 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23678, 23746, 23630, -24514, -24372, -24422, -24750], Scale -2
2023-03-27 19:14:22,049 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4995], Scale -2
2023-03-27 19:14:22,188 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [6574, 817, 2263], Scale -2
2023-03-27 19:14:22,303 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [41975168, 11740335, 16799964, 15381050, 23260804, 14112279, 4884108, 6210598], Scale 0
2023-03-27 19:14:22,303 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(voltages=[236.78, 237.46, 236.3], powers=[560.0, 21.0, 65.0], currents=[3.5, 1.2000000000000002, 1.2000000000000002], power_factors=[0.6574, 0.0817, 0.2263], imported=23260804.0, exported=41975168.0, power=646.0, frequency=49.95)
2023-03-27 19:14:22,304 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2023-03-27 19:14:22,349 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [20000], Scale -3
2023-03-27 19:14:22,444 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [53586976], Scale 0
2023-03-27 19:14:22,806 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [72, 84, 83], Scale -2
2023-03-27 19:14:22,896 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [18274], Scale -3
2023-03-27 19:14:22,896 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[-0.72, -0.84, -0.8300000000000001], power=-20.0, exported=53586976.0, dc_power=-18.274)
2023-03-27 19:14:23,803 - {modules.common.fault_state:40} - {ERROR:cp3} - Ladepunkt: FaultState FaultStateLevel.ERROR, FaultStr Die Verbindung zum Host ist fehlgeschlagen. Überprüfe Adresse und Netzwerk., Traceback: 
Traceback (most recent call last):
  File "/var/www/html/openWB/packages/modules/chargepoints/external_openwb/chargepoint_module.py", line 60, in get_values
    self.__client_error_context.reset_error_counter()
  File "/var/www/html/openWB/packages/modules/common/component_context.py", line 99, in __exit__
    raise exception
  File "/var/www/html/openWB/packages/modules/chargepoints/external_openwb/chargepoint_module.py", line 53, in get_values
    pub.pub_single("openWB/set/isss/heartbeat", 0, hostname=ip_address)
  File "/var/www/html/openWB/packages/helpermodules/pub.py", line 51, in pub_single
    publish.single(topic, json.dumps(payload), hostname=hostname, retain=True)
  File "/home/openwb/.local/lib/python3.9/site-packages/paho/mqtt/publish.py", line 240, in single
    multiple([msg], hostname, port, client_id, keepalive, will, auth, tls,
  File "/home/openwb/.local/lib/python3.9/site-packages/paho/mqtt/publish.py", line 176, in multiple
    client.connect(hostname, port, keepalive)
  File "/home/openwb/.local/lib/python3.9/site-packages/paho/mqtt/client.py", line 914, in connect
    return self.reconnect()
  File "/home/openwb/.local/lib/python3.9/site-packages/paho/mqtt/client.py", line 1044, in reconnect
    sock = self._create_socket_connection()
  File "/home/openwb/.local/lib/python3.9/site-packages/paho/mqtt/client.py", line 3685, in _create_socket_connection
    return socket.create_connection(addr, timeout=self._connect_timeout, source_address=source)
  File "/usr/lib/python3.9/socket.py", line 843, in create_connection
    raise err
  File "/usr/lib/python3.9/socket.py", line 831, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

2023-03-27 19:14:23,805 - {modules.common.component_context:24} - {DEBUG:component1} - Update Komponente ['SolarEdge Wechselrichter']
2023-03-27 19:14:23,805 - {modules.common.store._api:26} - {DEBUG:component1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-20.0, exported=53586976.0, dc_power=None)
2023-03-27 19:14:23,806 - {modules.common.component_context:24} - {DEBUG:cp2} - Update Komponente ['Ladepunkt']
2023-03-27 19:14:23,806 - {modules.common.store._api:30} - {INFO:component1} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-20.0, exported=53586976.0, dc_power=None)
2023-03-27 19:14:23,806 - {modules.common.component_context:24} - {DEBUG:cp3} - Update Komponente ['Ladepunkt']
2023-03-27 19:14:23,813 - {modules.common.component_context:24} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2023-03-27 19:14:23,813 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(voltages=[236.78, 237.46, 236.3], powers=[560.0, 21.0, 65.0], currents=[3.5, 1.2000000000000002, 1.2000000000000002], power_factors=[0.6574, 0.0817, 0.2263], imported=23260804.0, exported=41975168.0, power=646.0, frequency=49.95)
2023-03-27 19:14:23,833 - {control.counter:125} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [31.5, 33.8, 33.8]A
2023-03-27 19:14:23,833 - {control.counter:148} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 23354.0W
2023-03-27 19:14:23,834 - {control.chargepoint:354} - {INFO:MainThread} - LP 2: Keine Ladung, da kein Auto angesteckt ist.
2023-03-27 19:14:23,835 - {control.chargepoint:354} - {INFO:MainThread} - LP 3: Keine Ladung, da kein Auto angesteckt ist.
2023-03-27 19:14:23,835 - {control.data:305} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=False), get=Get(soc=0, daily_exported=0, daily_imported=0, imported=0, exported=0, power=0), set=Set(charging_power_left=0, switch_on_soc_reached=False))
2023-03-27 19:14:23,835 - {control.data:306} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=0, daily_exported=0, power=0, imported=0, exported=0))
2023-03-27 19:14:23,836 - {control.data:334} - {INFO:MainThread} - cp2
ChargepointData(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=ConnectedSoc(fault_str='Kein Fehler.', fault_state=0, range_charged=0, range_unit='km', range=0, soc=0, timestamp=None)), currents=[0.0, 0.0, 0.0], daily_imported=0, daily_exported=0, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=0, phases_in_use=0, plug_state=False, power=0, rfid_timestamp=None, rfid=None, state_str='Keine Ladung, da kein Auto angesteckt ist.', voltages=[237.0, 237.68, 236.29]), set=Set(change_ev_permitted=False, charging_ev=-1, charging_ev_prev=-1, current=0, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='_', 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), manual_lock=False, phases_to_use=0, plug_state_prev=False, plug_time=None, required_power=0, rfid=None, target_current=0, charging_ev_data=<control.ev.Ev object at 0x7f2620283940>), config=Config(connection_module={'type': 'external_openwb', 'name': 'Externe openWB', 'configuration': {'ip_address': '192.168.178.155', 'duo_num': 1}}, power_module={}, ev=0, name='Standard-Ladepunkt', type='external_openwb', template=0, connected_phases=3, phase_1=1, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=2))
2023-03-27 19:14:23,836 - {control.data:334} - {INFO:MainThread} - cp3
ChargepointData(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=ConnectedSoc(fault_str='Kein Fehler.', fault_state=0, range_charged=0, range_unit='km', range=0, soc=0, timestamp=None)), currents=[0.0, 0.0, 0.0], daily_imported=0, daily_exported=0, exported=0, fault_str='Die Verbindung zum Host ist fehlgeschlagen. Überprüfe Adresse und Netzwerk.', fault_state=2, imported=0, phases_in_use=0, plug_state=False, power=0, rfid_timestamp=None, rfid=None, state_str='Keine Ladung, da kein Auto angesteckt ist.', voltages=[230.0, 230.0, 230.0]), set=Set(change_ev_permitted=False, charging_ev=-1, charging_ev_prev=-1, current=0, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='_', 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), manual_lock=False, phases_to_use=0, plug_state_prev=False, plug_time=None, required_power=0, rfid=None, target_current=0, charging_ev_data=<control.ev.Ev object at 0x7f2620265df0>), config=Config(connection_module={'type': 'external_openwb', 'name': 'Externe openWB', 'configuration': {'ip_address': '192.168.178.156', 'duo_num': 1}}, power_module={}, ev=0, name='Standard-Ladepunkt', type='external_openwb', template=0, connected_phases=3, phase_1=2, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=3))
2023-03-27 19:14:23,836 - {control.data:334} - {INFO:MainThread} - cpt0
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=0, max_current_multi_phases=16, max_current_single_phase=16, name='Standard Ladepunkt-Vorlage', rfid_enabling=False, valid_tags=[])
2023-03-27 19:14:23,836 - {control.data:334} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[35, 35, 35], max_total_power=24000), get=Get(powers=[560.0, 21.0, 65.0], currents=[3.5, 1.2, 1.2], voltages=[236.78, 237.46, 236.3], power_factors=[0.66, 0.08, 0.23], unbalanced_load=0, frequency=49.95, daily_exported=7488.0, daily_imported=8121.0, imported=23260804.0, exported=41975168.0, fault_state=0, fault_str='Kein Fehler.', power=646.0), set=Set(reserved_surplus=0, released_surplus=0, raw_power_left=23354.0, raw_currents_left=[31.5, 33.8, 33.8], surplus_power_left=0, state_str=''))
2023-03-27 19:14:23,836 - {control.data:310} - {INFO:MainThread} - counter_all_data
CounterAllData(config=Config(reserve_for_not_charging=True), get=Get(hierarchy=[{'id': 0, 'type': 'counter', 'children': [{'id': 1, 'type': 'inverter', 'children': []}, {'id': 2, 'type': 'cp', 'children': []}, {'id': 3, 'type': 'cp', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=666.0, invalid_home_consumption=0, daily_yield_home_consumption=14385.0))
2023-03-27 19:14:23,836 - {control.data:334} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='instant_charging', 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))))
2023-03-27 19:14:23,837 - {control.data:334} - {INFO:MainThread} - ev0
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17, min_current=6, max_current_single_phase=32, battery_capacity=82, nominal_difference=0.5), et_num=0), soc_error_counter=0), control_parameter=ControlParameter(required_current=0, required_currents=[0.0, 0.0, 0.0], phases=0, prio=False, timestamp_switch_on_off=None, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, submode=<Chargemode.STOP: 'stop'>, chargemode=<Chargemode.STOP: 'stop'>, used_amount_instant_charging=0, imported_at_plan_start=0, current_plan=None), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=[], get=Get(soc=0, soc_timestamp='', force_soc_update=False, range=0, fault_state=0, fault_str=''))
2023-03-27 19:14:23,837 - {control.data:334} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17, min_current=6, max_current_single_phase=16, battery_capacity=79, nominal_difference=0.5)
2023-03-27 19:14:23,837 - {control.data:314} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=3), pv_charging=PvCharging(bat_prio=True, charging_power_reserve=200, control_range=[-230, 0], feed_in_yield=15000, phase_switch_delay=7, phases_to_use=0, rundown_power=1000, rundown_soc=50, switch_off_delay=60, switch_off_soc=40, switch_off_threshold=50, switch_on_delay=30, switch_on_soc=60, switch_on_threshold=1500), scheduled_charging=ScheduledCharging(phases_to_use=0), standby=Standby(phases_to_use=1), stop=Stop(phases_to_use=1), time_charging=TimeCharging(phases_to_use=1), unbalanced_load_limit=18, unbalanced_load=True), control_interval=10, extern_display_mode='local', 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, price_kwh=0.3, range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=False, r1_active=False, r2_active=False))
2023-03-27 19:14:23,837 - {control.data:315} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2023-03-27 19:14:23,837 - {control.data:316} - {INFO:MainThread} - optional_data
OptionalData(et=Et(active=False, config=EtConfig(max_price=0, provider={}), get=EtGet(price=0, price_list=[])), int_display=InternalDisplay(active=False, on_if_plugged_in=True, pin_active=False, pin_code='0000', standby=60, theme='cards'), led=Led(active=False), rfid=Rfid(active=False))
2023-03-27 19:14:23,837 - {control.data:334} - {INFO:MainThread} - pv1
PvData(config=Config(max_ac_out=9900), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=13752.0, monthly_exported=0, yearly_exported=0, exported=53586976.0, fault_state=0, fault_str='Kein Fehler.', power=-20.0))
2023-03-27 19:14:23,838 - {control.data:318} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=13752.0, monthly_exported=0, yearly_exported=0, exported=53586976.0, power=-17.0))
2023-03-27 19:14:23,838 - {control.data:334} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.178.201', 'current_commit': '2023-03-23 13:52:54 +0100 [e55e40fc]', 'current_branch': 'master', 'current_branch_commit': '2023-03-23 13:52:54 +0100 [e55e40fc]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': False, 'debug_level': 10, 'release_train': 'master', 'version': '1.99.102.0', 'datastore_version': 7, 'lastlivevaluesJson': {'timestamp': 1679937254, 'time': '19:14:14', 'grid': 0.672, 'house-power': 0.689, 'charging-all': 0.0, 'pv-all': 0.019, 'cp2-power': 0.0}, 'module_update_completed': True}
2023-03-27 19:14:23,838 - {control.data:347} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 502, 'ip_address': '192.168.178.57'}}
2023-03-27 19:14:23,838 - {control.data:349} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2023-03-27 19:14:23,838 - {control.data:349} - {INFO:MainThread} - component1
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 1, 'configuration': {'modbus_id': 1}}
2023-03-27 19:14:23,838 - {control.data:321} - {INFO:MainThread} - 

2023-03-27 19:14:23,838 - {control.algorithm.algorithm:26} - {INFO:MainThread} - # Algorithmus
2023-03-27 19:14:23,839 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Mindestrom setzen**
2023-03-27 19:14:23,839 - {control.algorithm.algorithm:34} - {INFO:MainThread} - **Sollstrom setzen**
2023-03-27 19:14:23,840 - {control.counter:185} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: 0W
2023-03-27 19:14:23,840 - {control.counter:448} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf 0W
2023-03-27 19:14:23,840 - {control.algorithm.algorithm:45} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2023-03-27 19:14:23,840 - {control.process:22} - {INFO:MainThread} - # Ladung starten.
2023-03-27 19:14:23,840 - {modules.common.component_context:24} - {DEBUG:cp2} - Update Komponente ['Ladepunkt']
2023-03-27 19:14:23,841 - {modules.common.component_context:24} - {DEBUG:cp3} - Update Komponente ['Ladepunkt']
2023-03-27 19:14:26,845 - {control.process:64} - {ERROR:MainThread} - cp3 konnte nicht innerhalb des Timeouts die Werte senden.
2023-03-27 19:14:26,846 - {control.counter:173} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2023-03-27 19:14:26,876 - {modules.common.fault_state:40} - {ERROR:cp3} - Ladepunkt: FaultState FaultStateLevel.ERROR, FaultStr Die Verbindung zum Host ist fehlgeschlagen. Überprüfe Adresse und Netzwerk., Traceback: 
Traceback (most recent call last):
  File "/var/www/html/openWB/packages/modules/chargepoints/external_openwb/chargepoint_module.py", line 44, in set_current
    pub.pub_single("openWB/set/isss/Lp2Current", current,
  File "/var/www/html/openWB/packages/modules/common/component_context.py", line 99, in __exit__
    raise exception
  File "/var/www/html/openWB/packages/modules/chargepoints/external_openwb/chargepoint_module.py", line 41, in set_current
    pub.pub_single("openWB/set/isss/Current", current,
  File "/var/www/html/openWB/packages/helpermodules/pub.py", line 51, in pub_single
    publish.single(topic, json.dumps(payload), hostname=hostname, retain=True)
  File "/home/openwb/.local/lib/python3.9/site-packages/paho/mqtt/publish.py", line 240, in single
    multiple([msg], hostname, port, client_id, keepalive, will, auth, tls,
  File "/home/openwb/.local/lib/python3.9/site-packages/paho/mqtt/publish.py", line 176, in multiple
    client.connect(hostname, port, keepalive)
  File "/home/openwb/.local/lib/python3.9/site-packages/paho/mqtt/client.py", line 914, in connect
    return self.reconnect()
  File "/home/openwb/.local/lib/python3.9/site-packages/paho/mqtt/client.py", line 1044, in reconnect
    sock = self._create_socket_connection()
  File "/home/openwb/.local/lib/python3.9/site-packages/paho/mqtt/client.py", line 3685, in _create_socket_connection
    return socket.create_connection(addr, timeout=self._connect_timeout, source_address=source)
  File "/usr/lib/python3.9/socket.py", line 843, in create_connection
    raise err
  File "/usr/lib/python3.9/socket.py", line 831, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

2023-03-27 19:14:26,906 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=update, args=(), kwargs={})
2023-03-27 19:14:30,914 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2023-03-27 19:14:30,914 - {root:61} - {INFO:MainThread} - # ***Start*** 
2023-03-27 19:14:30,920 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x7f262132c0d0>, 'component1': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x7f262132c3d0>}
2023-03-27 19:14:30,920 - {modules.common.component_context:24} - {DEBUG:cp2} - Update Komponente ['Ladepunkt']
2023-03-27 19:14:30,921 - {modules.common.component_context:24} - {DEBUG:cp3} - Update Komponente ['Ladepunkt']
2023-03-27 19:14:30,922 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2023-03-27 19:14:31,157 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-673, -591, -21, -60], Scale 0
2023-03-27 19:14:31,229 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [36, 13, 12], Scale -1
2023-03-27 19:14:31,284 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23745, 23874, 23539, -24453, -24225, -24409, -24726], Scale -2
2023-03-27 19:14:31,601 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4995], Scale -2
2023-03-27 19:14:31,971 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [6674, 769, 2129], Scale -2
2023-03-27 19:14:32,196 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [41975168, 11740335, 16799964, 15381050, 23260806, 14112281, 4884108, 6210599], Scale 0
2023-03-27 19:14:32,196 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(voltages=[237.45000000000002, 238.74, 235.39000000000001], powers=[591.0, 21.0, 60.0], currents=[3.6, 1.3, 1.2000000000000002], power_factors=[0.6674, 0.07690000000000001, 0.21289999999999998], imported=23260806.0, exported=41975168.0, power=673.0, frequency=49.95)
2023-03-27 19:14:32,197 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2023-03-27 19:14:32,286 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [24000], Scale -3
2023-03-27 19:14:32,424 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [53586976], Scale 0
2023-03-27 19:14:33,008 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [71, 84, 82], Scale -2
2023-03-27 19:14:33,412 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [21319], Scale -3
2023-03-27 19:14:33,412 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[-0.71, -0.84, -0.8200000000000001], power=-24.0, exported=53586976.0, dc_power=-21.319)
2023-03-27 19:14:33,979 - {modules.common.fault_state:40} - {ERROR:cp3} - Ladepunkt: FaultState FaultStateLevel.ERROR, FaultStr Die Verbindung zum Host ist fehlgeschlagen. Überprüfe Adresse und Netzwerk., Traceback: 
Traceback (most recent call last):
  File "/var/www/html/openWB/packages/modules/chargepoints/external_openwb/chargepoint_module.py", line 60, in get_values
    self.__client_error_context.reset_error_counter()
  File "/var/www/html/openWB/packages/modules/common/component_context.py", line 99, in __exit__
    raise exception
  File "/var/www/html/openWB/packages/modules/chargepoints/external_openwb/chargepoint_module.py", line 53, in get_values
    pub.pub_single("openWB/set/isss/heartbeat", 0, hostname=ip_address)
  File "/var/www/html/openWB/packages/helpermodules/pub.py", line 51, in pub_single
    publish.single(topic, json.dumps(payload), hostname=hostname, retain=True)
  File "/home/openwb/.local/lib/python3.9/site-packages/paho/mqtt/publish.py", line 240, in single
    multiple([msg], hostname, port, client_id, keepalive, will, auth, tls,
  File "/home/openwb/.local/lib/python3.9/site-packages/paho/mqtt/publish.py", line 176, in multiple
    client.connect(hostname, port, keepalive)
  File "/home/openwb/.local/lib/python3.9/site-packages/paho/mqtt/client.py", line 914, in connect
    return self.reconnect()
  File "/home/openwb/.local/lib/python3.9/site-packages/paho/mqtt/client.py", line 1044, in reconnect
    sock = self._create_socket_connection()
  File "/home/openwb/.local/lib/python3.9/site-packages/paho/mqtt/client.py", line 3685, in _create_socket_connection
    return socket.create_connection(addr, timeout=self._connect_timeout, source_address=source)
  File "/usr/lib/python3.9/socket.py", line 843, in create_connection
    raise err
  File "/usr/lib/python3.9/socket.py", line 831, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

2023-03-27 19:14:33,980 - {modules.common.component_context:24} - {DEBUG:component1} - Update Komponente ['SolarEdge Wechselrichter']
2023-03-27 19:14:33,981 - {modules.common.store._api:26} - {DEBUG:component1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-24.0, exported=53586976.0, dc_power=None)
2023-03-27 19:14:33,981 - {modules.common.store._api:30} - {INFO:component1} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-24.0, exported=53586976.0, dc_power=None)
2023-03-27 19:14:33,981 - {modules.common.component_context:24} - {DEBUG:cp2} - Update Komponente ['Ladepunkt']
2023-03-27 19:14:33,982 - {modules.common.component_context:24} - {DEBUG:cp3} - Update Komponente ['Ladepunkt']
2023-03-27 19:14:33,988 - {modules.common.component_context:24} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2023-03-27 19:14:33,988 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(voltages=[237.45000000000002, 238.74, 235.39000000000001], powers=[591.0, 21.0, 60.0], currents=[3.6, 1.3, 1.2000000000000002], power_factors=[0.6674, 0.07690000000000001, 0.21289999999999998], imported=23260806.0, exported=41975168.0, power=673.0, frequency=49.95)
2023-03-27 19:14:34,005 - {control.counter:125} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [31.4, 33.7, 33.8]A
2023-03-27 19:14:34,005 - {control.counter:148} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 23327.0W
2023-03-27 19:14:34,005 - {control.chargepoint:354} - {INFO:MainThread} - LP 2: Keine Ladung, da kein Auto angesteckt ist.
2023-03-27 19:14:34,006 - {control.chargepoint:354} - {INFO:MainThread} - LP 3: Keine Ladung, da kein Auto angesteckt ist.
2023-03-27 19:14:34,006 - {control.data:305} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=False), get=Get(soc=0, daily_exported=0, daily_imported=0, imported=0, exported=0, power=0), set=Set(charging_power_left=0, switch_on_soc_reached=False))
2023-03-27 19:14:34,006 - {control.data:306} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=0, daily_exported=0, power=0, imported=0, exported=0))
2023-03-27 19:14:34,007 - {control.data:334} - {INFO:MainThread} - cp2
ChargepointData(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=ConnectedSoc(fault_str='Kein Fehler.', fault_state=0, range_charged=0, range_unit='km', range=0, soc=0, timestamp=None)), currents=[0.0, 0.0, 0.0], daily_imported=0, daily_exported=0, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=0, phases_in_use=0, plug_state=False, power=0, rfid_timestamp=None, rfid=None, state_str='Keine Ladung, da kein Auto angesteckt ist.', voltages=[237.49, 238.45, 235.4]), set=Set(change_ev_permitted=False, charging_ev=-1, charging_ev_prev=-1, current=0, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='_', 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), manual_lock=False, phases_to_use=0, plug_state_prev=False, plug_time=None, required_power=0, rfid=None, target_current=0, charging_ev_data=<control.ev.Ev object at 0x7f26202f4580>), config=Config(connection_module={'type': 'external_openwb', 'name': 'Externe openWB', 'configuration': {'ip_address': '192.168.178.155', 'duo_num': 1}}, power_module={}, ev=0, name='Standard-Ladepunkt', type='external_openwb', template=0, connected_phases=3, phase_1=1, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=2))
2023-03-27 19:14:34,008 - {control.data:334} - {INFO:MainThread} - cp3
ChargepointData(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=ConnectedSoc(fault_str='Kein Fehler.', fault_state=0, range_charged=0, range_unit='km', range=0, soc=0, timestamp=None)), currents=[0.0, 0.0, 0.0], daily_imported=0, daily_exported=0, exported=0, fault_str='Die Verbindung zum Host ist fehlgeschlagen. Überprüfe Adresse und Netzwerk.', fault_state=2, imported=0, phases_in_use=0, plug_state=False, power=0, rfid_timestamp=None, rfid=None, state_str='Keine Ladung, da kein Auto angesteckt ist.', voltages=[230.0, 230.0, 230.0]), set=Set(change_ev_permitted=False, charging_ev=-1, charging_ev_prev=-1, current=0, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='_', 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), manual_lock=False, phases_to_use=0, plug_state_prev=False, plug_time=None, required_power=0, rfid=None, target_current=0, charging_ev_data=<control.ev.Ev object at 0x7f262018f820>), config=Config(connection_module={'type': 'external_openwb', 'name': 'Externe openWB', 'configuration': {'ip_address': '192.168.178.156', 'duo_num': 1}}, power_module={}, ev=0, name='Standard-Ladepunkt', type='external_openwb', template=0, connected_phases=3, phase_1=2, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=3))
2023-03-27 19:14:34,008 - {control.data:334} - {INFO:MainThread} - cpt0
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=0, max_current_multi_phases=16, max_current_single_phase=16, name='Standard Ladepunkt-Vorlage', rfid_enabling=False, valid_tags=[])
2023-03-27 19:14:34,008 - {control.data:334} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[35, 35, 35], max_total_power=24000), get=Get(powers=[591.0, 21.0, 60.0], currents=[3.6, 1.3, 1.2], voltages=[237.45, 238.74, 235.39], power_factors=[0.67, 0.08, 0.21], unbalanced_load=0, frequency=49.95, daily_exported=7488.0, daily_imported=8121.0, imported=23260806.0, exported=41975168.0, fault_state=0, fault_str='Kein Fehler.', power=673.0), set=Set(reserved_surplus=0, released_surplus=0, raw_power_left=23327.0, raw_currents_left=[31.4, 33.7, 33.8], surplus_power_left=0, state_str=''))
2023-03-27 19:14:34,008 - {control.data:310} - {INFO:MainThread} - counter_all_data
CounterAllData(config=Config(reserve_for_not_charging=True), get=Get(hierarchy=[{'id': 0, 'type': 'counter', 'children': [{'id': 1, 'type': 'inverter', 'children': []}, {'id': 2, 'type': 'cp', 'children': []}, {'id': 3, 'type': 'cp', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=697.0, invalid_home_consumption=0, daily_yield_home_consumption=14385.0))
2023-03-27 19:14:34,008 - {control.data:334} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='instant_charging', 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))))
2023-03-27 19:14:34,008 - {control.data:334} - {INFO:MainThread} - ev0
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17, min_current=6, max_current_single_phase=32, battery_capacity=82, nominal_difference=0.5), et_num=0), soc_error_counter=0), control_parameter=ControlParameter(required_current=0, required_currents=[0.0, 0.0, 0.0], phases=0, prio=False, timestamp_switch_on_off=None, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, submode=<Chargemode.STOP: 'stop'>, chargemode=<Chargemode.STOP: 'stop'>, used_amount_instant_charging=0, imported_at_plan_start=0, current_plan=None), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=[], get=Get(soc=0, soc_timestamp='', force_soc_update=False, range=0, fault_state=0, fault_str=''))
2023-03-27 19:14:34,009 - {control.data:334} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17, min_current=6, max_current_single_phase=16, battery_capacity=79, nominal_difference=0.5)
2023-03-27 19:14:34,009 - {control.data:314} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=3), pv_charging=PvCharging(bat_prio=True, charging_power_reserve=200, control_range=[-230, 0], feed_in_yield=15000, phase_switch_delay=7, phases_to_use=0, rundown_power=1000, rundown_soc=50, switch_off_delay=60, switch_off_soc=40, switch_off_threshold=50, switch_on_delay=30, switch_on_soc=60, switch_on_threshold=1500), scheduled_charging=ScheduledCharging(phases_to_use=0), standby=Standby(phases_to_use=1), stop=Stop(phases_to_use=1), time_charging=TimeCharging(phases_to_use=1), unbalanced_load_limit=18, unbalanced_load=True), control_interval=10, extern_display_mode='local', 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, price_kwh=0.3, range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=False, r1_active=False, r2_active=False))
2023-03-27 19:14:34,009 - {control.data:315} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2023-03-27 19:14:34,009 - {control.data:316} - {INFO:MainThread} - optional_data
OptionalData(et=Et(active=False, config=EtConfig(max_price=0, provider={}), get=EtGet(price=0, price_list=[])), int_display=InternalDisplay(active=False, on_if_plugged_in=True, pin_active=False, pin_code='0000', standby=60, theme='cards'), led=Led(active=False), rfid=Rfid(active=False))
2023-03-27 19:14:34,009 - {control.data:334} - {INFO:MainThread} - pv1
PvData(config=Config(max_ac_out=9900), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=13752.0, monthly_exported=0, yearly_exported=0, exported=53586976.0, fault_state=0, fault_str='Kein Fehler.', power=-24.0))
2023-03-27 19:14:34,009 - {control.data:318} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=13752.0, monthly_exported=0, yearly_exported=0, exported=53586976.0, power=-20.0))
2023-03-27 19:14:34,009 - {control.data:334} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.178.201', 'current_commit': '2023-03-23 13:52:54 +0100 [e55e40fc]', 'current_branch': 'master', 'current_branch_commit': '2023-03-23 13:52:54 +0100 [e55e40fc]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': False, 'debug_level': 10, 'release_train': 'master', 'version': '1.99.102.0', 'datastore_version': 7, 'lastlivevaluesJson': {'timestamp': 1679937266, 'time': '19:14:26', 'grid': 0.646, 'house-power': 0.666, 'charging-all': 0.0, 'pv-all': 0.017, 'cp2-power': 0.0}, 'module_update_completed': True}
2023-03-27 19:14:34,009 - {control.data:347} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 502, 'ip_address': '192.168.178.57'}}
2023-03-27 19:14:34,009 - {control.data:349} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2023-03-27 19:14:34,009 - {control.data:349} - {INFO:MainThread} - component1
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 1, 'configuration': {'modbus_id': 1}}
2023-03-27 19:14:34,009 - {control.data:321} - {INFO:MainThread} - 

2023-03-27 19:14:34,010 - {control.algorithm.algorithm:26} - {INFO:MainThread} - # Algorithmus
2023-03-27 19:14:34,010 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Mindestrom setzen**
2023-03-27 19:14:34,010 - {control.algorithm.algorithm:34} - {INFO:MainThread} - **Sollstrom setzen**
2023-03-27 19:14:34,011 - {control.counter:185} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: 0W
2023-03-27 19:14:34,011 - {control.counter:448} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf 0W
2023-03-27 19:14:34,011 - {control.algorithm.algorithm:45} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2023-03-27 19:14:34,012 - {control.process:22} - {INFO:MainThread} - # Ladung starten.
2023-03-27 19:14:34,012 - {modules.common.component_context:24} - {DEBUG:cp2} - Update Komponente ['Ladepunkt']
2023-03-27 19:14:34,013 - {modules.common.component_context:24} - {DEBUG:cp3} - Update Komponente ['Ladepunkt']
2023-03-27 19:14:37,025 - {control.process:64} - {ERROR:MainThread} - cp3 konnte nicht innerhalb des Timeouts die Werte senden.
2023-03-27 19:14:37,026 - {control.counter:173} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2023-03-27 19:14:37,052 - {modules.common.fault_state:40} - {ERROR:cp3} - Ladepunkt: FaultState FaultStateLevel.ERROR, FaultStr Die Verbindung zum Host ist fehlgeschlagen. Überprüfe Adresse und Netzwerk., Traceback: 
Traceback (most recent call last):
  File "/var/www/html/openWB/packages/modules/chargepoints/external_openwb/chargepoint_module.py", line 44, in set_current
    pub.pub_single("openWB/set/isss/Lp2Current", current,
  File "/var/www/html/openWB/packages/modules/common/component_context.py", line 99, in __exit__
    raise exception
  File "/var/www/html/openWB/packages/modules/chargepoints/external_openwb/chargepoint_module.py", line 41, in set_current
    pub.pub_single("openWB/set/isss/Current", current,
  File "/var/www/html/openWB/packages/helpermodules/pub.py", line 51, in pub_single
    publish.single(topic, json.dumps(payload), hostname=hostname, retain=True)
  File "/home/openwb/.local/lib/python3.9/site-packages/paho/mqtt/publish.py", line 240, in single
    multiple([msg], hostname, port, client_id, keepalive, will, auth, tls,
  File "/home/openwb/.local/lib/python3.9/site-packages/paho/mqtt/publish.py", line 176, in multiple
    client.connect(hostname, port, keepalive)
  File "/home/openwb/.local/lib/python3.9/site-packages/paho/mqtt/client.py", line 914, in connect
    return self.reconnect()
  File "/home/openwb/.local/lib/python3.9/site-packages/paho/mqtt/client.py", line 1044, in reconnect
    sock = self._create_socket_connection()
  File "/home/openwb/.local/lib/python3.9/site-packages/paho/mqtt/client.py", line 3685, in _create_socket_connection
    return socket.create_connection(addr, timeout=self._connect_timeout, source_address=source)
  File "/usr/lib/python3.9/socket.py", line 843, in create_connection
    raise err
  File "/usr/lib/python3.9/socket.py", line 831, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

2023-03-27 19:14:37,083 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=update, args=(), kwargs={})
2023-03-27 19:14:40,095 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2023-03-27 19:14:40,095 - {root:61} - {INFO:MainThread} - # ***Start*** 
2023-03-27 19:14:40,100 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x7f262132c0d0>, 'component1': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x7f262132c3d0>}
2023-03-27 19:14:40,101 - {modules.common.component_context:24} - {DEBUG:cp2} - Update Komponente ['Ladepunkt']
2023-03-27 19:14:40,101 - {modules.common.component_context:24} - {DEBUG:cp3} - Update Komponente ['Ladepunkt']
2023-03-27 19:14:40,102 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2023-03-27 19:14:40,123 - {modules.common.fault_state:40} - {ERROR:cp3} - Ladepunkt: FaultState FaultStateLevel.ERROR, FaultStr Die Verbindung zum Host ist fehlgeschlagen. Überprüfe Adresse und Netzwerk., Traceback: 
Traceback (most recent call last):
  File "/var/www/html/openWB/packages/modules/chargepoints/external_openwb/chargepoint_module.py", line 60, in get_values
    self.__client_error_context.reset_error_counter()
  File "/var/www/html/openWB/packages/modules/common/component_context.py", line 99, in __exit__
    raise exception
  File "/var/www/html/openWB/packages/modules/chargepoints/external_openwb/chargepoint_module.py", line 53, in get_values
    pub.pub_single("openWB/set/isss/heartbeat", 0, hostname=ip_address)
  File "/var/www/html/openWB/packages/helpermodules/pub.py", line 51, in pub_single
    publish.single(topic, json.dumps(payload), hostname=hostname, retain=True)
  File "/home/openwb/.local/lib/python3.9/site-packages/paho/mqtt/publish.py", line 240, in single
    multiple([msg], hostname, port, client_id, keepalive, will, auth, tls,
  File "/home/openwb/.local/lib/python3.9/site-packages/paho/mqtt/publish.py", line 176, in multiple
    client.connect(hostname, port, keepalive)
  File "/home/openwb/.local/lib/python3.9/site-packages/paho/mqtt/client.py", line 914, in connect
    return self.reconnect()
  File "/home/openwb/.local/lib/python3.9/site-packages/paho/mqtt/client.py", line 1044, in reconnect
    sock = self._create_socket_connection()
  File "/home/openwb/.local/lib/python3.9/site-packages/paho/mqtt/client.py", line 3685, in _create_socket_connection
    return socket.create_connection(addr, timeout=self._connect_timeout, source_address=source)
  File "/usr/lib/python3.9/socket.py", line 843, in create_connection
    raise err
  File "/usr/lib/python3.9/socket.py", line 831, in create_connection
    sock.connect(sa)
OSError: [Errno 113] No route to host

2023-03-27 19:14:40,127 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-630, -552, -18, -59], Scale 0
2023-03-27 19:14:40,250 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [35, 13, 12], Scale -1
2023-03-27 19:14:40,301 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23727, 23832, 23510, -24505, -24283, -24475, -24758], Scale -2
2023-03-27 19:14:40,352 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4995], Scale -2
2023-03-27 19:14:40,490 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [6599, 667, 2059], Scale -2
2023-03-27 19:14:40,546 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [41975168, 11740335, 16799964, 15381050, 23260808, 14112282, 4884108, 6210599], Scale 0
2023-03-27 19:14:40,546 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(voltages=[237.27, 238.32, 235.1], powers=[552.0, 18.0, 59.0], currents=[3.5, 1.3, 1.2000000000000002], power_factors=[0.6598999999999999, 0.0667, 0.2059], imported=23260808.0, exported=41975168.0, power=630.0, frequency=49.95)
2023-03-27 19:14:40,547 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2023-03-27 19:14:40,591 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [22000], Scale -3
2023-03-27 19:14:40,599 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [53586976], Scale 0
2023-03-27 19:14:40,607 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [72, 85, 83], Scale -2
2023-03-27 19:14:40,613 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [22335], Scale -3
2023-03-27 19:14:40,613 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[-0.72, -0.85, -0.8300000000000001], power=-22.0, exported=53586976.0, dc_power=-22.335)
2023-03-27 19:14:40,615 - {modules.common.component_context:24} - {DEBUG:component1} - Update Komponente ['SolarEdge Wechselrichter']
2023-03-27 19:14:40,616 - {modules.common.store._api:26} - {DEBUG:component1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-22.0, exported=53586976.0, dc_power=None)
2023-03-27 19:14:40,616 - {modules.common.store._api:30} - {INFO:component1} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-22.0, exported=53586976.0, dc_power=None)
2023-03-27 19:14:40,616 - {modules.common.component_context:24} - {DEBUG:cp2} - Update Komponente ['Ladepunkt']
2023-03-27 19:14:40,617 - {modules.common.component_context:24} - {DEBUG:cp3} - Update Komponente ['Ladepunkt']
2023-03-27 19:14:40,623 - {modules.common.component_context:24} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2023-03-27 19:14:40,623 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(voltages=[237.27, 238.32, 235.1], powers=[552.0, 18.0, 59.0], currents=[3.5, 1.3, 1.2000000000000002], power_factors=[0.6598999999999999, 0.0667, 0.2059], imported=23260808.0, exported=41975168.0, power=630.0, frequency=49.95)
2023-03-27 19:14:40,642 - {control.counter:125} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [31.5, 33.7, 33.8]A
2023-03-27 19:14:40,642 - {control.counter:148} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 23370.0W
2023-03-27 19:14:40,643 - {control.chargepoint:354} - {INFO:MainThread} - LP 2: Keine Ladung, da kein Auto angesteckt ist.
2023-03-27 19:14:40,643 - {control.chargepoint:354} - {INFO:MainThread} - LP 3: Keine Ladung, da kein Auto angesteckt ist.
2023-03-27 19:14:40,646 - {control.data:305} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=False), get=Get(soc=0, daily_exported=0, daily_imported=0, imported=0, exported=0, power=0), set=Set(charging_power_left=0, switch_on_soc_reached=False))
2023-03-27 19:14:40,646 - {control.data:306} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=0, daily_exported=0, power=0, imported=0, exported=0))
2023-03-27 19:14:40,646 - {control.data:334} - {INFO:MainThread} - cp2
ChargepointData(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=ConnectedSoc(fault_str='Kein Fehler.', fault_state=0, range_charged=0, range_unit='km', range=0, soc=0, timestamp=None)), currents=[0.0, 0.0, 0.0], daily_imported=0, daily_exported=0, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=0, phases_in_use=0, plug_state=False, power=0, rfid_timestamp=None, rfid=None, state_str='Keine Ladung, da kein Auto angesteckt ist.', voltages=[237.38, 238.24, 235.09]), set=Set(change_ev_permitted=False, charging_ev=-1, charging_ev_prev=-1, current=0, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='_', 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), manual_lock=False, phases_to_use=0, plug_state_prev=False, plug_time=None, required_power=0, rfid=None, target_current=0, charging_ev_data=<control.ev.Ev object at 0x7f262018ff10>), config=Config(connection_module={'type': 'external_openwb', 'name': 'Externe openWB', 'configuration': {'ip_address': '192.168.178.155', 'duo_num': 1}}, power_module={}, ev=0, name='Standard-Ladepunkt', type='external_openwb', template=0, connected_phases=3, phase_1=1, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=2))
2023-03-27 19:14:40,647 - {control.data:334} - {INFO:MainThread} - cp3
ChargepointData(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=ConnectedSoc(fault_str='Kein Fehler.', fault_state=0, range_charged=0, range_unit='km', range=0, soc=0, timestamp=None)), currents=[0.0, 0.0, 0.0], daily_imported=0, daily_exported=0, exported=0, fault_str='Die Verbindung zum Host ist fehlgeschlagen. Überprüfe Adresse und Netzwerk.', fault_state=2, imported=0, phases_in_use=0, plug_state=False, power=0, rfid_timestamp=None, rfid=None, state_str='Keine Ladung, da kein Auto angesteckt ist.', voltages=[230.0, 230.0, 230.0]), set=Set(change_ev_permitted=False, charging_ev=-1, charging_ev_prev=-1, current=0, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='_', 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), manual_lock=False, phases_to_use=0, plug_state_prev=False, plug_time=None, required_power=0, rfid=None, target_current=0, charging_ev_data=<control.ev.Ev object at 0x7f2620295fa0>), config=Config(connection_module={'type': 'external_openwb', 'name': 'Externe openWB', 'configuration': {'ip_address': '192.168.178.156', 'duo_num': 1}}, power_module={}, ev=0, name='Standard-Ladepunkt', type='external_openwb', template=0, connected_phases=3, phase_1=2, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=3))
2023-03-27 19:14:40,647 - {control.data:334} - {INFO:MainThread} - cpt0
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=0, max_current_multi_phases=16, max_current_single_phase=16, name='Standard Ladepunkt-Vorlage', rfid_enabling=False, valid_tags=[])
2023-03-27 19:14:40,647 - {control.data:334} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[35, 35, 35], max_total_power=24000), get=Get(powers=[552.0, 18.0, 59.0], currents=[3.5, 1.3, 1.2], voltages=[237.27, 238.32, 235.1], power_factors=[0.66, 0.07, 0.21], unbalanced_load=0, frequency=49.95, daily_exported=7488.0, daily_imported=8121.0, imported=23260808.0, exported=41975168.0, fault_state=0, fault_str='Kein Fehler.', power=630.0), set=Set(reserved_surplus=0, released_surplus=0, raw_power_left=23370.0, raw_currents_left=[31.5, 33.7, 33.8], surplus_power_left=0, state_str=''))
2023-03-27 19:14:40,647 - {control.data:310} - {INFO:MainThread} - counter_all_data
CounterAllData(config=Config(reserve_for_not_charging=True), get=Get(hierarchy=[{'id': 0, 'type': 'counter', 'children': [{'id': 1, 'type': 'inverter', 'children': []}, {'id': 2, 'type': 'cp', 'children': []}, {'id': 3, 'type': 'cp', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=652.0, invalid_home_consumption=0, daily_yield_home_consumption=14385.0))
2023-03-27 19:14:40,647 - {control.data:334} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2023-03-27 19:14:40,647 - {control.data:334} - {INFO:MainThread} - ev0
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17, min_current=6, max_current_single_phase=32, battery_capacity=82, nominal_difference=0.5), et_num=0), soc_error_counter=0), control_parameter=ControlParameter(required_current=0, required_currents=[0.0, 0.0, 0.0], phases=0, prio=False, timestamp_switch_on_off=None, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, submode=<Chargemode.STOP: 'stop'>, chargemode=<Chargemode.STOP: 'stop'>, used_amount_instant_charging=0, imported_at_plan_start=0, current_plan=None), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=[], get=Get(soc=0, soc_timestamp='', force_soc_update=False, range=0, fault_state=0, fault_str=''))
2023-03-27 19:14:40,648 - {control.data:334} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17, min_current=6, max_current_single_phase=16, battery_capacity=79, nominal_difference=0.5)
2023-03-27 19:14:40,648 - {control.data:314} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=3), pv_charging=PvCharging(bat_prio=True, charging_power_reserve=200, control_range=[-230, 0], feed_in_yield=15000, phase_switch_delay=7, phases_to_use=0, rundown_power=1000, rundown_soc=50, switch_off_delay=60, switch_off_soc=40, switch_off_threshold=50, switch_on_delay=30, switch_on_soc=60, switch_on_threshold=1500), scheduled_charging=ScheduledCharging(phases_to_use=0), standby=Standby(phases_to_use=1), stop=Stop(phases_to_use=1), time_charging=TimeCharging(phases_to_use=1), unbalanced_load_limit=18, unbalanced_load=True), control_interval=10, extern_display_mode='local', 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, price_kwh=0.3, range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=False, r1_active=False, r2_active=False))
2023-03-27 19:14:40,648 - {control.data:315} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2023-03-27 19:14:40,648 - {control.data:316} - {INFO:MainThread} - optional_data
OptionalData(et=Et(active=False, config=EtConfig(max_price=0, provider={}), get=EtGet(price=0, price_list=[])), int_display=InternalDisplay(active=False, on_if_plugged_in=True, pin_active=False, pin_code='0000', standby=60, theme='cards'), led=Led(active=False), rfid=Rfid(active=False))
2023-03-27 19:14:40,648 - {control.data:334} - {INFO:MainThread} - pv1
PvData(config=Config(max_ac_out=9900), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=13752.0, monthly_exported=0, yearly_exported=0, exported=53586976.0, fault_state=0, fault_str='Kein Fehler.', power=-22.0))
2023-03-27 19:14:40,648 - {control.data:318} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=13752.0, monthly_exported=0, yearly_exported=0, exported=53586976.0, power=-24.0))
2023-03-27 19:14:40,648 - {control.data:334} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.178.201', 'current_commit': '2023-03-23 13:52:54 +0100 [e55e40fc]', 'current_branch': 'master', 'current_branch_commit': '2023-03-23 13:52:54 +0100 [e55e40fc]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': False, 'debug_level': 10, 'release_train': 'master', 'version': '1.99.102.0', 'datastore_version': 7, 'lastlivevaluesJson': {'timestamp': 1679937277, 'time': '19:14:37', 'grid': 0.673, 'house-power': 0.697, 'charging-all': 0.0, 'pv-all': 0.02, 'cp2-power': 0.0}, 'module_update_completed': True}
2023-03-27 19:14:40,648 - {control.data:347} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 502, 'ip_address': '192.168.178.57'}}
2023-03-27 19:14:40,648 - {control.data:349} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2023-03-27 19:14:40,648 - {control.data:349} - {INFO:MainThread} - component1
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 1, 'configuration': {'modbus_id': 1}}

Hoffentlich das richtige # ***Start*** bis # ***Start*** ;-)

Viele Grüße und Danke
Basti
LutzB
Beiträge: 3781
Registriert: Di Feb 25, 2020 9:23 am
Has thanked: 4 times
Been thanked: 25 times

Re: Feedback Beta 2

Beitrag von LutzB »

Der Lademodus ist an das Fahrzeug bzw. die dort eingestellte Ladeprofil-Vorlage gekoppelt. Aus dem Screenshot ist nicht ersichtlich, ob an den LP verschiedene Fahrzeuge mit unterschiedlichen Vorlagen laden sollen. Bitte mal prüfen.
Basti
Beiträge: 79
Registriert: Di Feb 21, 2023 3:28 pm
Been thanked: 7 times

Re: Feedback Beta 2

Beitrag von Basti »

Screenshot_20230327_194135_Chrome.jpg
Gleiches verhalten bei beiden Fahrzeugen gleich oder Standart und BMW , meinst du das oder ?


Ok wenn ich jedem Ladepunkt ein eigenes Auto gebe mit eigenem Ladeprofil funktioniert es wie gewünscht . Bleibt alles bei einem Auto wechselt der Modus mit. Sprich ich muss ein Ladeprofil erstellen für das gleiche Auto, da ich ja nicht weiß wo ich mein Auto heute oder morgen anstecke und wenn ich es angesteckt habe und zufällig Besuch kommt die nicht laden kann ohne das es beide Boxen betrifft .
LutzB
Beiträge: 3781
Registriert: Di Feb 25, 2020 9:23 am
Has thanked: 4 times
Been thanked: 25 times

Re: Feedback Beta 2

Beitrag von LutzB »

Das ist halt der Unterschied zur 1.9, der etwas Umdenken benötigt. Die meisten Einstellungen hängen nicht mehr am Ladepunkt sondern den Fahrzeugen.

In Deinem Fall wäre noch ein Gast-Fahrzeug sinnvoll. Das wählst Du dann aus, wenn jemand fremdes laden soll.

Für Deine Autos musst Du nur ein Fahrzeug/Ladeprofil anlegen. Einfach beim Anstecken das entsprechende Fahrzeug dem Ladepunkt zuordnen und fertig.
Samoht
Beiträge: 79
Registriert: So Mai 29, 2022 9:53 pm

Re: Feedback Beta 2

Beitrag von Samoht »

LenaK hat geschrieben: Mo Mär 27, 2023 2:53 pm Bitte das Debuglevel auf Details stellen und einen kompletten Durchlauf von # ***Start*** bis # ***Start*** aus dem main.log posten, wenn der Fehler auftritt. Sensible Daten wie Benutzernamen und Kennwörter unkenntlich machen.
Ich hoffe, ich habe hier einen brauchbaren Zeitabschnitt erwischt, kann aufgrund der Zeichenbegrenzung nur einen kleinen Ausschnitt posten 😅

Was habe ich gemacht (im PV Modus):

- Mindeststrom auf 6A
- Ladung hat sofort aufgehört weil SoC nicht erreicht
- Habe Mindest SoC auf 50 % gestellt
- Ladung startet wieder
- Habe Mindest SoC niedriger gestellt (15 % glaube ich)
- Ladung stoppt wieder, weil SoC nicht erreicht

Code: Alles auswählen

2023-03-28 08:35:30,656 - {control.algorithm.algorithm:26} - {INFO:MainThread} - # Algorithmus
2023-03-28 08:35:30,656 - {control.counter:344} - {DEBUG:MainThread} - LP3 Switch-Off-Threshold prüfen: -499W, Schwelle: 50W, freigegebener Überschuss 0W, Einspeisegrenze 0W
2023-03-28 08:35:30,657 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Mindestrom setzen**
2023-03-28 08:35:30,660 - {control.algorithm.min_current:19} - {INFO:MainThread} - Mode-Tuple (<Chargemode.PV_CHARGING: 'pv_charging'>, <Chargemode.PV_CHARGING: 'pv_charging'>, False), Zähler 0
2023-03-28 08:35:30,662 - {control.counter:156} - {DEBUG:MainThread} - Zähler 0: [21.71, 20.02, 20.02]A verbleibende Ströme, 16375.279999999999W verbleibende Leistung
2023-03-28 08:35:30,662 - {control.algorithm.common:87} - {INFO:MainThread} - LP3: Stromstärke 6A
2023-03-28 08:35:30,663 - {control.algorithm.algorithm:34} - {INFO:MainThread} - **Sollstrom setzen**
2023-03-28 08:35:30,666 - {control.counter:185} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: 762.2799999999988W
2023-03-28 08:35:30,667 - {control.counter:448} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf 762.2799999999988W
2023-03-28 08:35:30,667 - {control.algorithm.algorithm:40} - {INFO:MainThread} - **PV-geführten Strom setzen**
2023-03-28 08:35:30,670 - {control.algorithm.filter_chargepoints:118} - {DEBUG:MainThread} - Geordnete Ladepunkte [3]
2023-03-28 08:35:30,670 - {control.algorithm.surplus_controlled:41} - {INFO:MainThread} - Mode-Tuple (<Chargemode.PV_CHARGING: 'pv_charging'>, <Chargemode.PV_CHARGING: 'pv_charging'>, False), Zähler 0
2023-03-28 08:35:30,670 - {control.loadmanagement:82} - {DEBUG:MainThread} - Leistungsüberschreitung auf 762.2799999999988W korrigieren: [10.0, 0.0, 0.0]
2023-03-28 08:35:30,671 - {control.counter:163} - {DEBUG:MainThread} - Zähler 0: [18.39573913043479, 20.02, 20.02]A verbleibende Ströme, 1.1368683772161603e-13W verbleibender Überschuss
2023-03-28 08:35:30,672 - {control.algorithm.common:87} - {INFO:MainThread} - LP3: Stromstärke 9.314260869565212A
2023-03-28 08:35:30,672 - {control.process:22} - {INFO:MainThread} - # Ladung starten.
2023-03-28 08:35:30,674 - {control.chargelog:52} - {DEBUG:MainThread} - imported_since_mode_switch 503.89999999990687 counter 1411975.95
2023-03-28 08:35:30,676 - {control.process:106} - {INFO:MainThread} - LP3: set current 9.31 A
2023-03-28 08:35:30,680 - {modules.common.component_context:24} - {DEBUG:cp3} - Update Komponente ['Ladepunkt']
2023-03-28 08:35:30,682 - {modules.common.component_context:24} - {DEBUG:cp4} - Update Komponente ['Ladepunkt']
2023-03-28 08:35:30,701 - {control.counter:173} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2023-03-28 08:35:30,992 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=update, args=(), kwargs={})
2023-03-28 08:35:40,124 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2023-03-28 08:35:40,125 - {root:61} - {INFO:MainThread} - # ***Start*** 
2023-03-28 08:35:40,127 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=update, args=(), kwargs={})
2023-03-28 08:35:50,176 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2023-03-28 08:35:50,177 - {root:61} - {INFO:MainThread} - # ***Start*** 
2023-03-28 08:35:50,243 - {modules.common.component_context:51} - {DEBUG:device0} - Update Komponenten ['MQTT-Zähler', 'MQTT-Wechselrichter', 'MQTT-Speicher']
2023-03-28 08:35:50,243 - {modules.devices.mqtt.device:47} - {DEBUG:device0} - MQTT-Module müssen nicht ausgelesen werden.
2023-03-28 08:35:50,244 - {modules.common.component_context:24} - {DEBUG:cp3} - Update Komponente ['Ladepunkt']
2023-03-28 08:35:50,245 - {modules.common.component_context:24} - {DEBUG:cp4} - Update Komponente ['Ladepunkt']
2023-03-28 08:35:50,305 - {modules.common.component_context:24} - {DEBUG:component1} - Update Komponente ['MQTT-Wechselrichter']
2023-03-28 08:35:50,306 - {modules.common.component_context:24} - {DEBUG:component2} - Update Komponente ['MQTT-Speicher']
2023-03-28 08:35:50,307 - {modules.common.component_context:24} - {DEBUG:cp3} - Update Komponente ['Ladepunkt']
2023-03-28 08:35:50,309 - {modules.common.component_context:24} - {DEBUG:cp4} - Update Komponente ['Ladepunkt']
2023-03-28 08:35:50,319 - {modules.common.component_context:24} - {DEBUG:component0} - Update Komponente ['MQTT-Zähler']
2023-03-28 08:35:50,397 - {control.bat_all:166} - {DEBUG:MainThread} -  Verbleibende Speicher-Leistung: 781W
2023-03-28 08:35:50,397 - {control.bat_all:171} - {DEBUG:MainThread} - Ladeleistungs-Reserve (100W) subtrahieren: 681
2023-03-28 08:35:50,398 - {control.bat_all:149} - {INFO:MainThread} - 681W verbliebende Speicher-Leistung
2023-03-28 08:35:50,400 - {control.counter:125} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [28.64, 20.02, 20.03]A
2023-03-28 08:35:50,401 - {control.counter:148} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 17949.28W
2023-03-28 08:35:50,403 - {control.chargepoint:701} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2023-03-28 08:35:50,405 - {control.chargepoint:692} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2023-03-28 08:35:50,408 - {control.chargepoint:871} - {DEBUG:MainThread} - LP 3, EV: BMW i4 M50 (EV-Nr.1): Lademodus pv_charging, Submodus: Chargemode.STOP
2023-03-28 08:35:50,410 - {control.chargepoint:354} - {INFO:MainThread} - LP 3: Laderegelung wurde nicht freigegeben, da Einschalt-SoC nicht erreicht.
2023-03-28 08:35:50,415 - {control.chargepoint:354} - {INFO:MainThread} - LP 4: Keine Ladung, da kein Auto angesteckt ist.
2023-03-28 08:35:50,421 - {control.data:334} - {INFO:MainThread} - bat2
BatData(get=Get(soc=41, daily_exported=0, daily_imported=0, imported=0, exported=0, fault_state=0, fault_str='Kein Fehler.', power=882))
2023-03-28 08:35:50,423 - {control.data:305} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=41, daily_exported=0, daily_imported=0, imported=0, exported=0, power=781), set=Set(charging_power_left=681, switch_on_soc_reached=False))
2023-03-28 08:35:50,423 - {control.data:306} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=484.0, daily_exported=0, power=1973.28, imported=2030865.05, exported=0))
2023-03-28 08:35:50,424 - {control.data:334} - {INFO:MainThread} - cp3
ChargepointData(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=46), currents=[8.64, 0.02, 0.03], daily_imported=484.0, daily_exported=0, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=1411987.06, phases_in_use=1, plug_state=True, power=1973.28, rfid_timestamp=None, rfid=None, state_str='Laderegelung wurde nicht freigegeben, da Einschalt-SoC nicht erreicht.', voltages=[230.71, 232.63, 232.79]), set=Set(change_ev_permitted=[True, ''], charging_ev=-1, charging_ev_prev=1, current=9.31, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='pv_charging', imported_at_mode_switch=1411472.05, imported_at_plugtime=1411472.05, imported_since_mode_switch=503.89999999990687, imported_since_plugged=503.89999999990687, range_charged=2.1908695652169863, time_charged='0:23', timestamp_start_charging='03/28/2023, 08:12:31'), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time='03/27/2023, 19:47:50', required_power=0.0, rfid=None, target_current=0, charging_ev_data=<control.ev.Ev object at 0x6ff90700>), config=Config(connection_module={'type': 'external_openwb', 'name': 'Externe openWB', 'configuration': {'ip_address': '192.168.10.41', 'duo_num': 1}}, power_module={}, ev=1, name='Außen', type='external_openwb', template=0, connected_phases=3, phase_1=1, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=3))
2023-03-28 08:35:50,425 - {control.data:334} - {INFO:MainThread} - cp4
ChargepointData(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=58), currents=[0.0, 0.0, 0.0], daily_imported=0.0, daily_exported=0, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=618877.99, phases_in_use=0, plug_state=False, power=0, rfid_timestamp=None, rfid=None, state_str='Keine Ladung, da kein Auto angesteckt ist.', voltages=[232.69, 232.45, 231.12]), 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='_', 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), manual_lock=False, phases_to_use=0, plug_state_prev=False, plug_time=None, required_power=0, rfid=None, target_current=0, charging_ev_data=<control.ev.Ev object at 0x6f5d58e0>), config=Config(connection_module={'type': 'external_openwb', 'name': 'Externe openWB', 'configuration': {'ip_address': '192.168.10.42', 'duo_num': 1}}, power_module={}, ev=2, name='Innen', type='external_openwb', template=0, connected_phases=3, phase_1=2, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=4))
2023-03-28 08:35:50,426 - {control.data:334} - {INFO:MainThread} - cpt0
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=0, max_current_multi_phases=16, max_current_single_phase=16, name='Standard Ladepunkt-Vorlage', rfid_enabling=False, valid_tags=[])
2023-03-28 08:35:50,427 - {control.data:334} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[20, 20, 20], max_total_power=16000), get=Get(powers=[0.0, 0.0, 0.0], currents=[0.0, 0.0, 0.0], voltages=[230.0, 230.0, 230.0], power_factors=[0.0, 0.0, 0.0], unbalanced_load=0, frequency=0, daily_exported=0, daily_imported=0, imported=0, exported=0, fault_state=0, fault_str='Kein Fehler.', power=24), set=Set(reserved_surplus=0, released_surplus=0, raw_power_left=17949.28, raw_currents_left=[28.64, 20.02, 20.03], surplus_power_left=0, state_str=''))
2023-03-28 08:35:50,427 - {control.data:310} - {INFO:MainThread} - counter_all_data
CounterAllData(config=Config(reserve_for_not_charging=True), get=Get(hierarchy=[{'id': 0, 'type': 'counter', 'children': [{'id': 1, 'type': 'inverter', 'children': []}, {'id': 2, 'type': 'bat', 'children': []}, {'id': 3, 'type': 'cp', 'children': []}, {'id': 4, 'type': 'cp', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=112.72000000000003, invalid_home_consumption=0, daily_yield_home_consumption=0.0))
2023-03-28 08:35:50,428 - {control.data:334} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=6, min_current=6, feed_in_limit=False, min_soc=15, max_soc=95), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=13, limit=Limit(selected='none', amount=13000, soc=50))))
2023-03-28 08:35:50,429 - {control.data:334} - {INFO:MainThread} - ev0
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17, min_current=6, max_current_single_phase=32, battery_capacity=82, nominal_difference=0.5), et_num=0), soc_error_counter=0), control_parameter=ControlParameter(required_current=0, required_currents=[0.0, 0.0, 0.0], phases=0, prio=False, timestamp_switch_on_off=None, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, submode=<Chargemode.STOP: 'stop'>, chargemode=<Chargemode.STOP: 'stop'>, used_amount_instant_charging=0, imported_at_plan_start=0, current_plan=None), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=[], get=Get(soc=0, soc_timestamp='', force_soc_update=False, range=0, fault_state=0, fault_str=''))
2023-03-28 08:35:50,429 - {control.data:334} - {INFO:MainThread} - ev1
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='BMW', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=23, min_current=6, max_current_single_phase=16, battery_capacity=81, nominal_difference=2), et_num=0), soc_error_counter=0), control_parameter=ControlParameter(required_current=0, required_currents=[0, 0.0, 0.0], phases=1, prio=False, timestamp_switch_on_off=None, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, submode=<Chargemode.STOP: 'stop'>, chargemode=<Chargemode.PV_CHARGING: 'pv_charging'>, used_amount_instant_charging=0, imported_at_plan_start=0, current_plan=None), charge_template=0, ev_template=1, name='BMW i4 M50', tag_id=[], get=Get(soc=46, soc_timestamp='03/28/2023, 08:35:20', force_soc_update=False, range=0, fault_state=0, fault_str='Kein Fehler.'))
2023-03-28 08:35:50,430 - {control.data:334} - {INFO:MainThread} - ev2
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Opel', max_current_multi_phases=16, max_phases=3, phase_switch_pause=5, prevent_phase_switch=False, prevent_charge_stop=True, control_pilot_interruption=True, control_pilot_interruption_duration=4, average_consump=25, min_current=6, max_current_single_phase=16, battery_capacity=45, nominal_difference=2), et_num=0), soc_error_counter=0), control_parameter=ControlParameter(required_current=0, required_currents=[0.0, 0.0, 0.0], phases=0, prio=False, timestamp_switch_on_off=None, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, submode='stop', chargemode='stop', used_amount_instant_charging=0, imported_at_plan_start=0, current_plan=None), charge_template=0, ev_template=2, name='Opel Mokka-e', tag_id=[], get=Get(soc=58, soc_timestamp='03/27/2023, 23:08:00', force_soc_update=False, range=96, fault_state=0, fault_str='Kein Fehler.'))
2023-03-28 08:35:50,430 - {control.data:334} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=23, min_current=6, max_current_single_phase=16, battery_capacity=81, nominal_difference=2)
2023-03-28 08:35:50,430 - {control.data:334} - {INFO:MainThread} - et1
EvTemplateData(name='BMW', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=23, min_current=6, max_current_single_phase=16, battery_capacity=81, nominal_difference=2)
2023-03-28 08:35:50,432 - {control.data:334} - {INFO:MainThread} - et2
EvTemplateData(name='Opel', max_current_multi_phases=16, max_phases=3, phase_switch_pause=5, prevent_phase_switch=False, prevent_charge_stop=True, control_pilot_interruption=True, control_pilot_interruption_duration=4, average_consump=25, min_current=6, max_current_single_phase=16, battery_capacity=45, nominal_difference=2)
2023-03-28 08:35:50,434 - {control.data:314} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=3), pv_charging=PvCharging(bat_prio=False, charging_power_reserve=100, control_range=[-230, 0], feed_in_yield=6900, phase_switch_delay=7, phases_to_use=1, rundown_power=1000, rundown_soc=80, switch_off_delay=120, switch_off_soc=90, switch_off_threshold=50, switch_on_delay=30, switch_on_soc=95, switch_on_threshold=1400), scheduled_charging=ScheduledCharging(phases_to_use=0), standby=Standby(phases_to_use=1), stop=Stop(phases_to_use=1), time_charging=TimeCharging(phases_to_use=1), unbalanced_load_limit=18, unbalanced_load=False), control_interval=20, extern_display_mode='local', 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, price_kwh=0.3, range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=False, r1_active=False, r2_active=False))
2023-03-28 08:35:50,435 - {control.data:315} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2023-03-28 08:35:50,435 - {control.data:316} - {INFO:MainThread} - optional_data
OptionalData(et=Et(active=False, config=EtConfig(max_price=0, provider={}), get=EtGet(price=0, price_list=[])), int_display=InternalDisplay(active=False, on_if_plugged_in=True, pin_active=False, pin_code='0000', standby=60, theme='cards'), led=Led(active=False), rfid=Rfid(active=True))
2023-03-28 08:35:50,435 - {control.data:334} - {INFO:MainThread} - pv1
PvData(config=Config(max_ac_out=0), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0, monthly_exported=0, yearly_exported=0, exported=0, fault_state=0, fault_str='Kein Fehler.', power=-2944))
2023-03-28 08:35:50,436 - {control.data:318} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=0, monthly_exported=0, yearly_exported=0, exported=0, power=-2775))
2023-03-28 08:35:50,436 - {control.data:334} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.10.43', 'current_commit': '2023-03-13 14:52:30 +0100 [91d8e437]', 'current_branch': 'master', 'current_branch_commit': '2023-03-13 14:52:30 +0100 [91d8e437]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': False, 'debug_level': 10, 'release_train': 'master', 'version': '1.99.102.0', 'datastore_version': 7, 'lastlivevaluesJson': {'timestamp': 1679985330, 'time': '08:35:30', 'grid': 0.003, 'house-power': 0.239, 'charging-all': 1.758, 'pv-all': 2.901, 'cp3-power': 1.758, 'cp4-power': 0.0, 'ev1-soc': 46, 'ev2-soc': 58, 'bat-all-power': 0.602, 'bat-all-soc': 41}, 'module_update_completed': True}
2023-03-28 08:35:50,436 - {control.data:347} - {INFO:MainThread} - device0
{'name': 'MQTT', 'type': 'mqtt', 'id': 0, 'configuration': {}}
2023-03-28 08:35:50,437 - {control.data:349} - {INFO:MainThread} - component0
{'name': 'MQTT-Zähler', 'type': 'counter', 'id': 0, 'configuration': {}}
2023-03-28 08:35:50,437 - {control.data:349} - {INFO:MainThread} - component1
{'name': 'MQTT-Wechselrichter', 'type': 'inverter', 'id': 1, 'configuration': {}}
2023-03-28 08:35:50,437 - {control.data:349} - {INFO:MainThread} - component2
{'name': 'MQTT-Speicher', 'type': 'bat', 'id': 2, 'configuration': {}}
2023-03-28 08:35:50,438 - {control.data:321} - {INFO:MainThread} - 

2023-03-28 08:35:50,440 - {control.algorithm.algorithm:26} - {INFO:MainThread} - # Algorithmus
2023-03-28 08:35:50,440 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Mindestrom setzen**
2023-03-28 08:35:50,446 - {control.algorithm.algorithm:34} - {INFO:MainThread} - **Sollstrom setzen**
2023-03-28 08:35:50,450 - {control.counter:185} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: 2515.279999999999W
2023-03-28 08:35:50,450 - {control.counter:448} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf 2515.279999999999W
2023-03-28 08:35:50,451 - {control.algorithm.algorithm:40} - {INFO:MainThread} - **PV-geführten Strom setzen**
2023-03-28 08:35:50,454 - {control.process:22} - {INFO:MainThread} - # Ladung starten.
2023-03-28 08:35:50,456 - {modules.common.component_context:24} - {DEBUG:cp3} - Update Komponente ['Ladepunkt']
2023-03-28 08:35:50,469 - {modules.common.component_context:24} - {DEBUG:cp4} - Update Komponente ['Ladepunkt']
2023-03-28 08:35:50,479 - {control.counter:173} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2023-03-28 08:35:50,766 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=update, args=(), kwargs={})
2023-03-28 08:36:00,830 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2023-03-28 08:36:00,831 - {root:61} - {INFO:MainThread} - # ***Start*** 
2023-03-28 08:36:00,832 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=update, args=(), kwargs={})
2023-03-28 08:36:10,876 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2023-03-28 08:36:10,877 - {root:61} - {INFO:MainThread} - # ***Start*** 
2023-03-28 08:36:10,935 - {modules.common.component_context:51} - {DEBUG:device0} - Update Komponenten ['MQTT-Zähler', 'MQTT-Wechselrichter', 'MQTT-Speicher']
2023-03-28 08:36:10,936 - {modules.common.component_context:24} - {DEBUG:cp3} - Update Komponente ['Ladepunkt']
2023-03-28 08:36:10,936 - {modules.devices.mqtt.device:47} - {DEBUG:device0} - MQTT-Module müssen nicht ausgelesen werden.
2023-03-28 08:36:10,937 - {modules.common.component_context:24} - {DEBUG:cp4} - Update Komponente ['Ladepunkt']
2023-03-28 08:36:11,011 - {modules.common.component_context:24} - {DEBUG:component1} - Update Komponente ['MQTT-Wechselrichter']
2023-03-28 08:36:11,021 - {modules.common.component_context:24} - {DEBUG:component2} - Update Komponente ['MQTT-Speicher']
2023-03-28 08:36:11,023 - {modules.common.component_context:24} - {DEBUG:cp3} - Update Komponente ['Ladepunkt']
2023-03-28 08:36:11,026 - {modules.common.component_context:24} - {DEBUG:cp4} - Update Komponente ['Ladepunkt']
2023-03-28 08:36:11,041 - {modules.common.component_context:24} - {DEBUG:component0} - Update Komponente ['MQTT-Zähler']
2023-03-28 08:36:11,148 - {control.bat_all:166} - {DEBUG:MainThread} -  Verbleibende Speicher-Leistung: 882W
2023-03-28 08:36:11,148 - {control.bat_all:171} - {DEBUG:MainThread} - Ladeleistungs-Reserve (100W) subtrahieren: 782
2023-03-28 08:36:11,149 - {control.bat_all:149} - {INFO:MainThread} - 782W verbliebende Speicher-Leistung
2023-03-28 08:36:11,157 - {control.counter:125} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [20.0, 20.0, 20.0]A
2023-03-28 08:36:11,157 - {control.counter:148} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 15958W
2023-03-28 08:36:11,160 - {control.chargepoint:701} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2023-03-28 08:36:11,162 - {control.chargepoint:692} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2023-03-28 08:36:11,166 - {control.chargepoint:871} - {DEBUG:MainThread} - LP 3, EV: BMW i4 M50 (EV-Nr.1): Lademodus pv_charging, Submodus: Chargemode.STOP
2023-03-28 08:36:11,166 - {control.chargepoint:354} - {INFO:MainThread} - LP 3: Laderegelung wurde nicht freigegeben, da Einschalt-SoC nicht erreicht.
2023-03-28 08:36:11,169 - {control.chargepoint:354} - {INFO:MainThread} - LP 4: Keine Ladung, da kein Auto angesteckt ist.
2023-03-28 08:36:11,175 - {control.data:334} - {INFO:MainThread} - bat2
BatData(get=Get(soc=41, daily_exported=0, daily_imported=0, imported=0, exported=0, fault_state=0, fault_str='Kein Fehler.', power=2520))
2023-03-28 08:36:11,177 - {control.data:305} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=41, daily_exported=0, daily_imported=0, imported=0, exported=0, power=882), set=Set(charging_power_left=782, switch_on_soc_reached=False))
2023-03-28 08:36:11,180 - {control.data:306} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=484.0, daily_exported=0, power=0, imported=2030866.03, exported=0))
2023-03-28 08:36:11,181 - {control.data:334} - {INFO:MainThread} - cp3
ChargepointData(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=46), currents=[0.0, 0.0, 0.0], daily_imported=484.0, daily_exported=0, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=1411988.04, phases_in_use=0, plug_state=True, power=0, rfid_timestamp=None, rfid=None, state_str='Laderegelung wurde nicht freigegeben, da Einschalt-SoC nicht erreicht.', voltages=[233.09, 232.69, 232.16]), 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='pv_charging', imported_at_mode_switch=1411472.05, imported_at_plugtime=1411472.05, imported_since_mode_switch=503.89999999990687, imported_since_plugged=503.89999999990687, range_charged=2.1908695652169863, time_charged='0:23', timestamp_start_charging='03/28/2023, 08:12:31'), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time='03/27/2023, 19:47:50', required_power=0.0, rfid=None, target_current=0, charging_ev_data=<control.ev.Ev object at 0x6ffe9fa0>), config=Config(connection_module={'type': 'external_openwb', 'name': 'Externe openWB', 'configuration': {'ip_address': '192.168.10.41', 'duo_num': 1}}, power_module={}, ev=1, name='Außen', type='external_openwb', template=0, connected_phases=3, phase_1=1, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=3))
2023-03-28 08:36:11,181 - {control.data:334} - {INFO:MainThread} - cp4
ChargepointData(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=58), currents=[0.0, 0.0, 0.0], daily_imported=0.0, daily_exported=0, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=618877.99, phases_in_use=0, plug_state=False, power=0, rfid_timestamp=None, rfid=None, state_str='Keine Ladung, da kein Auto angesteckt ist.', voltages=[232.44, 231.77, 233.06]), 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='_', 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), manual_lock=False, phases_to_use=0, plug_state_prev=False, plug_time=None, required_power=0, rfid=None, target_current=0, charging_ev_data=<control.ev.Ev object at 0x6ffaf8b0>), config=Config(connection_module={'type': 'external_openwb', 'name': 'Externe openWB', 'configuration': {'ip_address': '192.168.10.42', 'duo_num': 1}}, power_module={}, ev=2, name='Innen', type='external_openwb', template=0, connected_phases=3, phase_1=2, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=4))
2023-03-28 08:36:11,182 - {control.data:334} - {INFO:MainThread} - cpt0
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=0, max_current_multi_phases=16, max_current_single_phase=16, name='Standard Ladepunkt-Vorlage', rfid_enabling=False, valid_tags=[])
2023-03-28 08:36:11,183 - {control.data:334} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[20, 20, 20], max_total_power=16000), get=Get(powers=[0.0, 0.0, 0.0], currents=[0.0, 0.0, 0.0], voltages=[230.0, 230.0, 230.0], power_factors=[0.0, 0.0, 0.0], unbalanced_load=0, frequency=0, daily_exported=0, daily_imported=0, imported=0, exported=0, fault_state=0, fault_str='Kein Fehler.', power=42), set=Set(reserved_surplus=0, released_surplus=0, raw_power_left=15958, raw_currents_left=[20.0, 20.0, 20.0], surplus_power_left=0, state_str=''))
2023-03-28 08:36:11,184 - {control.data:310} - {INFO:MainThread} - counter_all_data
CounterAllData(config=Config(reserve_for_not_charging=True), get=Get(hierarchy=[{'id': 0, 'type': 'counter', 'children': [{'id': 1, 'type': 'inverter', 'children': []}, {'id': 2, 'type': 'bat', 'children': []}, {'id': 3, 'type': 'cp', 'children': []}, {'id': 4, 'type': 'cp', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=282, invalid_home_consumption=0, daily_yield_home_consumption=0.0))
2023-03-28 08:36:11,185 - {control.data:334} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=6, min_current=6, feed_in_limit=False, min_soc=15, max_soc=95), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=13, limit=Limit(selected='none', amount=13000, soc=50))))
2023-03-28 08:36:11,185 - {control.data:334} - {INFO:MainThread} - ev0
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17, min_current=6, max_current_single_phase=32, battery_capacity=82, nominal_difference=0.5), et_num=0), soc_error_counter=0), control_parameter=ControlParameter(required_current=0, required_currents=[0.0, 0.0, 0.0], phases=0, prio=False, timestamp_switch_on_off=None, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, submode=<Chargemode.STOP: 'stop'>, chargemode=<Chargemode.STOP: 'stop'>, used_amount_instant_charging=0, imported_at_plan_start=0, current_plan=None), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=[], get=Get(soc=0, soc_timestamp='', force_soc_update=False, range=0, fault_state=0, fault_str=''))
2023-03-28 08:36:11,186 - {control.data:334} - {INFO:MainThread} - ev1
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='BMW', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=23, min_current=6, max_current_single_phase=16, battery_capacity=81, nominal_difference=2), et_num=0), soc_error_counter=0), control_parameter=ControlParameter(required_current=0, required_currents=[0, 0.0, 0.0], phases=1, prio=False, timestamp_switch_on_off=None, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, submode=<Chargemode.STOP: 'stop'>, chargemode=<Chargemode.PV_CHARGING: 'pv_charging'>, used_amount_instant_charging=0, imported_at_plan_start=0, current_plan=None), charge_template=0, ev_template=1, name='BMW i4 M50', tag_id=[], get=Get(soc=46, soc_timestamp='03/28/2023, 08:35:20', force_soc_update=False, range=0, fault_state=0, fault_str='Kein Fehler.'))
2023-03-28 08:36:11,186 - {control.data:334} - {INFO:MainThread} - ev2
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Opel', max_current_multi_phases=16, max_phases=3, phase_switch_pause=5, prevent_phase_switch=False, prevent_charge_stop=True, control_pilot_interruption=True, control_pilot_interruption_duration=4, average_consump=25, min_current=6, max_current_single_phase=16, battery_capacity=45, nominal_difference=2), et_num=0), soc_error_counter=0), control_parameter=ControlParameter(required_current=0, required_currents=[0.0, 0.0, 0.0], phases=0, prio=False, timestamp_switch_on_off=None, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, submode='stop', chargemode='stop', used_amount_instant_charging=0, imported_at_plan_start=0, current_plan=None), charge_template=0, ev_template=2, name='Opel Mokka-e', tag_id=[], get=Get(soc=58, soc_timestamp='03/27/2023, 23:08:00', force_soc_update=False, range=96, fault_state=0, fault_str='Kein Fehler.'))
2023-03-28 08:36:11,190 - {control.data:334} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=23, min_current=6, max_current_single_phase=16, battery_capacity=81, nominal_difference=2)
2023-03-28 08:36:11,191 - {control.data:334} - {INFO:MainThread} - et1
EvTemplateData(name='BMW', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=23, min_current=6, max_current_single_phase=16, battery_capacity=81, nominal_difference=2)
2023-03-28 08:36:11,196 - {control.data:334} - {INFO:MainThread} - et2
EvTemplateData(name='Opel', max_current_multi_phases=16, max_phases=3, phase_switch_pause=5, prevent_phase_switch=False, prevent_charge_stop=True, control_pilot_interruption=True, control_pilot_interruption_duration=4, average_consump=25, min_current=6, max_current_single_phase=16, battery_capacity=45, nominal_difference=2)
2023-03-28 08:36:11,200 - {control.data:314} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=3), pv_charging=PvCharging(bat_prio=False, charging_power_reserve=100, control_range=[-230, 0], feed_in_yield=6900, phase_switch_delay=7, phases_to_use=1, rundown_power=1000, rundown_soc=80, switch_off_delay=120, switch_off_soc=90, switch_off_threshold=50, switch_on_delay=30, switch_on_soc=95, switch_on_threshold=1400), scheduled_charging=ScheduledCharging(phases_to_use=0), standby=Standby(phases_to_use=1), stop=Stop(phases_to_use=1), time_charging=TimeCharging(phases_to_use=1), unbalanced_load_limit=18, unbalanced_load=False), control_interval=20, extern_display_mode='local', 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, price_kwh=0.3, range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=False, r1_active=False, r2_active=False))
2023-03-28 08:36:11,200 - {control.data:315} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2023-03-28 08:36:11,201 - {control.data:316} - {INFO:MainThread} - optional_data
OptionalData(et=Et(active=False, config=EtConfig(max_price=0, provider={}), get=EtGet(price=0, price_list=[])), int_display=InternalDisplay(active=False, on_if_plugged_in=True, pin_active=False, pin_code='0000', standby=60, theme='cards'), led=Led(active=False), rfid=Rfid(active=True))
2023-03-28 08:36:11,201 - {control.data:334} - {INFO:MainThread} - pv1
PvData(config=Config(max_ac_out=0), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0, monthly_exported=0, yearly_exported=0, exported=0, fault_state=0, fault_str='Kein Fehler.', power=-2760))
2023-03-28 08:36:11,201 - {control.data:318} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=0, monthly_exported=0, yearly_exported=0, exported=0, power=-2944))
2023-03-28 08:36:11,202 - {control.data:334} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.10.43', 'current_commit': '2023-03-13 14:52:30 +0100 [91d8e437]', 'current_branch': 'master', 'current_branch_commit': '2023-03-13 14:52:30 +0100 [91d8e437]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': False, 'debug_level': 10, 'release_train': 'master', 'version': '1.99.102.0', 'datastore_version': 7, 'lastlivevaluesJson': {'timestamp': 1679985350, 'time': '08:35:50', 'grid': 0.024, 'house-power': 0.113, 'charging-all': 1.973, 'pv-all': 2.775, 'cp3-power': 1.973, 'cp4-power': 0.0, 'ev1-soc': 46, 'ev2-soc': 58, 'bat-all-power': 0.781, 'bat-all-soc': 41}, 'module_update_completed': True}
2023-03-28 08:36:11,204 - {control.data:347} - {INFO:MainThread} - device0
{'name': 'MQTT', 'type': 'mqtt', 'id': 0, 'configuration': {}}
2023-03-28 08:36:11,209 - {control.data:349} - {INFO:MainThread} - component0
{'name': 'MQTT-Zähler', 'type': 'counter', 'id': 0, 'configuration': {}}
2023-03-28 08:36:11,209 - {control.data:349} - {INFO:MainThread} - component1
{'name': 'MQTT-Wechselrichter', 'type': 'inverter', 'id': 1, 'configuration': {}}
2023-03-28 08:36:11,209 - {control.data:349} - {INFO:MainThread} - component2
{'name': 'MQTT-Speicher', 'type': 'bat', 'id': 2, 'configuration': {}}
2023-03-28 08:36:11,210 - {control.data:321} - {INFO:MainThread} - 

2023-03-28 08:36:11,210 - {control.algorithm.algorithm:26} - {INFO:MainThread} - # Algorithmus
2023-03-28 08:36:11,211 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Mindestrom setzen**
2023-03-28 08:36:11,218 - {control.algorithm.algorithm:34} - {INFO:MainThread} - **Sollstrom setzen**
2023-03-28 08:36:11,225 - {control.counter:185} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: 625.0W
2023-03-28 08:36:11,225 - {control.counter:448} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf 625.0W
2023-03-28 08:36:11,226 - {control.algorithm.algorithm:40} - {INFO:MainThread} - **PV-geführten Strom setzen**
2023-03-28 08:36:11,230 - {control.process:22} - {INFO:MainThread} - # Ladung starten.
2023-03-28 08:36:11,261 - {control.chargelog:146} - {DEBUG:MainThread} - Neuer Ladelogeintrag: {'chargepoint': {'id': 3, 'name': 'Außen'}, 'vehicle': {'id': 1, 'name': 'BMW i4 M50', 'chargemode': 'pv_charging', 'prio': False, 'rfid': None}, 'time': {'begin': '03/28/2023, 08:12:31', 'end': '03/28/2023, 08:36:11', 'time_charged': '0:24'}, 'data': {'range_charged': 2.24, 'imported_since_mode_switch': 515.98, 'imported_since_plugged': 515.98, 'power': 0.35, 'costs': 0.15}}
2023-03-28 08:36:11,270 - {modules.common.component_context:24} - {DEBUG:cp3} - Update Komponente ['Ladepunkt']
2023-03-28 08:36:11,276 - {modules.common.component_context:24} - {DEBUG:cp4} - Update Komponente ['Ladepunkt']
2023-03-28 08:36:11,305 - {control.counter:173} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2023-03-28 08:36:11,586 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=update, args=(), kwargs={})
2023-03-28 08:36:20,693 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2023-03-28 08:36:20,694 - {root:61} - {INFO:MainThread} - # ***Start*** 
2023-03-28 08:36:20,696 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=update, args=(), kwargs={})
2023-03-28 08:36:30,739 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2023-03-28 08:36:30,740 - {root:61} - {INFO:MainThread} - # ***Start*** 
2023-03-28 08:36:30,801 - {modules.common.component_context:51} - {DEBUG:device0} - Update Komponenten ['MQTT-Zähler', 'MQTT-Wechselrichter', 'MQTT-Speicher']
2023-03-28 08:36:30,802 - {modules.common.component_context:24} - {DEBUG:cp3} - Update Komponente ['Ladepunkt']
2023-03-28 08:36:30,802 - {modules.devices.mqtt.device:47} - {DEBUG:device0} - MQTT-Module müssen nicht ausgelesen werden.
2023-03-28 08:36:30,803 - {modules.common.component_context:24} - {DEBUG:cp4} - Update Komponente ['Ladepunkt']
2023-03-28 08:36:30,869 - {modules.common.component_context:24} - {DEBUG:component1} - Update Komponente ['MQTT-Wechselrichter']
2023-03-28 08:36:30,872 - {modules.common.component_context:24} - {DEBUG:component2} - Update Komponente ['MQTT-Speicher']
2023-03-28 08:36:30,876 - {modules.common.component_context:24} - {DEBUG:cp4} - Update Komponente ['Ladepunkt']
2023-03-28 08:36:30,875 - {modules.common.component_context:24} - {DEBUG:cp3} - Update Komponente ['Ladepunkt']
2023-03-28 08:36:30,899 - {modules.common.component_context:24} - {DEBUG:component0} - Update Komponente ['MQTT-Zähler']
2023-03-28 08:36:30,958 - {control.bat_all:166} - {DEBUG:MainThread} -  Verbleibende Speicher-Leistung: 2520W
2023-03-28 08:36:30,959 - {control.bat_all:171} - {DEBUG:MainThread} - Ladeleistungs-Reserve (100W) subtrahieren: 2420
2023-03-28 08:36:30,959 - {control.bat_all:149} - {INFO:MainThread} - 2420W verbliebende Speicher-Leistung
2023-03-28 08:36:30,961 - {control.counter:125} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [20.0, 20.0, 20.0]A
2023-03-28 08:36:30,962 - {control.counter:148} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 16001W
2023-03-28 08:36:30,964 - {control.chargepoint:701} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2023-03-28 08:36:30,965 - {control.chargepoint:692} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2023-03-28 08:36:30,968 - {control.chargepoint:881} - {INFO:MainThread} - LP 3, EV: BMW i4 M50 (EV-Nr.1): Theoretisch benötigter Strom 6A, Lademodus pv_charging, Submodus: Chargemode.INSTANT_CHARGING, Phasen: 1, Priorität: False, max. Ist-Strom: 0.0
2023-03-28 08:36:30,972 - {control.chargepoint:354} - {INFO:MainThread} - LP 4: Keine Ladung, da kein Auto angesteckt ist.
2023-03-28 08:36:30,975 - {control.data:334} - {INFO:MainThread} - bat2
BatData(get=Get(soc=41, daily_exported=0, daily_imported=0, imported=0, exported=0, fault_state=0, fault_str='Kein Fehler.', power=2336))
2023-03-28 08:36:30,978 - {control.data:305} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=41, daily_exported=0, daily_imported=0, imported=0, exported=0, power=2520), set=Set(charging_power_left=2420, switch_on_soc_reached=False))
2023-03-28 08:36:30,979 - {control.data:306} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=484.0, daily_exported=0, power=0, imported=2030866.03, exported=0))
2023-03-28 08:36:30,979 - {control.data:334} - {INFO:MainThread} - cp3
ChargepointData(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=46), currents=[0.0, 0.0, 0.0], daily_imported=484.0, daily_exported=0, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=1411988.04, phases_in_use=0, plug_state=True, power=0, rfid_timestamp=None, rfid=None, state_str=None, voltages=[233.12, 231.73, 231.95]), 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='_', imported_at_mode_switch=1411988.04, imported_at_plugtime=1411472.05, imported_since_mode_switch=0, imported_since_plugged=515.9899999999907, range_charged=0, time_charged='00:00', timestamp_start_charging=None), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time='03/27/2023, 19:47:50', required_power=1380.0, rfid=None, target_current=0, charging_ev_data=<control.ev.Ev object at 0x6f5f4100>), config=Config(connection_module={'type': 'external_openwb', 'name': 'Externe openWB', 'configuration': {'ip_address': '192.168.10.41', 'duo_num': 1}}, power_module={}, ev=1, name='Außen', type='external_openwb', template=0, connected_phases=3, phase_1=1, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=3))
2023-03-28 08:36:30,981 - {control.data:334} - {INFO:MainThread} - cp4
ChargepointData(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=58), currents=[0.0, 0.0, 0.0], daily_imported=0.0, daily_exported=0, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=618877.99, phases_in_use=0, plug_state=False, power=0, rfid_timestamp=None, rfid=None, state_str='Keine Ladung, da kein Auto angesteckt ist.', voltages=[231.68, 231.52, 233.04]), 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='_', 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), manual_lock=False, phases_to_use=0, plug_state_prev=False, plug_time=None, required_power=0, rfid=None, target_current=0, charging_ev_data=<control.ev.Ev object at 0x6f5eae38>), config=Config(connection_module={'type': 'external_openwb', 'name': 'Externe openWB', 'configuration': {'ip_address': '192.168.10.42', 'duo_num': 1}}, power_module={}, ev=2, name='Innen', type='external_openwb', template=0, connected_phases=3, phase_1=2, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=4))
2023-03-28 08:36:30,981 - {control.data:334} - {INFO:MainThread} - cpt0
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=0, max_current_multi_phases=16, max_current_single_phase=16, name='Standard Ladepunkt-Vorlage', rfid_enabling=False, valid_tags=[])
2023-03-28 08:36:30,982 - {control.data:334} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[20, 20, 20], max_total_power=16000), get=Get(powers=[0.0, 0.0, 0.0], currents=[0.0, 0.0, 0.0], voltages=[230.0, 230.0, 230.0], power_factors=[0.0, 0.0, 0.0], unbalanced_load=0, frequency=0, daily_exported=0, daily_imported=0, imported=0, exported=0, fault_state=0, fault_str='Kein Fehler.', power=-1), set=Set(reserved_surplus=0, released_surplus=0, raw_power_left=16001, raw_currents_left=[20.0, 20.0, 20.0], surplus_power_left=0, state_str=''))
2023-03-28 08:36:30,982 - {control.data:310} - {INFO:MainThread} - counter_all_data
CounterAllData(config=Config(reserve_for_not_charging=True), get=Get(hierarchy=[{'id': 0, 'type': 'counter', 'children': [{'id': 1, 'type': 'inverter', 'children': []}, {'id': 2, 'type': 'bat', 'children': []}, {'id': 3, 'type': 'cp', 'children': []}, {'id': 4, 'type': 'cp', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=346, invalid_home_consumption=0, daily_yield_home_consumption=0.0))
2023-03-28 08:36:30,983 - {control.data:334} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=6, min_current=6, feed_in_limit=False, min_soc=50, max_soc=95), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=13, limit=Limit(selected='none', amount=13000, soc=50))))
2023-03-28 08:36:30,983 - {control.data:334} - {INFO:MainThread} - ev0
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17, min_current=6, max_current_single_phase=32, battery_capacity=82, nominal_difference=0.5), et_num=0), soc_error_counter=0), control_parameter=ControlParameter(required_current=0, required_currents=[0.0, 0.0, 0.0], phases=0, prio=False, timestamp_switch_on_off=None, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, submode=<Chargemode.STOP: 'stop'>, chargemode=<Chargemode.STOP: 'stop'>, used_amount_instant_charging=0, imported_at_plan_start=0, current_plan=None), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=[], get=Get(soc=0, soc_timestamp='', force_soc_update=False, range=0, fault_state=0, fault_str=''))
2023-03-28 08:36:30,987 - {control.data:334} - {INFO:MainThread} - ev1
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='BMW', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=23, min_current=6, max_current_single_phase=16, battery_capacity=81, nominal_difference=2), et_num=0), soc_error_counter=0), control_parameter=ControlParameter(required_current=6, required_currents=[6, 0.0, 0.0], phases=1, prio=False, timestamp_switch_on_off=None, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, submode=<Chargemode.INSTANT_CHARGING: 'instant_charging'>, chargemode=<Chargemode.PV_CHARGING: 'pv_charging'>, used_amount_instant_charging=0, imported_at_plan_start=0, current_plan=None), charge_template=0, ev_template=1, name='BMW i4 M50', tag_id=[], get=Get(soc=46, soc_timestamp='03/28/2023, 08:35:20', force_soc_update=False, range=0, fault_state=0, fault_str='Kein Fehler.'))
2023-03-28 08:36:30,988 - {control.data:334} - {INFO:MainThread} - ev2
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Opel', max_current_multi_phases=16, max_phases=3, phase_switch_pause=5, prevent_phase_switch=False, prevent_charge_stop=True, control_pilot_interruption=True, control_pilot_interruption_duration=4, average_consump=25, min_current=6, max_current_single_phase=16, battery_capacity=45, nominal_difference=2), et_num=0), soc_error_counter=0), control_parameter=ControlParameter(required_current=0, required_currents=[0.0, 0.0, 0.0], phases=0, prio=False, timestamp_switch_on_off=None, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, submode='stop', chargemode='stop', used_amount_instant_charging=0, imported_at_plan_start=0, current_plan=None), charge_template=0, ev_template=2, name='Opel Mokka-e', tag_id=[], get=Get(soc=58, soc_timestamp='03/27/2023, 23:08:00', force_soc_update=False, range=96, fault_state=0, fault_str='Kein Fehler.'))
2023-03-28 08:36:30,988 - {control.data:334} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=23, min_current=6, max_current_single_phase=16, battery_capacity=81, nominal_difference=2)
2023-03-28 08:36:30,988 - {control.data:334} - {INFO:MainThread} - et1
EvTemplateData(name='BMW', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=23, min_current=6, max_current_single_phase=16, battery_capacity=81, nominal_difference=2)
2023-03-28 08:36:30,989 - {control.data:334} - {INFO:MainThread} - et2
EvTemplateData(name='Opel', max_current_multi_phases=16, max_phases=3, phase_switch_pause=5, prevent_phase_switch=False, prevent_charge_stop=True, control_pilot_interruption=True, control_pilot_interruption_duration=4, average_consump=25, min_current=6, max_current_single_phase=16, battery_capacity=45, nominal_difference=2)
2023-03-28 08:36:30,989 - {control.data:314} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=3), pv_charging=PvCharging(bat_prio=False, charging_power_reserve=100, control_range=[-230, 0], feed_in_yield=6900, phase_switch_delay=7, phases_to_use=1, rundown_power=1000, rundown_soc=80, switch_off_delay=120, switch_off_soc=90, switch_off_threshold=50, switch_on_delay=30, switch_on_soc=95, switch_on_threshold=1400), scheduled_charging=ScheduledCharging(phases_to_use=0), standby=Standby(phases_to_use=1), stop=Stop(phases_to_use=1), time_charging=TimeCharging(phases_to_use=1), unbalanced_load_limit=18, unbalanced_load=False), control_interval=20, extern_display_mode='local', 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, price_kwh=0.3, range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=False, r1_active=False, r2_active=False))
2023-03-28 08:36:30,991 - {control.data:315} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2023-03-28 08:36:30,992 - {control.data:316} - {INFO:MainThread} - optional_data
OptionalData(et=Et(active=False, config=EtConfig(max_price=0, provider={}), get=EtGet(price=0, price_list=[])), int_display=InternalDisplay(active=False, on_if_plugged_in=True, pin_active=False, pin_code='0000', standby=60, theme='cards'), led=Led(active=False), rfid=Rfid(active=True))
2023-03-28 08:36:30,992 - {control.data:334} - {INFO:MainThread} - pv1
PvData(config=Config(max_ac_out=0), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0, monthly_exported=0, yearly_exported=0, exported=0, fault_state=0, fault_str='Kein Fehler.', power=-2683))
2023-03-28 08:36:30,992 - {control.data:318} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=0, monthly_exported=0, yearly_exported=0, exported=0, power=-2760))
2023-03-28 08:36:30,992 - {control.data:334} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.10.43', 'current_commit': '2023-03-13 14:52:30 +0100 [91d8e437]', 'current_branch': 'master', 'current_branch_commit': '2023-03-13 14:52:30 +0100 [91d8e437]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': False, 'debug_level': 10, 'release_train': 'master', 'version': '1.99.102.0', 'datastore_version': 7, 'lastlivevaluesJson': {'timestamp': 1679985371, 'time': '08:36:11', 'grid': 0.042, 'house-power': 0.282, 'charging-all': 0.0, 'pv-all': 2.944, 'cp3-power': 0.0, 'cp4-power': 0.0, 'ev1-soc': 46, 'ev2-soc': 58, 'bat-all-power': 0.882, 'bat-all-soc': 41}, 'module_update_completed': True}
2023-03-28 08:36:30,993 - {control.data:347} - {INFO:MainThread} - device0
{'name': 'MQTT', 'type': 'mqtt', 'id': 0, 'configuration': {}}
2023-03-28 08:36:30,993 - {control.data:349} - {INFO:MainThread} - component0
{'name': 'MQTT-Zähler', 'type': 'counter', 'id': 0, 'configuration': {}}
2023-03-28 08:36:30,993 - {control.data:349} - {INFO:MainThread} - component1
{'name': 'MQTT-Wechselrichter', 'type': 'inverter', 'id': 1, 'configuration': {}}
2023-03-28 08:36:30,994 - {control.data:349} - {INFO:MainThread} - component2
{'name': 'MQTT-Speicher', 'type': 'bat', 'id': 2, 'configuration': {}}
2023-03-28 08:36:30,994 - {control.data:321} - {INFO:MainThread} - 
Samoht
Beiträge: 79
Registriert: So Mai 29, 2022 9:53 pm

Re: Feedback Beta 2

Beitrag von Samoht »

Bildschirm­foto 2023-03-28 um 11.09.54.png
Lässt sich der Parameter eigentlich anpassen?
LenaK
Beiträge: 1315
Registriert: Fr Jan 22, 2021 6:40 am
Been thanked: 17 times

Re: Feedback Beta 2

Beitrag von LenaK »

Samoht hat geschrieben: Di Mär 28, 2023 7:04 am
LenaK hat geschrieben: Mo Mär 27, 2023 2:53 pm Bitte das Debuglevel auf Details stellen und einen kompletten Durchlauf von # ***Start*** bis # ***Start*** aus dem main.log posten, wenn der Fehler auftritt. Sensible Daten wie Benutzernamen und Kennwörter unkenntlich machen.
Ich hoffe, ich habe hier einen brauchbaren Zeitabschnitt erwischt, kann aufgrund der Zeichenbegrenzung nur einen kleinen Ausschnitt posten 😅

Was habe ich gemacht (im PV Modus):

- Mindeststrom auf 6A
- Ladung hat sofort aufgehört weil SoC nicht erreicht
- Habe Mindest SoC auf 50 % gestellt
- Ladung startet wieder
- Habe Mindest SoC niedriger gestellt (15 % glaube ich)
- Ladung stoppt wieder, weil SoC nicht erreicht

Code: Alles auswählen

2023-03-28 08:35:30,656 - {control.algorithm.algorithm:26} - {INFO:MainThread} - # Algorithmus
2023-03-28 08:35:30,656 - {control.counter:344} - {DEBUG:MainThread} - LP3 Switch-Off-Threshold prüfen: -499W, Schwelle: 50W, freigegebener Überschuss 0W, Einspeisegrenze 0W
2023-03-28 08:35:30,657 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Mindestrom setzen**
2023-03-28 08:35:30,660 - {control.algorithm.min_current:19} - {INFO:MainThread} - Mode-Tuple (<Chargemode.PV_CHARGING: 'pv_charging'>, <Chargemode.PV_CHARGING: 'pv_charging'>, False), Zähler 0
2023-03-28 08:35:30,662 - {control.counter:156} - {DEBUG:MainThread} - Zähler 0: [21.71, 20.02, 20.02]A verbleibende Ströme, 16375.279999999999W verbleibende Leistung
2023-03-28 08:35:30,662 - {control.algorithm.common:87} - {INFO:MainThread} - LP3: Stromstärke 6A
2023-03-28 08:35:30,663 - {control.algorithm.algorithm:34} - {INFO:MainThread} - **Sollstrom setzen**
2023-03-28 08:35:30,666 - {control.counter:185} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: 762.2799999999988W
2023-03-28 08:35:30,667 - {control.counter:448} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf 762.2799999999988W
2023-03-28 08:35:30,667 - {control.algorithm.algorithm:40} - {INFO:MainThread} - **PV-geführten Strom setzen**
2023-03-28 08:35:30,670 - {control.algorithm.filter_chargepoints:118} - {DEBUG:MainThread} - Geordnete Ladepunkte [3]
2023-03-28 08:35:30,670 - {control.algorithm.surplus_controlled:41} - {INFO:MainThread} - Mode-Tuple (<Chargemode.PV_CHARGING: 'pv_charging'>, <Chargemode.PV_CHARGING: 'pv_charging'>, False), Zähler 0
2023-03-28 08:35:30,670 - {control.loadmanagement:82} - {DEBUG:MainThread} - Leistungsüberschreitung auf 762.2799999999988W korrigieren: [10.0, 0.0, 0.0]
2023-03-28 08:35:30,671 - {control.counter:163} - {DEBUG:MainThread} - Zähler 0: [18.39573913043479, 20.02, 20.02]A verbleibende Ströme, 1.1368683772161603e-13W verbleibender Überschuss
2023-03-28 08:35:30,672 - {control.algorithm.common:87} - {INFO:MainThread} - LP3: Stromstärke 9.314260869565212A
2023-03-28 08:35:30,672 - {control.process:22} - {INFO:MainThread} - # Ladung starten.
2023-03-28 08:35:30,674 - {control.chargelog:52} - {DEBUG:MainThread} - imported_since_mode_switch 503.89999999990687 counter 1411975.95
2023-03-28 08:35:30,676 - {control.process:106} - {INFO:MainThread} - LP3: set current 9.31 A
2023-03-28 08:35:30,680 - {modules.common.component_context:24} - {DEBUG:cp3} - Update Komponente ['Ladepunkt']
2023-03-28 08:35:30,682 - {modules.common.component_context:24} - {DEBUG:cp4} - Update Komponente ['Ladepunkt']
2023-03-28 08:35:30,701 - {control.counter:173} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2023-03-28 08:35:30,992 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=update, args=(), kwargs={})
2023-03-28 08:35:40,124 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2023-03-28 08:35:40,125 - {root:61} - {INFO:MainThread} - # ***Start*** 
2023-03-28 08:35:40,127 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=update, args=(), kwargs={})
2023-03-28 08:35:50,176 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2023-03-28 08:35:50,177 - {root:61} - {INFO:MainThread} - # ***Start*** 
2023-03-28 08:35:50,243 - {modules.common.component_context:51} - {DEBUG:device0} - Update Komponenten ['MQTT-Zähler', 'MQTT-Wechselrichter', 'MQTT-Speicher']
2023-03-28 08:35:50,243 - {modules.devices.mqtt.device:47} - {DEBUG:device0} - MQTT-Module müssen nicht ausgelesen werden.
2023-03-28 08:35:50,244 - {modules.common.component_context:24} - {DEBUG:cp3} - Update Komponente ['Ladepunkt']
2023-03-28 08:35:50,245 - {modules.common.component_context:24} - {DEBUG:cp4} - Update Komponente ['Ladepunkt']
2023-03-28 08:35:50,305 - {modules.common.component_context:24} - {DEBUG:component1} - Update Komponente ['MQTT-Wechselrichter']
2023-03-28 08:35:50,306 - {modules.common.component_context:24} - {DEBUG:component2} - Update Komponente ['MQTT-Speicher']
2023-03-28 08:35:50,307 - {modules.common.component_context:24} - {DEBUG:cp3} - Update Komponente ['Ladepunkt']
2023-03-28 08:35:50,309 - {modules.common.component_context:24} - {DEBUG:cp4} - Update Komponente ['Ladepunkt']
2023-03-28 08:35:50,319 - {modules.common.component_context:24} - {DEBUG:component0} - Update Komponente ['MQTT-Zähler']
2023-03-28 08:35:50,397 - {control.bat_all:166} - {DEBUG:MainThread} -  Verbleibende Speicher-Leistung: 781W
2023-03-28 08:35:50,397 - {control.bat_all:171} - {DEBUG:MainThread} - Ladeleistungs-Reserve (100W) subtrahieren: 681
2023-03-28 08:35:50,398 - {control.bat_all:149} - {INFO:MainThread} - 681W verbliebende Speicher-Leistung
2023-03-28 08:35:50,400 - {control.counter:125} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [28.64, 20.02, 20.03]A
2023-03-28 08:35:50,401 - {control.counter:148} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 17949.28W
2023-03-28 08:35:50,403 - {control.chargepoint:701} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2023-03-28 08:35:50,405 - {control.chargepoint:692} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2023-03-28 08:35:50,408 - {control.chargepoint:871} - {DEBUG:MainThread} - LP 3, EV: BMW i4 M50 (EV-Nr.1): Lademodus pv_charging, Submodus: Chargemode.STOP
2023-03-28 08:35:50,410 - {control.chargepoint:354} - {INFO:MainThread} - LP 3: Laderegelung wurde nicht freigegeben, da Einschalt-SoC nicht erreicht.
2023-03-28 08:35:50,415 - {control.chargepoint:354} - {INFO:MainThread} - LP 4: Keine Ladung, da kein Auto angesteckt ist.
2023-03-28 08:35:50,421 - {control.data:334} - {INFO:MainThread} - bat2
BatData(get=Get(soc=41, daily_exported=0, daily_imported=0, imported=0, exported=0, fault_state=0, fault_str='Kein Fehler.', power=882))
2023-03-28 08:35:50,423 - {control.data:305} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=41, daily_exported=0, daily_imported=0, imported=0, exported=0, power=781), set=Set(charging_power_left=681, switch_on_soc_reached=False))
2023-03-28 08:35:50,423 - {control.data:306} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=484.0, daily_exported=0, power=1973.28, imported=2030865.05, exported=0))
2023-03-28 08:35:50,424 - {control.data:334} - {INFO:MainThread} - cp3
ChargepointData(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=46), currents=[8.64, 0.02, 0.03], daily_imported=484.0, daily_exported=0, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=1411987.06, phases_in_use=1, plug_state=True, power=1973.28, rfid_timestamp=None, rfid=None, state_str='Laderegelung wurde nicht freigegeben, da Einschalt-SoC nicht erreicht.', voltages=[230.71, 232.63, 232.79]), set=Set(change_ev_permitted=[True, ''], charging_ev=-1, charging_ev_prev=1, current=9.31, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='pv_charging', imported_at_mode_switch=1411472.05, imported_at_plugtime=1411472.05, imported_since_mode_switch=503.89999999990687, imported_since_plugged=503.89999999990687, range_charged=2.1908695652169863, time_charged='0:23', timestamp_start_charging='03/28/2023, 08:12:31'), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time='03/27/2023, 19:47:50', required_power=0.0, rfid=None, target_current=0, charging_ev_data=<control.ev.Ev object at 0x6ff90700>), config=Config(connection_module={'type': 'external_openwb', 'name': 'Externe openWB', 'configuration': {'ip_address': '192.168.10.41', 'duo_num': 1}}, power_module={}, ev=1, name='Außen', type='external_openwb', template=0, connected_phases=3, phase_1=1, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=3))
2023-03-28 08:35:50,425 - {control.data:334} - {INFO:MainThread} - cp4
ChargepointData(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=58), currents=[0.0, 0.0, 0.0], daily_imported=0.0, daily_exported=0, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=618877.99, phases_in_use=0, plug_state=False, power=0, rfid_timestamp=None, rfid=None, state_str='Keine Ladung, da kein Auto angesteckt ist.', voltages=[232.69, 232.45, 231.12]), 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='_', 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), manual_lock=False, phases_to_use=0, plug_state_prev=False, plug_time=None, required_power=0, rfid=None, target_current=0, charging_ev_data=<control.ev.Ev object at 0x6f5d58e0>), config=Config(connection_module={'type': 'external_openwb', 'name': 'Externe openWB', 'configuration': {'ip_address': '192.168.10.42', 'duo_num': 1}}, power_module={}, ev=2, name='Innen', type='external_openwb', template=0, connected_phases=3, phase_1=2, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=4))
2023-03-28 08:35:50,426 - {control.data:334} - {INFO:MainThread} - cpt0
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=0, max_current_multi_phases=16, max_current_single_phase=16, name='Standard Ladepunkt-Vorlage', rfid_enabling=False, valid_tags=[])
2023-03-28 08:35:50,427 - {control.data:334} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[20, 20, 20], max_total_power=16000), get=Get(powers=[0.0, 0.0, 0.0], currents=[0.0, 0.0, 0.0], voltages=[230.0, 230.0, 230.0], power_factors=[0.0, 0.0, 0.0], unbalanced_load=0, frequency=0, daily_exported=0, daily_imported=0, imported=0, exported=0, fault_state=0, fault_str='Kein Fehler.', power=24), set=Set(reserved_surplus=0, released_surplus=0, raw_power_left=17949.28, raw_currents_left=[28.64, 20.02, 20.03], surplus_power_left=0, state_str=''))
2023-03-28 08:35:50,427 - {control.data:310} - {INFO:MainThread} - counter_all_data
CounterAllData(config=Config(reserve_for_not_charging=True), get=Get(hierarchy=[{'id': 0, 'type': 'counter', 'children': [{'id': 1, 'type': 'inverter', 'children': []}, {'id': 2, 'type': 'bat', 'children': []}, {'id': 3, 'type': 'cp', 'children': []}, {'id': 4, 'type': 'cp', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=112.72000000000003, invalid_home_consumption=0, daily_yield_home_consumption=0.0))
2023-03-28 08:35:50,428 - {control.data:334} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=6, min_current=6, feed_in_limit=False, min_soc=15, max_soc=95), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=13, limit=Limit(selected='none', amount=13000, soc=50))))
2023-03-28 08:35:50,429 - {control.data:334} - {INFO:MainThread} - ev0
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17, min_current=6, max_current_single_phase=32, battery_capacity=82, nominal_difference=0.5), et_num=0), soc_error_counter=0), control_parameter=ControlParameter(required_current=0, required_currents=[0.0, 0.0, 0.0], phases=0, prio=False, timestamp_switch_on_off=None, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, submode=<Chargemode.STOP: 'stop'>, chargemode=<Chargemode.STOP: 'stop'>, used_amount_instant_charging=0, imported_at_plan_start=0, current_plan=None), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=[], get=Get(soc=0, soc_timestamp='', force_soc_update=False, range=0, fault_state=0, fault_str=''))
2023-03-28 08:35:50,429 - {control.data:334} - {INFO:MainThread} - ev1
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='BMW', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=23, min_current=6, max_current_single_phase=16, battery_capacity=81, nominal_difference=2), et_num=0), soc_error_counter=0), control_parameter=ControlParameter(required_current=0, required_currents=[0, 0.0, 0.0], phases=1, prio=False, timestamp_switch_on_off=None, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, submode=<Chargemode.STOP: 'stop'>, chargemode=<Chargemode.PV_CHARGING: 'pv_charging'>, used_amount_instant_charging=0, imported_at_plan_start=0, current_plan=None), charge_template=0, ev_template=1, name='BMW i4 M50', tag_id=[], get=Get(soc=46, soc_timestamp='03/28/2023, 08:35:20', force_soc_update=False, range=0, fault_state=0, fault_str='Kein Fehler.'))
2023-03-28 08:35:50,430 - {control.data:334} - {INFO:MainThread} - ev2
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Opel', max_current_multi_phases=16, max_phases=3, phase_switch_pause=5, prevent_phase_switch=False, prevent_charge_stop=True, control_pilot_interruption=True, control_pilot_interruption_duration=4, average_consump=25, min_current=6, max_current_single_phase=16, battery_capacity=45, nominal_difference=2), et_num=0), soc_error_counter=0), control_parameter=ControlParameter(required_current=0, required_currents=[0.0, 0.0, 0.0], phases=0, prio=False, timestamp_switch_on_off=None, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, submode='stop', chargemode='stop', used_amount_instant_charging=0, imported_at_plan_start=0, current_plan=None), charge_template=0, ev_template=2, name='Opel Mokka-e', tag_id=[], get=Get(soc=58, soc_timestamp='03/27/2023, 23:08:00', force_soc_update=False, range=96, fault_state=0, fault_str='Kein Fehler.'))
2023-03-28 08:35:50,430 - {control.data:334} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=23, min_current=6, max_current_single_phase=16, battery_capacity=81, nominal_difference=2)
2023-03-28 08:35:50,430 - {control.data:334} - {INFO:MainThread} - et1
EvTemplateData(name='BMW', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=23, min_current=6, max_current_single_phase=16, battery_capacity=81, nominal_difference=2)
2023-03-28 08:35:50,432 - {control.data:334} - {INFO:MainThread} - et2
EvTemplateData(name='Opel', max_current_multi_phases=16, max_phases=3, phase_switch_pause=5, prevent_phase_switch=False, prevent_charge_stop=True, control_pilot_interruption=True, control_pilot_interruption_duration=4, average_consump=25, min_current=6, max_current_single_phase=16, battery_capacity=45, nominal_difference=2)
2023-03-28 08:35:50,434 - {control.data:314} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=3), pv_charging=PvCharging(bat_prio=False, charging_power_reserve=100, control_range=[-230, 0], feed_in_yield=6900, phase_switch_delay=7, phases_to_use=1, rundown_power=1000, rundown_soc=80, switch_off_delay=120, switch_off_soc=90, switch_off_threshold=50, switch_on_delay=30, switch_on_soc=95, switch_on_threshold=1400), scheduled_charging=ScheduledCharging(phases_to_use=0), standby=Standby(phases_to_use=1), stop=Stop(phases_to_use=1), time_charging=TimeCharging(phases_to_use=1), unbalanced_load_limit=18, unbalanced_load=False), control_interval=20, extern_display_mode='local', 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, price_kwh=0.3, range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=False, r1_active=False, r2_active=False))
2023-03-28 08:35:50,435 - {control.data:315} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2023-03-28 08:35:50,435 - {control.data:316} - {INFO:MainThread} - optional_data
OptionalData(et=Et(active=False, config=EtConfig(max_price=0, provider={}), get=EtGet(price=0, price_list=[])), int_display=InternalDisplay(active=False, on_if_plugged_in=True, pin_active=False, pin_code='0000', standby=60, theme='cards'), led=Led(active=False), rfid=Rfid(active=True))
2023-03-28 08:35:50,435 - {control.data:334} - {INFO:MainThread} - pv1
PvData(config=Config(max_ac_out=0), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0, monthly_exported=0, yearly_exported=0, exported=0, fault_state=0, fault_str='Kein Fehler.', power=-2944))
2023-03-28 08:35:50,436 - {control.data:318} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=0, monthly_exported=0, yearly_exported=0, exported=0, power=-2775))
2023-03-28 08:35:50,436 - {control.data:334} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.10.43', 'current_commit': '2023-03-13 14:52:30 +0100 [91d8e437]', 'current_branch': 'master', 'current_branch_commit': '2023-03-13 14:52:30 +0100 [91d8e437]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': False, 'debug_level': 10, 'release_train': 'master', 'version': '1.99.102.0', 'datastore_version': 7, 'lastlivevaluesJson': {'timestamp': 1679985330, 'time': '08:35:30', 'grid': 0.003, 'house-power': 0.239, 'charging-all': 1.758, 'pv-all': 2.901, 'cp3-power': 1.758, 'cp4-power': 0.0, 'ev1-soc': 46, 'ev2-soc': 58, 'bat-all-power': 0.602, 'bat-all-soc': 41}, 'module_update_completed': True}
2023-03-28 08:35:50,436 - {control.data:347} - {INFO:MainThread} - device0
{'name': 'MQTT', 'type': 'mqtt', 'id': 0, 'configuration': {}}
2023-03-28 08:35:50,437 - {control.data:349} - {INFO:MainThread} - component0
{'name': 'MQTT-Zähler', 'type': 'counter', 'id': 0, 'configuration': {}}
2023-03-28 08:35:50,437 - {control.data:349} - {INFO:MainThread} - component1
{'name': 'MQTT-Wechselrichter', 'type': 'inverter', 'id': 1, 'configuration': {}}
2023-03-28 08:35:50,437 - {control.data:349} - {INFO:MainThread} - component2
{'name': 'MQTT-Speicher', 'type': 'bat', 'id': 2, 'configuration': {}}
2023-03-28 08:35:50,438 - {control.data:321} - {INFO:MainThread} - 

2023-03-28 08:35:50,440 - {control.algorithm.algorithm:26} - {INFO:MainThread} - # Algorithmus
2023-03-28 08:35:50,440 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Mindestrom setzen**
2023-03-28 08:35:50,446 - {control.algorithm.algorithm:34} - {INFO:MainThread} - **Sollstrom setzen**
2023-03-28 08:35:50,450 - {control.counter:185} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: 2515.279999999999W
2023-03-28 08:35:50,450 - {control.counter:448} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf 2515.279999999999W
2023-03-28 08:35:50,451 - {control.algorithm.algorithm:40} - {INFO:MainThread} - **PV-geführten Strom setzen**
2023-03-28 08:35:50,454 - {control.process:22} - {INFO:MainThread} - # Ladung starten.
2023-03-28 08:35:50,456 - {modules.common.component_context:24} - {DEBUG:cp3} - Update Komponente ['Ladepunkt']
2023-03-28 08:35:50,469 - {modules.common.component_context:24} - {DEBUG:cp4} - Update Komponente ['Ladepunkt']
2023-03-28 08:35:50,479 - {control.counter:173} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2023-03-28 08:35:50,766 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=update, args=(), kwargs={})
2023-03-28 08:36:00,830 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2023-03-28 08:36:00,831 - {root:61} - {INFO:MainThread} - # ***Start*** 
2023-03-28 08:36:00,832 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=update, args=(), kwargs={})
2023-03-28 08:36:10,876 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2023-03-28 08:36:10,877 - {root:61} - {INFO:MainThread} - # ***Start*** 
2023-03-28 08:36:10,935 - {modules.common.component_context:51} - {DEBUG:device0} - Update Komponenten ['MQTT-Zähler', 'MQTT-Wechselrichter', 'MQTT-Speicher']
2023-03-28 08:36:10,936 - {modules.common.component_context:24} - {DEBUG:cp3} - Update Komponente ['Ladepunkt']
2023-03-28 08:36:10,936 - {modules.devices.mqtt.device:47} - {DEBUG:device0} - MQTT-Module müssen nicht ausgelesen werden.
2023-03-28 08:36:10,937 - {modules.common.component_context:24} - {DEBUG:cp4} - Update Komponente ['Ladepunkt']
2023-03-28 08:36:11,011 - {modules.common.component_context:24} - {DEBUG:component1} - Update Komponente ['MQTT-Wechselrichter']
2023-03-28 08:36:11,021 - {modules.common.component_context:24} - {DEBUG:component2} - Update Komponente ['MQTT-Speicher']
2023-03-28 08:36:11,023 - {modules.common.component_context:24} - {DEBUG:cp3} - Update Komponente ['Ladepunkt']
2023-03-28 08:36:11,026 - {modules.common.component_context:24} - {DEBUG:cp4} - Update Komponente ['Ladepunkt']
2023-03-28 08:36:11,041 - {modules.common.component_context:24} - {DEBUG:component0} - Update Komponente ['MQTT-Zähler']
2023-03-28 08:36:11,148 - {control.bat_all:166} - {DEBUG:MainThread} -  Verbleibende Speicher-Leistung: 882W
2023-03-28 08:36:11,148 - {control.bat_all:171} - {DEBUG:MainThread} - Ladeleistungs-Reserve (100W) subtrahieren: 782
2023-03-28 08:36:11,149 - {control.bat_all:149} - {INFO:MainThread} - 782W verbliebende Speicher-Leistung
2023-03-28 08:36:11,157 - {control.counter:125} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [20.0, 20.0, 20.0]A
2023-03-28 08:36:11,157 - {control.counter:148} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 15958W
2023-03-28 08:36:11,160 - {control.chargepoint:701} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2023-03-28 08:36:11,162 - {control.chargepoint:692} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2023-03-28 08:36:11,166 - {control.chargepoint:871} - {DEBUG:MainThread} - LP 3, EV: BMW i4 M50 (EV-Nr.1): Lademodus pv_charging, Submodus: Chargemode.STOP
2023-03-28 08:36:11,166 - {control.chargepoint:354} - {INFO:MainThread} - LP 3: Laderegelung wurde nicht freigegeben, da Einschalt-SoC nicht erreicht.
2023-03-28 08:36:11,169 - {control.chargepoint:354} - {INFO:MainThread} - LP 4: Keine Ladung, da kein Auto angesteckt ist.
2023-03-28 08:36:11,175 - {control.data:334} - {INFO:MainThread} - bat2
BatData(get=Get(soc=41, daily_exported=0, daily_imported=0, imported=0, exported=0, fault_state=0, fault_str='Kein Fehler.', power=2520))
2023-03-28 08:36:11,177 - {control.data:305} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=41, daily_exported=0, daily_imported=0, imported=0, exported=0, power=882), set=Set(charging_power_left=782, switch_on_soc_reached=False))
2023-03-28 08:36:11,180 - {control.data:306} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=484.0, daily_exported=0, power=0, imported=2030866.03, exported=0))
2023-03-28 08:36:11,181 - {control.data:334} - {INFO:MainThread} - cp3
ChargepointData(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=46), currents=[0.0, 0.0, 0.0], daily_imported=484.0, daily_exported=0, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=1411988.04, phases_in_use=0, plug_state=True, power=0, rfid_timestamp=None, rfid=None, state_str='Laderegelung wurde nicht freigegeben, da Einschalt-SoC nicht erreicht.', voltages=[233.09, 232.69, 232.16]), 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='pv_charging', imported_at_mode_switch=1411472.05, imported_at_plugtime=1411472.05, imported_since_mode_switch=503.89999999990687, imported_since_plugged=503.89999999990687, range_charged=2.1908695652169863, time_charged='0:23', timestamp_start_charging='03/28/2023, 08:12:31'), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time='03/27/2023, 19:47:50', required_power=0.0, rfid=None, target_current=0, charging_ev_data=<control.ev.Ev object at 0x6ffe9fa0>), config=Config(connection_module={'type': 'external_openwb', 'name': 'Externe openWB', 'configuration': {'ip_address': '192.168.10.41', 'duo_num': 1}}, power_module={}, ev=1, name='Außen', type='external_openwb', template=0, connected_phases=3, phase_1=1, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=3))
2023-03-28 08:36:11,181 - {control.data:334} - {INFO:MainThread} - cp4
ChargepointData(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=58), currents=[0.0, 0.0, 0.0], daily_imported=0.0, daily_exported=0, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=618877.99, phases_in_use=0, plug_state=False, power=0, rfid_timestamp=None, rfid=None, state_str='Keine Ladung, da kein Auto angesteckt ist.', voltages=[232.44, 231.77, 233.06]), 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='_', 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), manual_lock=False, phases_to_use=0, plug_state_prev=False, plug_time=None, required_power=0, rfid=None, target_current=0, charging_ev_data=<control.ev.Ev object at 0x6ffaf8b0>), config=Config(connection_module={'type': 'external_openwb', 'name': 'Externe openWB', 'configuration': {'ip_address': '192.168.10.42', 'duo_num': 1}}, power_module={}, ev=2, name='Innen', type='external_openwb', template=0, connected_phases=3, phase_1=2, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=4))
2023-03-28 08:36:11,182 - {control.data:334} - {INFO:MainThread} - cpt0
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=0, max_current_multi_phases=16, max_current_single_phase=16, name='Standard Ladepunkt-Vorlage', rfid_enabling=False, valid_tags=[])
2023-03-28 08:36:11,183 - {control.data:334} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[20, 20, 20], max_total_power=16000), get=Get(powers=[0.0, 0.0, 0.0], currents=[0.0, 0.0, 0.0], voltages=[230.0, 230.0, 230.0], power_factors=[0.0, 0.0, 0.0], unbalanced_load=0, frequency=0, daily_exported=0, daily_imported=0, imported=0, exported=0, fault_state=0, fault_str='Kein Fehler.', power=42), set=Set(reserved_surplus=0, released_surplus=0, raw_power_left=15958, raw_currents_left=[20.0, 20.0, 20.0], surplus_power_left=0, state_str=''))
2023-03-28 08:36:11,184 - {control.data:310} - {INFO:MainThread} - counter_all_data
CounterAllData(config=Config(reserve_for_not_charging=True), get=Get(hierarchy=[{'id': 0, 'type': 'counter', 'children': [{'id': 1, 'type': 'inverter', 'children': []}, {'id': 2, 'type': 'bat', 'children': []}, {'id': 3, 'type': 'cp', 'children': []}, {'id': 4, 'type': 'cp', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=282, invalid_home_consumption=0, daily_yield_home_consumption=0.0))
2023-03-28 08:36:11,185 - {control.data:334} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=6, min_current=6, feed_in_limit=False, min_soc=15, max_soc=95), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=13, limit=Limit(selected='none', amount=13000, soc=50))))
2023-03-28 08:36:11,185 - {control.data:334} - {INFO:MainThread} - ev0
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17, min_current=6, max_current_single_phase=32, battery_capacity=82, nominal_difference=0.5), et_num=0), soc_error_counter=0), control_parameter=ControlParameter(required_current=0, required_currents=[0.0, 0.0, 0.0], phases=0, prio=False, timestamp_switch_on_off=None, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, submode=<Chargemode.STOP: 'stop'>, chargemode=<Chargemode.STOP: 'stop'>, used_amount_instant_charging=0, imported_at_plan_start=0, current_plan=None), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=[], get=Get(soc=0, soc_timestamp='', force_soc_update=False, range=0, fault_state=0, fault_str=''))
2023-03-28 08:36:11,186 - {control.data:334} - {INFO:MainThread} - ev1
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='BMW', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=23, min_current=6, max_current_single_phase=16, battery_capacity=81, nominal_difference=2), et_num=0), soc_error_counter=0), control_parameter=ControlParameter(required_current=0, required_currents=[0, 0.0, 0.0], phases=1, prio=False, timestamp_switch_on_off=None, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, submode=<Chargemode.STOP: 'stop'>, chargemode=<Chargemode.PV_CHARGING: 'pv_charging'>, used_amount_instant_charging=0, imported_at_plan_start=0, current_plan=None), charge_template=0, ev_template=1, name='BMW i4 M50', tag_id=[], get=Get(soc=46, soc_timestamp='03/28/2023, 08:35:20', force_soc_update=False, range=0, fault_state=0, fault_str='Kein Fehler.'))
2023-03-28 08:36:11,186 - {control.data:334} - {INFO:MainThread} - ev2
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Opel', max_current_multi_phases=16, max_phases=3, phase_switch_pause=5, prevent_phase_switch=False, prevent_charge_stop=True, control_pilot_interruption=True, control_pilot_interruption_duration=4, average_consump=25, min_current=6, max_current_single_phase=16, battery_capacity=45, nominal_difference=2), et_num=0), soc_error_counter=0), control_parameter=ControlParameter(required_current=0, required_currents=[0.0, 0.0, 0.0], phases=0, prio=False, timestamp_switch_on_off=None, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, submode='stop', chargemode='stop', used_amount_instant_charging=0, imported_at_plan_start=0, current_plan=None), charge_template=0, ev_template=2, name='Opel Mokka-e', tag_id=[], get=Get(soc=58, soc_timestamp='03/27/2023, 23:08:00', force_soc_update=False, range=96, fault_state=0, fault_str='Kein Fehler.'))
2023-03-28 08:36:11,190 - {control.data:334} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=23, min_current=6, max_current_single_phase=16, battery_capacity=81, nominal_difference=2)
2023-03-28 08:36:11,191 - {control.data:334} - {INFO:MainThread} - et1
EvTemplateData(name='BMW', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=23, min_current=6, max_current_single_phase=16, battery_capacity=81, nominal_difference=2)
2023-03-28 08:36:11,196 - {control.data:334} - {INFO:MainThread} - et2
EvTemplateData(name='Opel', max_current_multi_phases=16, max_phases=3, phase_switch_pause=5, prevent_phase_switch=False, prevent_charge_stop=True, control_pilot_interruption=True, control_pilot_interruption_duration=4, average_consump=25, min_current=6, max_current_single_phase=16, battery_capacity=45, nominal_difference=2)
2023-03-28 08:36:11,200 - {control.data:314} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=3), pv_charging=PvCharging(bat_prio=False, charging_power_reserve=100, control_range=[-230, 0], feed_in_yield=6900, phase_switch_delay=7, phases_to_use=1, rundown_power=1000, rundown_soc=80, switch_off_delay=120, switch_off_soc=90, switch_off_threshold=50, switch_on_delay=30, switch_on_soc=95, switch_on_threshold=1400), scheduled_charging=ScheduledCharging(phases_to_use=0), standby=Standby(phases_to_use=1), stop=Stop(phases_to_use=1), time_charging=TimeCharging(phases_to_use=1), unbalanced_load_limit=18, unbalanced_load=False), control_interval=20, extern_display_mode='local', 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, price_kwh=0.3, range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=False, r1_active=False, r2_active=False))
2023-03-28 08:36:11,200 - {control.data:315} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2023-03-28 08:36:11,201 - {control.data:316} - {INFO:MainThread} - optional_data
OptionalData(et=Et(active=False, config=EtConfig(max_price=0, provider={}), get=EtGet(price=0, price_list=[])), int_display=InternalDisplay(active=False, on_if_plugged_in=True, pin_active=False, pin_code='0000', standby=60, theme='cards'), led=Led(active=False), rfid=Rfid(active=True))
2023-03-28 08:36:11,201 - {control.data:334} - {INFO:MainThread} - pv1
PvData(config=Config(max_ac_out=0), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0, monthly_exported=0, yearly_exported=0, exported=0, fault_state=0, fault_str='Kein Fehler.', power=-2760))
2023-03-28 08:36:11,201 - {control.data:318} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=0, monthly_exported=0, yearly_exported=0, exported=0, power=-2944))
2023-03-28 08:36:11,202 - {control.data:334} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.10.43', 'current_commit': '2023-03-13 14:52:30 +0100 [91d8e437]', 'current_branch': 'master', 'current_branch_commit': '2023-03-13 14:52:30 +0100 [91d8e437]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': False, 'debug_level': 10, 'release_train': 'master', 'version': '1.99.102.0', 'datastore_version': 7, 'lastlivevaluesJson': {'timestamp': 1679985350, 'time': '08:35:50', 'grid': 0.024, 'house-power': 0.113, 'charging-all': 1.973, 'pv-all': 2.775, 'cp3-power': 1.973, 'cp4-power': 0.0, 'ev1-soc': 46, 'ev2-soc': 58, 'bat-all-power': 0.781, 'bat-all-soc': 41}, 'module_update_completed': True}
2023-03-28 08:36:11,204 - {control.data:347} - {INFO:MainThread} - device0
{'name': 'MQTT', 'type': 'mqtt', 'id': 0, 'configuration': {}}
2023-03-28 08:36:11,209 - {control.data:349} - {INFO:MainThread} - component0
{'name': 'MQTT-Zähler', 'type': 'counter', 'id': 0, 'configuration': {}}
2023-03-28 08:36:11,209 - {control.data:349} - {INFO:MainThread} - component1
{'name': 'MQTT-Wechselrichter', 'type': 'inverter', 'id': 1, 'configuration': {}}
2023-03-28 08:36:11,209 - {control.data:349} - {INFO:MainThread} - component2
{'name': 'MQTT-Speicher', 'type': 'bat', 'id': 2, 'configuration': {}}
2023-03-28 08:36:11,210 - {control.data:321} - {INFO:MainThread} - 

2023-03-28 08:36:11,210 - {control.algorithm.algorithm:26} - {INFO:MainThread} - # Algorithmus
2023-03-28 08:36:11,211 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Mindestrom setzen**
2023-03-28 08:36:11,218 - {control.algorithm.algorithm:34} - {INFO:MainThread} - **Sollstrom setzen**
2023-03-28 08:36:11,225 - {control.counter:185} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: 625.0W
2023-03-28 08:36:11,225 - {control.counter:448} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf 625.0W
2023-03-28 08:36:11,226 - {control.algorithm.algorithm:40} - {INFO:MainThread} - **PV-geführten Strom setzen**
2023-03-28 08:36:11,230 - {control.process:22} - {INFO:MainThread} - # Ladung starten.
2023-03-28 08:36:11,261 - {control.chargelog:146} - {DEBUG:MainThread} - Neuer Ladelogeintrag: {'chargepoint': {'id': 3, 'name': 'Außen'}, 'vehicle': {'id': 1, 'name': 'BMW i4 M50', 'chargemode': 'pv_charging', 'prio': False, 'rfid': None}, 'time': {'begin': '03/28/2023, 08:12:31', 'end': '03/28/2023, 08:36:11', 'time_charged': '0:24'}, 'data': {'range_charged': 2.24, 'imported_since_mode_switch': 515.98, 'imported_since_plugged': 515.98, 'power': 0.35, 'costs': 0.15}}
2023-03-28 08:36:11,270 - {modules.common.component_context:24} - {DEBUG:cp3} - Update Komponente ['Ladepunkt']
2023-03-28 08:36:11,276 - {modules.common.component_context:24} - {DEBUG:cp4} - Update Komponente ['Ladepunkt']
2023-03-28 08:36:11,305 - {control.counter:173} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2023-03-28 08:36:11,586 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=update, args=(), kwargs={})
2023-03-28 08:36:20,693 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2023-03-28 08:36:20,694 - {root:61} - {INFO:MainThread} - # ***Start*** 
2023-03-28 08:36:20,696 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=update, args=(), kwargs={})
2023-03-28 08:36:30,739 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2023-03-28 08:36:30,740 - {root:61} - {INFO:MainThread} - # ***Start*** 
2023-03-28 08:36:30,801 - {modules.common.component_context:51} - {DEBUG:device0} - Update Komponenten ['MQTT-Zähler', 'MQTT-Wechselrichter', 'MQTT-Speicher']
2023-03-28 08:36:30,802 - {modules.common.component_context:24} - {DEBUG:cp3} - Update Komponente ['Ladepunkt']
2023-03-28 08:36:30,802 - {modules.devices.mqtt.device:47} - {DEBUG:device0} - MQTT-Module müssen nicht ausgelesen werden.
2023-03-28 08:36:30,803 - {modules.common.component_context:24} - {DEBUG:cp4} - Update Komponente ['Ladepunkt']
2023-03-28 08:36:30,869 - {modules.common.component_context:24} - {DEBUG:component1} - Update Komponente ['MQTT-Wechselrichter']
2023-03-28 08:36:30,872 - {modules.common.component_context:24} - {DEBUG:component2} - Update Komponente ['MQTT-Speicher']
2023-03-28 08:36:30,876 - {modules.common.component_context:24} - {DEBUG:cp4} - Update Komponente ['Ladepunkt']
2023-03-28 08:36:30,875 - {modules.common.component_context:24} - {DEBUG:cp3} - Update Komponente ['Ladepunkt']
2023-03-28 08:36:30,899 - {modules.common.component_context:24} - {DEBUG:component0} - Update Komponente ['MQTT-Zähler']
2023-03-28 08:36:30,958 - {control.bat_all:166} - {DEBUG:MainThread} -  Verbleibende Speicher-Leistung: 2520W
2023-03-28 08:36:30,959 - {control.bat_all:171} - {DEBUG:MainThread} - Ladeleistungs-Reserve (100W) subtrahieren: 2420
2023-03-28 08:36:30,959 - {control.bat_all:149} - {INFO:MainThread} - 2420W verbliebende Speicher-Leistung
2023-03-28 08:36:30,961 - {control.counter:125} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [20.0, 20.0, 20.0]A
2023-03-28 08:36:30,962 - {control.counter:148} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 16001W
2023-03-28 08:36:30,964 - {control.chargepoint:701} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2023-03-28 08:36:30,965 - {control.chargepoint:692} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2023-03-28 08:36:30,968 - {control.chargepoint:881} - {INFO:MainThread} - LP 3, EV: BMW i4 M50 (EV-Nr.1): Theoretisch benötigter Strom 6A, Lademodus pv_charging, Submodus: Chargemode.INSTANT_CHARGING, Phasen: 1, Priorität: False, max. Ist-Strom: 0.0
2023-03-28 08:36:30,972 - {control.chargepoint:354} - {INFO:MainThread} - LP 4: Keine Ladung, da kein Auto angesteckt ist.
2023-03-28 08:36:30,975 - {control.data:334} - {INFO:MainThread} - bat2
BatData(get=Get(soc=41, daily_exported=0, daily_imported=0, imported=0, exported=0, fault_state=0, fault_str='Kein Fehler.', power=2336))
2023-03-28 08:36:30,978 - {control.data:305} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=41, daily_exported=0, daily_imported=0, imported=0, exported=0, power=2520), set=Set(charging_power_left=2420, switch_on_soc_reached=False))
2023-03-28 08:36:30,979 - {control.data:306} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=484.0, daily_exported=0, power=0, imported=2030866.03, exported=0))
2023-03-28 08:36:30,979 - {control.data:334} - {INFO:MainThread} - cp3
ChargepointData(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=46), currents=[0.0, 0.0, 0.0], daily_imported=484.0, daily_exported=0, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=1411988.04, phases_in_use=0, plug_state=True, power=0, rfid_timestamp=None, rfid=None, state_str=None, voltages=[233.12, 231.73, 231.95]), 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='_', imported_at_mode_switch=1411988.04, imported_at_plugtime=1411472.05, imported_since_mode_switch=0, imported_since_plugged=515.9899999999907, range_charged=0, time_charged='00:00', timestamp_start_charging=None), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time='03/27/2023, 19:47:50', required_power=1380.0, rfid=None, target_current=0, charging_ev_data=<control.ev.Ev object at 0x6f5f4100>), config=Config(connection_module={'type': 'external_openwb', 'name': 'Externe openWB', 'configuration': {'ip_address': '192.168.10.41', 'duo_num': 1}}, power_module={}, ev=1, name='Außen', type='external_openwb', template=0, connected_phases=3, phase_1=1, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=3))
2023-03-28 08:36:30,981 - {control.data:334} - {INFO:MainThread} - cp4
ChargepointData(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=58), currents=[0.0, 0.0, 0.0], daily_imported=0.0, daily_exported=0, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=618877.99, phases_in_use=0, plug_state=False, power=0, rfid_timestamp=None, rfid=None, state_str='Keine Ladung, da kein Auto angesteckt ist.', voltages=[231.68, 231.52, 233.04]), 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='_', 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), manual_lock=False, phases_to_use=0, plug_state_prev=False, plug_time=None, required_power=0, rfid=None, target_current=0, charging_ev_data=<control.ev.Ev object at 0x6f5eae38>), config=Config(connection_module={'type': 'external_openwb', 'name': 'Externe openWB', 'configuration': {'ip_address': '192.168.10.42', 'duo_num': 1}}, power_module={}, ev=2, name='Innen', type='external_openwb', template=0, connected_phases=3, phase_1=2, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=4))
2023-03-28 08:36:30,981 - {control.data:334} - {INFO:MainThread} - cpt0
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=0, max_current_multi_phases=16, max_current_single_phase=16, name='Standard Ladepunkt-Vorlage', rfid_enabling=False, valid_tags=[])
2023-03-28 08:36:30,982 - {control.data:334} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[20, 20, 20], max_total_power=16000), get=Get(powers=[0.0, 0.0, 0.0], currents=[0.0, 0.0, 0.0], voltages=[230.0, 230.0, 230.0], power_factors=[0.0, 0.0, 0.0], unbalanced_load=0, frequency=0, daily_exported=0, daily_imported=0, imported=0, exported=0, fault_state=0, fault_str='Kein Fehler.', power=-1), set=Set(reserved_surplus=0, released_surplus=0, raw_power_left=16001, raw_currents_left=[20.0, 20.0, 20.0], surplus_power_left=0, state_str=''))
2023-03-28 08:36:30,982 - {control.data:310} - {INFO:MainThread} - counter_all_data
CounterAllData(config=Config(reserve_for_not_charging=True), get=Get(hierarchy=[{'id': 0, 'type': 'counter', 'children': [{'id': 1, 'type': 'inverter', 'children': []}, {'id': 2, 'type': 'bat', 'children': []}, {'id': 3, 'type': 'cp', 'children': []}, {'id': 4, 'type': 'cp', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=346, invalid_home_consumption=0, daily_yield_home_consumption=0.0))
2023-03-28 08:36:30,983 - {control.data:334} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=6, min_current=6, feed_in_limit=False, min_soc=50, max_soc=95), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=13, limit=Limit(selected='none', amount=13000, soc=50))))
2023-03-28 08:36:30,983 - {control.data:334} - {INFO:MainThread} - ev0
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17, min_current=6, max_current_single_phase=32, battery_capacity=82, nominal_difference=0.5), et_num=0), soc_error_counter=0), control_parameter=ControlParameter(required_current=0, required_currents=[0.0, 0.0, 0.0], phases=0, prio=False, timestamp_switch_on_off=None, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, submode=<Chargemode.STOP: 'stop'>, chargemode=<Chargemode.STOP: 'stop'>, used_amount_instant_charging=0, imported_at_plan_start=0, current_plan=None), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=[], get=Get(soc=0, soc_timestamp='', force_soc_update=False, range=0, fault_state=0, fault_str=''))
2023-03-28 08:36:30,987 - {control.data:334} - {INFO:MainThread} - ev1
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='BMW', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=23, min_current=6, max_current_single_phase=16, battery_capacity=81, nominal_difference=2), et_num=0), soc_error_counter=0), control_parameter=ControlParameter(required_current=6, required_currents=[6, 0.0, 0.0], phases=1, prio=False, timestamp_switch_on_off=None, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, submode=<Chargemode.INSTANT_CHARGING: 'instant_charging'>, chargemode=<Chargemode.PV_CHARGING: 'pv_charging'>, used_amount_instant_charging=0, imported_at_plan_start=0, current_plan=None), charge_template=0, ev_template=1, name='BMW i4 M50', tag_id=[], get=Get(soc=46, soc_timestamp='03/28/2023, 08:35:20', force_soc_update=False, range=0, fault_state=0, fault_str='Kein Fehler.'))
2023-03-28 08:36:30,988 - {control.data:334} - {INFO:MainThread} - ev2
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Opel', max_current_multi_phases=16, max_phases=3, phase_switch_pause=5, prevent_phase_switch=False, prevent_charge_stop=True, control_pilot_interruption=True, control_pilot_interruption_duration=4, average_consump=25, min_current=6, max_current_single_phase=16, battery_capacity=45, nominal_difference=2), et_num=0), soc_error_counter=0), control_parameter=ControlParameter(required_current=0, required_currents=[0.0, 0.0, 0.0], phases=0, prio=False, timestamp_switch_on_off=None, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, submode='stop', chargemode='stop', used_amount_instant_charging=0, imported_at_plan_start=0, current_plan=None), charge_template=0, ev_template=2, name='Opel Mokka-e', tag_id=[], get=Get(soc=58, soc_timestamp='03/27/2023, 23:08:00', force_soc_update=False, range=96, fault_state=0, fault_str='Kein Fehler.'))
2023-03-28 08:36:30,988 - {control.data:334} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=23, min_current=6, max_current_single_phase=16, battery_capacity=81, nominal_difference=2)
2023-03-28 08:36:30,988 - {control.data:334} - {INFO:MainThread} - et1
EvTemplateData(name='BMW', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=23, min_current=6, max_current_single_phase=16, battery_capacity=81, nominal_difference=2)
2023-03-28 08:36:30,989 - {control.data:334} - {INFO:MainThread} - et2
EvTemplateData(name='Opel', max_current_multi_phases=16, max_phases=3, phase_switch_pause=5, prevent_phase_switch=False, prevent_charge_stop=True, control_pilot_interruption=True, control_pilot_interruption_duration=4, average_consump=25, min_current=6, max_current_single_phase=16, battery_capacity=45, nominal_difference=2)
2023-03-28 08:36:30,989 - {control.data:314} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=3), pv_charging=PvCharging(bat_prio=False, charging_power_reserve=100, control_range=[-230, 0], feed_in_yield=6900, phase_switch_delay=7, phases_to_use=1, rundown_power=1000, rundown_soc=80, switch_off_delay=120, switch_off_soc=90, switch_off_threshold=50, switch_on_delay=30, switch_on_soc=95, switch_on_threshold=1400), scheduled_charging=ScheduledCharging(phases_to_use=0), standby=Standby(phases_to_use=1), stop=Stop(phases_to_use=1), time_charging=TimeCharging(phases_to_use=1), unbalanced_load_limit=18, unbalanced_load=False), control_interval=20, extern_display_mode='local', 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, price_kwh=0.3, range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=False, r1_active=False, r2_active=False))
2023-03-28 08:36:30,991 - {control.data:315} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2023-03-28 08:36:30,992 - {control.data:316} - {INFO:MainThread} - optional_data
OptionalData(et=Et(active=False, config=EtConfig(max_price=0, provider={}), get=EtGet(price=0, price_list=[])), int_display=InternalDisplay(active=False, on_if_plugged_in=True, pin_active=False, pin_code='0000', standby=60, theme='cards'), led=Led(active=False), rfid=Rfid(active=True))
2023-03-28 08:36:30,992 - {control.data:334} - {INFO:MainThread} - pv1
PvData(config=Config(max_ac_out=0), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0, monthly_exported=0, yearly_exported=0, exported=0, fault_state=0, fault_str='Kein Fehler.', power=-2683))
2023-03-28 08:36:30,992 - {control.data:318} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=0, monthly_exported=0, yearly_exported=0, exported=0, power=-2760))
2023-03-28 08:36:30,992 - {control.data:334} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.10.43', 'current_commit': '2023-03-13 14:52:30 +0100 [91d8e437]', 'current_branch': 'master', 'current_branch_commit': '2023-03-13 14:52:30 +0100 [91d8e437]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': False, 'debug_level': 10, 'release_train': 'master', 'version': '1.99.102.0', 'datastore_version': 7, 'lastlivevaluesJson': {'timestamp': 1679985371, 'time': '08:36:11', 'grid': 0.042, 'house-power': 0.282, 'charging-all': 0.0, 'pv-all': 2.944, 'cp3-power': 0.0, 'cp4-power': 0.0, 'ev1-soc': 46, 'ev2-soc': 58, 'bat-all-power': 0.882, 'bat-all-soc': 41}, 'module_update_completed': True}
2023-03-28 08:36:30,993 - {control.data:347} - {INFO:MainThread} - device0
{'name': 'MQTT', 'type': 'mqtt', 'id': 0, 'configuration': {}}
2023-03-28 08:36:30,993 - {control.data:349} - {INFO:MainThread} - component0
{'name': 'MQTT-Zähler', 'type': 'counter', 'id': 0, 'configuration': {}}
2023-03-28 08:36:30,993 - {control.data:349} - {INFO:MainThread} - component1
{'name': 'MQTT-Wechselrichter', 'type': 'inverter', 'id': 1, 'configuration': {}}
2023-03-28 08:36:30,994 - {control.data:349} - {INFO:MainThread} - component2
{'name': 'MQTT-Speicher', 'type': 'bat', 'id': 2, 'configuration': {}}
2023-03-28 08:36:30,994 - {control.data:321} - {INFO:MainThread} - 
Das Verhalten ist so richtig. Du hast beim PV-Laden mit Mindeststrom (auf das zurückgefallen wird, wenn der Mindest-Soc erreicht wurde) die Speicher-Beachtung aktiviert.

- Mindeststrom auf 6A
- Ladung hat sofort aufgehört weil SoC nicht erreicht -> im Hinweistext auf der Hauptseite steht "Laderegelung wurde nicht freigegeben, da Einschalt-SoC nicht erreicht.". Ich habe den Hinweistext angepasst, dass es jetzt "Einschalt-SoC des Speichers" heißt.
- Habe Mindest SoC auf 50 % gestellt
- Ladung startet wieder -> es wird bis zum eingestellten Mindest-Soc (des EV) geladen
- Habe Mindest SoC niedriger gestellt (15 % glaube ich)
- Ladung stoppt wieder, weil SoC nicht erreicht -> Mindest-SoC (des EV) erreicht, jetzt wird unter Speicherbeachtung (Ladeeinstellungen -> PV-Laden) mit Mindeststrom geladen.
Samoht
Beiträge: 79
Registriert: So Mai 29, 2022 9:53 pm

Re: Feedback Beta 2

Beitrag von Samoht »

LenaK hat geschrieben: Di Mär 28, 2023 10:13 am Das Verhalten ist so richtig. Du hast beim PV-Laden mit Mindeststrom (auf das zurückgefallen wird, wenn der Mindest-Soc erreicht wurde) die Speicher-Beachtung aktiviert.

- Mindeststrom auf 6A
- Ladung hat sofort aufgehört weil SoC nicht erreicht -> im Hinweistext auf der Hauptseite steht "Laderegelung wurde nicht freigegeben, da Einschalt-SoC nicht erreicht.". Ich habe den Hinweistext angepasst, dass es jetzt "Einschalt-SoC des Speichers" heißt.
- Habe Mindest SoC auf 50 % gestellt
- Ladung startet wieder -> es wird bis zum eingestellten Mindest-Soc (des EV) geladen
- Habe Mindest SoC niedriger gestellt (15 % glaube ich)
- Ladung stoppt wieder, weil SoC nicht erreicht -> Mindest-SoC (des EV) erreicht, jetzt wird unter Speicherbeachtung (Ladeeinstellungen -> PV-Laden) mit Mindeststrom geladen.
Ok, vielleicht habe ich es jetzt verstanden...

Das heißt, mein Problem war, dass unter "Speicherbeachtung (Ladeeinstellungen -> PV-Laden)" viel zu hohe Werte (90-95%) für den Speicher eingestellt waren, die dann das Laden blockiert haben... Dann ist Deine Textänderung bestimmt hilfreich, weil ich dachte, die SoC beziehen sich alle nur auf EV
Gesperrt