Speicher Vorrang funktioniert nicht

Fragen zur Nutzung, Features, usw..
caran17
Beiträge: 36
Registriert: Fr Jul 14, 2023 9:26 am

Re: Speicher Vorrang funktioniert nicht

Beitrag von caran17 »

Elchkopp hat geschrieben: Do Feb 29, 2024 8:22 am Aber eine reservierte Ladeleistung für den Speicher bei Speicher-Vorrang macht doch keinen Sinn in meinen Augen, da in dem Modus Speicher-Prio doch eh erst der gesamte Überschuss in die Hausbatterie gehen soll und erst, wenn die Batterie voll ist oder die maximale Ladeleistung der Batterie anliegt und trotzdem noch (genug) Überschuss vorhanden ist, das Fahrzeug dazu kommt.

Soweit ich das bisher immer verstanden habe, sollten beide Felder nur dann mit Werten ausgestattet werden, wenn die jeweilige Prio-Funktion abgeschwächt werden soll: also bei Prio Fahrzeug trotzdem noch den Akku parallel laden und bei Prio Speicher trotzdem ein definierter Wert für das Laden des Fahrzeugs abgezwackt werden soll.

Was passiert denn, wenn bei beiden Werten 0 (Null) eingetragen wird?

Oder hab ich Euch jetzt falsch verstanden?
Das Problem ist, dass die openWB die max. Ladeleistung des Speichers eben nicht kennt und sie sich das ermitteln muss. Und wenn z. B. die Sonne nachlässt, kann die openWB nicht wissen, dass sie jetzt wieder etwas vom Auto abziehen und in den Speicher lassen könnte. Und mit so einer Einstellung (Mindest-Speicher-Ladeleistung bei Vorrang Speicher) könnte man es fest einstellen und die Wallbox "unterstützen".
caran17
Beiträge: 36
Registriert: Fr Jul 14, 2023 9:26 am

Re: Speicher Vorrang funktioniert nicht

Beitrag von caran17 »

An dem Chart von heute kann man es zufällig ganz gut erkennen. Bei mir ist Speicher-Vorrang eingestellt, die Werte für "Reservierte Ladeleistung" und "Erlaubte Entladeleistung" sind auf 0. Das hat eine Weile sehr gut funktioniert. Um ungefähr 10:45 legte die Sonne dann richtig los (pastellgrün). Also hat die WB die Ladeleistung fürs Auto erhöht (durchgezogene blaue Linie), was wahrscheinlich mit den aktuellen Werten gut passte. Dadurch war es aber irgendwann "zu viel", was die Box aber nicht erkennen kann. Das führt aber dazu, dass dann eine ganze Weile nichts in den Speicher ging (sattes grün). Mit einer Mindest-Ladeleistung für den Speicher (bei Speicher-Vorrang) könnte man das verhindern.

Bild
Bild: https://ibb.co/Q6SkPZ9
Elchkopp
Beiträge: 492
Registriert: Fr Feb 04, 2022 6:19 pm

Re: Speicher Vorrang funktioniert nicht

Beitrag von Elchkopp »

Verstehe. Als wenn die Software „intern“ die Prio für den Speicher vor lauter Eifer vergisst… würde da aber tatsächlich eher einen Bug vermuten.

Hast Du das Log dazu?

Das wäre für Lena und Lutz vermutlich sehr wichtig.
caran17
Beiträge: 36
Registriert: Fr Jul 14, 2023 9:26 am

Re: Speicher Vorrang funktioniert nicht

Beitrag von caran17 »

Na klar, wobei die ziemlich voll mit StackTraces sind. Wahrscheinlich hilft es wenig, weil das Debug-Level zu hoch ist und die problematische Stelle ja schon vorbei ist.

Main-Log (sieht wenig hilfreich aus, es sei denn, die Errors können damit zusammenhängen):

Code: Alles auswählen

2024-02-29 10:11:13,881 - {helpermodules.utils._thread_handler:26} - {ERROR:MainThread} - device0 konnte nicht innerhalb des Timeouts die Werte abfragen, die abgefragten Werte werden nicht in der Regelung verwendet.
2024-02-29 10:11:13,882 - {modules.common.utils.component_parser:24} - {ERROR:MainThread} - Keine aktuellen Werte für Gerät Json
2024-02-29 10:11:13,883 - {modules.common.utils.component_parser:24} - {ERROR:MainThread} - Keine aktuellen Werte für Gerät Json
2024-02-29 10:11:13,892 - {modules.common.utils.component_parser:24} - {ERROR:MainThread} - Keine aktuellen Werte für Gerät Json
2024-02-29 10:41:23,500 - {helpermodules.utils._thread_handler:26} - {ERROR:MainThread} - device0 konnte nicht innerhalb des Timeouts die Werte abfragen, die abgefragten Werte werden nicht in der Regelung verwendet.
2024-02-29 10:41:23,502 - {modules.common.utils.component_parser:24} - {ERROR:MainThread} - Keine aktuellen Werte für Gerät Json
2024-02-29 10:41:23,504 - {modules.common.utils.component_parser:24} - {ERROR:MainThread} - Keine aktuellen Werte für Gerät Json
2024-02-29 10:41:24,438 - {modules.common.utils.component_parser:24} - {ERROR:MainThread} - Keine aktuellen Werte für Gerät Json
2024-02-29 11:06:34,156 - {helpermodules.utils._thread_handler:26} - {ERROR:MainThread} - device0 konnte nicht innerhalb des Timeouts die Werte abfragen, die abgefragten Werte werden nicht in der Regelung verwendet.
2024-02-29 11:06:34,157 - {modules.common.utils.component_parser:24} - {ERROR:MainThread} - Keine aktuellen Werte für Gerät Json
2024-02-29 11:06:34,157 - {modules.common.utils.component_parser:24} - {ERROR:MainThread} - Keine aktuellen Werte für Gerät Json
2024-02-29 11:06:34,165 - {modules.common.utils.component_parser:24} - {ERROR:MainThread} - Keine aktuellen Werte für Gerät Json
2024-02-29 11:31:43,526 - {helpermodules.utils._thread_handler:26} - {ERROR:MainThread} - device0 konnte nicht innerhalb des Timeouts die Werte abfragen, die abgefragten Werte werden nicht in der Regelung verwendet.
2024-02-29 11:31:43,527 - {modules.common.utils.component_parser:24} - {ERROR:MainThread} - Keine aktuellen Werte für Gerät Json
2024-02-29 11:31:43,527 - {modules.common.utils.component_parser:24} - {ERROR:MainThread} - Keine aktuellen Werte für Gerät Json
2024-02-29 11:31:43,536 - {modules.common.utils.component_parser:24} - {ERROR:MainThread} - Keine aktuellen Werte für Gerät Json
2024-02-29 12:03:50,697 - {root:74} - {INFO:MainThread} - # ***Start*** 
2024-02-29 12:03:52,744 - {modules.common.store._api:30} - {INFO:component1} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-5050.4111328125, exported=45152.83713947635, dc_power=None)
2024-02-29 12:03:52,748 - {modules.common.store._api:30} - {INFO:component2} - Saving BatState(imported=14601.809387645872, exported=12369.980020380242, power=733.4259033203125, soc=11.11111068725586)
2024-02-29 12:03:52,879 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[0.0, 0.0, 0.0], powers=[0.0, 0.0, 0.0], voltages=[230.0, 230.0, 230.0], power_factors=[0.0, 0.0, 0.0], imported=47308.9019882157, exported=3483.181170710236, power=-153.23907470703125, frequency=50)
2024-02-29 12:03:53,036 - {control.bat_all:173} - {INFO:MainThread} - -50W verbleibende Speicher-Leistung
2024-02-29 12:03:53,041 - {control.counter:138} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [31.0, 16.0, 16.0]A
2024-02-29 12:03:53,046 - {control.counter:161} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 14576.13907470703W
2024-02-29 12:03:53,060 - {control.chargepoint.chargepoint:898} - {INFO:MainThread} - LP 4, EV: Standard-Fahrzeug (EV-Nr.0): Theoretisch benötigter Strom 6A, Lademodus pv_charging, Submodus: Chargemode.INSTANT_CHARGING, Phasen: 1, Priorität: True, max. Ist-Strom: 15.0
2024-02-29 12:03:53,071 - {control.data:266} - {INFO:MainThread} - bat2
BatData(get=Get(soc=11, daily_exported=35.51, daily_imported=1279.98, imported=14601.81, exported=12369.98, fault_state=0, fault_str='Kein Fehler.', power=733.43))
2024-02-29 12:03:53,077 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=11, daily_exported=35.51, daily_imported=1279.98, fault_str='Kein Fehler.', fault_state=0, imported=14601.81, exported=12369.98, power=733.43), set=Set(charging_power_left=-50, switch_on_soc_reached=True))
2024-02-29 12:03:53,087 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=5700.02, daily_exported=0, power=3422.9, imported=1025875.0, exported=0))
2024-02-29 12:03:53,089 - {control.data:266} - {INFO:MainThread} - cp4
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.PV_CHARGING: 'pv_charging'>, current_plan=None, imported_at_plan_start=1019955.99, imported_instant_charging=None, limit=', da die maximale Leistung an Zähler {} erreicht ist.', phases=1, prio=True, required_current=6, required_currents=[6, 0.0, 0.0], state=4, submode=<Chargemode.INSTANT_CHARGING: 'instant_charging'>, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, timestamp_switch_on_off=None), get=Get(charge_state=True, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False, time_charging_in_use=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=62), currents=[15.0, 0.0, 0.0], daily_imported=5700.02, daily_exported=0, evse_current=1551, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=1025875.0, phases_in_use=1, plug_state=True, power=3422.9, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str=None, voltages=[229.21, 235.66, 233.22]), set=Set(change_ev_permitted=[True, ''], charging_ev=0, charging_ev_prev=0, current=15.51, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='pv_charging', imported_at_mode_switch=1019955.99, imported_at_plugtime=1019955.99, imported_since_mode_switch=5908.020000000019, imported_since_plugged=5908.020000000019, range_charged=32.82233333333344, time_charged='3:02', timestamp_start_charging='02/29/2024, 09:01:22'), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time='02/29/2024, 08:10:12', required_power=1380.0, rfid=None, target_current=0, charging_ev_data=<control.ev.Ev object at 0x7578e418>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='Interne openWB', type='internal_openwb', template=0, connected_phases=1, phase_1=1, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=4))
2024-02-29 12:03:53,093 - {control.data:266} - {INFO:MainThread} - cpt0
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=0, max_current_multi_phases=16, max_current_single_phase=16, name='Standard Ladepunkt-Profil', rfid_enabling=False, valid_tags=[])
2024-02-29 12:03:53,098 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[16, 16, 16], max_total_power=11000), 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=50, daily_exported=120.2595879287376, daily_imported=2544.416300840914, imported=47308.9019882157, exported=3483.181170710236, fault_state=0, fault_str='Kein Fehler.', power=-153.23907470703125), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=14576.13907470703, raw_currents_left=[31.0, 16.0, 16.0], surplus_power_left=0, state_str=''))
2024-02-29 12:03:53,100 - {control.data:241} - {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': 4, 'type': 'cp', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=740.8409252929682, invalid_home_consumption=0, daily_yield_home_consumption=5612.627867587236, imported_home_consumption=58217.5362999707, disengageable_smarthome_power=0))
2024-02-29 12:03:53,102 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Lade-Profil', disable_after_unplug=False, prio=True, load_default=True, time_charging=TimeCharging(active=True, plans={}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=16, min_current=6, feed_in_limit=False, min_soc=20, max_soc=77), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=9, limit=Limit(selected='soc', amount=50000, soc=70))))
2024-02-29 12:03:53,104 - {control.data:266} - {INFO:MainThread} - ev0
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Standard-Fahrzeug-Profil', max_current_multi_phases=16, max_phases=1, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=True, control_pilot_interruption_duration=10, average_consump=18000, min_current=6, max_current_single_phase=16, battery_capacity=39000, efficiency=82, nominal_difference=1, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=[], get=Get(soc=62, soc_timestamp='02/29/2024, 12:03:44', force_soc_update=False, range=160.0, fault_state=0, fault_str='Kein Fehler.'))
2024-02-29 12:03:53,105 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Profil', max_current_multi_phases=16, max_phases=1, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=True, control_pilot_interruption_duration=10, average_consump=18000, min_current=6, max_current_single_phase=16, battery_capacity=39000, efficiency=82, nominal_difference=1, keep_charge_active_duration=40)
2024-02-29 12:03:53,109 - {control.data:245} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=1), pv_charging=PvCharging(bat_prio=True, charging_power_reserve=0, control_range=[0, 230], feed_in_yield=15000, phase_switch_delay=7, phases_to_use=1, rundown_power=0, rundown_soc=70, switch_off_delay=300, switch_off_soc=0, switch_off_threshold=800, switch_on_delay=20, switch_on_soc=0, switch_on_threshold=500), scheduled_charging=ScheduledCharging(phases_to_use=1), time_charging=TimeCharging(phases_to_use=1), unbalanced_load_limit=18, unbalanced_load=False), control_interval=10, extern_display_mode='primary', extern=False, external_buttons_hw=False, grid_protection_active=False, grid_protection_configured=True, grid_protection_random_stop=0, grid_protection_timestamp='', mqtt_bridge=False, price_kwh=0.39, range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=False, r1_active=False, r2_active=False))
2024-02-29 12:03:53,110 - {control.data:246} - {INFO:MainThread} - general_data-display
primary
2024-02-29 12:03:53,112 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-02-29 12:03:53,114 - {control.data:248} - {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=True, on_if_plugged_in=True, pin_active=False, pin_code='0000', standby=45, theme=<modules.display_themes.cards.config.CardsDisplayTheme object at 0x6e36b508>), led=Led(active=False), rfid=Rfid(active=False))
2024-02-29 12:03:53,123 - {control.data:266} - {INFO:MainThread} - pv1
PvData(config=Config(max_ac_out=0), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=10120.694, monthly_exported=0, yearly_exported=0, exported=45152.837, fault_state=0, fault_str='Kein Fehler.', power=-5050.41))
2024-02-29 12:03:53,126 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=10120.694, monthly_exported=0, yearly_exported=0, exported=45152.837, power=-5050.41))
2024-02-29 12:03:53,127 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.101.45', 'current_commit': '2024-01-03 12:21:20 +0100 [06bcf54f9]', 'current_branch': 'Release', 'current_branch_commit': '2024-01-03 12:21:20 +0100 [06bcf54f9]', 'current_missing_commits': [], 'datastore_version': 29, 'dataprotection_acknowledged': True, 'usage_terms_acknowledged': True, 'debug_level': 20, 'release_train': 'master', 'version': '2.1.2-Patch.2', 'boot_done': True, 'lastlivevaluesJson': {'timestamp': 1709204622, 'time': '12:03:42', 'grid': 0.084, 'house-power': 0.896, 'charging-all': 3.472, 'pv-all': 5.058, 'cp4-power': 3.472, 'ev0-soc': 62, 'bat-all-power': 0.774, 'bat-all-soc': 11}, 'module_update_completed': True}
2024-02-29 12:03:53,128 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'Json', 'type': 'json', 'id': 0, 'configuration': {'url': 'http://RaspiHomeAuto.fritz.box:8126/statistics'}}
2024-02-29 12:03:53,129 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'Senec', 'type': 'counter', 'id': 0, 'configuration': {'jq_power': '.ENERGY.GUI_GRID_POW|tonumber', 'jq_exported': None, 'jq_imported': None, 'jq_powers': [None, None, None], 'jq_currents': [None, None, None]}}
2024-02-29 12:03:53,133 - {control.data:281} - {INFO:MainThread} - component1
{'name': 'Senec', 'type': 'inverter', 'id': 1, 'configuration': {'jq_power': '.ENERGY.GUI_INVERTER_POWER|tonumber', 'jq_exported': None}}
2024-02-29 12:03:53,137 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'Senec', 'type': 'bat', 'id': 2, 'configuration': {'jq_imported': None, 'jq_exported': None, 'jq_soc': '.ENERGY.GUI_BAT_DATA_FUEL_CHARGE|tonumber', 'jq_power': '.ENERGY.GUI_BAT_DATA_POWER|tonumber'}}
2024-02-29 12:03:53,138 - {control.data:253} - {INFO:MainThread} - 
Log des internen Ldepunktes:

