Habe mit der aktuellen Version 2023-10-20 12:07:01 +0200 [9cf8db3a5] nun Probleme beim manuellen SOC.
Code: Alles auswählen
2023-10-21 13:14:50,888 - {root:70} - {INFO:MainThread} - # ***Start***
2023-10-21 13:14:50,940 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x7156a5e0>, 'component1': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x71575c58>, 'component2': <modules.devices.solaredge.bat.SolaredgeBat object at 0x7156a8c8>}
2023-10-21 13:14:50,941 - {modules.common.component_context:24} - {DEBUG:set values cp5} - Update Komponente ['Ladepunkt']
2023-10-21 13:14:50,946 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2023-10-21 13:14:50,989 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-324, -281, 0, -42], Scale 0
2023-10-21 13:14:51,139 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [15, 6, 5], Scale -1
2023-10-21 13:14:51,159 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23352, 23499, 23533, 0, 0, 0, 0], Scale -2
2023-10-21 13:14:51,178 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [5000], Scale -2
2023-10-21 13:14:51,198 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [3790, -7749, -6259], Scale -2
2023-10-21 13:14:51,240 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [9745062, 3059744, 5738281, 5892020, 4937698, 7181306, 1780553, 920821], Scale 0
2023-10-21 13:14:51,241 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[1.5, 0.6000000000000001, 0.5], powers=[281.0, -0.0, 42.0], voltages=[233.52, 234.99, 235.33], power_factors=[0.379, -0.7748999999999999, -0.6259], imported=4937698.0, exported=9745062.0, power=324.0, frequency=50.0)
2023-10-21 13:14:51,244 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2023-10-21 13:14:51,267 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [13200], Scale -2
2023-10-21 13:14:51,287 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [22378070], Scale 0
2023-10-21 13:14:51,307 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [30, 32, 32], Scale -2
2023-10-21 13:14:51,358 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [13401], Scale -2
2023-10-21 13:14:51,359 - {modules.common.component_state:100} - {DEBUG:device0} - currents sign wrong [0.3, 0.32, 0.32]
2023-10-21 13:14:51,360 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.3, 0.32, 0.32], power=-132.0, exported=22378070.0, dc_power=-134.01)
2023-10-21 13:14:51,362 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2023-10-21 13:14:51,408 - {modules.common.simcount._simcount:38} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1697886881.2380016, power=2780.0, imported=6229.459260685307, exported=0.9709903482264942)
2023-10-21 13:14:51,409 - {modules.common.simcount._calculate:13} - {DEBUG:device0} - time passed: 0.00282523, power1: 2780, power2: 2479
2023-10-21 13:14:51,410 - {modules.common.simcount._calculate:29} - {DEBUG:device0} - power did not change sign. Total energy: 7.42895
2023-10-21 13:14:51,411 - {modules.common.simcount._simcount:47} - {DEBUG:device0} - imported: 7.42895 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1697886891.4088423, power=2479.0, imported=6236.888212275964, exported=0.9709903482264942)
2023-10-21 13:14:51,412 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=6236.888212275964, exported=0.9709903482264942, power=2479.0, soc=64.0)
2023-10-21 13:14:51,420 - {modules.common.component_context:24} - {DEBUG:component2} - Update Komponente ['SolarEdge Speicher']
2023-10-21 13:14:51,421 - {modules.common.store._api:30} - {INFO:component2} - Saving BatState(imported=6236.888212275964, exported=0.9709903482264942, power=2479.0, soc=64.0)
2023-10-21 13:14:51,475 - {modules.common.component_context:24} - {DEBUG:component1} - Update Komponente ['SolarEdge Wechselrichter']
2023-10-21 13:14:51,476 - {modules.common.component_context:24} - {DEBUG:update values cp5} - Update Komponente ['Ladepunkt']
2023-10-21 13:14:51,476 - {modules.common.store._api:26} - {DEBUG:component1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-2611.0, exported=22384305.92, dc_power=None)
2023-10-21 13:14:51,478 - {modules.common.store._api:30} - {INFO:component1} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-2611.0, exported=22384305.92, dc_power=None)
2023-10-21 13:14:51,511 - {modules.common.component_context:24} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2023-10-21 13:14:51,512 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[1.5, 0.6000000000000001, 0.5], powers=[281.0, -0.0, 42.0], voltages=[233.52, 234.99, 235.33], power_factors=[0.379, -0.7748999999999999, -0.6259], imported=4937698.0, exported=9745062.0, power=324.0, frequency=50.0)
2023-10-21 13:14:51,690 - {control.bat_all:200} - {DEBUG:MainThread} - Verbleibende Speicher-Leistung: 2479.0W
2023-10-21 13:14:51,691 - {control.bat_all:204} - {DEBUG:MainThread} - Reservierte Ladeleistung (300W) subtrahieren: 2179.0
2023-10-21 13:14:51,692 - {control.bat_all:164} - {INFO:MainThread} - 2179.0W verbleibende Speicher-Leistung
2023-10-21 13:14:51,695 - {control.counter:138} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [38.5, 39.4, 39.5]A
2023-10-21 13:14:51,696 - {control.counter:161} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 49676.0W
2023-10-21 13:14:51,699 - {control.chargepoint.chargepoint:277} - {INFO:MainThread} - LP 5: Keine Ladung, da kein Auto angesteckt ist.
2023-10-21 13:14:51,706 - {modules.common.simcount._simcount:38} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1697886881.512605, power=326.0, imported=836248.7677887211, exported=0)
2023-10-21 13:14:51,715 - {modules.common.simcount._calculate:13} - {DEBUG:MainThread} - time passed: 0.0028317, power1: 326, power2: 456
2023-10-21 13:14:51,717 - {modules.common.simcount._calculate:29} - {DEBUG:MainThread} - power did not change sign. Total energy: 1.10719
2023-10-21 13:14:51,719 - {modules.common.simcount._simcount:47} - {DEBUG:MainThread} - imported: 1.10719 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1697886891.70672, power=456.0, imported=836249.8749828957, exported=0)
2023-10-21 13:14:51,721 - {control.data:266} - {INFO:MainThread} - bat2
BatData(get=Get(soc=64, daily_exported=0.38, daily_imported=6059.17, imported=6236.89, exported=0.97, fault_state=0, fault_str='Kein Fehler.', power=2479.0))
2023-10-21 13:14:51,723 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=64, daily_exported=0.38, daily_imported=6059.17, imported=6236.89, exported=0.97, power=2479.0), set=Set(charging_power_left=2179.0, switch_on_soc_reached=False))
2023-10-21 13:14:51,724 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=2993.17, daily_exported=0, power=0, imported=2982385.99, exported=0))
2023-10-21 13:14:51,729 - {control.data:266} - {INFO:MainThread} - cp5
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.STOP: 'stop'>, current_plan=None, imported_at_plan_start=None, imported_instant_charging=None, limit=None, phases=0, prio=False, required_current=0, required_currents=[0.0, 0.0, 0.0], state=<ChargepointState.NO_CHARGING_ALLOWED: 0>, submode=<Chargemode.STOP: 'stop'>, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, timestamp_switch_on_off=None), get=Get(charge_state=False, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False, time_charging_in_use=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=100.0), currents=[0.0, 0.0, 0.0], daily_imported=2993.17, daily_exported=0, evse_current=None, exported=0, fault_str='OSError None: Unbekannter Fehler None', fault_state=2, imported=2982385.99, phases_in_use=0, plug_state=False, power=0, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Keine Ladung, da kein Auto angesteckt ist.', voltages=[233.51, 235.06, 235.01]), set=Set(change_ev_permitted=[True, ''], charging_ev=-1, charging_ev_prev=-1, current=0, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='_', imported_at_mode_switch=0, imported_at_plugtime=0, imported_since_mode_switch=0, imported_since_plugged=0, range_charged=0, time_charged='00:00', timestamp_start_charging=None), manual_lock=False, phases_to_use=0, plug_state_prev=False, plug_time=None, required_power=0, rfid=None, target_current=0, charging_ev_data=<control.ev.Ev object at 0x701d4220>), config=Config(configuration={'ip_address': '192.168.2.131', 'duo_num': 0}, ev=0, name='Externe openWB', type='external_openwb', template=0, connected_phases=2, phase_1=1, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=5))
2023-10-21 13:14:51,731 - {control.data:266} - {INFO:MainThread} - cpt0
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=0, max_current_multi_phases=32, max_current_single_phase=32, name='Standard Ladepunkt-Vorlage', rfid_enabling=False, valid_tags=[])
2023-10-21 13:14:51,735 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[40, 40, 40], max_total_power=50000), get=Get(powers=[281.0, -0.0, 42.0], currents=[1.5, 0.6, 0.5], voltages=[233.52, 234.99, 235.33], power_factors=[0.38, -0.77, -0.63], unbalanced_load=0, frequency=50.0, daily_exported=372.0, daily_imported=4623.0, imported=4937698.0, exported=9745062.0, fault_state=0, fault_str='Kein Fehler.', power=324.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=49676.0, raw_currents_left=[38.5, 39.4, 39.5], surplus_power_left=0, state_str=''))
2023-10-21 13:14:51,736 - {control.data:241} - {INFO:MainThread} - counter_all_data
CounterAllData(config=Config(reserve_for_not_charging=False), get=Get(hierarchy=[{'id': 0, 'type': 'counter', 'children': [{'id': 1, 'type': 'inverter', 'children': [{'id': 2, 'type': 'bat', 'children': []}]}, {'id': 5, 'type': 'cp', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=456.0, invalid_home_consumption=0, daily_yield_home_consumption=6180.0919240222, imported_home_consumption=836249.8749828957, disengageable_smarthome_power=0))
2023-10-21 13:14:51,738 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=True, load_default=True, time_charging=TimeCharging(active=False, plans={'0': TimeChargingPlan(active=False, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, False, False, False]), time=['21:00', '23:00'], name='Zeitladen-Standard', current=32, limit=Limit(selected='soc', amount=1000, soc=75))}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=6, min_current=0, feed_in_limit=False, min_soc=100, max_soc=101), scheduled_charging=ScheduledCharging(plans={'0': ScheduledChargingPlan(active=False, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, False, False, False]), current=13, name='Zielladen-Standard', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=65), time='07:00')}), instant_charging=InstantCharging(current=32, limit=Limit(selected='none', amount=14000, soc=100))))
2023-10-21 13:14:51,740 - {control.data:266} - {INFO:MainThread} - ev0
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=32, max_phases=2, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=24000, min_current=6, max_current_single_phase=32, battery_capacity=11000, nominal_difference=2, keep_charge_active_duration=2), et_num=0), soc_error_counter=0), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=[], get=Get(soc=100.0, soc_timestamp='10/21/2023, 11:44:58', force_soc_update=False, range=0, fault_state=0, fault_str='Kein Fehler.'))
2023-10-21 13:14:51,742 - {control.data:266} - {INFO:MainThread} - ev5
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Standard-Fahrzeug-Profil', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, 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=0, soc_timestamp=None, force_soc_update=False, range=0, fault_state=0, fault_str='Kein Fehler.'))
2023-10-21 13:14:51,749 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=32, max_phases=2, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=24000, min_current=6, max_current_single_phase=32, battery_capacity=11000, nominal_difference=2, keep_charge_active_duration=2)
2023-10-21 13:14:51,750 - {control.data:245} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=3), pv_charging=PvCharging(bat_prio=False, charging_power_reserve=300, control_range=[0, 230], feed_in_yield=7000, phase_switch_delay=5, phases_to_use=1, rundown_power=5000, rundown_soc=60, switch_off_delay=180, switch_off_soc=60, switch_off_threshold=300, switch_on_delay=10, switch_on_soc=90, switch_on_threshold=500), scheduled_charging=ScheduledCharging(phases_to_use=0), time_charging=TimeCharging(phases_to_use=3), unbalanced_load_limit=18, unbalanced_load=False), control_interval=10, extern_display_mode='local', extern=False, external_buttons_hw=False, grid_protection_active=False, grid_protection_configured=True, grid_protection_random_stop=0, grid_protection_timestamp='', mqtt_bridge=False, price_kwh=0.4857, range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=False, r1_active=False, r2_active=False))
2023-10-21 13:14:51,756 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2023-10-21 13:14:51,757 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2023-10-21 13:14:51,758 - {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=180, theme=<modules.display_themes.cards.config.CardsDisplayTheme object at 0x70b98670>), led=Led(active=False), rfid=Rfid(active=False))
2023-10-21 13:14:51,759 - {control.data:266} - {INFO:MainThread} - pv1
PvData(config=Config(max_ac_out=7200), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=7978.79, monthly_exported=0, yearly_exported=0, exported=22384305.92, fault_state=0, fault_str='Kein Fehler.', power=-2611.0))
2023-10-21 13:14:51,759 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=7978.79, monthly_exported=0, yearly_exported=0, exported=22384305.92, power=-2611.0))
2023-10-21 13:14:51,760 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'boot_done': True, 'ip_address': '192.168.2.130', 'current_commit': '2023-10-20 12:07:01 +0200 [9cf8db3a5]', 'current_branch': 'master', 'current_branch_commit': '2023-10-20 12:07:01 +0200 [9cf8db3a5]', 'current_missing_commits': [], 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.2-Alpha.2', 'datastore_version': 24, 'lastlivevaluesJson': {'timestamp': 1697886881, 'time': '13:14:41', 'grid': -0.073, 'house-power': 0.326, 'charging-all': 0.0, 'pv-all': 3.179, 'ev0-soc': 100.0, 'bat-all-power': 2.78, 'bat-all-soc': 63}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2023-10-21 13:14:51,760 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 502, 'ip_address': '192.168.2.134'}}
2023-10-21 13:14:51,761 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2023-10-21 13:14:51,761 - {control.data:281} - {INFO:MainThread} - component1
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 1, 'configuration': {'modbus_id': 1}}
2023-10-21 13:14:51,761 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 2, 'configuration': {'modbus_id': 1}}
2023-10-21 13:14:51,762 - {control.data:253} - {INFO:MainThread} -
2023-10-21 13:14:51,762 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2023-10-21 13:14:51,767 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2023-10-21 13:14:51,770 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2023-10-21 13:14:51,779 - {control.counter:211} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: 1970.0W
2023-10-21 13:14:51,783 - {control.counter:457} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf 1970.0W
2023-10-21 13:14:51,784 - {control.algorithm.algorithm:38} - {INFO:MainThread} - **PV-geführten Strom setzen**
2023-10-21 13:14:51,791 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2023-10-21 13:14:51,793 - {modules.common.component_context:24} - {DEBUG:set current cp5} - Update Komponente ['Ladepunkt']
2023-10-21 13:14:51,838 - {control.counter:186} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2023-10-21 13:14:52,028 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2023-10-21 13:14:55,056 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2023-10-21 13:15:00,074 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2023-10-21 13:15:00,075 - {root:70} - {INFO:MainThread} - # ***Start***
2023-10-21 13:15:00,126 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x7156a5e0>, 'component1': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x71575c58>, 'component2': <modules.devices.solaredge.bat.SolaredgeBat object at 0x7156a8c8>}
2023-10-21 13:15:00,129 - {modules.common.component_context:24} - {DEBUG:set values cp5} - Update Komponente ['Ladepunkt']
2023-10-21 13:15:00,137 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2023-10-21 13:15:00,168 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-100, -195, 69, 24], Scale 0
2023-10-21 13:15:00,187 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [18, 4, 4], Scale -1
2023-10-21 13:15:00,206 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23346, 23478, 23518, 0, 0, 0, 0], Scale -2
2023-10-21 13:15:00,227 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [5000], Scale -2
2023-10-21 13:15:00,259 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [6280, -280, 3970], Scale -2
2023-10-21 13:15:00,279 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [9745062, 3059744, 5738281, 5892020, 4937698, 7181307, 1780553, 920821], Scale 0
2023-10-21 13:15:00,280 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[1.8, -0.4, -0.4], powers=[195.0, -69.0, -24.0], voltages=[233.46, 234.78, 235.18], power_factors=[0.628, -0.028000000000000004, 0.397], imported=4937698.0, exported=9745062.0, power=100.0, frequency=50.0)
2023-10-21 13:15:00,282 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2023-10-21 13:15:00,306 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [27400], Scale -2
2023-10-21 13:15:00,347 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [22378072], Scale 0
2023-10-21 13:15:00,378 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [44, 46, 48], Scale -2
2023-10-21 13:15:00,406 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [27817], Scale -2
2023-10-21 13:15:00,406 - {modules.common.component_state:100} - {DEBUG:device0} - currents sign wrong [0.44, 0.46, 0.48]
2023-10-21 13:15:00,407 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.44, 0.46, 0.48], power=-274.0, exported=22378072.0, dc_power=-278.17)
2023-10-21 13:15:00,408 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2023-10-21 13:15:00,449 - {modules.common.simcount._simcount:38} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1697886891.4088423, power=2479.0, imported=6236.888212275964, exported=0.9709903482264942)
2023-10-21 13:15:00,450 - {modules.common.simcount._calculate:13} - {DEBUG:device0} - time passed: 0.00251126, power1: 2479, power2: 2203
2023-10-21 13:15:00,450 - {modules.common.simcount._calculate:29} - {DEBUG:device0} - power did not change sign. Total energy: 5.87886
2023-10-21 13:15:00,450 - {modules.common.simcount._simcount:47} - {DEBUG:device0} - imported: 5.87886 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1697886900.4493744, power=2203.0, imported=6242.767069407763, exported=0.9709903482264942)
2023-10-21 13:15:00,451 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=6242.767069407763, exported=0.9709903482264942, power=2203.0, soc=64.0)
2023-10-21 13:15:00,456 - {modules.common.component_context:24} - {DEBUG:component2} - Update Komponente ['SolarEdge Speicher']
2023-10-21 13:15:00,457 - {modules.common.store._api:30} - {INFO:component2} - Saving BatState(imported=6242.767069407763, exported=0.9709903482264942, power=2203.0, soc=64.0)
2023-10-21 13:15:00,490 - {modules.common.component_context:24} - {DEBUG:component1} - Update Komponente ['SolarEdge Wechselrichter']
2023-10-21 13:15:00,491 - {modules.common.component_context:24} - {DEBUG:update values cp5} - Update Komponente ['Ladepunkt']
2023-10-21 13:15:00,491 - {modules.common.store._api:26} - {DEBUG:component1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-2477.0, exported=22384313.8, dc_power=None)
2023-10-21 13:15:00,492 - {modules.common.store._api:30} - {INFO:component1} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-2477.0, exported=22384313.8, dc_power=None)
2023-10-21 13:15:00,514 - {modules.common.component_context:24} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2023-10-21 13:15:00,516 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[1.8, -0.4, -0.4], powers=[195.0, -69.0, -24.0], voltages=[233.46, 234.78, 235.18], power_factors=[0.628, -0.028000000000000004, 0.397], imported=4937698.0, exported=9745062.0, power=100.0, frequency=50.0)
2023-10-21 13:15:00,678 - {control.bat_all:200} - {DEBUG:MainThread} - Verbleibende Speicher-Leistung: 2203.0W
2023-10-21 13:15:00,679 - {control.bat_all:204} - {DEBUG:MainThread} - Reservierte Ladeleistung (300W) subtrahieren: 1903.0
2023-10-21 13:15:00,679 - {control.bat_all:164} - {INFO:MainThread} - 1903.0W verbleibende Speicher-Leistung
2023-10-21 13:15:00,682 - {control.counter:138} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [38.2, 40.4, 40.4]A
2023-10-21 13:15:00,683 - {control.counter:161} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 49900.0W
2023-10-21 13:15:00,686 - {control.chargepoint.chargepoint:277} - {INFO:MainThread} - LP 5: Keine Ladung, da kein Auto angesteckt ist.
2023-10-21 13:15:00,692 - {modules.common.simcount._simcount:38} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1697886891.70672, power=456.0, imported=836249.8749828957, exported=0)
2023-10-21 13:15:00,693 - {modules.common.simcount._calculate:13} - {DEBUG:MainThread} - time passed: 0.00249604, power1: 456, power2: 374
2023-10-21 13:15:00,694 - {modules.common.simcount._calculate:29} - {DEBUG:MainThread} - power did not change sign. Total energy: 1.03586
2023-10-21 13:15:00,702 - {modules.common.simcount._simcount:47} - {DEBUG:MainThread} - imported: 1.03586 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1697886900.6924777, power=374.0, imported=836250.9108410622, exported=0)
2023-10-21 13:15:00,709 - {control.data:266} - {INFO:MainThread} - bat2
BatData(get=Get(soc=64, daily_exported=0.38, daily_imported=6059.17, imported=6242.77, exported=0.97, fault_state=0, fault_str='Kein Fehler.', power=2203.0))
2023-10-21 13:15:00,710 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=64, daily_exported=0.38, daily_imported=6059.17, imported=6242.77, exported=0.97, power=2203.0), set=Set(charging_power_left=1903.0, switch_on_soc_reached=False))
2023-10-21 13:15:00,711 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=2993.17, daily_exported=0, power=0, imported=2982385.99, exported=0))
2023-10-21 13:15:00,712 - {control.data:266} - {INFO:MainThread} - cp5
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.STOP: 'stop'>, current_plan=None, imported_at_plan_start=None, imported_instant_charging=None, limit=None, phases=0, prio=False, required_current=0, required_currents=[0.0, 0.0, 0.0], state=<ChargepointState.NO_CHARGING_ALLOWED: 0>, submode=<Chargemode.STOP: 'stop'>, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, timestamp_switch_on_off=None), get=Get(charge_state=False, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False, time_charging_in_use=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=100.0), currents=[0.0, 0.0, 0.0], daily_imported=2993.17, daily_exported=0, evse_current=None, exported=0, fault_str='OSError None: Unbekannter Fehler None', fault_state=2, imported=2982385.99, phases_in_use=0, plug_state=False, power=0, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Keine Ladung, da kein Auto angesteckt ist.', voltages=[233.54, 235.25, 235.0]), set=Set(change_ev_permitted=[True, ''], charging_ev=-1, charging_ev_prev=-1, current=0, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='_', imported_at_mode_switch=0, imported_at_plugtime=0, imported_since_mode_switch=0, imported_since_plugged=0, range_charged=0, time_charged='00:00', timestamp_start_charging=None), manual_lock=False, phases_to_use=0, plug_state_prev=False, plug_time=None, required_power=0, rfid=None, target_current=0, charging_ev_data=<control.ev.Ev object at 0x70bbf7c0>), config=Config(configuration={'ip_address': '192.168.2.131', 'duo_num': 0}, ev=0, name='Externe openWB', type='external_openwb', template=0, connected_phases=2, phase_1=1, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=5))
2023-10-21 13:15:00,713 - {control.data:266} - {INFO:MainThread} - cpt0
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=0, max_current_multi_phases=32, max_current_single_phase=32, name='Standard Ladepunkt-Vorlage', rfid_enabling=False, valid_tags=[])
2023-10-21 13:15:00,714 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[40, 40, 40], max_total_power=50000), get=Get(powers=[195.0, -69.0, -24.0], currents=[1.8, -0.4, -0.4], voltages=[233.46, 234.78, 235.18], power_factors=[0.63, -0.03, 0.4], unbalanced_load=0, frequency=50.0, daily_exported=372.0, daily_imported=4623.0, imported=4937698.0, exported=9745062.0, fault_state=0, fault_str='Kein Fehler.', power=100.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=49900.0, raw_currents_left=[38.2, 40.4, 40.4], surplus_power_left=0, state_str=''))
2023-10-21 13:15:00,715 - {control.data:241} - {INFO:MainThread} - counter_all_data
CounterAllData(config=Config(reserve_for_not_charging=False), get=Get(hierarchy=[{'id': 0, 'type': 'counter', 'children': [{'id': 1, 'type': 'inverter', 'children': [{'id': 2, 'type': 'bat', 'children': []}]}, {'id': 5, 'type': 'cp', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=374.0, invalid_home_consumption=0, daily_yield_home_consumption=6180.0919240222, imported_home_consumption=836250.9108410622, disengageable_smarthome_power=0))
2023-10-21 13:15:00,716 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=True, load_default=True, time_charging=TimeCharging(active=False, plans={'0': TimeChargingPlan(active=False, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, False, False, False]), time=['21:00', '23:00'], name='Zeitladen-Standard', current=32, limit=Limit(selected='soc', amount=1000, soc=75))}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=6, min_current=0, feed_in_limit=False, min_soc=100, max_soc=101), scheduled_charging=ScheduledCharging(plans={'0': ScheduledChargingPlan(active=False, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, False, False, False]), current=13, name='Zielladen-Standard', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=65), time='07:00')}), instant_charging=InstantCharging(current=32, limit=Limit(selected='none', amount=14000, soc=100))))
2023-10-21 13:15:00,717 - {control.data:266} - {INFO:MainThread} - ev0
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=32, max_phases=2, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=24000, min_current=6, max_current_single_phase=32, battery_capacity=11000, nominal_difference=2, keep_charge_active_duration=2), et_num=0), soc_error_counter=0), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=[], get=Get(soc=100.0, soc_timestamp='10/21/2023, 11:44:58', force_soc_update=False, range=0, fault_state=0, fault_str='Kein Fehler.'))
2023-10-21 13:15:00,718 - {control.data:266} - {INFO:MainThread} - ev5
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Standard-Fahrzeug-Profil', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, 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=0, soc_timestamp=None, force_soc_update=False, range=0, fault_state=0, fault_str='Kein Fehler.'))
2023-10-21 13:15:00,719 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=32, max_phases=2, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=24000, min_current=6, max_current_single_phase=32, battery_capacity=11000, nominal_difference=2, keep_charge_active_duration=2)
2023-10-21 13:15:00,722 - {control.data:245} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=3), pv_charging=PvCharging(bat_prio=False, charging_power_reserve=300, control_range=[0, 230], feed_in_yield=7000, phase_switch_delay=5, phases_to_use=1, rundown_power=5000, rundown_soc=60, switch_off_delay=180, switch_off_soc=60, switch_off_threshold=300, switch_on_delay=10, switch_on_soc=90, switch_on_threshold=500), scheduled_charging=ScheduledCharging(phases_to_use=0), time_charging=TimeCharging(phases_to_use=3), unbalanced_load_limit=18, unbalanced_load=False), control_interval=10, extern_display_mode='local', extern=False, external_buttons_hw=False, grid_protection_active=False, grid_protection_configured=True, grid_protection_random_stop=0, grid_protection_timestamp='', mqtt_bridge=False, price_kwh=0.4857, range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=False, r1_active=False, r2_active=False))
2023-10-21 13:15:00,722 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2023-10-21 13:15:00,723 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2023-10-21 13:15:00,723 - {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=180, theme=<modules.display_themes.cards.config.CardsDisplayTheme object at 0x70bbf2e0>), led=Led(active=False), rfid=Rfid(active=False))
2023-10-21 13:15:00,724 - {control.data:266} - {INFO:MainThread} - pv1
PvData(config=Config(max_ac_out=7200), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=7978.79, monthly_exported=0, yearly_exported=0, exported=22384313.8, fault_state=0, fault_str='Kein Fehler.', power=-2477.0))
2023-10-21 13:15:00,724 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=7978.79, monthly_exported=0, yearly_exported=0, exported=22384313.8, power=-2477.0))
2023-10-21 13:15:00,725 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'boot_done': True, 'ip_address': '192.168.2.130', 'current_commit': '2023-10-20 12:07:01 +0200 [9cf8db3a5]', 'current_branch': 'master', 'current_branch_commit': '2023-10-20 12:07:01 +0200 [9cf8db3a5]', 'current_missing_commits': [], 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.2-Alpha.2', 'datastore_version': 24, 'lastlivevaluesJson': {'timestamp': 1697886891, 'time': '13:14:51', 'grid': 0.324, 'house-power': 0.456, 'charging-all': 0.0, 'pv-all': 2.611, 'ev0-soc': 100.0, 'bat-all-power': 2.479, 'bat-all-soc': 64}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2023-10-21 13:15:00,726 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 502, 'ip_address': '192.168.2.134'}}
2023-10-21 13:15:00,732 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2023-10-21 13:15:00,739 - {control.data:281} - {INFO:MainThread} - component1
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 1, 'configuration': {'modbus_id': 1}}
2023-10-21 13:15:00,739 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 2, 'configuration': {'modbus_id': 1}}
2023-10-21 13:15:00,739 - {control.data:253} - {INFO:MainThread} -
2023-10-21 13:15:00,740 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2023-10-21 13:15:00,740 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2023-10-21 13:15:00,742 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2023-10-21 13:15:00,744 - {control.counter:211} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: 1918.0W
2023-10-21 13:15:00,745 - {control.counter:457} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf 1918.0W
2023-10-21 13:15:00,751 - {control.algorithm.algorithm:38} - {INFO:MainThread} - **PV-geführten Strom setzen**
2023-10-21 13:15:00,753 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2023-10-21 13:15:00,757 - {modules.common.component_context:24} - {DEBUG:set current cp5} - Update Komponente ['Ladepunkt']
2023-10-21 13:15:00,792 - {control.counter:186} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2023-10-21 13:15:01,022 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2023-10-21 13:15:01,078 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=hours, do=inner, args=(), kwargs={})
2023-10-21 13:15:01,094 - {root:100} - {DEBUG:MainThread} - 5 Minuten Handler ausführen.
2023-10-21 13:15:01,129 - {helpermodules.system:74} - {INFO:MainThread} - my IP: 192.168.2.130
2023-10-21 13:15:01,130 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=hours, do=inner, args=(), kwargs={})
2023-10-21 13:15:05,501 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2023-10-21 13:15:10,515 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2023-10-21 13:15:10,516 - {root:70} - {INFO:MainThread} - # ***Start***