Code: Alles auswählen

2024-02-29 10:30:49,784 - {modules.common.evse:57} - {DEBUG:Internal Chargepoint} - FW-Version: 18
2024-02-29 10:30:49,834 - {modules.common.fault_state:55} - {ERROR:Internal Chargepoint} - Ladepunkt 0: FaultState FaultStateLevel.ERROR, FaultStr modules.internal_chargepoint_handler.chargepoint_module <class 'modules.common.fault_state.FaultState'> ("modules.common.modbus <class 'modules.common.fault_state.FaultState'> ('modules.common.modbus Modbus Error: [Input/Output] Modbus Error: [Invalid Message] No response received, expected at least 2 bytes (0 received)', <FaultStateLevel.ERROR: 2>)", <FaultStateLevel.ERROR: 2>), Traceback: 
Traceback (most recent call last):
  File "/var/www/html/openWB/packages/modules/common/modbus.py", line 90, in __read_registers
    raise FaultState.error(__name__+" "+str(response))
modules.common.fault_state.FaultState: ('modules.common.modbus Modbus Error: [Input/Output] Modbus Error: [Invalid Message] No response received, expected at least 2 bytes (0 received)', <FaultStateLevel.ERROR: 2>)

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/var/www/html/openWB/packages/modules/internal_chargepoint_handler/chargepoint_module.py", line 80, in get_values
    plug_state, charge_state, self.set_current_evse = self.__client.evse_client.get_plug_charge_state()
  File "/var/www/html/openWB/packages/modules/common/evse.py", line 39, in get_plug_charge_state
    set_current, _, state_number = self.client.read_holding_registers(
  File "/var/www/html/openWB/packages/modules/common/modbus.py", line 123, in read_holding_registers
    return self.__read_registers(
  File "/var/www/html/openWB/packages/modules/common/modbus.py", line 105, in __read_registers
    raise FaultState.error(__name__+" "+str(type(e))+" " +
modules.common.fault_state.FaultState: ("modules.common.modbus <class 'modules.common.fault_state.FaultState'> ('modules.common.modbus Modbus Error: [Input/Output] Modbus Error: [Invalid Message] No response received, expected at least 2 bytes (0 received)', <FaultStateLevel.ERROR: 2>)", <FaultStateLevel.ERROR: 2>)

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/var/www/html/openWB/packages/modules/internal_chargepoint_handler/internal_chargepoint_handler.py", line 242, in update
    state = self.module.get_values(phase_switch_cp_active, rfid_data.last_tag)[0]
  File "/var/www/html/openWB/packages/modules/internal_chargepoint_handler/chargepoint_module.py", line 125, in get_values
    raise FaultState.error(__name__ + " " + str(type(e)) + " " + str(e)) from e
modules.common.fault_state.FaultState: ('modules.internal_chargepoint_handler.chargepoint_module <class \'modules.common.fault_state.FaultState\'> ("modules.common.modbus <class \'modules.common.fault_state.FaultState\'> (\'modules.common.modbus Modbus Error: [Input/Output] Modbus Error: [Invalid Message] No response received, expected at least 2 bytes (0 received)\', <FaultStateLevel.ERROR: 2>)", <FaultStateLevel.ERROR: 2>)', <FaultStateLevel.ERROR: 2>)

2024-02-29 10:46:51,977 - {modules.common.evse:57} - {DEBUG:Internal Chargepoint} - FW-Version: 18
2024-02-29 10:46:52,043 - {modules.common.fault_state:55} - {ERROR:Internal Chargepoint} - Ladepunkt 0: FaultState FaultStateLevel.ERROR, FaultStr modules.internal_chargepoint_handler.chargepoint_module <class 'modules.common.fault_state.FaultState'> ("modules.common.modbus <class 'modules.common.fault_state.FaultState'> ('modules.common.modbus Modbus Error: [Input/Output] Modbus Error: [Invalid Message] No response received, expected at least 2 bytes (0 received)', <FaultStateLevel.ERROR: 2>)", <FaultStateLevel.ERROR: 2>), Traceback: 
Traceback (most recent call last):
  File "/var/www/html/openWB/packages/modules/common/modbus.py", line 90, in __read_registers
    raise FaultState.error(__name__+" "+str(response))
modules.common.fault_state.FaultState: ('modules.common.modbus Modbus Error: [Input/Output] Modbus Error: [Invalid Message] No response received, expected at least 2 bytes (0 received)', <FaultStateLevel.ERROR: 2>)

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/var/www/html/openWB/packages/modules/internal_chargepoint_handler/chargepoint_module.py", line 80, in get_values
    plug_state, charge_state, self.set_current_evse = self.__client.evse_client.get_plug_charge_state()
  File "/var/www/html/openWB/packages/modules/common/evse.py", line 39, in get_plug_charge_state
    set_current, _, state_number = self.client.read_holding_registers(
  File "/var/www/html/openWB/packages/modules/common/modbus.py", line 123, in read_holding_registers
    return self.__read_registers(
  File "/var/www/html/openWB/packages/modules/common/modbus.py", line 105, in __read_registers
    raise FaultState.error(__name__+" "+str(type(e))+" " +
modules.common.fault_state.FaultState: ("modules.common.modbus <class 'modules.common.fault_state.FaultState'> ('modules.common.modbus Modbus Error: [Input/Output] Modbus Error: [Invalid Message] No response received, expected at least 2 bytes (0 received)', <FaultStateLevel.ERROR: 2>)", <FaultStateLevel.ERROR: 2>)

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/var/www/html/openWB/packages/modules/internal_chargepoint_handler/internal_chargepoint_handler.py", line 242, in update
    state = self.module.get_values(phase_switch_cp_active, rfid_data.last_tag)[0]
  File "/var/www/html/openWB/packages/modules/internal_chargepoint_handler/chargepoint_module.py", line 125, in get_values
    raise FaultState.error(__name__ + " " + str(type(e)) + " " + str(e)) from e
modules.common.fault_state.FaultState: ('modules.internal_chargepoint_handler.chargepoint_module <class \'modules.common.fault_state.FaultState\'> ("modules.common.modbus <class \'modules.common.fault_state.FaultState\'> (\'modules.common.modbus Modbus Error: [Input/Output] Modbus Error: [Invalid Message] No response received, expected at least 2 bytes (0 received)\', <FaultStateLevel.ERROR: 2>)", <FaultStateLevel.ERROR: 2>)', <FaultStateLevel.ERROR: 2>)

2024-02-29 11:06:29,338 - {modules.common.evse:57} - {DEBUG:Internal Chargepoint} - FW-Version: 18
2024-02-29 11:06:29,387 - {modules.common.fault_state:55} - {ERROR:Internal Chargepoint} - Ladepunkt 0: FaultState FaultStateLevel.ERROR, FaultStr modules.internal_chargepoint_handler.chargepoint_module <class 'modules.common.fault_state.FaultState'> ("modules.common.modbus <class 'modules.common.fault_state.FaultState'> ('modules.common.modbus Modbus Error: [Input/Output] Modbus Error: [Invalid Message] No response received, expected at least 2 bytes (0 received)', <FaultStateLevel.ERROR: 2>)", <FaultStateLevel.ERROR: 2>), Traceback: 
Traceback (most recent call last):
  File "/var/www/html/openWB/packages/modules/common/modbus.py", line 90, in __read_registers
    raise FaultState.error(__name__+" "+str(response))
modules.common.fault_state.FaultState: ('modules.common.modbus Modbus Error: [Input/Output] Modbus Error: [Invalid Message] No response received, expected at least 2 bytes (0 received)', <FaultStateLevel.ERROR: 2>)

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/var/www/html/openWB/packages/modules/internal_chargepoint_handler/chargepoint_module.py", line 80, in get_values
    plug_state, charge_state, self.set_current_evse = self.__client.evse_client.get_plug_charge_state()
  File "/var/www/html/openWB/packages/modules/common/evse.py", line 39, in get_plug_charge_state
    set_current, _, state_number = self.client.read_holding_registers(
  File "/var/www/html/openWB/packages/modules/common/modbus.py", line 123, in read_holding_registers
    return self.__read_registers(
  File "/var/www/html/openWB/packages/modules/common/modbus.py", line 105, in __read_registers
    raise FaultState.error(__name__+" "+str(type(e))+" " +
modules.common.fault_state.FaultState: ("modules.common.modbus <class 'modules.common.fault_state.FaultState'> ('modules.common.modbus Modbus Error: [Input/Output] Modbus Error: [Invalid Message] No response received, expected at least 2 bytes (0 received)', <FaultStateLevel.ERROR: 2>)", <FaultStateLevel.ERROR: 2>)

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/var/www/html/openWB/packages/modules/internal_chargepoint_handler/internal_chargepoint_handler.py", line 242, in update
    state = self.module.get_values(phase_switch_cp_active, rfid_data.last_tag)[0]
  File "/var/www/html/openWB/packages/modules/internal_chargepoint_handler/chargepoint_module.py", line 125, in get_values
    raise FaultState.error(__name__ + " " + str(type(e)) + " " + str(e)) from e
modules.common.fault_state.FaultState: ('modules.internal_chargepoint_handler.chargepoint_module <class \'modules.common.fault_state.FaultState\'> ("modules.common.modbus <class \'modules.common.fault_state.FaultState\'> (\'modules.common.modbus Modbus Error: [Input/Output] Modbus Error: [Invalid Message] No response received, expected at least 2 bytes (0 received)\', <FaultStateLevel.ERROR: 2>)", <FaultStateLevel.ERROR: 2>)', <FaultStateLevel.ERROR: 2>)

2024-02-29 11:09:50,086 - {modules.common.evse:57} - {DEBUG:Internal Chargepoint} - FW-Version: 18
2024-02-29 11:09:50,135 - {modules.common.fault_state:55} - {ERROR:Internal Chargepoint} - Ladepunkt 0: FaultState FaultStateLevel.ERROR, FaultStr modules.internal_chargepoint_handler.chargepoint_module <class 'modules.common.fault_state.FaultState'> ("modules.common.modbus <class 'modules.common.fault_state.FaultState'> ('modules.common.modbus Modbus Error: [Input/Output] Modbus Error: [Invalid Message] No response received, expected at least 2 bytes (0 received)', <FaultStateLevel.ERROR: 2>)", <FaultStateLevel.ERROR: 2>), Traceback: 
Traceback (most recent call last):
  File "/var/www/html/openWB/packages/modules/common/modbus.py", line 90, in __read_registers
    raise FaultState.error(__name__+" "+str(response))
modules.common.fault_state.FaultState: ('modules.common.modbus Modbus Error: [Input/Output] Modbus Error: [Invalid Message] No response received, expected at least 2 bytes (0 received)', <FaultStateLevel.ERROR: 2>)

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/var/www/html/openWB/packages/modules/internal_chargepoint_handler/chargepoint_module.py", line 80, in get_values
    plug_state, charge_state, self.set_current_evse = self.__client.evse_client.get_plug_charge_state()
  File "/var/www/html/openWB/packages/modules/common/evse.py", line 39, in get_plug_charge_state
    set_current, _, state_number = self.client.read_holding_registers(
  File "/var/www/html/openWB/packages/modules/common/modbus.py", line 123, in read_holding_registers
    return self.__read_registers(
  File "/var/www/html/openWB/packages/modules/common/modbus.py", line 105, in __read_registers
    raise FaultState.error(__name__+" "+str(type(e))+" " +
modules.common.fault_state.FaultState: ("modules.common.modbus <class 'modules.common.fault_state.FaultState'> ('modules.common.modbus Modbus Error: [Input/Output] Modbus Error: [Invalid Message] No response received, expected at least 2 bytes (0 received)', <FaultStateLevel.ERROR: 2>)", <FaultStateLevel.ERROR: 2>)

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/var/www/html/openWB/packages/modules/internal_chargepoint_handler/internal_chargepoint_handler.py", line 242, in update
    state = self.module.get_values(phase_switch_cp_active, rfid_data.last_tag)[0]
  File "/var/www/html/openWB/packages/modules/internal_chargepoint_handler/chargepoint_module.py", line 125, in get_values
    raise FaultState.error(__name__ + " " + str(type(e)) + " " + str(e)) from e
modules.common.fault_state.FaultState: ('modules.internal_chargepoint_handler.chargepoint_module <class \'modules.common.fault_state.FaultState\'> ("modules.common.modbus <class \'modules.common.fault_state.FaultState\'> (\'modules.common.modbus Modbus Error: [Input/Output] Modbus Error: [Invalid Message] No response received, expected at least 2 bytes (0 received)\', <FaultStateLevel.ERROR: 2>)", <FaultStateLevel.ERROR: 2>)', <FaultStateLevel.ERROR: 2>)

2024-02-29 11:21:22,542 - {modules.common.evse:57} - {DEBUG:Internal Chargepoint} - FW-Version: 18
2024-02-29 11:21:22,590 - {modules.common.fault_state:55} - {ERROR:Internal Chargepoint} - Ladepunkt 0: FaultState FaultStateLevel.ERROR, FaultStr modules.internal_chargepoint_handler.chargepoint_module <class 'modules.common.fault_state.FaultState'> ("modules.common.modbus <class 'modules.common.fault_state.FaultState'> ('modules.common.modbus Modbus Error: [Input/Output] Modbus Error: [Invalid Message] No response received, expected at least 2 bytes (0 received)', <FaultStateLevel.ERROR: 2>)", <FaultStateLevel.ERROR: 2>), Traceback: 
Traceback (most recent call last):
  File "/var/www/html/openWB/packages/modules/common/modbus.py", line 90, in __read_registers
    raise FaultState.error(__name__+" "+str(response))
modules.common.fault_state.FaultState: ('modules.common.modbus Modbus Error: [Input/Output] Modbus Error: [Invalid Message] No response received, expected at least 2 bytes (0 received)', <FaultStateLevel.ERROR: 2>)

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/var/www/html/openWB/packages/modules/internal_chargepoint_handler/chargepoint_module.py", line 80, in get_values
    plug_state, charge_state, self.set_current_evse = self.__client.evse_client.get_plug_charge_state()
  File "/var/www/html/openWB/packages/modules/common/evse.py", line 39, in get_plug_charge_state
    set_current, _, state_number = self.client.read_holding_registers(
  File "/var/www/html/openWB/packages/modules/common/modbus.py", line 123, in read_holding_registers
    return self.__read_registers(
  File "/var/www/html/openWB/packages/modules/common/modbus.py", line 105, in __read_registers
    raise FaultState.error(__name__+" "+str(type(e))+" " +
modules.common.fault_state.FaultState: ("modules.common.modbus <class 'modules.common.fault_state.FaultState'> ('modules.common.modbus Modbus Error: [Input/Output] Modbus Error: [Invalid Message] No response received, expected at least 2 bytes (0 received)', <FaultStateLevel.ERROR: 2>)", <FaultStateLevel.ERROR: 2>)

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/var/www/html/openWB/packages/modules/internal_chargepoint_handler/internal_chargepoint_handler.py", line 242, in update
    state = self.module.get_values(phase_switch_cp_active, rfid_data.last_tag)[0]
  File "/var/www/html/openWB/packages/modules/internal_chargepoint_handler/chargepoint_module.py", line 125, in get_values
    raise FaultState.error(__name__ + " " + str(type(e)) + " " + str(e)) from e
modules.common.fault_state.FaultState: ('modules.internal_chargepoint_handler.chargepoint_module <class \'modules.common.fault_s
Im SoC-Log ist der letzte Eintrag zwei Tage alt.

PS: ich möchte an der Stelle übrigens keinen Support. Ich kann auch nicht vollkommen Eigen-Mitverschulden ausschließen. Ich wollte nur ein Beispiel geben, was aktuell problematisch sein könnte. Aber wenn es hilft, gerne anschauen. Ich kann ja mal das Debug-Level auf Info stellen, vlt. kommt ja nochmal so ein Part. Die Sonne scheint ja heute ganz gut ;)
caran17
Beiträge: 36
Registriert: Fr Jul 14, 2023 9:26 am

Re: Speicher Vorrang funktioniert nicht

Beitrag von caran17 »

Noch ein Beispiel (sorry, ich kaper den Thread gerade etwas), diesmal mit mehr Logging. Musste ich aber ganz schön zusammendampfen, um nicht die max. Zeichnzahl zu sprengen. Vor allem die Stelle um ca. 13:20 finde ich interessant:
Bild: https://ibb.co/g73P2Vs

Code: Alles auswählen

2024-02-29 13:20:13,115 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-02-29 13:20:13,117 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-02-29 13:20:13,119 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.PV_CHARGING - Chargemode.INSTANT_CHARGING - True, Zähler 0
2024-02-29 13:20:13,121 - {control.algorithm.common:95} - {INFO:MainThread} - LP4: Stromstärke 6A
2024-02-29 13:20:13,123 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-02-29 13:20:13,126 - {control.algorithm.additional_current:26} - {INFO:MainThread} - Mode-Tuple Chargemode.PV_CHARGING - Chargemode.INSTANT_CHARGING - True, Zähler 0
2024-02-29 13:20:13,127 - {control.algorithm.common:95} - {INFO:MainThread} - LP4: Stromstärke 6A
2024-02-29 13:20:13,128 - {control.counter:211} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: 2196.470103149415W
2024-02-29 13:20:13,129 - {control.algorithm.algorithm:38} - {INFO:MainThread} - **PV-geführten Strom setzen**
2024-02-29 13:20:13,129 - {control.algorithm.surplus_controlled:42} - {INFO:MainThread} - Mode-Tuple Chargemode.PV_CHARGING - Chargemode.INSTANT_CHARGING - True, Zähler 0
2024-02-29 13:20:13,130 - {control.algorithm.common:95} - {INFO:MainThread} - LP4: Stromstärke 16A
2024-02-29 13:20:13,132 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-02-29 13:20:13,136 - {control.process:111} - {INFO:MainThread} - LP4: set current 16 A, state CHARGING_ALLOWED
2024-02-29 13:20:13,163 - {control.counter:186} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-02-29 13:20:20,518 - {root:74} - {INFO:MainThread} - # ***Start*** 
2024-02-29 13:20:22,525 - {modules.common.store._api:30} - {INFO:component1} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-4262.8232421875, exported=51981.782497758926, dc_power=None)
2024-02-29 13:20:22,532 - {modules.common.store._api:30} - {INFO:component2} - Saving BatState(imported=15505.006834561294, exported=12369.996881735338, power=40.74274826049805, soc=19.191917419433594)
2024-02-29 13:20:22,679 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[0.0, 0.0, 0.0], powers=[0.0, 0.0, 0.0], voltages=[230.0, 230.0, 230.0], power_factors=[0.0, 0.0, 0.0], imported=47338.044446974905, exported=3749.902491853634, power=-4.999977111816406, frequency=50)
2024-02-29 13:20:22,847 - {control.bat_all:173} - {INFO:MainThread} - -50W verbleibende Speicher-Leistung
2024-02-29 13:20:22,850 - {control.counter:138} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [31.47, 16.0, 16.0]A
2024-02-29 13:20:22,852 - {control.counter:161} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 14517.159977111816W
2024-02-29 13:20:22,857 - {control.chargepoint.chargepoint:898} - {INFO:MainThread} - LP 4, EV: Standard-Fahrzeug (EV-Nr.0): Theoretisch benötigter Strom 6A, Lademodus pv_charging, Submodus: Chargemode.INSTANT_CHARGING, Phasen: 1, Priorität: True, max. Ist-Strom: 15.47
2024-02-29 13:20:22,861 - {control.data:266} - {INFO:MainThread} - bat2
BatData(get=Get(soc=19, daily_exported=35.53, daily_imported=2232.33, imported=15505.01, exported=12370.0, fault_state=0, fault_str='Kein Fehler.', power=40.74))
2024-02-29 13:20:22,862 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=19, daily_exported=35.53, daily_imported=2232.33, fault_str='Kein Fehler.', fault_state=0, imported=15505.01, exported=12370.0, power=40.74), set=Set(charging_power_left=-50, switch_on_soc_reached=True))
2024-02-29 13:20:22,864 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=10164.98, daily_exported=0, power=3512.16, imported=1030140.99, exported=0))
2024-02-29 13:20:22,866 - {control.data:266} - {INFO:MainThread} - cp4
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.PV_CHARGING: 'pv_charging'>, current_plan=None, imported_at_plan_start=1019955.99, imported_instant_charging=None, limit=', da die maximale Leistung an Zähler {} erreicht ist.', phases=1, prio=True, required_current=6, required_currents=[6, 0.0, 0.0], state=4, submode=<Chargemode.INSTANT_CHARGING: 'instant_charging'>, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, timestamp_switch_on_off=None), get=Get(charge_state=True, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False, time_charging_in_use=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=72), currents=[15.47, 0.0, 0.0], daily_imported=10164.98, daily_exported=0, evse_current=1600, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=1030140.99, phases_in_use=1, plug_state=True, power=3512.16, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str=None, voltages=[228.0, 233.17, 231.03]), set=Set(change_ev_permitted=[True, ''], charging_ev=0, charging_ev_prev=0, current=16, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='pv_charging', imported_at_mode_switch=1019955.99, imported_at_plugtime=1019955.99, imported_since_mode_switch=10174.98999999999, imported_since_plugged=10174.98999999999, range_charged=56.52772222222217, time_charged='4:18', timestamp_start_charging='02/29/2024, 09:01:22'), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time='02/29/2024, 08:10:12', required_power=1380.0, rfid=None, target_current=0, charging_ev_data=<control.ev.Ev object at 0x6ed64778>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='Interne openWB', type='internal_openwb', template=0, connected_phases=1, phase_1=1, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=4))
2024-02-29 13:20:22,877 - {control.data:266} - {INFO:MainThread} - cpt0
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=0, max_current_multi_phases=16, max_current_single_phase=16, name='Standard Ladepunkt-Profil', rfid_enabling=False, valid_tags=[])
2024-02-29 13:20:22,883 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[16, 16, 16], max_total_power=11000), 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=50, daily_exported=389.8066014982185, daily_imported=2576.250336010314, imported=47338.044446974905, exported=3749.902491853634, fault_state=0, fault_str='Kein Fehler.', power=-4.999977111816406), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=14517.159977111816, raw_currents_left=[31.47, 16.0, 16.0], surplus_power_left=0, state_str=''))
2024-02-29 13:20:22,885 - {control.data:241} - {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': 4, 'type': 'cp', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=704.9200228881837, invalid_home_consumption=0, daily_yield_home_consumption=7092.23354819109, imported_home_consumption=59649.2730828504, disengageable_smarthome_power=0))
2024-02-29 13:20:22,886 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Lade-Profil', disable_after_unplug=False, prio=True, load_default=True, time_charging=TimeCharging(active=True, plans={}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=16, min_current=6, feed_in_limit=False, min_soc=20, max_soc=77), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=9, limit=Limit(selected='soc', amount=50000, soc=70))))
2024-02-29 13:20:22,887 - {control.data:266} - {INFO:MainThread} - ev0
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Standard-Fahrzeug-Profil', max_current_multi_phases=16, max_phases=1, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=True, control_pilot_interruption_duration=10, average_consump=18000, min_current=6, max_current_single_phase=16, battery_capacity=39000, efficiency=82, nominal_difference=1, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=[], get=Get(soc=72, soc_timestamp='02/29/2024, 13:17:34', force_soc_update=False, range=185.0, fault_state=0, fault_str='Kein Fehler.'))
2024-02-29 13:20:22,888 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Profil', max_current_multi_phases=16, max_phases=1, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=True, control_pilot_interruption_duration=10, average_consump=18000, min_current=6, max_current_single_phase=16, battery_capacity=39000, efficiency=82, nominal_difference=1, keep_charge_active_duration=40)
2024-02-29 13:20:22,890 - {control.data:245} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=1), pv_charging=PvCharging(bat_prio=True, charging_power_reserve=0, control_range=[0, 230], feed_in_yield=15000, phase_switch_delay=7, phases_to_use=1, rundown_power=0, rundown_soc=70, switch_off_delay=300, switch_off_soc=0, switch_off_threshold=800, switch_on_delay=20, switch_on_soc=0, switch_on_threshold=500), scheduled_charging=ScheduledCharging(phases_to_use=1), time_charging=TimeCharging(phases_to_use=1), unbalanced_load_limit=18, unbalanced_load=False), control_interval=10, extern_display_mode='primary', extern=False, external_buttons_hw=False, grid_protection_active=False, grid_protection_configured=True, grid_protection_random_stop=0, grid_protection_timestamp='', mqtt_bridge=False, price_kwh=0.39, range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=False, r1_active=False, r2_active=False))
2024-02-29 13:20:22,892 - {control.data:246} - {INFO:MainThread} - general_data-display
primary
2024-02-29 13:20:22,893 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-02-29 13:20:22,894 - {control.data:248} - {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=True, on_if_plugged_in=True, pin_active=False, pin_code='0000', standby=45, theme=<modules.display_themes.cards.config.CardsDisplayTheme object at 0x6d1e6e80>), led=Led(active=False), rfid=Rfid(active=False))
2024-02-29 13:20:22,895 - {control.data:266} - {INFO:MainThread} - pv1
PvData(config=Config(max_ac_out=0), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=17246.204, monthly_exported=0, yearly_exported=0, exported=51981.782, fault_state=0, fault_str='Kein Fehler.', power=-4262.82))
2024-02-29 13:20:22,897 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=17246.204, monthly_exported=0, yearly_exported=0, exported=51981.782, power=-4262.82))
2024-02-29 13:20:22,898 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.101.45', 'current_commit': '2024-01-03 12:21:20 +0100 [06bcf54f9]', 'current_branch': 'Release', 'current_branch_commit': '2024-01-03 12:21:20 +0100 [06bcf54f9]', 'current_missing_commits': [], 'datastore_version': 29, 'dataprotection_acknowledged': True, 'usage_terms_acknowledged': True, 'debug_level': 20, 'release_train': 'master', 'version': '2.1.2-Patch.2', 'boot_done': True, 'lastlivevaluesJson': {'timestamp': 1709209213, 'time': '13:20:13', 'grid': -0.019, 'house-power': 0.702, 'charging-all': 3.492, 'pv-all': 4.279, 'cp4-power': 3.492, 'ev0-soc': 72, 'bat-all-power': 0.066, 'bat-all-soc': 19}, 'module_update_completed': True}
2024-02-29 13:20:22,901 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'Json', 'type': 'json', 'id': 0, 'configuration': {'url': 'http://RaspiHomeAuto.fritz.box:8126/statistics'}}
2024-02-29 13:20:22,903 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'Senec', 'type': 'counter', 'id': 0, 'configuration': {'jq_power': '.ENERGY.GUI_GRID_POW|tonumber', 'jq_exported': None, 'jq_imported': None, 'jq_powers': [None, None, None], 'jq_currents': [None, None, None]}}
2024-02-29 13:20:22,906 - {control.data:281} - {INFO:MainThread} - component1
{'name': 'Senec', 'type': 'inverter', 'id': 1, 'configuration': {'jq_power': '.ENERGY.GUI_INVERTER_POWER|tonumber', 'jq_exported': None}}
2024-02-29 13:20:22,908 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'Senec', 'type': 'bat', 'id': 2, 'configuration': {'jq_imported': None, 'jq_exported': None, 'jq_soc': '.ENERGY.GUI_BAT_DATA_FUEL_CHARGE|tonumber', 'jq_power': '.ENERGY.GUI_BAT_DATA_POWER|tonumber'}}
2024-02-29 13:20:22,923 - {control.data:253} - {INFO:MainThread} - 

2024-02-29 13:20:22,925 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-02-29 13:20:22,927 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-02-29 13:20:22,931 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.PV_CHARGING - Chargemode.INSTANT_CHARGING - True, Zähler 0
2024-02-29 13:20:22,932 - {control.algorithm.common:95} - {INFO:MainThread} - LP4: Stromstärke 6A
2024-02-29 13:20:22,934 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-02-29 13:20:22,937 - {control.algorithm.additional_current:26} - {INFO:MainThread} - Mode-Tuple Chargemode.PV_CHARGING - Chargemode.INSTANT_CHARGING - True, Zähler 0
2024-02-29 13:20:22,942 - {control.algorithm.common:95} - {INFO:MainThread} - LP4: Stromstärke 6A
2024-02-29 13:20:22,947 - {control.counter:211} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: 2202.1599771118163W
2024-02-29 13:20:22,952 - {control.algorithm.algorithm:38} - {INFO:MainThread} - **PV-geführten Strom setzen**
2024-02-29 13:20:22,957 - {control.algorithm.surplus_controlled:42} - {INFO:MainThread} - Mode-Tuple Chargemode.PV_CHARGING - Chargemode.INSTANT_CHARGING - True, Zähler 0
2024-02-29 13:20:22,959 - {control.algorithm.common:95} - {INFO:MainThread} - LP4: Stromstärke 16A
2024-02-29 13:20:22,961 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-02-29 13:20:22,964 - {control.process:111} - {INFO:MainThread} - LP4: set current 16 A, state CHARGING_ALLOWED
2024-02-29 13:20:22,982 - {control.counter:186} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-02-29 13:20:30,281 - {root:74} - {INFO:MainThread} - # ***Start*** 
2024-02-29 13:20:32,293 - {modules.common.store._api:30} - {INFO:component1} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-4267.6181640625, exported=51993.34450595122, dc_power=None)
2024-02-29 13:20:32,295 - {modules.common.store._api:30} - {INFO:component2} - Saving BatState(imported=15505.122717303408, exported=12369.996881735338, power=44.66952896118164, soc=19.191917419433594)
2024-02-29 13:20:32,341 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[0.0, 0.0, 0.0], powers=[0.0, 0.0, 0.0], voltages=[230.0, 230.0, 230.0], power_factors=[0.0, 0.0, 0.0], imported=47338.044446974905, exported=3749.933070202906, power=-17.53173828125, frequency=50)
2024-02-29 13:20:32,486 - {control.bat_all:173} - {INFO:MainThread} - -50W verbleibende Speicher-Leistung
2024-02-29 13:20:32,500 - {control.counter:138} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [31.46, 16.0, 16.0]A
2024-02-29 13:20:32,501 - {control.counter:161} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 14528.46173828125W
2024-02-29 13:20:32,509 - {control.chargepoint.chargepoint:898} - {INFO:MainThread} - LP 4, EV: Standard-Fahrzeug (EV-Nr.0): Theoretisch benötigter Strom 6A, Lademodus pv_charging, Submodus: Chargemode.INSTANT_CHARGING, Phasen: 1, Priorität: True, max. Ist-Strom: 15.46
2024-02-29 13:20:32,514 - {control.data:266} - {INFO:MainThread} - bat2
BatData(get=Get(soc=19, daily_exported=35.53, daily_imported=2232.33, imported=15505.12, exported=12370.0, fault_state=0, fault_str='Kein Fehler.', power=44.67))
2024-02-29 13:20:32,515 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=19, daily_exported=35.53, daily_imported=2232.33, fault_str='Kein Fehler.', fault_state=0, imported=15505.12, exported=12370.0, power=44.67), set=Set(charging_power_left=-50, switch_on_soc_reached=True))
2024-02-29 13:20:32,523 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=10164.98, daily_exported=0, power=3510.93, imported=1030150.02, exported=0))
2024-02-29 13:20:32,530 - {control.data:266} - {INFO:MainThread} - cp4
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.PV_CHARGING: 'pv_charging'>, current_plan=None, imported_at_plan_start=1019955.99, imported_instant_charging=None, limit=', da die maximale Leistung an Zähler {} erreicht ist.', phases=1, prio=True, required_current=6, required_currents=[6, 0.0, 0.0], state=4, submode=<Chargemode.INSTANT_CHARGING: 'instant_charging'>, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, timestamp_switch_on_off=None), get=Get(charge_state=True, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False, time_charging_in_use=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=72), currents=[15.46, 0.0, 0.0], daily_imported=10164.98, daily_exported=0, evse_current=1600, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=1030150.02, phases_in_use=1, plug_state=True, power=3510.93, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str=None, voltages=[228.16, 233.35, 230.8]), set=Set(change_ev_permitted=[True, ''], charging_ev=0, charging_ev_prev=0, current=16, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='pv_charging', imported_at_mode_switch=1019955.99, imported_at_plugtime=1019955.99, imported_since_mode_switch=10185.0, imported_since_plugged=10185.0, range_charged=56.58333333333333, time_charged='4:19', timestamp_start_charging='02/29/2024, 09:01:22'), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time='02/29/2024, 08:10:12', required_power=1380.0, rfid=None, target_current=0, charging_ev_data=<control.ev.Ev object at 0x760763e8>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='Interne openWB', type='internal_openwb', template=0, connected_phases=1, phase_1=1, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=4))
2024-02-29 13:20:32,531 - {control.data:266} - {INFO:MainThread} - cpt0
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=0, max_current_multi_phases=16, max_current_single_phase=16, name='Standard Ladepunkt-Profil', rfid_enabling=False, valid_tags=[])
2024-02-29 13:20:32,533 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[16, 16, 16], max_total_power=11000), 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=50, daily_exported=389.8066014982185, daily_imported=2576.250336010314, imported=47338.044446974905, exported=3749.933070202906, fault_state=0, fault_str='Kein Fehler.', power=-17.53173828125), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=14528.46173828125, raw_currents_left=[31.46, 16.0, 16.0], surplus_power_left=0, state_str=''))
2024-02-29 13:20:32,534 - {control.data:241} - {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': 4, 'type': 'cp', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=694.48826171875, invalid_home_consumption=0, daily_yield_home_consumption=7092.23354819109, imported_home_consumption=59651.148920819105, disengageable_smarthome_power=0))
2024-02-29 13:20:32,543 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Lade-Profil', disable_after_unplug=False, prio=True, load_default=True, time_charging=TimeCharging(active=True, plans={}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=16, min_current=6, feed_in_limit=False, min_soc=20, max_soc=77), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=9, limit=Limit(selected='soc', amount=50000, soc=70))))
2024-02-29 13:20:32,553 - {control.data:266} - {INFO:MainThread} - ev0
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Standard-Fahrzeug-Profil', max_current_multi_phases=16, max_phases=1, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=True, control_pilot_interruption_duration=10, average_consump=18000, min_current=6, max_current_single_phase=16, battery_capacity=39000, efficiency=82, nominal_difference=1, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=[], get=Get(soc=72, soc_timestamp='02/29/2024, 13:17:34', force_soc_update=False, range=185.0, fault_state=0, fault_str='Kein Fehler.'))
2024-02-29 13:20:32,557 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Profil', max_current_multi_phases=16, max_phases=1, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=True, control_pilot_interruption_duration=10, average_consump=18000, min_current=6, max_current_single_phase=16, battery_capacity=39000, efficiency=82, nominal_difference=1, keep_charge_active_duration=40)
2024-02-29 13:20:32,559 - {control.data:245} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=1), pv_charging=PvCharging(bat_prio=True, charging_power_reserve=0, control_range=[0, 230], feed_in_yield=15000, phase_switch_delay=7, phases_to_use=1, rundown_power=0, rundown_soc=70, switch_off_delay=300, switch_off_soc=0, switch_off_threshold=800, switch_on_delay=20, switch_on_soc=0, switch_on_threshold=500), scheduled_charging=ScheduledCharging(phases_to_use=1), time_charging=TimeCharging(phases_to_use=1), unbalanced_load_limit=18, unbalanced_load=False), control_interval=10, extern_display_mode='primary', extern=False, external_buttons_hw=False, grid_protection_active=False, grid_protection_configured=True, grid_protection_random_stop=0, grid_protection_timestamp='', mqtt_bridge=False, price_kwh=0.39, range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=False, r1_active=False, r2_active=False))
2024-02-29 13:20:32,559 - {control.data:246} - {INFO:MainThread} - general_data-display
primary
2024-02-29 13:20:32,561 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-02-29 13:20:32,562 - {control.data:248} - {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=True, on_if_plugged_in=True, pin_active=False, pin_code='0000', standby=45, theme=<modules.display_themes.cards.config.CardsDisplayTheme object at 0x6d1c84d8>), led=Led(active=False), rfid=Rfid(active=False))
2024-02-29 13:20:32,564 - {control.data:266} - {INFO:MainThread} - pv1
PvData(config=Config(max_ac_out=0), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=17246.204, monthly_exported=0, yearly_exported=0, exported=51993.345, fault_state=0, fault_str='Kein Fehler.', power=-4267.62))
2024-02-29 13:20:32,567 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=17246.204, monthly_exported=0, yearly_exported=0, exported=51993.345, power=-4267.62))
2024-02-29 13:20:32,568 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.101.45', 'current_commit': '2024-01-03 12:21:20 +0100 [06bcf54f9]', 'current_branch': 'Release', 'current_branch_commit': '2024-01-03 12:21:20 +0100 [06bcf54f9]', 'current_missing_commits': [], 'datastore_version': 29, 'dataprotection_acknowledged': True, 'usage_terms_acknowledged': True, 'debug_level': 20, 'release_train': 'master', 'version': '2.1.2-Patch.2', 'boot_done': True, 'lastlivevaluesJson': {'timestamp': 1709209222, 'time': '13:20:22', 'grid': -0.005, 'house-power': 0.705, 'charging-all': 3.512, 'pv-all': 4.263, 'cp4-power': 3.512, 'ev0-soc': 72, 'bat-all-power': 0.041, 'bat-all-soc': 19}, 'module_update_completed': True}
2024-02-29 13:20:32,569 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'Json', 'type': 'json', 'id': 0, 'configuration': {'url': 'http://RaspiHomeAuto.fritz.box:8126/statistics'}}
2024-02-29 13:20:32,572 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'Senec', 'type': 'counter', 'id': 0, 'configuration': {'jq_power': '.ENERGY.GUI_GRID_POW|tonumber', 'jq_exported': None, 'jq_imported': None, 'jq_powers': [None, None, None], 'jq_currents': [None, None, None]}}
2024-02-29 13:20:32,574 - {control.data:281} - {INFO:MainThread} - component1
{'name': 'Senec', 'type': 'inverter', 'id': 1, 'configuration': {'jq_power': '.ENERGY.GUI_INVERTER_POWER|tonumber', 'jq_exported': None}}
2024-02-29 13:20:32,579 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'Senec', 'type': 'bat', 'id': 2, 'configuration': {'jq_imported': None, 'jq_exported': None, 'jq_soc': '.ENERGY.GUI_BAT_DATA_FUEL_CHARGE|tonumber', 'jq_power': '.ENERGY.GUI_BAT_DATA_POWER|tonumber'}}
2024-02-29 13:20:32,579 - {control.data:253} - {INFO:MainThread} - 

2024-02-29 13:20:32,581 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-02-29 13:20:32,582 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-02-29 13:20:32,584 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.PV_CHARGING - Chargemode.INSTANT_CHARGING - True, Zähler 0
2024-02-29 13:20:32,585 - {control.algorithm.common:95} - {INFO:MainThread} - LP4: Stromstärke 6A
2024-02-29 13:20:32,587 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-02-29 13:20:32,588 - {control.algorithm.additional_current:26} - {INFO:MainThread} - Mode-Tuple Chargemode.PV_CHARGING - Chargemode.INSTANT_CHARGING - True, Zähler 0
2024-02-29 13:20:32,589 - {control.algorithm.common:95} - {INFO:MainThread} - LP4: Stromstärke 6A
2024-02-29 13:20:32,589 - {control.counter:211} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: 2213.4617382812503W
2024-02-29 13:20:32,590 - {control.algorithm.algorithm:38} - {INFO:MainThread} - **PV-geführten Strom setzen**
2024-02-29 13:20:32,591 - {control.algorithm.surplus_controlled:42} - {INFO:MainThread} - Mode-Tuple Chargemode.PV_CHARGING - Chargemode.INSTANT_CHARGING - True, Zähler 0
2024-02-29 13:20:32,592 - {control.algorithm.common:95} - {INFO:MainThread} - LP4: Stromstärke 16A
2024-02-29 13:20:32,593 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-02-29 13:20:32,605 - {control.process:111} - {INFO:MainThread} - LP4: set current 16 A, state CHARGING_ALLOWED
2024-02-29 13:20:32,628 - {control.counter:186} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-02-29 13:20:40,897 - {root:74} - {INFO:MainThread} - # ***Start*** 
2024-02-29 13:20:43,743 - {modules.common.store._api:30} - {INFO:component1} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-4274.60546875, exported=52006.31808666202, dc_power=None)
2024-02-29 13:20:43,748 - {modules.common.store._api:30} - {INFO:component2} - Saving BatState(imported=15505.30614755888, exported=12369.996881735338, power=70.6885986328125, soc=19.191917419433594)
2024-02-29 13:20:43,823 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[0.0, 0.0, 0.0], powers=[0.0, 0.0, 0.0], voltages=[230.0, 230.0, 230.0], power_factors=[0.0, 0.0, 0.0], imported=47339.35182757471, exported=3749.933575896695, power=891.4196166992188, frequency=50)
2024-02-29 13:20:44,012 - {control.bat_all:173} - {INFO:MainThread} - -50W verbleibende Speicher-Leistung
2024-02-29 13:20:44,014 - {control.counter:138} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [31.46, 16.0, 16.05]A
2024-02-29 13:20:44,015 - {control.counter:161} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 13613.29038330078W
2024-02-29 13:20:44,020 - {control.chargepoint.chargepoint:898} - {INFO:MainThread} - LP 4, EV: Standard-Fahrzeug (EV-Nr.0): Theoretisch benötigter Strom 6A, Lademodus pv_charging, Submodus: Chargemode.INSTANT_CHARGING, Phasen: 1, Priorität: True, max. Ist-Strom: 15.46
2024-02-29 13:20:44,026 - {control.data:266} - {INFO:MainThread} - bat2
BatData(get=Get(soc=19, daily_exported=35.53, daily_imported=2232.33, imported=15505.31, exported=12370.0, fault_state=0, fault_str='Kein Fehler.', power=70.69))
2024-02-29 13:20:44,027 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=19, daily_exported=35.53, daily_imported=2232.33, fault_str='Kein Fehler.', fault_state=0, imported=15505.31, exported=12370.0, power=70.69), set=Set(charging_power_left=-50, switch_on_soc_reached=True))
2024-02-29 13:20:44,029 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=10164.98, daily_exported=0, power=3504.71, imported=1030160.03, exported=0))
2024-02-29 13:20:44,031 - {control.data:266} - {INFO:MainThread} - cp4
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.PV_CHARGING: 'pv_charging'>, current_plan=None, imported_at_plan_start=1019955.99, imported_instant_charging=None, limit=', da die maximale Leistung an Zähler {} erreicht ist.', phases=1, prio=True, required_current=6, required_currents=[6, 0.0, 0.0], state=4, submode=<Chargemode.INSTANT_CHARGING: 'instant_charging'>, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, timestamp_switch_on_off=None), get=Get(charge_state=True, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False, time_charging_in_use=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=72), currents=[15.46, 0.0, 0.05], daily_imported=10164.98, daily_exported=0, evse_current=1600, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=1030160.03, phases_in_use=1, plug_state=True, power=3504.71, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str=None, voltages=[227.07, 233.65, 230.89]), set=Set(change_ev_permitted=[True, ''], charging_ev=0, charging_ev_prev=0, current=16, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='pv_charging', imported_at_mode_switch=1019955.99, imported_at_plugtime=1019955.99, imported_since_mode_switch=10194.030000000028, imported_since_plugged=10194.030000000028, range_charged=56.63350000000016, time_charged='4:19', timestamp_start_charging='02/29/2024, 09:01:22'), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time='02/29/2024, 08:10:12', required_power=1380.0, rfid=None, target_current=0, charging_ev_data=<control.ev.Ev object at 0x6e36b3a0>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='Interne openWB', type='internal_openwb', template=0, connected_phases=1, phase_1=1, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=4))
2024-02-29 13:20:44,032 - {control.data:266} - {INFO:MainThread} - cpt0
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=0, max_current_multi_phases=16, max_current_single_phase=16, name='Standard Ladepunkt-Profil', rfid_enabling=False, valid_tags=[])
2024-02-29 13:20:44,035 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[16, 16, 16], max_total_power=11000), 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=50, daily_exported=389.8066014982185, daily_imported=2576.250336010314, imported=47339.35182757471, exported=3749.933575896695, fault_state=0, fault_str='Kein Fehler.', power=891.4196166992188), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=13613.29038330078, raw_currents_left=[31.46, 16.0, 16.05], surplus_power_left=0, state_str=''))
2024-02-29 13:20:44,036 - {control.data:241} - {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': 4, 'type': 'cp', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=1590.6296166992188, invalid_home_consumption=0, daily_yield_home_consumption=7092.23354819109, imported_home_consumption=59654.802998035106, disengageable_smarthome_power=0))
2024-02-29 13:20:44,039 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Lade-Profil', disable_after_unplug=False, prio=True, load_default=True, time_charging=TimeCharging(active=True, plans={}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=16, min_current=6, feed_in_limit=False, min_soc=20, max_soc=77), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=9, limit=Limit(selected='soc', amount=50000, soc=70))))
2024-02-29 13:20:44,040 - {control.data:266} - {INFO:MainThread} - ev0
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Standard-Fahrzeug-Profil', max_current_multi_phases=16, max_phases=1, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=True, control_pilot_interruption_duration=10, average_consump=18000, min_current=6, max_current_single_phase=16, battery_capacity=39000, efficiency=82, nominal_difference=1, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=[], get=Get(soc=72, soc_timestamp='02/29/2024, 13:17:34', force_soc_update=False, range=185.0, fault_state=0, fault_str='Kein Fehler.'))
2024-02-29 13:20:44,041 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Profil', max_current_multi_phases=16, max_phases=1, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=True, control_pilot_interruption_duration=10, average_consump=18000, min_current=6, max_current_single_phase=16, battery_capacity=39000, efficiency=82, nominal_difference=1, keep_charge_active_duration=40)
2024-02-29 13:20:44,043 - {control.data:245} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=1), pv_charging=PvCharging(bat_prio=True, charging_power_reserve=0, control_range=[0, 230], feed_in_yield=15000, phase_switch_delay=7, phases_to_use=1, rundown_power=0, rundown_soc=70, switch_off_delay=300, switch_off_soc=0, switch_off_threshold=800, switch_on_delay=20, switch_on_soc=0, switch_on_threshold=500), scheduled_charging=ScheduledCharging(phases_to_use=1), time_charging=TimeCharging(phases_to_use=1), unbalanced_load_limit=18, unbalanced_load=False), control_interval=10, extern_display_mode='primary', extern=False, external_buttons_hw=False, grid_protection_active=False, grid_protection_configured=True, grid_protection_random_stop=0, grid_protection_timestamp='', mqtt_bridge=False, price_kwh=0.39, range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=False, r1_active=False, r2_active=False))
2024-02-29 13:20:44,044 - {control.data:246} - {INFO:MainThread} - general_data-display
primary
2024-02-29 13:20:44,045 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-02-29 13:20:44,047 - {control.data:248} - {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=True, on_if_plugged_in=True, pin_active=False, pin_code='0000', standby=45, theme=<modules.display_themes.cards.config.CardsDisplayTheme object at 0x6e35b598>), led=Led(active=False), rfid=Rfid(active=False))
2024-02-29 13:20:44,048 - {control.data:266} - {INFO:MainThread} - pv1
PvData(config=Config(max_ac_out=0), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=17246.204, monthly_exported=0, yearly_exported=0, exported=52006.318, fault_state=0, fault_str='Kein Fehler.', power=-4274.61))
2024-02-29 13:20:44,049 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=17246.204, monthly_exported=0, yearly_exported=0, exported=52006.318, power=-4274.61))
2024-02-29 13:20:44,052 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.101.45', 'current_commit': '2024-01-03 12:21:20 +0100 [06bcf54f9]', 'current_branch': 'Release', 'current_branch_commit': '2024-01-03 12:21:20 +0100 [06bcf54f9]', 'current_missing_commits': [], 'datastore_version': 29, 'dataprotection_acknowledged': True, 'usage_terms_acknowledged': True, 'debug_level': 20, 'release_train': 'master', 'version': '2.1.2-Patch.2', 'boot_done': True, 'lastlivevaluesJson': {'timestamp': 1709209232, 'time': '13:20:32', 'grid': -0.018, 'house-power': 0.694, 'charging-all': 3.511, 'pv-all': 4.268, 'cp4-power': 3.511, 'ev0-soc': 72, 'bat-all-power': 0.045, 'bat-all-soc': 19}, 'module_update_completed': True}
2024-02-29 13:20:44,052 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'Json', 'type': 'json', 'id': 0, 'configuration': {'url': 'http://RaspiHomeAuto.fritz.box:8126/statistics'}}
2024-02-29 13:20:44,054 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'Senec', 'type': 'counter', 'id': 0, 'configuration': {'jq_power': '.ENERGY.GUI_GRID_POW|tonumber', 'jq_exported': None, 'jq_imported': None, 'jq_powers': [None, None, None], 'jq_currents': [None, None, None]}}
2024-02-29 13:20:44,055 - {control.data:281} - {INFO:MainThread} - component1
{'name': 'Senec', 'type': 'inverter', 'id': 1, 'configuration': {'jq_power': '.ENERGY.GUI_INVERTER_POWER|tonumber', 'jq_exported': None}}
2024-02-29 13:20:44,057 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'Senec', 'type': 'bat', 'id': 2, 'configuration': {'jq_imported': None, 'jq_exported': None, 'jq_soc': '.ENERGY.GUI_BAT_DATA_FUEL_CHARGE|tonumber', 'jq_power': '.ENERGY.GUI_BAT_DATA_POWER|tonumber'}}
2024-02-29 13:20:44,057 - {control.data:253} - {INFO:MainThread} - 

2024-02-29 13:20:44,059 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-02-29 13:20:44,061 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-02-29 13:20:44,063 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.PV_CHARGING - Chargemode.INSTANT_CHARGING - True, Zähler 0
2024-02-29 13:20:44,064 - {control.algorithm.common:95} - {INFO:MainThread} - LP4: Stromstärke 6A
2024-02-29 13:20:44,067 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-02-29 13:20:44,071 - {control.algorithm.additional_current:26} - {INFO:MainThread} - Mode-Tuple Chargemode.PV_CHARGING - Chargemode.INSTANT_CHARGING - True, Zähler 0
2024-02-29 13:20:44,073 - {control.algorithm.common:95} - {INFO:MainThread} - LP4: Stromstärke 6A
2024-02-29 13:20:44,074 - {control.counter:211} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: 1298.2903833007804W
2024-02-29 13:20:44,076 - {control.algorithm.algorithm:38} - {INFO:MainThread} - **PV-geführten Strom setzen**
2024-02-29 13:20:44,078 - {control.algorithm.surplus_controlled:42} - {INFO:MainThread} - Mode-Tuple Chargemode.PV_CHARGING - Chargemode.INSTANT_CHARGING - True, Zähler 0
2024-02-29 13:20:44,079 - {control.algorithm.common:95} - {INFO:MainThread} - LP4: Stromstärke 12.184740796959915A
2024-02-29 13:20:44,082 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-02-29 13:20:44,086 - {control.process:111} - {INFO:MainThread} - LP4: set current 12.18 A, state CHARGING_ALLOWED
2024-02-29 13:20:44,130 - {control.counter:186} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-02-29 13:20:50,742 - {root:74} - {INFO:MainThread} - # ***Start*** 
2024-02-29 13:20:52,731 - {modules.common.store._api:30} - {INFO:component1} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-4281.583984375, exported=52017.64550538787, dc_power=None)
2024-02-29 13:20:52,736 - {modules.common.store._api:30} - {INFO:component2} - Saving BatState(imported=15506.166576633197, exported=12369.996881735338, power=619.4970703125, soc=19.191917419433594)
2024-02-29 13:20:52,768 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[0.0, 0.0, 0.0], powers=[0.0, 0.0, 0.0], voltages=[230.0, 230.0, 230.0], power_factors=[0.0, 0.0, 0.0], imported=47340.25661153443, exported=3750.030072479223, power=-291.1157531738281, frequency=50)
2024-02-29 13:20:52,908 - {control.bat_all:173} - {INFO:MainThread} - -50W verbleibende Speicher-Leistung
2024-02-29 13:20:52,914 - {control.counter:138} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [27.4, 16.0, 16.0]A
2024-02-29 13:20:52,920 - {control.counter:161} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 13882.535753173828W
2024-02-29 13:20:52,938 - {control.chargepoint.chargepoint:898} - {INFO:MainThread} - LP 4, EV: Standard-Fahrzeug (EV-Nr.0): Theoretisch benötigter Strom 6A, Lademodus pv_charging, Submodus: Chargemode.INSTANT_CHARGING, Phasen: 1, Priorität: True, max. Ist-Strom: 11.4
2024-02-29 13:20:52,954 - {control.data:266} - {INFO:MainThread} - bat2
BatData(get=Get(soc=19, daily_exported=35.53, daily_imported=2232.33, imported=15506.17, exported=12370.0, fault_state=0, fault_str='Kein Fehler.', power=619.5))
2024-02-29 13:20:52,954 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=19, daily_exported=35.53, daily_imported=2232.33, fault_str='Kein Fehler.', fault_state=0, imported=15506.17, exported=12370.0, power=619.5), set=Set(charging_power_left=-50, switch_on_soc_reached=True))
2024-02-29 13:20:52,956 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=10164.98, daily_exported=0, power=2591.42, imported=1030168.95, exported=0))
2024-02-29 13:20:52,957 - {control.data:266} - {INFO:MainThread} - cp4
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.PV_CHARGING: 'pv_charging'>, current_plan=None, imported_at_plan_start=1019955.99, imported_instant_charging=None, limit=', da die maximale Leistung an Zähler {} erreicht ist.', phases=1, prio=True, required_current=6, required_currents=[6, 0.0, 0.0], state=4, submode=<Chargemode.INSTANT_CHARGING: 'instant_charging'>, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, timestamp_switch_on_off=None), get=Get(charge_state=True, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False, time_charging_in_use=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=72), currents=[11.4, 0.0, 0.0], daily_imported=10164.98, daily_exported=0, evse_current=1218, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=1030168.95, phases_in_use=1, plug_state=True, power=2591.42, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str=None, voltages=[229.59, 233.0, 230.5]), set=Set(change_ev_permitted=[True, ''], charging_ev=0, charging_ev_prev=0, current=12.18, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='pv_charging', imported_at_mode_switch=1019955.99, imported_at_plugtime=1019955.99, imported_since_mode_switch=10204.040000000037, imported_since_plugged=10204.040000000037, range_charged=56.68911111111132, time_charged='4:19', timestamp_start_charging='02/29/2024, 09:01:22'), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time='02/29/2024, 08:10:12', required_power=1380.0, rfid=None, target_current=0, charging_ev_data=<control.ev.Ev object at 0x6e36da78>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='Interne openWB', type='internal_openwb', template=0, connected_phases=1, phase_1=1, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=4))
2024-02-29 13:20:52,958 - {control.data:266} - {INFO:MainThread} - cpt0
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=0, max_current_multi_phases=16, max_current_single_phase=16, name='Standard Ladepunkt-Profil', rfid_enabling=False, valid_tags=[])
2024-02-29 13:20:52,959 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[16, 16, 16], max_total_power=11000), 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=50, daily_exported=389.8066014982185, daily_imported=2576.250336010314, imported=47340.25661153443, exported=3750.030072479223, fault_state=0, fault_str='Kein Fehler.', power=-291.1157531738281), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=13882.535753173828, raw_currents_left=[27.4, 16.0, 16.0], surplus_power_left=0, state_str=''))
2024-02-29 13:20:52,961 - {control.data:241} - {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': 4, 'type': 'cp', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=779.5442468261717, invalid_home_consumption=0, daily_yield_home_consumption=7092.23354819109, imported_home_consumption=59657.74120859433, disengageable_smarthome_power=0))
2024-02-29 13:20:52,962 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Lade-Profil', disable_after_unplug=False, prio=True, load_default=True, time_charging=TimeCharging(active=True, plans={}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=16, min_current=6, feed_in_limit=False, min_soc=20, max_soc=77), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=9, limit=Limit(selected='soc', amount=50000, soc=70))))
2024-02-29 13:20:52,963 - {control.data:266} - {INFO:MainThread} - ev0
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Standard-Fahrzeug-Profil', max_current_multi_phases=16, max_phases=1, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=True, control_pilot_interruption_duration=10, average_consump=18000, min_current=6, max_current_single_phase=16, battery_capacity=39000, efficiency=82, nominal_difference=1, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=[], get=Get(soc=72, soc_timestamp='02/29/2024, 13:17:34', force_soc_update=False, range=185.0, fault_state=0, fault_str='Kein Fehler.'))
2024-02-29 13:20:52,965 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Profil', max_current_multi_phases=16, max_phases=1, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=True, control_pilot_interruption_duration=10, average_consump=18000, min_current=6, max_current_single_phase=16, battery_capacity=39000, efficiency=82, nominal_difference=1, keep_charge_active_duration=40)
2024-02-29 13:20:52,967 - {control.data:245} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=1), pv_charging=PvCharging(bat_prio=True, charging_power_reserve=0, control_range=[0, 230], feed_in_yield=15000, phase_switch_delay=7, phases_to_use=1, rundown_power=0, rundown_soc=70, switch_off_delay=300, switch_off_soc=0, switch_off_threshold=800, switch_on_delay=20, switch_on_soc=0, switch_on_threshold=500), scheduled_charging=ScheduledCharging(phases_to_use=1), time_charging=TimeCharging(phases_to_use=1), unbalanced_load_limit=18, unbalanced_load=False), control_interval=10, extern_display_mode='primary', extern=False, external_buttons_hw=False, grid_protection_active=False, grid_protection_configured=True, grid_protection_random_stop=0, grid_protection_timestamp='', mqtt_bridge=False, price_kwh=0.39, range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=False, r1_active=False, r2_active=False))
2024-02-29 13:20:52,968 - {control.data:246} - {INFO:MainThread} - general_data-display
primary
2024-02-29 13:20:52,969 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-02-29 13:20:52,971 - {control.data:248} - {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=True, on_if_plugged_in=True, pin_active=False, pin_code='0000', standby=45, theme=<modules.display_themes.cards.config.CardsDisplayTheme object at 0x6e36bd30>), led=Led(active=False), rfid=Rfid(active=False))
2024-02-29 13:20:52,971 - {control.data:266} - {INFO:MainThread} - pv1
PvData(config=Config(max_ac_out=0), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=17246.204, monthly_exported=0, yearly_exported=0, exported=52017.646, fault_state=0, fault_str='Kein Fehler.', power=-4281.58))
2024-02-29 13:20:52,972 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=17246.204, monthly_exported=0, yearly_exported=0, exported=52017.646, power=-4281.58))
2024-02-29 13:20:52,973 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.101.45', 'current_commit': '2024-01-03 12:21:20 +0100 [06bcf54f9]', 'current_branch': 'Release', 'current_branch_commit': '2024-01-03 12:21:20 +0100 [06bcf54f9]', 'current_missing_commits': [], 'datastore_version': 29, 'dataprotection_acknowledged': True, 'usage_terms_acknowledged': True, 'debug_level': 20, 'release_train': 'master', 'version': '2.1.2-Patch.2', 'boot_done': True, 'lastlivevaluesJson': {'timestamp': 1709209244, 'time': '13:20:44', 'grid': 0.891, 'house-power': 1.591, 'charging-all': 3.505, 'pv-all': 4.275, 'cp4-power': 3.505, 'ev0-soc': 72, 'bat-all-power': 0.071, 'bat-all-soc': 19}, 'module_update_completed': True}
2024-02-29 13:20:52,975 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'Json', 'type': 'json', 'id': 0, 'configuration': {'url': 'http://RaspiHomeAuto.fritz.box:8126/statistics'}}
2024-02-29 13:20:52,975 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'Senec', 'type': 'counter', 'id': 0, 'configuration': {'jq_power': '.ENERGY.GUI_GRID_POW|tonumber', 'jq_exported': None, 'jq_imported': None, 'jq_powers': [None, None, None], 'jq_currents': [None, None, None]}}
2024-02-29 13:20:52,976 - {control.data:281} - {INFO:MainThread} - component1
{'name': 'Senec', 'type': 'inverter', 'id': 1, 'configuration': {'jq_power': '.ENERGY.GUI_INVERTER_POWER|tonumber', 'jq_exported': None}}
2024-02-29 13:20:52,977 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'Senec', 'type': 'bat', 'id': 2, 'configuration': {'jq_imported': None, 'jq_exported': None, 'jq_soc': '.ENERGY.GUI_BAT_DATA_FUEL_CHARGE|tonumber', 'jq_power': '.ENERGY.GUI_BAT_DATA_POWER|tonumber'}}
2024-02-29 13:20:52,978 - {control.data:253} - {INFO:MainThread} - 

2024-02-29 13:20:52,979 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-02-29 13:20:52,981 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-02-29 13:20:52,983 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.PV_CHARGING - Chargemode.INSTANT_CHARGING - True, Zähler 0
2024-02-29 13:20:52,984 - {control.algorithm.common:95} - {INFO:MainThread} - LP4: Stromstärke 6A
2024-02-29 13:20:52,986 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-02-29 13:20:52,988 - {control.algorithm.additional_current:26} - {INFO:MainThread} - Mode-Tuple Chargemode.PV_CHARGING - Chargemode.INSTANT_CHARGING - True, Zähler 0
2024-02-29 13:20:52,988 - {control.algorithm.common:95} - {INFO:MainThread} - LP4: Stromstärke 6A
2024-02-29 13:20:52,990 - {control.counter:211} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: 1567.5357531738282W
2024-02-29 13:20:52,991 - {control.algorithm.algorithm:38} - {INFO:MainThread} - **PV-geführten Strom setzen**
2024-02-29 13:20:52,993 - {control.algorithm.surplus_controlled:42} - {INFO:MainThread} - Mode-Tuple Chargemode.PV_CHARGING - Chargemode.INSTANT_CHARGING - True, Zähler 0
2024-02-29 13:20:52,995 - {control.algorithm.common:95} - {INFO:MainThread} - LP4: Stromstärke 13.595372839886208A
2024-02-29 13:20:52,996 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-02-29 13:20:53,000 - {control.process:111} - {INFO:MainThread} - LP4: set current 13.6 A, state CHARGING_ALLOWED
2024-02-29 13:20:53,030 - {control.counter:186} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
KaiGo
Beiträge: 47
Registriert: Di Mär 08, 2022 8:29 am

Re: Speicher Vorrang funktioniert nicht

Beitrag von KaiGo »

Elchkopp hat geschrieben: Do Feb 29, 2024 8:22 am Aber eine reservierte Ladeleistung für den Speicher bei Speicher-Vorrang macht doch keinen Sinn in meinen Augen, da in dem Modus Speicher-Prio doch eh erst der gesamte Überschuss in die Hausbatterie gehen soll und erst, wenn die Batterie voll ist oder die maximale Ladeleistung der Batterie anliegt und trotzdem noch (genug) Überschuss vorhanden ist, das Fahrzeug dazu kommt.

Soweit ich das bisher immer verstanden habe, sollten beide Felder nur dann mit Werten ausgestattet werden, wenn die jeweilige Prio-Funktion abgeschwächt werden soll: also bei Prio Fahrzeug trotzdem noch den Akku parallel laden und bei Prio Speicher trotzdem ein definierter Wert für das Laden des Fahrzeugs abgezwackt werden soll.

Was passiert denn, wenn bei beiden Werten 0 (Null) eingetragen wird?

Oder hab ich Euch jetzt falsch verstanden?
Also generell sehe ich es auch so, dass das sehr verwirrend ist. In meinem Fall inbesondere nach dem Update von der 1.9er Software wo das eigentlich sehr intuitiv war. Prio Speicher: Speicher wird mit Volldampf geladen und die OpenWB nimmt was eingespeist werden würde. Bei Fahrzeug Prio konnte ich einstellen, dass ich entweder den Speicher bis zu einem gewissen SoC entladen will mit definiterter Leistung oder ich konnte Ladeleistung für den Speicher vorhalten. Das lief super und funktioniert intuitiv und sinnvoll.
Wie es jetzt in der 2.x Software ist, finde ich persönlich es nicht gut gelöst und sehr verwirrend. Übrigens ist da irgendwo auch noch ein Bug drin. Habe ich schon in einem anderen Thread heute geschrieben: viewtopic.php?t=8289&start=40
PV-Laden kann ich jetzt erst so langsam wieder testen.
VW ID.3 Pro (Facelift, SW 3.7)
PV: 8.4kWp, Kostal Plenticore Plus 7, Kostal Smart Energy Meter, BYD-HVS 5.1
OpenWB series2 Standard+ (Display, Phasenumschaltung)
Viessmann Vitocal 060A für Warmwasserbereitung
Elchkopp
Beiträge: 492
Registriert: Fr Feb 04, 2022 6:19 pm

Re: Speicher Vorrang funktioniert nicht

Beitrag von Elchkopp »

Eigentlich sollte sich - soweit ich weiß - die Funktion aber gegenüber der v1.9 tatsächlich nicht verändert haben. Auf dem Papier. ABER: es gab das letzte halbe Jahr auch viele Fortschritte bei der software2 gerade bei den Featues, insbesondere in einer Zeit, wo nicht man viele Szenarien aufgrund von mangelnder Einstrahlung eventuell nicht mehr unbedingt testen konnte. Vielleicht haben sich dadurch wieder Bugs durch Wechselwirkungen eingeschlichen...
ChristophR
Beiträge: 439
Registriert: So Okt 30, 2022 8:07 am

Re: Speicher Vorrang funktioniert nicht

Beitrag von ChristophR »

caran17 hat geschrieben: Do Feb 29, 2024 10:29 am An dem Chart von heute kann man es zufällig ganz gut erkennen. Bei mir ist Speicher-Vorrang eingestellt, die Werte für "Reservierte Ladeleistung" und "Erlaubte Entladeleistung" sind auf 0. Das hat eine Weile sehr gut funktioniert. Um ungefähr 10:45 legte die Sonne dann richtig los (pastellgrün). Also hat die WB die Ladeleistung fürs Auto erhöht (durchgezogene blaue Linie), was wahrscheinlich mit den aktuellen Werten gut passte. Dadurch war es aber irgendwann "zu viel", was die Box aber nicht erkennen kann. Das führt aber dazu, dass dann eine ganze Weile nichts in den Speicher ging (sattes grün). Mit einer Mindest-Ladeleistung für den Speicher (bei Speicher-Vorrang) könnte man das verhindern.

Bild
Bild: https://ibb.co/Q6SkPZ9
Ich vermute mal, das liegt daran, dass der Wert für die "reservierte Ladeleistung" mit Absicht nicht auf 0 steht.
Lena hatte irgendwo mal geschrieben, dass der Wert auf 200W eingerichtet wurde, weil der Speicher sonst nicht hochregelt.
Den Satz habe ich zwar nie verstanden, könnte aber genau auf Dein Verhalten zutreffen. Daher würde ich es mal mit dem Standardwert 0,2 kW versuchen.

Hier haben wir schonmal darüber diskutiert, bleiben danach noch Verständnisfragen offen?
viewtopic.php?p=100203#p100203
viewtopic.php?p=101462#p101462

Aus meiner Sicht funktioniert es genau wie beschrieben, vielleicht noch folgende Hinweise:
- Wenn ich möchte, dass mein Speicher möglichst voll wird (bis zum Minimalen Entlade-SoC), stelle ich auf Prio Speicher.
- Ist der Minimale Entlade-SoC nicht erreicht und der Speicher kann immer den gesamten Überschuss aufnehmen, startet die Ladung des Fahrzeugs auch nicht.
- Wenn der Speicher mal nicht den gesamten Überschuss aufnehmen kann und dann zusätzlich die Einschaltschwelle am EVU-Punkt "gerissen" wird, startet die Ladung des Fahrzeugs trotz Prio Speicher, um den Überschuss nicht zu verschwenden. Wenn dann der Speicher wieder alles aufnehmen kann, bleibt die Ladung ggf. weiter aktiv, je nach Ausschaltschwelle, geht aber auf Mindestladung zurück und nur der Rest geht in den Speicher.
- Wir der Minimale Entlade-SoC überschritten, startet die Ladung, wenn genug Überschuss (In Form von Speicherladen oder Einspeisung) vorhanden ist.
- Wenn der Minimale Entlade-SoC auf 100%/Aus gestellt wird, um den Speicher voll zu bekommen, wird beim Erreichen von 100% ggf. Überschuss verschwendet, da dann ggf. die Ladung gar nicht startet, wenn z.B. der Überschuss nicht mehr fürs Laden ausreicht, aber trotzdem nicht mehr vom Speicher aufgenommen werden kann. Bei mir hat das mit der Einstellung 95% ganz gut geklappt, dafür braucht es dann aber die erlaubte Entladeleistung, damit der Speicher nicht ganz voll wird. Wenn dann die PV-Leistung nachlässt, geht der Rest in die verbleibenden 5% des Speichers, dann wird er quasi voll verlassen.

Ich hoffe das hilft ein wenig, die letzten Infos habe ich erst seit heute. ;)

P.S: Wenn ich den Speicher möglichst leer haben möchte, kann ich trotzdem auf Prio Speicher stellen und den Minimalen Entlade-SoC ganz niedrig einstellen, dann geht ja auch alles über dem Minimalen Entlade-SoC ins Fahrzeug. Bei Prio Fahrzeug habe ich ja keine Kontrolle, wie voll der Akku wird, so kann ich das aber doch steuern. Aber auch hierfür darf die Entladeleistung nicht auf 0 stehen.
openWB Series 2 Standard+, SW-Version 2
SolarEdge SE10K-RWS, BYD LVS 8, 16,8 kWp.
CUPRA Born
caran17
Beiträge: 36
Registriert: Fr Jul 14, 2023 9:26 am

Re: Speicher Vorrang funktioniert nicht

Beitrag von caran17 »

Spannend, vielen Dank für die Hintergründe. Ich hätte gedacht, dass das Verhalten bei mir normal ist und vor allem daran liegt, dass die WB nicht die Speicher-Leistung kennt.

Bleibt noch eine Theorie: ich habe leider einen Senec-Wechselrichter und -Speicher. Da es da kein offizielles openWB-Plugin gibt und das Senec-JSON für die openWB nicht lesbar ist, habe ich ein kleines Script geschrieben, welches das Senec-JSON in ein für die openWB lesbares JSON umwandelt. Das klappt zwar an sich sehr gut, wie man an dem Graphen erkennen kann und ich hätte gedacht, dass für das Lade-Management die gleichen Werte herangezogen werden. Aber wer weiß, wie das im Detail umgesetzt ist. Etwas stutzig machen mich folgende halbstündigen Log Einträge

Code: Alles auswählen

Keine aktuellen Werte für Gerät Json
Ich werde weiter forschen und es nochmal mit 0,2 kW bei "reservierte Ladeleistung" versuchen.
KaiGo
Beiträge: 47
Registriert: Di Mär 08, 2022 8:29 am

Re: Speicher Vorrang funktioniert nicht

Beitrag von KaiGo »

Elchkopp hat geschrieben: Do Feb 29, 2024 7:53 pm Eigentlich sollte sich - soweit ich weiß - die Funktion aber gegenüber der v1.9 tatsächlich nicht verändert haben. Auf dem Papier. ABER: es gab das letzte halbe Jahr auch viele Fortschritte bei der software2 gerade bei den Featues, insbesondere in einer Zeit, wo nicht man viele Szenarien aufgrund von mangelnder Einstrahlung eventuell nicht mehr unbedingt testen konnte. Vielleicht haben sich dadurch wieder Bugs durch Wechselwirkungen eingeschlichen...
Ich denke auch, dass sich da irgendwo ein Bug eingeschlichen hat in der Zeit, wo das nicht getestet werden konnte mangels PV-Leistung. Wie gesagt: das vorgehen, was ich gestern Mittag (als meine Frau mit dem Auto ne Stunde zu Hause war) vor hatte, hat vorher mit der 1.9er Software immer tadellos funktioniert. Ich musste es halt nur vorab einstellen, weil das nicht über die Cloud ging (super, dass das jetzt geht :) )

Übrigens ist die Idee: Mittags kurz den Speicher ins Auto zu entladen ist wunderbar aufgegangen. Man sieht es unten im Kostal Portal. Speicher war so gut wie leer nach der knappen Stunde laden und 2 Stunden später wieder voll. Abends hatte das Auto noch genug SoC für heute. Dafür ist diese Funktion perfekt. Nur der Netzbezug Mittags während des Auto-Laden sollte halt nicht da sein.
Annotation 2024-03-01 083758.png
Annotation 2024-03-01 083758.png (25.83 KiB) 1448 mal betrachtet
VW ID.3 Pro (Facelift, SW 3.7)
PV: 8.4kWp, Kostal Plenticore Plus 7, Kostal Smart Energy Meter, BYD-HVS 5.1
OpenWB series2 Standard+ (Display, Phasenumschaltung)
Viessmann Vitocal 060A für Warmwasserbereitung
Antworten