2023-12-08 04:00:21,490 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[63, 63, 63], max_total_power=43000), get=Get(powers=[183.0, 21.0, 105.0], currents=[1.0, 0.5, 1.1], voltages=[242.94, 242.68, 240.75], power_factors=[0.71, 0.17, 0.39], unbalanced_load=0, frequency=49.99, daily_exported=0.0, daily_imported=4073.0, imported=6125835.0, exported=4870433.0, fault_state=0, fault_str='Kein Fehler.', power=311.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=42689.0, raw_currents_left=[62.0, 62.6, 61.9], surplus_power_left=0, state_str=''))
2023-12-08 04:00:21,497 - {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': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=311.0, invalid_home_consumption=0, daily_yield_home_consumption=5488.8679565983, imported_home_consumption=2374305.944762689, disengageable_smarthome_power=0))
2023-12-08 04:00:21,499 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2023-12-08 04:00:21,500 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Ladeprofil ***AUTO1***', disable_after_unplug=False, prio=False, load_default=True, time_charging=TimeCharging(active=True, plans={'0': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[True, True, True, True, False, False, True]), time=['22:00', '06:00'], name='Zeitladen 95%, So-Do 22:00-06:00 Uhr', current=16, limit=Limit(selected='soc', amount=1000, soc=95)), '1': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, True, True, False]), time=['22:00', '06:00'], name='Zeitladen 80%, Fr-Sa 22:00-06:00 Uhr', current=16, limit=Limit(selected='soc', amount=1000, soc=80))}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2023-12-08 04:00:21,501 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, time_charging=TimeCharging(active=True, plans={'2': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), time=['06:45', '07:00'], name='Klima 06:45-07:00 Uhr', current=6, limit=Limit(selected='none', amount=1000, soc=50)), '3': TimeChargingPlan(active=True, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, False, False, False]), time=['00:00', '23:55'], name='Immer 35%', current=10, limit=Limit(selected='soc', amount=1000, soc=35))}), chargemode=Chargemode(selected='scheduled_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={'0': ScheduledChargingPlan(active=False, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, True, False, False, False, False, False]), current=14, name='Zielladen 80%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '1': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), current=14, name='Zielladen 95%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=95), time='05:40'), '2': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once='2023-09-26', weekly=[True, False, False, True, False, True, True]), current=14, name='Zielladen 75%, 7:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=75), time='05:40')}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=80))))
2023-12-08 04:00:21,502 - {control.data:266} - {INFO:MainThread} - ev0
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=['0003134583'], get=Get(soc=0, soc_timestamp=None, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:00:21,503 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Tesla Model Y (2022)', 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=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212', '2585087748'], get=Get(soc=49.0, soc_timestamp='12/08/2023, 01:29:15', force_soc_update=False, range=220.74, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:00:21,504 - {control.data:266} - {INFO:MainThread} - ev2
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Cupra Born 58kW', 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=18000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=2, ev_template=2, name='***AUTO2***', tag_id=['1655332554'], get=Get(soc=72, soc_timestamp='12/08/2023, 02:47:32', force_soc_update=False, range=205, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:00:21,505 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40)
2023-12-08 04:00:21,507 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', 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=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40)
2023-12-08 04:00:21,509 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', 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=18000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40)
2023-12-08 04:00:21,511 - {control.data:245} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=3), pv_charging=PvCharging(bat_prio=True, charging_power_reserve=200, control_range=[-230, 230], feed_in_yield=15000, phase_switch_delay=15, phases_to_use=0, rundown_power=1000, rundown_soc=25, switch_off_delay=60, switch_off_soc=25, switch_off_threshold=50, switch_on_delay=30, switch_on_soc=50, switch_on_threshold=1400), scheduled_charging=ScheduledCharging(phases_to_use=0), time_charging=TimeCharging(phases_to_use=3), unbalanced_load_limit=20, unbalanced_load=True), control_interval=10, extern_display_mode='local', extern=False, external_buttons_hw=False, grid_protection_active=False, grid_protection_configured=True, grid_protection_random_stop=0, grid_protection_timestamp='', mqtt_bridge=False, price_kwh=0.3528, range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=True, r1_active=False, r2_active=False))
2023-12-08 04:00:21,513 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2023-12-08 04:00:21,514 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2023-12-08 04:00:21,515 - {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 0x70b9f508>), led=Led(active=False), rfid=Rfid(active=True))
2023-12-08 04:00:21,522 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=0), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=293628.595, fault_state=0, fault_str='Kein Fehler.', power=0))
2023-12-08 04:00:21,523 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=9500), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=7816178.86, fault_state=0, fault_str='Kein Fehler.', power=-0.0))
2023-12-08 04:00:21,524 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=8109807.455, power=0.0))
2023-12-08 04:00:21,525 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2023-11-30 12:30:45 +0100 [285f5a5fb]', 'current_branch': 'Release', 'current_branch_commit': '2023-11-30 12:30:45 +0100 [285f5a5fb]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.2-Patch.1', 'datastore_version': 29, 'lastlivevaluesJson': {'timestamp': 1702004411, 'time': '04:00:11', 'grid': 0.313, 'house-power': 0.313, 'charging-all': 0.0, 'pv-all': -0.0, 'cp1-power': 0.0, 'ev1-soc': 49.0, 'ev2-soc': 72, 'bat-all-power': 0.0, 'bat-all-soc': 19}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2023-12-08 04:00:21,528 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2023-12-08 04:00:21,529 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2023-12-08 04:00:21,530 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2023-12-08 04:00:21,531 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2023-12-08 04:00:21,532 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2023-12-08 04:00:21,535 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2023-12-08 04:00:21,536 - {control.data:253} - {INFO:MainThread} - 

2023-12-08 04:00:21,536 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2023-12-08 04:00:21,537 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2023-12-08 04:00:21,539 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2023-12-08 04:00:21,540 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2023-12-08 04:00:21,542 - {control.counter:211} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: 0W
2023-12-08 04:00:21,543 - {control.counter:457} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf 0W
2023-12-08 04:00:21,544 - {control.chargepoint.chargepoint:277} - {INFO:MainThread} - LP 1: Die Ladung kann nicht gestartet werden, da die Einschaltschwelle nicht erreicht wird.
2023-12-08 04:00:21,547 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2023-12-08 04:00:21,548 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2023-12-08 04:00:21,557 - {control.process:111} - {INFO:MainThread} - LP1: set current 0 A, state NO_CHARGING_ALLOWED
2023-12-08 04:00:21,568 - {modules.common.component_context:24} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:00:21,602 - {control.counter:186} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2023-12-08 04:00:21,808 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2023-12-08 04:00:25,827 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2023-12-08 04:00:25,828 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2023-12-08 04:00:30,838 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2023-12-08 04:00:30,839 - {root:74} - {INFO:MainThread} - # ***Start*** 
2023-12-08 04:00:30,881 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x715cf340>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x7155e4a8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x715c75f8>}
2023-12-08 04:00:30,882 - {modules.common.component_context:24} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2023-12-08 04:00:30,889 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2023-12-08 04:00:30,891 - {modules.common.component_context:24} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:00:30,892 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2023-12-08 04:00:30,932 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 750
2023-12-08 04:00:30,935 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"cloud":{"connected":false},"input:0":{"id":0,"state":false},"mqtt":{"connected":false},"switch:0":{"id":0, "source":"loopback", "output":false, "apower":0.0, "voltage":242.9, "current":0.000, "aenergy":{"total":1505.625,"by_minute":[0.000,0.000,0.000],"minute_ts":1702004430},"temperature":{"tC":28.8, "tF":83.9}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:00","unixtime":1702004431,"uptime":1363759,"ram_size":248996,"ram_free":145268,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"beta":{"version":"1.1.0-beta2"},"stable":{"version":"1.0.8"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-68},"ws":{"connected":false}}

2023-12-08 04:00:30,937 - {modules.common.simcount._simcount:38} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1702004420.8915617, power=0, imported=0.0, exported=293628.5948715257)
2023-12-08 04:00:30,938 - {modules.common.simcount._calculate:13} - {DEBUG:device1} - time passed: 0.00279045, power1: 0, power2: 0
2023-12-08 04:00:30,938 - {modules.common.simcount._calculate:29} - {DEBUG:device1} - power did not change sign. Total energy: 0
2023-12-08 04:00:30,939 - {modules.common.simcount._simcount:47} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702004430.937171, power=0, imported=0.0, exported=293628.5948715257)
2023-12-08 04:00:30,941 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-311, -183, -22, -105], Scale 0
2023-12-08 04:00:30,944 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:00:30,965 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [10, 5, 11], Scale -1
2023-12-08 04:00:30,985 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [24283, 24258, 24068, 0, 0, 0, 0], Scale -2
2023-12-08 04:00:31,004 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4997], Scale -2
2023-12-08 04:00:31,035 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7080, 1790, 3829], Scale -2
2023-12-08 04:00:31,078 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4870433, 1797042, 2153375, 1456453, 6125837, 2531510, 1862787, 2267979], Scale 0
2023-12-08 04:00:31,079 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[1.0, 0.5, 1.1], powers=[183.0, 22.0, 105.0], voltages=[242.83, 242.58, 240.68], power_factors=[0.708, 0.17900000000000002, 0.3829], imported=6125837.0, exported=4870433.0, power=311.0, frequency=49.97)
2023-12-08 04:00:31,081 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2023-12-08 04:00:31,097 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [0], Scale 0
2023-12-08 04:00:31,116 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7789710], Scale 0
2023-12-08 04:00:31,141 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [28, 31, 32], Scale -2
2023-12-08 04:00:31,200 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4593], Scale -2
2023-12-08 04:00:31,201 - {modules.common.component_state:100} - {DEBUG:device0} - currents sign wrong [0.28, 0.31, 0.32]
2023-12-08 04:00:31,201 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.28, 0.31, 0.32], power=-0.0, exported=7789710.0, dc_power=45.93)
2023-12-08 04:00:31,203 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2023-12-08 04:00:31,265 - {modules.common.simcount._simcount:38} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1702004421.1911447, power=0.0, imported=143333.37604219164, exported=116864.5215890633)
2023-12-08 04:00:31,266 - {modules.common.simcount._calculate:13} - {DEBUG:device0} - time passed: 0.00279854, power1: 0, power2: 0
2023-12-08 04:00:31,267 - {modules.common.simcount._calculate:29} - {DEBUG:device0} - power did not change sign. Total energy: 0
2023-12-08 04:00:31,267 - {modules.common.simcount._simcount:47} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702004431.265873, power=0.0, imported=143333.37604219164, exported=116864.5215890633)
2023-12-08 04:00:31,268 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=143333.37604219164, exported=116864.5215890633, power=0.0, soc=19.0)
2023-12-08 04:00:31,274 - {modules.common.component_context:24} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2023-12-08 04:00:31,275 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=143333.37604219164, exported=116864.5215890633, power=0.0, soc=19.0)
2023-12-08 04:00:31,318 - {modules.common.component_context:24} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:00:31,322 - {modules.common.component_context:24} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2023-12-08 04:00:31,323 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-0.0, exported=7816178.86, dc_power=None)
2023-12-08 04:00:31,324 - {modules.common.component_context:24} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2023-12-08 04:00:31,325 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-0.0, exported=7816178.86, dc_power=None)
2023-12-08 04:00:31,325 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:00:31,327 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:00:31,366 - {modules.common.component_context:24} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2023-12-08 04:00:31,367 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[1.0, 0.5, 1.1], powers=[183.0, 22.0, 105.0], voltages=[242.83, 242.58, 240.68], power_factors=[0.708, 0.17900000000000002, 0.3829], imported=6125837.0, exported=4870433.0, power=311.0, frequency=49.97)
2023-12-08 04:00:31,552 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2023-12-08 04:00:31,554 - {control.bat_all:173} - {INFO:MainThread} - -50W verbleibende Speicher-Leistung
2023-12-08 04:00:31,556 - {control.counter:138} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [62.0, 62.6, 61.9]A
2023-12-08 04:00:31,557 - {control.counter:161} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 42689.0W
2023-12-08 04:00:31,559 - {control.chargepoint.chargepoint:699} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2023-12-08 04:00:31,560 - {control.chargepoint.chargepoint:682} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2023-12-08 04:00:31,562 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 997.009884s, Dauer 1.380952380952381h, Termin heute verpasst: False
2023-12-08 04:00:31,563 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 91719.989896s, Dauer 0.18012422360248448h, Termin heute verpasst: False
2023-12-08 04:00:31,564 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -8945.849581s, Dauer 4.142857142857143h, Termin heute verpasst: False
2023-12-08 04:00:31,566 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 90423.092745s, Dauer 0.5403726708074534h, Termin heute verpasst: False
2023-12-08 04:00:31,566 - {control.ev:762} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2023-12-08 04:00:31,570 - {control.chargepoint.chargepoint:898} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.PV_CHARGING, Phasen: 1, Priorität: False, max. Ist-Strom: 0.1
2023-12-08 04:00:31,589 - {control.chargepoint.chargepoint:277} - {INFO:MainThread} - LP 1: Kein Sofortladen, da noch Zeit bis zum Zieltermin ist. Falls vorhanden, wird mit EVU-Überschuss geladen.
2023-12-08 04:00:31,605 - {modules.common.simcount._simcount:38} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1702004421.4645808, power=311.0, imported=2374305.944762689, exported=0)
2023-12-08 04:00:31,606 - {modules.common.simcount._calculate:13} - {DEBUG:MainThread} - time passed: 0.00281682, power1: 311, power2: 311
2023-12-08 04:00:31,607 - {modules.common.simcount._calculate:29} - {DEBUG:MainThread} - power did not change sign. Total energy: 0.876032
2023-12-08 04:00:31,609 - {modules.common.simcount._simcount:47} - {DEBUG:MainThread} - imported: 0.876032 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702004431.6051407, power=311.0, imported=2374306.8207943924, exported=0)
2023-12-08 04:00:31,614 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=19, daily_exported=0.0, daily_imported=0.0, imported=143333.38, exported=116864.52, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2023-12-08 04:00:31,616 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=19, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=143333.38, exported=116864.52, power=0.0), set=Set(charging_power_left=-50, switch_on_soc_reached=False))
2023-12-08 04:00:31,616 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=97.16, daily_exported=0, power=0, imported=6926458.98, exported=0))
2023-12-08 04:00:31,619 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 95%, 06:00 Uhr', imported_at_plan_start=6926377.93, imported_instant_charging=None, limit=None, phases=1, prio=False, required_current=6, required_currents=[0.0, 6, 0.0], state=0, submode=<Chargemode.PV_CHARGING: 'pv_charging'>, 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=72), currents=[0.1, 0.0, 0.0], daily_imported=97.16, daily_exported=0, evse_current=0, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=6926458.98, phases_in_use=1, plug_state=True, power=0, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Kein Sofortladen, da noch Zeit bis zum Zieltermin ist. Falls vorhanden, wird mit EVU-Überschuss geladen.', voltages=[242.96, 241.05, 243.14]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=0, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='_', imported_at_mode_switch=6926377.93, imported_at_plugtime=6926377.93, imported_since_mode_switch=0, imported_since_plugged=81.05000000074506, range_charged=0, time_charged='00:00', timestamp_start_charging=None), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time='12/07/2023, 13:07:31', required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x70b5f2f8>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB Carport', type='internal_openwb', template=1, connected_phases=3, phase_1=2, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=1))
2023-12-08 04:00:31,620 - {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-12-08 04:00:31,621 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=1, max_current_multi_phases=16, max_current_single_phase=20, name='RFID, 20A, 11kW', rfid_enabling=True, valid_tags=['0003134583', '0003526747', '1655332554', '2585022212', '2585087748'])
2023-12-08 04:00:31,623 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[63, 63, 63], max_total_power=43000), get=Get(powers=[183.0, 22.0, 105.0], currents=[1.0, 0.5, 1.1], voltages=[242.83, 242.58, 240.68], power_factors=[0.71, 0.18, 0.38], unbalanced_load=0, frequency=49.97, daily_exported=0.0, daily_imported=4073.0, imported=6125837.0, exported=4870433.0, fault_state=0, fault_str='Kein Fehler.', power=311.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=42689.0, raw_currents_left=[62.0, 62.6, 61.9], surplus_power_left=0, state_str=''))
2023-12-08 04:00:31,625 - {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': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=311.0, invalid_home_consumption=0, daily_yield_home_consumption=5488.8679565983, imported_home_consumption=2374306.8207943924, disengageable_smarthome_power=0))
2023-12-08 04:00:31,626 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2023-12-08 04:00:31,627 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Ladeprofil ***AUTO1***', disable_after_unplug=False, prio=False, load_default=True, time_charging=TimeCharging(active=True, plans={'0': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[True, True, True, True, False, False, True]), time=['22:00', '06:00'], name='Zeitladen 95%, So-Do 22:00-06:00 Uhr', current=16, limit=Limit(selected='soc', amount=1000, soc=95)), '1': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, True, True, False]), time=['22:00', '06:00'], name='Zeitladen 80%, Fr-Sa 22:00-06:00 Uhr', current=16, limit=Limit(selected='soc', amount=1000, soc=80))}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2023-12-08 04:00:31,629 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, time_charging=TimeCharging(active=True, plans={'2': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), time=['06:45', '07:00'], name='Klima 06:45-07:00 Uhr', current=6, limit=Limit(selected='none', amount=1000, soc=50)), '3': TimeChargingPlan(active=True, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, False, False, False]), time=['00:00', '23:55'], name='Immer 35%', current=10, limit=Limit(selected='soc', amount=1000, soc=35))}), chargemode=Chargemode(selected='scheduled_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={'0': ScheduledChargingPlan(active=False, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, True, False, False, False, False, False]), current=14, name='Zielladen 80%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '1': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), current=14, name='Zielladen 95%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=95), time='05:40'), '2': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once='2023-09-26', weekly=[True, False, False, True, False, True, True]), current=14, name='Zielladen 75%, 7:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=75), time='05:40')}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=80))))
2023-12-08 04:00:31,631 - {control.data:266} - {INFO:MainThread} - ev0
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=['0003134583'], get=Get(soc=0, soc_timestamp=None, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:00:31,632 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Tesla Model Y (2022)', 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=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212', '2585087748'], get=Get(soc=49.0, soc_timestamp='12/08/2023, 01:29:15', force_soc_update=False, range=220.74, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:00:31,633 - {control.data:266} - {INFO:MainThread} - ev2
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Cupra Born 58kW', 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=18000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=2, ev_template=2, name='***AUTO2***', tag_id=['1655332554'], get=Get(soc=72, soc_timestamp='12/08/2023, 02:47:32', force_soc_update=False, range=205, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:00:31,634 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40)
2023-12-08 04:00:31,635 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', 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=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40)
2023-12-08 04:00:31,637 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', 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=18000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40)
2023-12-08 04:00:31,638 - {control.data:245} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=3), pv_charging=PvCharging(bat_prio=True, charging_power_reserve=200, control_range=[-230, 230], feed_in_yield=15000, phase_switch_delay=15, phases_to_use=0, rundown_power=1000, rundown_soc=25, switch_off_delay=60, switch_off_soc=25, switch_off_threshold=50, switch_on_delay=30, switch_on_soc=50, switch_on_threshold=1400), scheduled_charging=ScheduledCharging(phases_to_use=0), time_charging=TimeCharging(phases_to_use=3), unbalanced_load_limit=20, unbalanced_load=True), control_interval=10, extern_display_mode='local', extern=False, external_buttons_hw=False, grid_protection_active=False, grid_protection_configured=True, grid_protection_random_stop=0, grid_protection_timestamp='', mqtt_bridge=False, price_kwh=0.3528, range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=True, r1_active=False, r2_active=False))
2023-12-08 04:00:31,640 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2023-12-08 04:00:31,641 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2023-12-08 04:00:31,651 - {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 0x70befc88>), led=Led(active=False), rfid=Rfid(active=True))
2023-12-08 04:00:31,652 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=0), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=293628.595, fault_state=0, fault_str='Kein Fehler.', power=0))
2023-12-08 04:00:31,654 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=9500), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=7816178.86, fault_state=0, fault_str='Kein Fehler.', power=-0.0))
2023-12-08 04:00:31,657 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=8109807.455, power=0.0))
2023-12-08 04:00:31,659 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2023-11-30 12:30:45 +0100 [285f5a5fb]', 'current_branch': 'Release', 'current_branch_commit': '2023-11-30 12:30:45 +0100 [285f5a5fb]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.2-Patch.1', 'datastore_version': 29, 'lastlivevaluesJson': {'timestamp': 1702004421, 'time': '04:00:21', 'grid': 0.311, 'house-power': 0.311, 'charging-all': 0.0, 'pv-all': -0.0, 'cp1-power': 0.0, 'ev1-soc': 49.0, 'ev2-soc': 72, 'bat-all-power': 0.0, 'bat-all-soc': 19}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2023-12-08 04:00:31,664 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2023-12-08 04:00:31,666 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2023-12-08 04:00:31,668 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2023-12-08 04:00:31,668 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2023-12-08 04:00:31,670 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2023-12-08 04:00:31,675 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2023-12-08 04:00:31,676 - {control.data:253} - {INFO:MainThread} - 

2023-12-08 04:00:31,679 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2023-12-08 04:00:31,681 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2023-12-08 04:00:31,685 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2023-12-08 04:00:31,690 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2023-12-08 04:00:31,694 - {control.counter:211} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: 0W
2023-12-08 04:00:31,695 - {control.counter:457} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf 0W
2023-12-08 04:00:31,696 - {control.chargepoint.chargepoint:277} - {INFO:MainThread} - LP 1: Die Ladung kann nicht gestartet werden, da die Einschaltschwelle nicht erreicht wird.
2023-12-08 04:00:31,701 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2023-12-08 04:00:31,703 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2023-12-08 04:00:31,705 - {control.process:111} - {INFO:MainThread} - LP1: set current 0 A, state NO_CHARGING_ALLOWED
2023-12-08 04:00:31,713 - {modules.common.component_context:24} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:00:31,762 - {control.counter:186} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2023-12-08 04:00:32,079 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2023-12-08 04:00:32,080 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2023-12-08 04:00:35,087 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2023-12-08 04:00:35,088 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2023-12-08 04:00:40,104 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2023-12-08 04:00:40,107 - {root:74} - {INFO:MainThread} - # ***Start*** 
2023-12-08 04:00:40,177 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x715cf340>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x7155e4a8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x715c75f8>}
2023-12-08 04:00:40,179 - {modules.common.component_context:24} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2023-12-08 04:00:40,180 - {modules.common.component_context:24} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:00:40,190 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2023-12-08 04:00:40,192 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2023-12-08 04:00:40,254 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-315, -184, -21, -109], Scale 0
2023-12-08 04:00:40,276 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [10, 5, 11], Scale -1
2023-12-08 04:00:40,295 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [24274, 24253, 24055, 0, 0, 0, 0], Scale -2
2023-12-08 04:00:40,314 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4997], Scale -2
2023-12-08 04:00:40,335 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7089, 1819, 3910], Scale -2
2023-12-08 04:00:40,386 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4870433, 1797042, 2153375, 1456453, 6125837, 2531510, 1862787, 2267979], Scale 0
2023-12-08 04:00:40,386 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[1.0, 0.5, 1.1], powers=[184.0, 21.0, 109.0], voltages=[242.74, 242.53, 240.55], power_factors=[0.7089, 0.1819, 0.391], imported=6125837.0, exported=4870433.0, power=315.0, frequency=49.97)
2023-12-08 04:00:40,388 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2023-12-08 04:00:40,416 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [0], Scale 0
2023-12-08 04:00:40,434 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7789710], Scale 0
2023-12-08 04:00:40,454 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [28, 30, 30], Scale -2
2023-12-08 04:00:40,526 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4688], Scale -2
2023-12-08 04:00:40,526 - {modules.common.component_state:100} - {DEBUG:device0} - currents sign wrong [0.28, 0.3, 0.3]
2023-12-08 04:00:40,527 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.28, 0.3, 0.3], power=-0.0, exported=7789710.0, dc_power=46.88)
2023-12-08 04:00:40,528 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2023-12-08 04:00:40,537 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 750
2023-12-08 04:00:40,539 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"cloud":{"connected":false},"input:0":{"id":0,"state":false},"mqtt":{"connected":false},"switch:0":{"id":0, "source":"loopback", "output":false, "apower":0.0, "voltage":242.9, "current":0.000, "aenergy":{"total":1505.625,"by_minute":[0.000,0.000,0.000],"minute_ts":1702004440},"temperature":{"tC":28.8, "tF":83.9}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:00","unixtime":1702004441,"uptime":1363768,"ram_size":248996,"ram_free":145268,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"beta":{"version":"1.1.0-beta2"},"stable":{"version":"1.0.8"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-68},"ws":{"connected":false}}

2023-12-08 04:00:40,543 - {modules.common.simcount._simcount:38} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1702004430.937171, power=0, imported=0.0, exported=293628.5948715257)
2023-12-08 04:00:40,544 - {modules.common.simcount._calculate:13} - {DEBUG:device1} - time passed: 0.00266834, power1: 0, power2: 0
2023-12-08 04:00:40,545 - {modules.common.simcount._calculate:29} - {DEBUG:device1} - power did not change sign. Total energy: 0
2023-12-08 04:00:40,546 - {modules.common.simcount._simcount:47} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702004440.5432067, power=0, imported=0.0, exported=293628.5948715257)
2023-12-08 04:00:40,547 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:00:40,607 - {modules.common.simcount._simcount:38} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1702004431.265873, power=0.0, imported=143333.37604219164, exported=116864.5215890633)
2023-12-08 04:00:40,608 - {modules.common.simcount._calculate:13} - {DEBUG:device0} - time passed: 0.00259491, power1: 0, power2: 0
2023-12-08 04:00:40,608 - {modules.common.simcount._calculate:29} - {DEBUG:device0} - power did not change sign. Total energy: 0
2023-12-08 04:00:40,609 - {modules.common.simcount._simcount:47} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702004440.6075618, power=0.0, imported=143333.37604219164, exported=116864.5215890633)
2023-12-08 04:00:40,610 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=143333.37604219164, exported=116864.5215890633, power=0.0, soc=19.0)
2023-12-08 04:00:40,615 - {modules.common.component_context:24} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2023-12-08 04:00:40,616 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=143333.37604219164, exported=116864.5215890633, power=0.0, soc=19.0)
2023-12-08 04:00:40,688 - {modules.common.component_context:24} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:00:40,691 - {modules.common.component_context:24} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2023-12-08 04:00:40,692 - {modules.common.component_context:24} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2023-12-08 04:00:40,692 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-0.0, exported=7816178.86, dc_power=None)
2023-12-08 04:00:40,694 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:00:40,695 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-0.0, exported=7816178.86, dc_power=None)
2023-12-08 04:00:40,695 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:00:40,749 - {modules.common.component_context:24} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2023-12-08 04:00:40,751 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[1.0, 0.5, 1.1], powers=[184.0, 21.0, 109.0], voltages=[242.74, 242.53, 240.55], power_factors=[0.7089, 0.1819, 0.391], imported=6125837.0, exported=4870433.0, power=315.0, frequency=49.97)
2023-12-08 04:00:41,099 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2023-12-08 04:00:41,101 - {control.bat_all:173} - {INFO:MainThread} - -50W verbleibende Speicher-Leistung
2023-12-08 04:00:41,103 - {control.counter:138} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [62.0, 62.6, 61.9]A
2023-12-08 04:00:41,105 - {control.counter:161} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 42685.0W
2023-12-08 04:00:41,108 - {control.chargepoint.chargepoint:699} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2023-12-08 04:00:41,109 - {control.chargepoint.chargepoint:682} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2023-12-08 04:00:41,111 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 987.460891s, Dauer 1.380952380952381h, Termin heute verpasst: False
2023-12-08 04:00:41,112 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 91710.440651s, Dauer 0.18012422360248448h, Termin heute verpasst: False
2023-12-08 04:00:41,115 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -8955.400384s, Dauer 4.142857142857143h, Termin heute verpasst: False
2023-12-08 04:00:41,117 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 90413.541815s, Dauer 0.5403726708074534h, Termin heute verpasst: False
2023-12-08 04:00:41,119 - {control.ev:762} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2023-12-08 04:00:41,123 - {control.chargepoint.chargepoint:898} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.PV_CHARGING, Phasen: 1, Priorität: False, max. Ist-Strom: 0.1
2023-12-08 04:00:41,124 - {control.chargepoint.chargepoint:277} - {INFO:MainThread} - LP 1: Kein Sofortladen, da noch Zeit bis zum Zieltermin ist. Falls vorhanden, wird mit EVU-Überschuss geladen.
2023-12-08 04:00:41,129 - {modules.common.simcount._simcount:38} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1702004431.6051407, power=311.0, imported=2374306.8207943924, exported=0)
2023-12-08 04:00:41,130 - {modules.common.simcount._calculate:13} - {DEBUG:MainThread} - time passed: 0.00264559, power1: 311, power2: 315
2023-12-08 04:00:41,132 - {modules.common.simcount._calculate:29} - {DEBUG:MainThread} - power did not change sign. Total energy: 0.828071
2023-12-08 04:00:41,134 - {modules.common.simcount._simcount:47} - {DEBUG:MainThread} - imported: 0.828071 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702004441.1292822, power=315.0, imported=2374307.6488655885, exported=0)
2023-12-08 04:00:41,139 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=19, daily_exported=0.0, daily_imported=0.0, imported=143333.38, exported=116864.52, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2023-12-08 04:00:41,141 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=19, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=143333.38, exported=116864.52, power=0.0), set=Set(charging_power_left=-50, switch_on_soc_reached=False))
2023-12-08 04:00:41,147 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=97.16, daily_exported=0, power=0, imported=6926458.98, exported=0))
2023-12-08 04:00:41,149 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 95%, 06:00 Uhr', imported_at_plan_start=6926377.93, imported_instant_charging=None, limit=None, phases=1, prio=False, required_current=6, required_currents=[0.0, 6, 0.0], state=0, submode=<Chargemode.PV_CHARGING: 'pv_charging'>, 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=72), currents=[0.1, 0.0, 0.0], daily_imported=97.16, daily_exported=0, evse_current=0, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=6926458.98, phases_in_use=1, plug_state=True, power=0, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Kein Sofortladen, da noch Zeit bis zum Zieltermin ist. Falls vorhanden, wird mit EVU-Überschuss geladen.', voltages=[242.89, 241.08, 243.17]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=0, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='_', imported_at_mode_switch=6926377.93, imported_at_plugtime=6926377.93, imported_since_mode_switch=0, imported_since_plugged=81.05000000074506, range_charged=0, time_charged='00:00', timestamp_start_charging=None), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time='12/07/2023, 13:07:31', required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x70ba3e68>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB Carport', type='internal_openwb', template=1, connected_phases=3, phase_1=2, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=1))
2023-12-08 04:00:41,150 - {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-12-08 04:00:41,151 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=1, max_current_multi_phases=16, max_current_single_phase=20, name='RFID, 20A, 11kW', rfid_enabling=True, valid_tags=['0003134583', '0003526747', '1655332554', '2585022212', '2585087748'])
2023-12-08 04:00:41,152 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[63, 63, 63], max_total_power=43000), get=Get(powers=[184.0, 21.0, 109.0], currents=[1.0, 0.5, 1.1], voltages=[242.74, 242.53, 240.55], power_factors=[0.71, 0.18, 0.39], unbalanced_load=0, frequency=49.97, daily_exported=0.0, daily_imported=4073.0, imported=6125837.0, exported=4870433.0, fault_state=0, fault_str='Kein Fehler.', power=315.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=42685.0, raw_currents_left=[62.0, 62.6, 61.9], surplus_power_left=0, state_str=''))
2023-12-08 04:00:41,154 - {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': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=315.0, invalid_home_consumption=0, daily_yield_home_consumption=5488.8679565983, imported_home_consumption=2374307.6488655885, disengageable_smarthome_power=0))
2023-12-08 04:00:41,155 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2023-12-08 04:00:41,157 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Ladeprofil ***AUTO1***', disable_after_unplug=False, prio=False, load_default=True, time_charging=TimeCharging(active=True, plans={'0': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[True, True, True, True, False, False, True]), time=['22:00', '06:00'], name='Zeitladen 95%, So-Do 22:00-06:00 Uhr', current=16, limit=Limit(selected='soc', amount=1000, soc=95)), '1': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, True, True, False]), time=['22:00', '06:00'], name='Zeitladen 80%, Fr-Sa 22:00-06:00 Uhr', current=16, limit=Limit(selected='soc', amount=1000, soc=80))}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2023-12-08 04:00:41,159 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, time_charging=TimeCharging(active=True, plans={'2': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), time=['06:45', '07:00'], name='Klima 06:45-07:00 Uhr', current=6, limit=Limit(selected='none', amount=1000, soc=50)), '3': TimeChargingPlan(active=True, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, False, False, False]), time=['00:00', '23:55'], name='Immer 35%', current=10, limit=Limit(selected='soc', amount=1000, soc=35))}), chargemode=Chargemode(selected='scheduled_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={'0': ScheduledChargingPlan(active=False, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, True, False, False, False, False, False]), current=14, name='Zielladen 80%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '1': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), current=14, name='Zielladen 95%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=95), time='05:40'), '2': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once='2023-09-26', weekly=[True, False, False, True, False, True, True]), current=14, name='Zielladen 75%, 7:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=75), time='05:40')}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=80))))
2023-12-08 04:00:41,160 - {control.data:266} - {INFO:MainThread} - ev0
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=['0003134583'], get=Get(soc=0, soc_timestamp=None, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:00:41,163 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Tesla Model Y (2022)', 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=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212', '2585087748'], get=Get(soc=49.0, soc_timestamp='12/08/2023, 01:29:15', force_soc_update=False, range=220.74, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:00:41,168 - {control.data:266} - {INFO:MainThread} - ev2
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Cupra Born 58kW', 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=18000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=2, ev_template=2, name='***AUTO2***', tag_id=['1655332554'], get=Get(soc=72, soc_timestamp='12/08/2023, 02:47:32', force_soc_update=False, range=205, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:00:41,170 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40)
2023-12-08 04:00:41,171 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', 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=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40)
2023-12-08 04:00:41,172 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', 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=18000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40)
2023-12-08 04:00:41,173 - {control.data:245} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=3), pv_charging=PvCharging(bat_prio=True, charging_power_reserve=200, control_range=[-230, 230], feed_in_yield=15000, phase_switch_delay=15, phases_to_use=0, rundown_power=1000, rundown_soc=25, switch_off_delay=60, switch_off_soc=25, switch_off_threshold=50, switch_on_delay=30, switch_on_soc=50, switch_on_threshold=1400), scheduled_charging=ScheduledCharging(phases_to_use=0), time_charging=TimeCharging(phases_to_use=3), unbalanced_load_limit=20, unbalanced_load=True), control_interval=10, extern_display_mode='local', extern=False, external_buttons_hw=False, grid_protection_active=False, grid_protection_configured=True, grid_protection_random_stop=0, grid_protection_timestamp='', mqtt_bridge=False, price_kwh=0.3528, range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=True, r1_active=False, r2_active=False))
2023-12-08 04:00:41,175 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2023-12-08 04:00:41,176 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2023-12-08 04:00:41,178 - {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 0x70b5f358>), led=Led(active=False), rfid=Rfid(active=True))
2023-12-08 04:00:41,180 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=0), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=293628.595, fault_state=0, fault_str='Kein Fehler.', power=0))
2023-12-08 04:00:41,181 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=9500), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=7816178.86, fault_state=0, fault_str='Kein Fehler.', power=-0.0))
2023-12-08 04:00:41,182 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=8109807.455, power=0.0))
2023-12-08 04:00:41,184 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2023-11-30 12:30:45 +0100 [285f5a5fb]', 'current_branch': 'Release', 'current_branch_commit': '2023-11-30 12:30:45 +0100 [285f5a5fb]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.2-Patch.1', 'datastore_version': 29, 'lastlivevaluesJson': {'timestamp': 1702004431, 'time': '04:00:31', 'grid': 0.311, 'house-power': 0.311, 'charging-all': 0.0, 'pv-all': -0.0, 'cp1-power': 0.0, 'ev1-soc': 49.0, 'ev2-soc': 72, 'bat-all-power': 0.0, 'bat-all-soc': 19}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2023-12-08 04:00:41,186 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2023-12-08 04:00:41,187 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2023-12-08 04:00:41,187 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2023-12-08 04:00:41,189 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2023-12-08 04:00:41,192 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2023-12-08 04:00:41,193 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2023-12-08 04:00:41,194 - {control.data:253} - {INFO:MainThread} - 

2023-12-08 04:00:41,202 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2023-12-08 04:00:41,203 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2023-12-08 04:00:41,208 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2023-12-08 04:00:41,209 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2023-12-08 04:00:41,211 - {control.counter:211} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: 0W
2023-12-08 04:00:41,213 - {control.counter:457} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf 0W
2023-12-08 04:00:41,217 - {control.chargepoint.chargepoint:277} - {INFO:MainThread} - LP 1: Die Ladung kann nicht gestartet werden, da die Einschaltschwelle nicht erreicht wird.
2023-12-08 04:00:41,219 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2023-12-08 04:00:41,225 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2023-12-08 04:00:41,228 - {control.process:111} - {INFO:MainThread} - LP1: set current 0 A, state NO_CHARGING_ALLOWED
2023-12-08 04:00:41,232 - {modules.common.component_context:24} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:00:41,257 - {control.counter:186} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2023-12-08 04:00:41,455 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2023-12-08 04:00:45,483 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2023-12-08 04:00:45,484 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2023-12-08 04:00:50,493 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2023-12-08 04:00:50,494 - {root:74} - {INFO:MainThread} - # ***Start*** 
2023-12-08 04:00:50,535 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x715cf340>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x7155e4a8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x715c75f8>}
2023-12-08 04:00:50,537 - {modules.common.component_context:24} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2023-12-08 04:00:50,539 - {modules.common.component_context:24} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:00:50,547 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2023-12-08 04:00:50,555 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2023-12-08 04:00:50,586 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-312, -187, -21, -103], Scale 0
2023-12-08 04:00:50,606 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [10, 5, 11], Scale -1
2023-12-08 04:00:50,612 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 750
2023-12-08 04:00:50,614 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"cloud":{"connected":false},"input:0":{"id":0,"state":false},"mqtt":{"connected":false},"switch:0":{"id":0, "source":"loopback", "output":false, "apower":0.0, "voltage":242.8, "current":0.000, "aenergy":{"total":1505.625,"by_minute":[0.000,0.000,0.000],"minute_ts":1702004450},"temperature":{"tC":28.7, "tF":83.7}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:00","unixtime":1702004451,"uptime":1363778,"ram_size":248996,"ram_free":145268,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"beta":{"version":"1.1.0-beta2"},"stable":{"version":"1.0.8"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-67},"ws":{"connected":false}}

2023-12-08 04:00:50,617 - {modules.common.simcount._simcount:38} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1702004440.5432067, power=0, imported=0.0, exported=293628.5948715257)
2023-12-08 04:00:50,617 - {modules.common.simcount._calculate:13} - {DEBUG:device1} - time passed: 0.00279825, power1: 0, power2: 0
2023-12-08 04:00:50,618 - {modules.common.simcount._calculate:29} - {DEBUG:device1} - power did not change sign. Total energy: 0
2023-12-08 04:00:50,619 - {modules.common.simcount._simcount:47} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702004450.6169236, power=0, imported=0.0, exported=293628.5948715257)
2023-12-08 04:00:50,621 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:00:50,647 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [24274, 24248, 24054, 0, 0, 0, 0], Scale -2
2023-12-08 04:00:50,677 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4997], Scale -2
2023-12-08 04:00:50,695 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7099, 1770, 3939], Scale -2
2023-12-08 04:00:50,716 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4870433, 1797042, 2153375, 1456453, 6125838, 2531510, 1862787, 2267979], Scale 0
2023-12-08 04:00:50,717 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[1.0, 0.5, 1.1], powers=[187.0, 21.0, 103.0], voltages=[242.74, 242.48000000000002, 240.54], power_factors=[0.7099, 0.177, 0.39390000000000003], imported=6125838.0, exported=4870433.0, power=312.0, frequency=49.97)
2023-12-08 04:00:50,719 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2023-12-08 04:00:50,845 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [0], Scale 0
2023-12-08 04:00:50,879 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7789710], Scale 0
2023-12-08 04:00:50,918 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [29, 31, 31], Scale -2
2023-12-08 04:00:50,957 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4399], Scale -2
2023-12-08 04:00:50,958 - {modules.common.component_state:100} - {DEBUG:device0} - currents sign wrong [0.29, 0.31, 0.31]
2023-12-08 04:00:50,958 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.29, 0.31, 0.31], power=-0.0, exported=7789710.0, dc_power=43.99)
2023-12-08 04:00:50,960 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2023-12-08 04:00:51,005 - {modules.common.simcount._simcount:38} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1702004440.6075618, power=0.0, imported=143333.37604219164, exported=116864.5215890633)
2023-12-08 04:00:51,006 - {modules.common.simcount._calculate:13} - {DEBUG:device0} - time passed: 0.00288835, power1: 0, power2: 0
2023-12-08 04:00:51,007 - {modules.common.simcount._calculate:29} - {DEBUG:device0} - power did not change sign. Total energy: 0
2023-12-08 04:00:51,008 - {modules.common.simcount._simcount:47} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702004451.0056179, power=0.0, imported=143333.37604219164, exported=116864.5215890633)
2023-12-08 04:00:51,009 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=143333.37604219164, exported=116864.5215890633, power=0.0, soc=19.0)
2023-12-08 04:00:51,020 - {modules.common.component_context:24} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2023-12-08 04:00:51,031 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=143333.37604219164, exported=116864.5215890633, power=0.0, soc=19.0)
2023-12-08 04:00:51,060 - {modules.common.component_context:24} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:00:51,061 - {modules.common.component_context:24} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2023-12-08 04:00:51,062 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-0.0, exported=7816178.86, dc_power=None)
2023-12-08 04:00:51,062 - {modules.common.component_context:24} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2023-12-08 04:00:51,063 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-0.0, exported=7816178.86, dc_power=None)
2023-12-08 04:00:51,063 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:00:51,065 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:00:51,104 - {modules.common.component_context:24} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2023-12-08 04:00:51,105 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[1.0, 0.5, 1.1], powers=[187.0, 21.0, 103.0], voltages=[242.74, 242.48000000000002, 240.54], power_factors=[0.7099, 0.177, 0.39390000000000003], imported=6125838.0, exported=4870433.0, power=312.0, frequency=49.97)
2023-12-08 04:00:51,272 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2023-12-08 04:00:51,273 - {control.bat_all:173} - {INFO:MainThread} - -50W verbleibende Speicher-Leistung
2023-12-08 04:00:51,275 - {control.counter:138} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [62.0, 62.6, 61.9]A
2023-12-08 04:00:51,277 - {control.counter:161} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 42688.0W
2023-12-08 04:00:51,282 - {control.chargepoint.chargepoint:699} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2023-12-08 04:00:51,283 - {control.chargepoint.chargepoint:682} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2023-12-08 04:00:51,284 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 977.287472s, Dauer 1.380952380952381h, Termin heute verpasst: False
2023-12-08 04:00:51,286 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 91700.266877s, Dauer 0.18012422360248448h, Termin heute verpasst: False
2023-12-08 04:00:51,289 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -8965.574358s, Dauer 4.142857142857143h, Termin heute verpasst: False
2023-12-08 04:00:51,291 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 90403.367387s, Dauer 0.5403726708074534h, Termin heute verpasst: False
2023-12-08 04:00:51,292 - {control.ev:762} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2023-12-08 04:00:51,295 - {control.chargepoint.chargepoint:898} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.PV_CHARGING, Phasen: 1, Priorität: False, max. Ist-Strom: 0.1
2023-12-08 04:00:51,296 - {control.chargepoint.chargepoint:277} - {INFO:MainThread} - LP 1: Kein Sofortladen, da noch Zeit bis zum Zieltermin ist. Falls vorhanden, wird mit EVU-Überschuss geladen.
2023-12-08 04:00:51,310 - {modules.common.simcount._simcount:38} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1702004441.1292822, power=315.0, imported=2374307.6488655885, exported=0)
2023-12-08 04:00:51,315 - {modules.common.simcount._calculate:13} - {DEBUG:MainThread} - time passed: 0.00282807, power1: 315, power2: 312
2023-12-08 04:00:51,323 - {modules.common.simcount._calculate:29} - {DEBUG:MainThread} - power did not change sign. Total energy: 0.8866
2023-12-08 04:00:51,325 - {modules.common.simcount._simcount:47} - {DEBUG:MainThread} - imported: 0.8866 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702004451.3103309, power=312.0, imported=2374308.53546524, exported=0)
2023-12-08 04:00:51,335 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=19, daily_exported=0.0, daily_imported=0.0, imported=143333.38, exported=116864.52, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2023-12-08 04:00:51,340 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=19, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=143333.38, exported=116864.52, power=0.0), set=Set(charging_power_left=-50, switch_on_soc_reached=False))
2023-12-08 04:00:51,341 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=97.16, daily_exported=0, power=0, imported=6926458.98, exported=0))
2023-12-08 04:00:51,342 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 95%, 06:00 Uhr', imported_at_plan_start=6926377.93, imported_instant_charging=None, limit=None, phases=1, prio=False, required_current=6, required_currents=[0.0, 6, 0.0], state=0, submode=<Chargemode.PV_CHARGING: 'pv_charging'>, 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=72), currents=[0.1, 0.0, 0.0], daily_imported=97.16, daily_exported=0, evse_current=0, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=6926458.98, phases_in_use=1, plug_state=True, power=0, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Kein Sofortladen, da noch Zeit bis zum Zieltermin ist. Falls vorhanden, wird mit EVU-Überschuss geladen.', voltages=[242.75, 240.81, 242.97]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=0, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='_', imported_at_mode_switch=6926377.93, imported_at_plugtime=6926377.93, imported_since_mode_switch=0, imported_since_plugged=81.05000000074506, range_charged=0, time_charged='00:00', timestamp_start_charging=None), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time='12/07/2023, 13:07:31', required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x715787f0>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB Carport', type='internal_openwb', template=1, connected_phases=3, phase_1=2, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=1))
2023-12-08 04:00:51,343 - {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-12-08 04:00:51,345 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=1, max_current_multi_phases=16, max_current_single_phase=20, name='RFID, 20A, 11kW', rfid_enabling=True, valid_tags=['0003134583', '0003526747', '1655332554', '2585022212', '2585087748'])
2023-12-08 04:00:51,347 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[63, 63, 63], max_total_power=43000), get=Get(powers=[187.0, 21.0, 103.0], currents=[1.0, 0.5, 1.1], voltages=[242.74, 242.48, 240.54], power_factors=[0.71, 0.18, 0.39], unbalanced_load=0, frequency=49.97, daily_exported=0.0, daily_imported=4073.0, imported=6125838.0, exported=4870433.0, fault_state=0, fault_str='Kein Fehler.', power=312.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=42688.0, raw_currents_left=[62.0, 62.6, 61.9], surplus_power_left=0, state_str=''))
2023-12-08 04:00:51,350 - {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': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=312.0, invalid_home_consumption=0, daily_yield_home_consumption=5488.8679565983, imported_home_consumption=2374308.53546524, disengageable_smarthome_power=0))
2023-12-08 04:00:51,352 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2023-12-08 04:00:51,355 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Ladeprofil ***AUTO1***', disable_after_unplug=False, prio=False, load_default=True, time_charging=TimeCharging(active=True, plans={'0': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[True, True, True, True, False, False, True]), time=['22:00', '06:00'], name='Zeitladen 95%, So-Do 22:00-06:00 Uhr', current=16, limit=Limit(selected='soc', amount=1000, soc=95)), '1': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, True, True, False]), time=['22:00', '06:00'], name='Zeitladen 80%, Fr-Sa 22:00-06:00 Uhr', current=16, limit=Limit(selected='soc', amount=1000, soc=80))}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2023-12-08 04:00:51,357 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, time_charging=TimeCharging(active=True, plans={'2': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), time=['06:45', '07:00'], name='Klima 06:45-07:00 Uhr', current=6, limit=Limit(selected='none', amount=1000, soc=50)), '3': TimeChargingPlan(active=True, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, False, False, False]), time=['00:00', '23:55'], name='Immer 35%', current=10, limit=Limit(selected='soc', amount=1000, soc=35))}), chargemode=Chargemode(selected='scheduled_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={'0': ScheduledChargingPlan(active=False, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, True, False, False, False, False, False]), current=14, name='Zielladen 80%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '1': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), current=14, name='Zielladen 95%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=95), time='05:40'), '2': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once='2023-09-26', weekly=[True, False, False, True, False, True, True]), current=14, name='Zielladen 75%, 7:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=75), time='05:40')}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=80))))
2023-12-08 04:00:51,359 - {control.data:266} - {INFO:MainThread} - ev0
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=['0003134583'], get=Get(soc=0, soc_timestamp=None, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:00:51,361 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Tesla Model Y (2022)', 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=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212', '2585087748'], get=Get(soc=49.0, soc_timestamp='12/08/2023, 01:29:15', force_soc_update=False, range=220.74, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:00:51,363 - {control.data:266} - {INFO:MainThread} - ev2
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Cupra Born 58kW', 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=18000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=2, ev_template=2, name='***AUTO2***', tag_id=['1655332554'], get=Get(soc=72, soc_timestamp='12/08/2023, 02:47:32', force_soc_update=False, range=205, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:00:51,365 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40)
2023-12-08 04:00:51,366 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', 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=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40)
2023-12-08 04:00:51,368 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', 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=18000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40)
2023-12-08 04:00:51,369 - {control.data:245} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=3), pv_charging=PvCharging(bat_prio=True, charging_power_reserve=200, control_range=[-230, 230], feed_in_yield=15000, phase_switch_delay=15, phases_to_use=0, rundown_power=1000, rundown_soc=25, switch_off_delay=60, switch_off_soc=25, switch_off_threshold=50, switch_on_delay=30, switch_on_soc=50, switch_on_threshold=1400), scheduled_charging=ScheduledCharging(phases_to_use=0), time_charging=TimeCharging(phases_to_use=3), unbalanced_load_limit=20, unbalanced_load=True), control_interval=10, extern_display_mode='local', extern=False, external_buttons_hw=False, grid_protection_active=False, grid_protection_configured=True, grid_protection_random_stop=0, grid_protection_timestamp='', mqtt_bridge=False, price_kwh=0.3528, range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=True, r1_active=False, r2_active=False))
2023-12-08 04:00:51,372 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2023-12-08 04:00:51,373 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2023-12-08 04:00:51,374 - {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 0x715cf190>), led=Led(active=False), rfid=Rfid(active=True))
2023-12-08 04:00:51,376 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=0), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=293628.595, fault_state=0, fault_str='Kein Fehler.', power=0))
2023-12-08 04:00:51,377 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=9500), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=7816178.86, fault_state=0, fault_str='Kein Fehler.', power=-0.0))
2023-12-08 04:00:51,380 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=8109807.455, power=0.0))
2023-12-08 04:00:51,381 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2023-11-30 12:30:45 +0100 [285f5a5fb]', 'current_branch': 'Release', 'current_branch_commit': '2023-11-30 12:30:45 +0100 [285f5a5fb]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.2-Patch.1', 'datastore_version': 29, 'lastlivevaluesJson': {'timestamp': 1702004441, 'time': '04:00:41', 'grid': 0.315, 'house-power': 0.315, 'charging-all': 0.0, 'pv-all': -0.0, 'cp1-power': 0.0, 'ev1-soc': 49.0, 'ev2-soc': 72, 'bat-all-power': 0.0, 'bat-all-soc': 19}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2023-12-08 04:00:51,383 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2023-12-08 04:00:51,385 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2023-12-08 04:00:51,387 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2023-12-08 04:00:51,389 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2023-12-08 04:00:51,390 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2023-12-08 04:00:51,392 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2023-12-08 04:00:51,394 - {control.data:253} - {INFO:MainThread} - 

2023-12-08 04:00:51,395 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2023-12-08 04:00:51,396 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2023-12-08 04:00:51,400 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2023-12-08 04:00:51,402 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2023-12-08 04:00:51,405 - {control.counter:211} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: 0W
2023-12-08 04:00:51,407 - {control.counter:457} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf 0W
2023-12-08 04:00:51,408 - {control.chargepoint.chargepoint:277} - {INFO:MainThread} - LP 1: Die Ladung kann nicht gestartet werden, da die Einschaltschwelle nicht erreicht wird.
2023-12-08 04:00:51,409 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2023-12-08 04:00:51,411 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2023-12-08 04:00:51,426 - {control.process:111} - {INFO:MainThread} - LP1: set current 0 A, state NO_CHARGING_ALLOWED
2023-12-08 04:00:51,438 - {modules.common.component_context:24} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:00:51,480 - {control.counter:186} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2023-12-08 04:00:51,827 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2023-12-08 04:00:51,835 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2023-12-08 04:00:55,844 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2023-12-08 04:01:00,858 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2023-12-08 04:01:00,859 - {root:74} - {INFO:MainThread} - # ***Start*** 
2023-12-08 04:01:00,907 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x715cf340>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x7155e4a8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x715c75f8>}
2023-12-08 04:01:00,908 - {modules.common.component_context:24} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2023-12-08 04:01:00,917 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2023-12-08 04:01:00,919 - {modules.common.component_context:24} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:01:00,923 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2023-12-08 04:01:00,955 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-328, -186, -22, -119], Scale 0
2023-12-08 04:01:00,965 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 750
2023-12-08 04:01:00,967 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"cloud":{"connected":false},"input:0":{"id":0,"state":false},"mqtt":{"connected":false},"switch:0":{"id":0, "source":"loopback", "output":false, "apower":0.0, "voltage":242.8, "current":0.000, "aenergy":{"total":1505.625,"by_minute":[0.000,0.000,0.000],"minute_ts":1702004460},"temperature":{"tC":28.9, "tF":84.1}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:01","unixtime":1702004461,"uptime":1363789,"ram_size":248944,"ram_free":144676,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"beta":{"version":"1.1.0-beta2"},"stable":{"version":"1.0.8"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-69},"ws":{"connected":false}}

2023-12-08 04:01:00,969 - {modules.common.simcount._simcount:38} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1702004450.6169236, power=0, imported=0.0, exported=293628.5948715257)
2023-12-08 04:01:00,970 - {modules.common.simcount._calculate:13} - {DEBUG:device1} - time passed: 0.00287566, power1: 0, power2: 0
2023-12-08 04:01:00,970 - {modules.common.simcount._calculate:29} - {DEBUG:device1} - power did not change sign. Total energy: 0
2023-12-08 04:01:00,971 - {modules.common.simcount._simcount:47} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702004460.9693065, power=0, imported=0.0, exported=293628.5948715257)
2023-12-08 04:01:00,972 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:01:00,979 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [10, 5, 11], Scale -1
2023-12-08 04:01:00,996 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [24265, 24247, 24041, 0, 0, 0, 0], Scale -2
2023-12-08 04:01:01,016 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4997], Scale -2
2023-12-08 04:01:01,055 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7139, 1770, 3899], Scale -2
2023-12-08 04:01:01,096 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4870433, 1797042, 2153375, 1456453, 6125839, 2531511, 1862787, 2267979], Scale 0
2023-12-08 04:01:01,097 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[1.0, 0.5, 1.1], powers=[186.0, 22.0, 119.0], voltages=[242.65, 242.47, 240.41], power_factors=[0.7139, 0.177, 0.3899], imported=6125839.0, exported=4870433.0, power=328.0, frequency=49.97)
2023-12-08 04:01:01,101 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2023-12-08 04:01:01,135 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [0], Scale 0
2023-12-08 04:01:01,155 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7789710], Scale 0
2023-12-08 04:01:01,246 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [29, 32, 32], Scale -2
2023-12-08 04:01:01,265 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4801], Scale -2
2023-12-08 04:01:01,266 - {modules.common.component_state:100} - {DEBUG:device0} - currents sign wrong [0.29, 0.32, 0.32]
2023-12-08 04:01:01,266 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.29, 0.32, 0.32], power=-0.0, exported=7789710.0, dc_power=48.01)
2023-12-08 04:01:01,271 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2023-12-08 04:01:01,316 - {modules.common.simcount._simcount:38} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1702004451.0056179, power=0.0, imported=143333.37604219164, exported=116864.5215890633)
2023-12-08 04:01:01,317 - {modules.common.simcount._calculate:13} - {DEBUG:device0} - time passed: 0.0028641, power1: 0, power2: 0
2023-12-08 04:01:01,317 - {modules.common.simcount._calculate:29} - {DEBUG:device0} - power did not change sign. Total energy: 0
2023-12-08 04:01:01,317 - {modules.common.simcount._simcount:47} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702004461.316365, power=0.0, imported=143333.37604219164, exported=116864.5215890633)
2023-12-08 04:01:01,319 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=143333.37604219164, exported=116864.5215890633, power=0.0, soc=19.0)
2023-12-08 04:01:01,325 - {modules.common.component_context:24} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2023-12-08 04:01:01,326 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=143333.37604219164, exported=116864.5215890633, power=0.0, soc=19.0)
2023-12-08 04:01:01,366 - {modules.common.component_context:24} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:01:01,367 - {modules.common.component_context:24} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2023-12-08 04:01:01,368 - {modules.common.component_context:24} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2023-12-08 04:01:01,369 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-0.0, exported=7816178.86, dc_power=None)
2023-12-08 04:01:01,369 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:01:01,370 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-0.0, exported=7816178.86, dc_power=None)
2023-12-08 04:01:01,371 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:01:01,410 - {modules.common.component_context:24} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2023-12-08 04:01:01,410 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[1.0, 0.5, 1.1], powers=[186.0, 22.0, 119.0], voltages=[242.65, 242.47, 240.41], power_factors=[0.7139, 0.177, 0.3899], imported=6125839.0, exported=4870433.0, power=328.0, frequency=49.97)
2023-12-08 04:01:01,578 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2023-12-08 04:01:01,581 - {control.bat_all:173} - {INFO:MainThread} - -50W verbleibende Speicher-Leistung
2023-12-08 04:01:01,584 - {control.counter:138} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [62.0, 62.6, 61.9]A
2023-12-08 04:01:01,585 - {control.counter:161} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 42672.0W
2023-12-08 04:01:01,587 - {control.chargepoint.chargepoint:699} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2023-12-08 04:01:01,589 - {control.chargepoint.chargepoint:682} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2023-12-08 04:01:01,591 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 966.980542s, Dauer 1.380952380952381h, Termin heute verpasst: False
2023-12-08 04:01:01,594 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 91689.959122s, Dauer 0.18012422360248448h, Termin heute verpasst: False
2023-12-08 04:01:01,597 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -8975.882742s, Dauer 4.142857142857143h, Termin heute verpasst: False
2023-12-08 04:01:01,599 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 90393.058957s, Dauer 0.5403726708074534h, Termin heute verpasst: False
2023-12-08 04:01:01,601 - {control.ev:762} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2023-12-08 04:01:01,606 - {control.chargepoint.chargepoint:898} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.PV_CHARGING, Phasen: 1, Priorität: False, max. Ist-Strom: 0.1
2023-12-08 04:01:01,613 - {control.chargepoint.chargepoint:277} - {INFO:MainThread} - LP 1: Kein Sofortladen, da noch Zeit bis zum Zieltermin ist. Falls vorhanden, wird mit EVU-Überschuss geladen.
2023-12-08 04:01:01,639 - {modules.common.simcount._simcount:38} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1702004451.3103309, power=312.0, imported=2374308.53546524, exported=0)
2023-12-08 04:01:01,644 - {modules.common.simcount._calculate:13} - {DEBUG:MainThread} - time passed: 0.00286904, power1: 312, power2: 328
2023-12-08 04:01:01,645 - {modules.common.simcount._calculate:29} - {DEBUG:MainThread} - power did not change sign. Total energy: 0.918094
2023-12-08 04:01:01,646 - {modules.common.simcount._simcount:47} - {DEBUG:MainThread} - imported: 0.918094 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702004461.6388845, power=328.0, imported=2374309.4535589, exported=0)
2023-12-08 04:01:01,655 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=19, daily_exported=0.0, daily_imported=0.0, imported=143333.38, exported=116864.52, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2023-12-08 04:01:01,656 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=19, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=143333.38, exported=116864.52, power=0.0), set=Set(charging_power_left=-50, switch_on_soc_reached=False))
2023-12-08 04:01:01,657 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=97.16, daily_exported=0, power=0, imported=6926458.98, exported=0))
2023-12-08 04:01:01,659 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 95%, 06:00 Uhr', imported_at_plan_start=6926377.93, imported_instant_charging=None, limit=None, phases=1, prio=False, required_current=6, required_currents=[0.0, 6, 0.0], state=0, submode=<Chargemode.PV_CHARGING: 'pv_charging'>, 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=72), currents=[0.1, 0.0, 0.0], daily_imported=97.16, daily_exported=0, evse_current=0, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=6926458.98, phases_in_use=1, plug_state=True, power=0, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Kein Sofortladen, da noch Zeit bis zum Zieltermin ist. Falls vorhanden, wird mit EVU-Überschuss geladen.', voltages=[242.85, 240.86, 243.05]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=0, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='_', imported_at_mode_switch=6926377.93, imported_at_plugtime=6926377.93, imported_since_mode_switch=0, imported_since_plugged=81.05000000074506, range_charged=0, time_charged='00:00', timestamp_start_charging=None), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time='12/07/2023, 13:07:31', required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x7157b748>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB Carport', type='internal_openwb', template=1, connected_phases=3, phase_1=2, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=1))
2023-12-08 04:01:01,660 - {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-12-08 04:01:01,662 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=1, max_current_multi_phases=16, max_current_single_phase=20, name='RFID, 20A, 11kW', rfid_enabling=True, valid_tags=['0003134583', '0003526747', '1655332554', '2585022212', '2585087748'])
2023-12-08 04:01:01,663 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[63, 63, 63], max_total_power=43000), get=Get(powers=[186.0, 22.0, 119.0], currents=[1.0, 0.5, 1.1], voltages=[242.65, 242.47, 240.41], power_factors=[0.71, 0.18, 0.39], unbalanced_load=0, frequency=49.97, daily_exported=0.0, daily_imported=4073.0, imported=6125839.0, exported=4870433.0, fault_state=0, fault_str='Kein Fehler.', power=328.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=42672.0, raw_currents_left=[62.0, 62.6, 61.9], surplus_power_left=0, state_str=''))
2023-12-08 04:01:01,665 - {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': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=328.0, invalid_home_consumption=0, daily_yield_home_consumption=5488.8679565983, imported_home_consumption=2374309.4535589, disengageable_smarthome_power=0))
2023-12-08 04:01:01,666 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2023-12-08 04:01:01,667 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Ladeprofil ***AUTO1***', disable_after_unplug=False, prio=False, load_default=True, time_charging=TimeCharging(active=True, plans={'0': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[True, True, True, True, False, False, True]), time=['22:00', '06:00'], name='Zeitladen 95%, So-Do 22:00-06:00 Uhr', current=16, limit=Limit(selected='soc', amount=1000, soc=95)), '1': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, True, True, False]), time=['22:00', '06:00'], name='Zeitladen 80%, Fr-Sa 22:00-06:00 Uhr', current=16, limit=Limit(selected='soc', amount=1000, soc=80))}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2023-12-08 04:01:01,672 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, time_charging=TimeCharging(active=True, plans={'2': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), time=['06:45', '07:00'], name='Klima 06:45-07:00 Uhr', current=6, limit=Limit(selected='none', amount=1000, soc=50)), '3': TimeChargingPlan(active=True, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, False, False, False]), time=['00:00', '23:55'], name='Immer 35%', current=10, limit=Limit(selected='soc', amount=1000, soc=35))}), chargemode=Chargemode(selected='scheduled_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={'0': ScheduledChargingPlan(active=False, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, True, False, False, False, False, False]), current=14, name='Zielladen 80%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '1': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), current=14, name='Zielladen 95%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=95), time='05:40'), '2': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once='2023-09-26', weekly=[True, False, False, True, False, True, True]), current=14, name='Zielladen 75%, 7:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=75), time='05:40')}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=80))))
2023-12-08 04:01:01,673 - {control.data:266} - {INFO:MainThread} - ev0
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=['0003134583'], get=Get(soc=0, soc_timestamp=None, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:01:01,674 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Tesla Model Y (2022)', 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=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212', '2585087748'], get=Get(soc=49.0, soc_timestamp='12/08/2023, 01:29:15', force_soc_update=False, range=220.74, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:01:01,676 - {control.data:266} - {INFO:MainThread} - ev2
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Cupra Born 58kW', 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=18000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=2, ev_template=2, name='***AUTO2***', tag_id=['1655332554'], get=Get(soc=72, soc_timestamp='12/08/2023, 02:47:32', force_soc_update=False, range=205, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:01:01,681 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40)
2023-12-08 04:01:01,682 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', 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=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40)
2023-12-08 04:01:01,683 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', 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=18000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40)
2023-12-08 04:01:01,685 - {control.data:245} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=3), pv_charging=PvCharging(bat_prio=True, charging_power_reserve=200, control_range=[-230, 230], feed_in_yield=15000, phase_switch_delay=15, phases_to_use=0, rundown_power=1000, rundown_soc=25, switch_off_delay=60, switch_off_soc=25, switch_off_threshold=50, switch_on_delay=30, switch_on_soc=50, switch_on_threshold=1400), scheduled_charging=ScheduledCharging(phases_to_use=0), time_charging=TimeCharging(phases_to_use=3), unbalanced_load_limit=20, unbalanced_load=True), control_interval=10, extern_display_mode='local', extern=False, external_buttons_hw=False, grid_protection_active=False, grid_protection_configured=True, grid_protection_random_stop=0, grid_protection_timestamp='', mqtt_bridge=False, price_kwh=0.3528, range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=True, r1_active=False, r2_active=False))
2023-12-08 04:01:01,686 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2023-12-08 04:01:01,687 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2023-12-08 04:01:01,688 - {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 0x71594580>), led=Led(active=False), rfid=Rfid(active=True))
2023-12-08 04:01:01,689 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=0), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=293628.595, fault_state=0, fault_str='Kein Fehler.', power=0))
2023-12-08 04:01:01,691 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=9500), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=7816178.86, fault_state=0, fault_str='Kein Fehler.', power=-0.0))
2023-12-08 04:01:01,692 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=8109807.455, power=0.0))
2023-12-08 04:01:01,699 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2023-11-30 12:30:45 +0100 [285f5a5fb]', 'current_branch': 'Release', 'current_branch_commit': '2023-11-30 12:30:45 +0100 [285f5a5fb]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.2-Patch.1', 'datastore_version': 29, 'lastlivevaluesJson': {'timestamp': 1702004451, 'time': '04:00:51', 'grid': 0.312, 'house-power': 0.312, 'charging-all': 0.0, 'pv-all': -0.0, 'cp1-power': 0.0, 'ev1-soc': 49.0, 'ev2-soc': 72, 'bat-all-power': 0.0, 'bat-all-soc': 19}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2023-12-08 04:01:01,703 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2023-12-08 04:01:01,704 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2023-12-08 04:01:01,707 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2023-12-08 04:01:01,708 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2023-12-08 04:01:01,709 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2023-12-08 04:01:01,713 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2023-12-08 04:01:01,714 - {control.data:253} - {INFO:MainThread} - 

2023-12-08 04:01:01,715 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2023-12-08 04:01:01,718 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2023-12-08 04:01:01,721 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2023-12-08 04:01:01,723 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2023-12-08 04:01:01,726 - {control.counter:211} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: 0W
2023-12-08 04:01:01,727 - {control.counter:457} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf 0W
2023-12-08 04:01:01,729 - {control.chargepoint.chargepoint:277} - {INFO:MainThread} - LP 1: Die Ladung kann nicht gestartet werden, da die Einschaltschwelle nicht erreicht wird.
2023-12-08 04:01:01,730 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2023-12-08 04:01:01,731 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2023-12-08 04:01:01,737 - {control.process:111} - {INFO:MainThread} - LP1: set current 0 A, state NO_CHARGING_ALLOWED
2023-12-08 04:01:01,741 - {modules.common.component_context:24} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:01:01,770 - {control.counter:186} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2023-12-08 04:01:02,012 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2023-12-08 04:01:02,019 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2023-12-08 04:01:05,025 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2023-12-08 04:01:05,026 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2023-12-08 04:01:10,036 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2023-12-08 04:01:10,037 - {root:74} - {INFO:MainThread} - # ***Start*** 
2023-12-08 04:01:10,072 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x715cf340>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x7155e4a8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x715c75f8>}
2023-12-08 04:01:10,075 - {modules.common.component_context:24} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2023-12-08 04:01:10,079 - {modules.common.component_context:24} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:01:10,086 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2023-12-08 04:01:10,088 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2023-12-08 04:01:10,127 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 750
2023-12-08 04:01:10,129 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"cloud":{"connected":false},"input:0":{"id":0,"state":false},"mqtt":{"connected":false},"switch:0":{"id":0, "source":"loopback", "output":false, "apower":0.0, "voltage":242.9, "current":0.000, "aenergy":{"total":1505.625,"by_minute":[0.000,0.000,0.000],"minute_ts":1702004469},"temperature":{"tC":28.8, "tF":83.9}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:01","unixtime":1702004471,"uptime":1363798,"ram_size":248944,"ram_free":144676,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"beta":{"version":"1.1.0-beta2"},"stable":{"version":"1.0.8"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-68},"ws":{"connected":false}}

2023-12-08 04:01:10,131 - {modules.common.simcount._simcount:38} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1702004460.9693065, power=0, imported=0.0, exported=293628.5948715257)
2023-12-08 04:01:10,131 - {modules.common.simcount._calculate:13} - {DEBUG:device1} - time passed: 0.00254491, power1: 0, power2: 0
2023-12-08 04:01:10,132 - {modules.common.simcount._calculate:29} - {DEBUG:device1} - power did not change sign. Total energy: 0
2023-12-08 04:01:10,132 - {modules.common.simcount._simcount:47} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702004470.1309824, power=0, imported=0.0, exported=293628.5948715257)
2023-12-08 04:01:10,133 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:01:10,138 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-318, -191, -22, -105], Scale 0
2023-12-08 04:01:10,155 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [10, 5, 11], Scale -1
2023-12-08 04:01:10,175 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [24256, 24232, 24045, 0, 0, 0, 0], Scale -2
2023-12-08 04:01:10,195 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4997], Scale -2
2023-12-08 04:01:10,214 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7220, 1749, 3899], Scale -2
2023-12-08 04:01:10,267 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4870433, 1797042, 2153375, 1456453, 6125840, 2531512, 1862787, 2267980], Scale 0
2023-12-08 04:01:10,268 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[1.0, 0.5, 1.1], powers=[191.0, 22.0, 105.0], voltages=[242.56, 242.32, 240.45000000000002], power_factors=[0.722, 0.17490000000000003, 0.3899], imported=6125840.0, exported=4870433.0, power=318.0, frequency=49.97)
2023-12-08 04:01:10,270 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2023-12-08 04:01:10,294 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [0], Scale 0
2023-12-08 04:01:10,314 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7789710], Scale 0
2023-12-08 04:01:10,334 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [28, 32, 32], Scale -2
2023-12-08 04:01:10,455 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4622], Scale -2
2023-12-08 04:01:10,456 - {modules.common.component_state:100} - {DEBUG:device0} - currents sign wrong [0.28, 0.32, 0.32]
2023-12-08 04:01:10,456 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.28, 0.32, 0.32], power=-0.0, exported=7789710.0, dc_power=46.22)
2023-12-08 04:01:10,459 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2023-12-08 04:01:10,547 - {modules.common.simcount._simcount:38} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1702004461.316365, power=0.0, imported=143333.37604219164, exported=116864.5215890633)
2023-12-08 04:01:10,548 - {modules.common.simcount._calculate:13} - {DEBUG:device0} - time passed: 0.00256417, power1: 0, power2: 0
2023-12-08 04:01:10,549 - {modules.common.simcount._calculate:29} - {DEBUG:device0} - power did not change sign. Total energy: 0
2023-12-08 04:01:10,549 - {modules.common.simcount._simcount:47} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702004470.547364, power=0.0, imported=143333.37604219164, exported=116864.5215890633)
2023-12-08 04:01:10,551 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=143333.37604219164, exported=116864.5215890633, power=0.0, soc=19.0)
2023-12-08 04:01:10,563 - {modules.common.component_context:24} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2023-12-08 04:01:10,564 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=143333.37604219164, exported=116864.5215890633, power=0.0, soc=19.0)
2023-12-08 04:01:10,615 - {modules.common.component_context:24} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:01:10,618 - {modules.common.component_context:24} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2023-12-08 04:01:10,619 - {modules.common.component_context:24} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2023-12-08 04:01:10,619 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-0.0, exported=7816178.86, dc_power=None)
2023-12-08 04:01:10,620 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:01:10,621 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-0.0, exported=7816178.86, dc_power=None)
2023-12-08 04:01:10,622 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:01:10,671 - {modules.common.component_context:24} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2023-12-08 04:01:10,672 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[1.0, 0.5, 1.1], powers=[191.0, 22.0, 105.0], voltages=[242.56, 242.32, 240.45000000000002], power_factors=[0.722, 0.17490000000000003, 0.3899], imported=6125840.0, exported=4870433.0, power=318.0, frequency=49.97)
2023-12-08 04:01:10,823 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2023-12-08 04:01:10,829 - {control.bat_all:173} - {INFO:MainThread} - -50W verbleibende Speicher-Leistung
2023-12-08 04:01:10,833 - {control.counter:138} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [62.0, 62.6, 61.9]A
2023-12-08 04:01:10,835 - {control.counter:161} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 42682.0W
2023-12-08 04:01:10,839 - {control.chargepoint.chargepoint:699} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2023-12-08 04:01:10,840 - {control.chargepoint.chargepoint:682} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2023-12-08 04:01:10,842 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 957.729985s, Dauer 1.380952380952381h, Termin heute verpasst: False
2023-12-08 04:01:10,844 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 91680.708313s, Dauer 0.18012422360248448h, Termin heute verpasst: False
2023-12-08 04:01:10,846 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -8985.131721s, Dauer 4.142857142857143h, Termin heute verpasst: False
2023-12-08 04:01:10,847 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 90383.811086s, Dauer 0.5403726708074534h, Termin heute verpasst: False
2023-12-08 04:01:10,849 - {control.ev:762} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2023-12-08 04:01:10,854 - {control.chargepoint.chargepoint:898} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.PV_CHARGING, Phasen: 1, Priorität: False, max. Ist-Strom: 0.1
2023-12-08 04:01:10,855 - {control.chargepoint.chargepoint:277} - {INFO:MainThread} - LP 1: Kein Sofortladen, da noch Zeit bis zum Zieltermin ist. Falls vorhanden, wird mit EVU-Überschuss geladen.
2023-12-08 04:01:10,872 - {modules.common.simcount._simcount:38} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1702004461.6388845, power=328.0, imported=2374309.4535589, exported=0)
2023-12-08 04:01:10,873 - {modules.common.simcount._calculate:13} - {DEBUG:MainThread} - time passed: 0.00256474, power1: 328, power2: 318
2023-12-08 04:01:10,874 - {modules.common.simcount._calculate:29} - {DEBUG:MainThread} - power did not change sign. Total energy: 0.828411
2023-12-08 04:01:10,875 - {modules.common.simcount._simcount:47} - {DEBUG:MainThread} - imported: 0.828411 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702004470.8719451, power=318.0, imported=2374310.281969615, exported=0)
2023-12-08 04:01:10,877 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=19, daily_exported=0.0, daily_imported=0.0, imported=143333.38, exported=116864.52, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2023-12-08 04:01:10,879 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=19, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=143333.38, exported=116864.52, power=0.0), set=Set(charging_power_left=-50, switch_on_soc_reached=False))
2023-12-08 04:01:10,880 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=97.16, daily_exported=0, power=0, imported=6926458.98, exported=0))
2023-12-08 04:01:10,882 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 95%, 06:00 Uhr', imported_at_plan_start=6926377.93, imported_instant_charging=None, limit=None, phases=1, prio=False, required_current=6, required_currents=[0.0, 6, 0.0], state=0, submode=<Chargemode.PV_CHARGING: 'pv_charging'>, 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=72), currents=[0.1, 0.0, 0.0], daily_imported=97.16, daily_exported=0, evse_current=0, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=6926458.98, phases_in_use=1, plug_state=True, power=0, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Kein Sofortladen, da noch Zeit bis zum Zieltermin ist. Falls vorhanden, wird mit EVU-Überschuss geladen.', voltages=[242.89, 240.92, 243.05]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=0, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='_', imported_at_mode_switch=6926377.93, imported_at_plugtime=6926377.93, imported_since_mode_switch=0, imported_since_plugged=81.05000000074506, range_charged=0, time_charged='00:00', timestamp_start_charging=None), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time='12/07/2023, 13:07:31', required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x70bebf70>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB Carport', type='internal_openwb', template=1, connected_phases=3, phase_1=2, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=1))
2023-12-08 04:01:10,883 - {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-12-08 04:01:10,889 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=1, max_current_multi_phases=16, max_current_single_phase=20, name='RFID, 20A, 11kW', rfid_enabling=True, valid_tags=['0003134583', '0003526747', '1655332554', '2585022212', '2585087748'])
2023-12-08 04:01:10,891 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[63, 63, 63], max_total_power=43000), get=Get(powers=[191.0, 22.0, 105.0], currents=[1.0, 0.5, 1.1], voltages=[242.56, 242.32, 240.45], power_factors=[0.72, 0.17, 0.39], unbalanced_load=0, frequency=49.97, daily_exported=0.0, daily_imported=4073.0, imported=6125840.0, exported=4870433.0, fault_state=0, fault_str='Kein Fehler.', power=318.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=42682.0, raw_currents_left=[62.0, 62.6, 61.9], surplus_power_left=0, state_str=''))
2023-12-08 04:01:10,893 - {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': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=318.0, invalid_home_consumption=0, daily_yield_home_consumption=5488.8679565983, imported_home_consumption=2374310.281969615, disengageable_smarthome_power=0))
2023-12-08 04:01:10,894 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2023-12-08 04:01:10,896 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Ladeprofil ***AUTO1***', disable_after_unplug=False, prio=False, load_default=True, time_charging=TimeCharging(active=True, plans={'0': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[True, True, True, True, False, False, True]), time=['22:00', '06:00'], name='Zeitladen 95%, So-Do 22:00-06:00 Uhr', current=16, limit=Limit(selected='soc', amount=1000, soc=95)), '1': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, True, True, False]), time=['22:00', '06:00'], name='Zeitladen 80%, Fr-Sa 22:00-06:00 Uhr', current=16, limit=Limit(selected='soc', amount=1000, soc=80))}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2023-12-08 04:01:10,898 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, time_charging=TimeCharging(active=True, plans={'2': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), time=['06:45', '07:00'], name='Klima 06:45-07:00 Uhr', current=6, limit=Limit(selected='none', amount=1000, soc=50)), '3': TimeChargingPlan(active=True, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, False, False, False]), time=['00:00', '23:55'], name='Immer 35%', current=10, limit=Limit(selected='soc', amount=1000, soc=35))}), chargemode=Chargemode(selected='scheduled_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={'0': ScheduledChargingPlan(active=False, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, True, False, False, False, False, False]), current=14, name='Zielladen 80%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '1': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), current=14, name='Zielladen 95%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=95), time='05:40'), '2': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once='2023-09-26', weekly=[True, False, False, True, False, True, True]), current=14, name='Zielladen 75%, 7:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=75), time='05:40')}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=80))))
2023-12-08 04:01:10,900 - {control.data:266} - {INFO:MainThread} - ev0
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=['0003134583'], get=Get(soc=0, soc_timestamp=None, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:01:10,901 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Tesla Model Y (2022)', 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=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212', '2585087748'], get=Get(soc=49.0, soc_timestamp='12/08/2023, 01:29:15', force_soc_update=False, range=220.74, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:01:10,903 - {control.data:266} - {INFO:MainThread} - ev2
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Cupra Born 58kW', 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=18000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=2, ev_template=2, name='***AUTO2***', tag_id=['1655332554'], get=Get(soc=72, soc_timestamp='12/08/2023, 02:47:32', force_soc_update=False, range=205, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:01:10,904 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40)
2023-12-08 04:01:10,905 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', 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=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40)
2023-12-08 04:01:10,907 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', 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=18000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40)
2023-12-08 04:01:10,908 - {control.data:245} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=3), pv_charging=PvCharging(bat_prio=True, charging_power_reserve=200, control_range=[-230, 230], feed_in_yield=15000, phase_switch_delay=15, phases_to_use=0, rundown_power=1000, rundown_soc=25, switch_off_delay=60, switch_off_soc=25, switch_off_threshold=50, switch_on_delay=30, switch_on_soc=50, switch_on_threshold=1400), scheduled_charging=ScheduledCharging(phases_to_use=0), time_charging=TimeCharging(phases_to_use=3), unbalanced_load_limit=20, unbalanced_load=True), control_interval=10, extern_display_mode='local', extern=False, external_buttons_hw=False, grid_protection_active=False, grid_protection_configured=True, grid_protection_random_stop=0, grid_protection_timestamp='', mqtt_bridge=False, price_kwh=0.3528, range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=True, r1_active=False, r2_active=False))
2023-12-08 04:01:10,910 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2023-12-08 04:01:10,913 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2023-12-08 04:01:10,914 - {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 0x70b5f9b8>), led=Led(active=False), rfid=Rfid(active=True))
2023-12-08 04:01:10,915 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=0), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=293628.595, fault_state=0, fault_str='Kein Fehler.', power=0))
2023-12-08 04:01:10,916 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=9500), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=7816178.86, fault_state=0, fault_str='Kein Fehler.', power=-0.0))
2023-12-08 04:01:10,917 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=8109807.455, power=0.0))
2023-12-08 04:01:10,919 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2023-11-30 12:30:45 +0100 [285f5a5fb]', 'current_branch': 'Release', 'current_branch_commit': '2023-11-30 12:30:45 +0100 [285f5a5fb]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.2-Patch.1', 'datastore_version': 29, 'lastlivevaluesJson': {'timestamp': 1702004461, 'time': '04:01:01', 'grid': 0.328, 'house-power': 0.328, 'charging-all': 0.0, 'pv-all': -0.0, 'cp1-power': 0.0, 'ev1-soc': 49.0, 'ev2-soc': 72, 'bat-all-power': 0.0, 'bat-all-soc': 19}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2023-12-08 04:01:10,920 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2023-12-08 04:01:10,921 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2023-12-08 04:01:10,926 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2023-12-08 04:01:10,927 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2023-12-08 04:01:10,928 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2023-12-08 04:01:10,930 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2023-12-08 04:01:10,931 - {control.data:253} - {INFO:MainThread} - 

2023-12-08 04:01:10,931 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2023-12-08 04:01:10,932 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2023-12-08 04:01:10,935 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2023-12-08 04:01:10,937 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2023-12-08 04:01:10,939 - {control.counter:211} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: 0W
2023-12-08 04:01:10,943 - {control.counter:457} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf 0W
2023-12-08 04:01:10,944 - {control.chargepoint.chargepoint:277} - {INFO:MainThread} - LP 1: Die Ladung kann nicht gestartet werden, da die Einschaltschwelle nicht erreicht wird.
2023-12-08 04:01:10,946 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2023-12-08 04:01:10,947 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2023-12-08 04:01:10,950 - {control.process:111} - {INFO:MainThread} - LP1: set current 0 A, state NO_CHARGING_ALLOWED
2023-12-08 04:01:10,956 - {modules.common.component_context:24} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:01:10,977 - {control.counter:186} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2023-12-08 04:01:11,179 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2023-12-08 04:01:15,205 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2023-12-08 04:01:15,207 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2023-12-08 04:01:20,217 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2023-12-08 04:01:20,218 - {root:74} - {INFO:MainThread} - # ***Start*** 
2023-12-08 04:01:20,261 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x715cf340>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x7155e4a8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x715c75f8>}
2023-12-08 04:01:20,262 - {modules.common.component_context:24} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2023-12-08 04:01:20,269 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2023-12-08 04:01:20,271 - {modules.common.component_context:24} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:01:20,271 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2023-12-08 04:01:20,305 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-320, -190, -21, -107], Scale 0
2023-12-08 04:01:20,311 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 750
2023-12-08 04:01:20,313 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"cloud":{"connected":false},"input:0":{"id":0,"state":false},"mqtt":{"connected":false},"switch:0":{"id":0, "source":"loopback", "output":false, "apower":0.0, "voltage":242.9, "current":0.000, "aenergy":{"total":1505.625,"by_minute":[0.000,0.000,0.000],"minute_ts":1702004479},"temperature":{"tC":28.9, "tF":84.0}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:01","unixtime":1702004481,"uptime":1363808,"ram_size":248996,"ram_free":145268,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"beta":{"version":"1.1.0-beta2"},"stable":{"version":"1.0.8"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-69},"ws":{"connected":false}}

2023-12-08 04:01:20,315 - {modules.common.simcount._simcount:38} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1702004470.1309824, power=0, imported=0.0, exported=293628.5948715257)
2023-12-08 04:01:20,315 - {modules.common.simcount._calculate:13} - {DEBUG:device1} - time passed: 0.00282888, power1: 0, power2: 0
2023-12-08 04:01:20,316 - {modules.common.simcount._calculate:29} - {DEBUG:device1} - power did not change sign. Total energy: 0
2023-12-08 04:01:20,316 - {modules.common.simcount._simcount:47} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702004480.3149383, power=0, imported=0.0, exported=293628.5948715257)
2023-12-08 04:01:20,317 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:01:20,375 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [10, 5, 11], Scale -1
2023-12-08 04:01:20,395 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [24271, 24251, 24052, 0, 0, 0, 0], Scale -2
2023-12-08 04:01:20,415 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4997], Scale -2
2023-12-08 04:01:20,496 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7210, 1840, 3989], Scale -2
2023-12-08 04:01:20,536 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4870433, 1797042, 2153375, 1456453, 6125841, 2531512, 1862787, 2267980], Scale 0
2023-12-08 04:01:20,537 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[1.0, 0.5, 1.1], powers=[190.0, 21.0, 107.0], voltages=[242.71, 242.51, 240.52], power_factors=[0.7210000000000001, 0.18400000000000002, 0.39890000000000003], imported=6125841.0, exported=4870433.0, power=320.0, frequency=49.97)
2023-12-08 04:01:20,540 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2023-12-08 04:01:20,555 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [0], Scale 0
2023-12-08 04:01:20,577 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7789710], Scale 0
2023-12-08 04:01:20,597 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [27, 30, 31], Scale -2
2023-12-08 04:01:20,616 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4931], Scale -2
2023-12-08 04:01:20,617 - {modules.common.component_state:100} - {DEBUG:device0} - currents sign wrong [0.27, 0.3, 0.31]
2023-12-08 04:01:20,618 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.27, 0.3, 0.31], power=-0.0, exported=7789710.0, dc_power=49.31)
2023-12-08 04:01:20,624 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2023-12-08 04:01:20,666 - {modules.common.simcount._simcount:38} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1702004470.547364, power=0.0, imported=143333.37604219164, exported=116864.5215890633)
2023-12-08 04:01:20,667 - {modules.common.simcount._calculate:13} - {DEBUG:device0} - time passed: 0.00281096, power1: 0, power2: 0
2023-12-08 04:01:20,668 - {modules.common.simcount._calculate:29} - {DEBUG:device0} - power did not change sign. Total energy: 0
2023-12-08 04:01:20,669 - {modules.common.simcount._simcount:47} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702004480.6668208, power=0.0, imported=143333.37604219164, exported=116864.5215890633)
2023-12-08 04:01:20,670 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=143333.37604219164, exported=116864.5215890633, power=0.0, soc=19.0)
2023-12-08 04:01:20,675 - {modules.common.component_context:24} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2023-12-08 04:01:20,676 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=143333.37604219164, exported=116864.5215890633, power=0.0, soc=19.0)
2023-12-08 04:01:20,816 - {modules.common.component_context:24} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:01:20,823 - {modules.common.component_context:24} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2023-12-08 04:01:20,824 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-0.0, exported=7816178.86, dc_power=None)
2023-12-08 04:01:20,825 - {modules.common.component_context:24} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2023-12-08 04:01:20,826 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-0.0, exported=7816178.86, dc_power=None)
2023-12-08 04:01:20,826 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:01:20,828 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:01:20,867 - {modules.common.component_context:24} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2023-12-08 04:01:20,868 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[1.0, 0.5, 1.1], powers=[190.0, 21.0, 107.0], voltages=[242.71, 242.51, 240.52], power_factors=[0.7210000000000001, 0.18400000000000002, 0.39890000000000003], imported=6125841.0, exported=4870433.0, power=320.0, frequency=49.97)
2023-12-08 04:01:21,049 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2023-12-08 04:01:21,050 - {control.bat_all:173} - {INFO:MainThread} - -50W verbleibende Speicher-Leistung
2023-12-08 04:01:21,057 - {control.counter:138} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [62.0, 62.6, 61.9]A
2023-12-08 04:01:21,059 - {control.counter:161} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 42680.0W
2023-12-08 04:01:21,062 - {control.chargepoint.chargepoint:699} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2023-12-08 04:01:21,064 - {control.chargepoint.chargepoint:682} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2023-12-08 04:01:21,066 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 947.505786s, Dauer 1.380952380952381h, Termin heute verpasst: False
2023-12-08 04:01:21,069 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 91670.483893s, Dauer 0.18012422360248448h, Termin heute verpasst: False
2023-12-08 04:01:21,072 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -8995.357345s, Dauer 4.142857142857143h, Termin heute verpasst: False
2023-12-08 04:01:21,074 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 90373.584999s, Dauer 0.5403726708074534h, Termin heute verpasst: False
2023-12-08 04:01:21,076 - {control.ev:762} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2023-12-08 04:01:21,085 - {control.chargepoint.chargepoint:898} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.PV_CHARGING, Phasen: 1, Priorität: False, max. Ist-Strom: 0.1
2023-12-08 04:01:21,088 - {control.chargepoint.chargepoint:277} - {INFO:MainThread} - LP 1: Kein Sofortladen, da noch Zeit bis zum Zieltermin ist. Falls vorhanden, wird mit EVU-Überschuss geladen.
2023-12-08 04:01:21,115 - {modules.common.simcount._simcount:38} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1702004470.8719451, power=318.0, imported=2374310.281969615, exported=0)
2023-12-08 04:01:21,117 - {modules.common.simcount._calculate:13} - {DEBUG:MainThread} - time passed: 0.00284542, power1: 318, power2: 320
2023-12-08 04:01:21,118 - {modules.common.simcount._calculate:29} - {DEBUG:MainThread} - power did not change sign. Total energy: 0.907688
2023-12-08 04:01:21,120 - {modules.common.simcount._simcount:47} - {DEBUG:MainThread} - imported: 0.907688 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702004481.1154466, power=320.0, imported=2374311.189657658, exported=0)
2023-12-08 04:01:21,124 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=19, daily_exported=0.0, daily_imported=0.0, imported=143333.38, exported=116864.52, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2023-12-08 04:01:21,125 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=19, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=143333.38, exported=116864.52, power=0.0), set=Set(charging_power_left=-50, switch_on_soc_reached=False))
2023-12-08 04:01:21,127 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=97.16, daily_exported=0, power=0, imported=6926458.98, exported=0))
2023-12-08 04:01:21,130 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 95%, 06:00 Uhr', imported_at_plan_start=6926377.93, imported_instant_charging=None, limit=None, phases=1, prio=False, required_current=6, required_currents=[0.0, 6, 0.0], state=0, submode=<Chargemode.PV_CHARGING: 'pv_charging'>, 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=72), currents=[0.1, 0.0, 0.0], daily_imported=97.16, daily_exported=0, evse_current=0, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=6926458.98, phases_in_use=1, plug_state=True, power=0, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Kein Sofortladen, da noch Zeit bis zum Zieltermin ist. Falls vorhanden, wird mit EVU-Überschuss geladen.', voltages=[242.97, 240.95, 243.17]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=0, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='_', imported_at_mode_switch=6926377.93, imported_at_plugtime=6926377.93, imported_since_mode_switch=0, imported_since_plugged=81.05000000074506, range_charged=0, time_charged='00:00', timestamp_start_charging=None), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time='12/07/2023, 13:07:31', required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x70bf3b38>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB Carport', type='internal_openwb', template=1, connected_phases=3, phase_1=2, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=1))
2023-12-08 04:01:21,143 - {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-12-08 04:01:21,145 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=1, max_current_multi_phases=16, max_current_single_phase=20, name='RFID, 20A, 11kW', rfid_enabling=True, valid_tags=['0003134583', '0003526747', '1655332554', '2585022212', '2585087748'])
2023-12-08 04:01:21,147 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[63, 63, 63], max_total_power=43000), get=Get(powers=[190.0, 21.0, 107.0], currents=[1.0, 0.5, 1.1], voltages=[242.71, 242.51, 240.52], power_factors=[0.72, 0.18, 0.4], unbalanced_load=0, frequency=49.97, daily_exported=0.0, daily_imported=4073.0, imported=6125841.0, exported=4870433.0, fault_state=0, fault_str='Kein Fehler.', power=320.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=42680.0, raw_currents_left=[62.0, 62.6, 61.9], surplus_power_left=0, state_str=''))
2023-12-08 04:01:21,150 - {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': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=320.0, invalid_home_consumption=0, daily_yield_home_consumption=5488.8679565983, imported_home_consumption=2374311.189657658, disengageable_smarthome_power=0))
2023-12-08 04:01:21,151 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2023-12-08 04:01:21,153 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Ladeprofil ***AUTO1***', disable_after_unplug=False, prio=False, load_default=True, time_charging=TimeCharging(active=True, plans={'0': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[True, True, True, True, False, False, True]), time=['22:00', '06:00'], name='Zeitladen 95%, So-Do 22:00-06:00 Uhr', current=16, limit=Limit(selected='soc', amount=1000, soc=95)), '1': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, True, True, False]), time=['22:00', '06:00'], name='Zeitladen 80%, Fr-Sa 22:00-06:00 Uhr', current=16, limit=Limit(selected='soc', amount=1000, soc=80))}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2023-12-08 04:01:21,154 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, time_charging=TimeCharging(active=True, plans={'2': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), time=['06:45', '07:00'], name='Klima 06:45-07:00 Uhr', current=6, limit=Limit(selected='none', amount=1000, soc=50)), '3': TimeChargingPlan(active=True, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, False, False, False]), time=['00:00', '23:55'], name='Immer 35%', current=10, limit=Limit(selected='soc', amount=1000, soc=35))}), chargemode=Chargemode(selected='scheduled_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={'0': ScheduledChargingPlan(active=False, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, True, False, False, False, False, False]), current=14, name='Zielladen 80%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '1': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), current=14, name='Zielladen 95%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=95), time='05:40'), '2': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once='2023-09-26', weekly=[True, False, False, True, False, True, True]), current=14, name='Zielladen 75%, 7:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=75), time='05:40')}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=80))))
2023-12-08 04:01:21,161 - {control.data:266} - {INFO:MainThread} - ev0
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=['0003134583'], get=Get(soc=0, soc_timestamp=None, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:01:21,163 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Tesla Model Y (2022)', 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=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212', '2585087748'], get=Get(soc=49.0, soc_timestamp='12/08/2023, 01:29:15', force_soc_update=False, range=220.74, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:01:21,165 - {control.data:266} - {INFO:MainThread} - ev2
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Cupra Born 58kW', 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=18000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=2, ev_template=2, name='***AUTO2***', tag_id=['1655332554'], get=Get(soc=72, soc_timestamp='12/08/2023, 02:47:32', force_soc_update=False, range=205, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:01:21,165 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40)
2023-12-08 04:01:21,166 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', 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=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40)
2023-12-08 04:01:21,167 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', 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=18000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40)
2023-12-08 04:01:21,169 - {control.data:245} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=3), pv_charging=PvCharging(bat_prio=True, charging_power_reserve=200, control_range=[-230, 230], feed_in_yield=15000, phase_switch_delay=15, phases_to_use=0, rundown_power=1000, rundown_soc=25, switch_off_delay=60, switch_off_soc=25, switch_off_threshold=50, switch_on_delay=30, switch_on_soc=50, switch_on_threshold=1400), scheduled_charging=ScheduledCharging(phases_to_use=0), time_charging=TimeCharging(phases_to_use=3), unbalanced_load_limit=20, unbalanced_load=True), control_interval=10, extern_display_mode='local', extern=False, external_buttons_hw=False, grid_protection_active=False, grid_protection_configured=True, grid_protection_random_stop=0, grid_protection_timestamp='', mqtt_bridge=False, price_kwh=0.3528, range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=True, r1_active=False, r2_active=False))
2023-12-08 04:01:21,172 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2023-12-08 04:01:21,173 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2023-12-08 04:01:21,175 - {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 0x70bf37d8>), led=Led(active=False), rfid=Rfid(active=True))
2023-12-08 04:01:21,176 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=0), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=293628.595, fault_state=0, fault_str='Kein Fehler.', power=0))
2023-12-08 04:01:21,178 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=9500), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=7816178.86, fault_state=0, fault_str='Kein Fehler.', power=-0.0))
2023-12-08 04:01:21,179 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=8109807.455, power=0.0))
2023-12-08 04:01:21,185 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2023-11-30 12:30:45 +0100 [285f5a5fb]', 'current_branch': 'Release', 'current_branch_commit': '2023-11-30 12:30:45 +0100 [285f5a5fb]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.2-Patch.1', 'datastore_version': 29, 'lastlivevaluesJson': {'timestamp': 1702004470, 'time': '04:01:10', 'grid': 0.318, 'house-power': 0.318, 'charging-all': 0.0, 'pv-all': -0.0, 'cp1-power': 0.0, 'ev1-soc': 49.0, 'ev2-soc': 72, 'bat-all-power': 0.0, 'bat-all-soc': 19}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2023-12-08 04:01:21,186 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2023-12-08 04:01:21,187 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2023-12-08 04:01:21,189 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2023-12-08 04:01:21,191 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2023-12-08 04:01:21,193 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2023-12-08 04:01:21,194 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2023-12-08 04:01:21,196 - {control.data:253} - {INFO:MainThread} - 

2023-12-08 04:01:21,198 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2023-12-08 04:01:21,199 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2023-12-08 04:01:21,202 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2023-12-08 04:01:21,205 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2023-12-08 04:01:21,212 - {control.counter:211} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: 0W
2023-12-08 04:01:21,214 - {control.counter:457} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf 0W
2023-12-08 04:01:21,215 - {control.chargepoint.chargepoint:277} - {INFO:MainThread} - LP 1: Die Ladung kann nicht gestartet werden, da die Einschaltschwelle nicht erreicht wird.
2023-12-08 04:01:21,215 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2023-12-08 04:01:21,217 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2023-12-08 04:01:21,226 - {control.process:111} - {INFO:MainThread} - LP1: set current 0 A, state NO_CHARGING_ALLOWED
2023-12-08 04:01:21,233 - {modules.common.component_context:24} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:01:21,277 - {control.counter:186} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2023-12-08 04:01:21,472 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2023-12-08 04:01:21,474 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2023-12-08 04:01:25,483 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2023-12-08 04:01:30,502 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2023-12-08 04:01:30,503 - {root:74} - {INFO:MainThread} - # ***Start*** 
2023-12-08 04:01:30,551 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x715cf340>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x7155e4a8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x715c75f8>}
2023-12-08 04:01:30,552 - {modules.common.component_context:24} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2023-12-08 04:01:30,553 - {modules.common.component_context:24} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:01:30,558 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2023-12-08 04:01:30,574 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2023-12-08 04:01:30,606 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-317, -189, -21, -107], Scale 0
2023-12-08 04:01:30,617 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 750
2023-12-08 04:01:30,620 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"cloud":{"connected":false},"input:0":{"id":0,"state":false},"mqtt":{"connected":false},"switch:0":{"id":0, "source":"loopback", "output":false, "apower":0.0, "voltage":242.9, "current":0.000, "aenergy":{"total":1505.625,"by_minute":[0.000,0.000,0.000],"minute_ts":1702004490},"temperature":{"tC":28.8, "tF":83.9}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:01","unixtime":1702004491,"uptime":1363818,"ram_size":248996,"ram_free":145268,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"beta":{"version":"1.1.0-beta2"},"stable":{"version":"1.0.8"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-68},"ws":{"connected":false}}

2023-12-08 04:01:30,622 - {modules.common.simcount._simcount:38} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1702004480.3149383, power=0, imported=0.0, exported=293628.5948715257)
2023-12-08 04:01:30,622 - {modules.common.simcount._calculate:13} - {DEBUG:device1} - time passed: 0.0028631, power1: 0, power2: 0
2023-12-08 04:01:30,623 - {modules.common.simcount._calculate:29} - {DEBUG:device1} - power did not change sign. Total energy: 0
2023-12-08 04:01:30,623 - {modules.common.simcount._simcount:47} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702004490.622098, power=0, imported=0.0, exported=293628.5948715257)
2023-12-08 04:01:30,625 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [10, 5, 11], Scale -1
2023-12-08 04:01:30,629 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:01:30,648 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [24282, 24260, 24047, 0, 0, 0, 0], Scale -2
2023-12-08 04:01:30,666 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4997], Scale -2
2023-12-08 04:01:30,707 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7179, 1720, 3950], Scale -2
2023-12-08 04:01:30,757 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4870433, 1797042, 2153375, 1456453, 6125842, 2531513, 1862787, 2267980], Scale 0
2023-12-08 04:01:30,757 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[1.0, 0.5, 1.1], powers=[189.0, 21.0, 107.0], voltages=[242.82, 242.6, 240.47], power_factors=[0.7179000000000001, 0.172, 0.395], imported=6125842.0, exported=4870433.0, power=317.0, frequency=49.97)
2023-12-08 04:01:30,759 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2023-12-08 04:01:30,776 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [0], Scale 0
2023-12-08 04:01:30,804 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7789710], Scale 0
2023-12-08 04:01:30,824 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [29, 32, 31], Scale -2
2023-12-08 04:01:30,910 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-5327], Scale -2
2023-12-08 04:01:30,911 - {modules.common.component_state:100} - {DEBUG:device0} - currents sign wrong [0.29, 0.32, 0.31]
2023-12-08 04:01:30,911 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.29, 0.32, 0.31], power=-0.0, exported=7789710.0, dc_power=53.27)
2023-12-08 04:01:30,913 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2023-12-08 04:01:30,975 - {modules.common.simcount._simcount:38} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1702004480.6668208, power=0.0, imported=143333.37604219164, exported=116864.5215890633)
2023-12-08 04:01:30,976 - {modules.common.simcount._calculate:13} - {DEBUG:device0} - time passed: 0.00286358, power1: 0, power2: 0
2023-12-08 04:01:30,976 - {modules.common.simcount._calculate:29} - {DEBUG:device0} - power did not change sign. Total energy: 0
2023-12-08 04:01:30,977 - {modules.common.simcount._simcount:47} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702004490.9757261, power=0.0, imported=143333.37604219164, exported=116864.5215890633)
2023-12-08 04:01:30,978 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=143333.37604219164, exported=116864.5215890633, power=0.0, soc=19.0)
2023-12-08 04:01:30,985 - {modules.common.component_context:24} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2023-12-08 04:01:30,989 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=143333.37604219164, exported=116864.5215890633, power=0.0, soc=19.0)
2023-12-08 04:01:31,023 - {modules.common.component_context:24} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:01:31,024 - {modules.common.component_context:24} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2023-12-08 04:01:31,025 - {modules.common.component_context:24} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2023-12-08 04:01:31,029 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-0.0, exported=7816178.86, dc_power=None)
2023-12-08 04:01:31,030 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:01:31,030 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-0.0, exported=7816178.86, dc_power=None)
2023-12-08 04:01:31,031 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:01:31,071 - {modules.common.component_context:24} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2023-12-08 04:01:31,072 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[1.0, 0.5, 1.1], powers=[189.0, 21.0, 107.0], voltages=[242.82, 242.6, 240.47], power_factors=[0.7179000000000001, 0.172, 0.395], imported=6125842.0, exported=4870433.0, power=317.0, frequency=49.97)
2023-12-08 04:01:31,260 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2023-12-08 04:01:31,263 - {control.bat_all:173} - {INFO:MainThread} - -50W verbleibende Speicher-Leistung
2023-12-08 04:01:31,266 - {control.counter:138} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [62.0, 62.6, 61.9]A
2023-12-08 04:01:31,267 - {control.counter:161} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 42683.0W
2023-12-08 04:01:31,277 - {control.chargepoint.chargepoint:699} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2023-12-08 04:01:31,290 - {control.chargepoint.chargepoint:682} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2023-12-08 04:01:31,298 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 937.273758s, Dauer 1.380952380952381h, Termin heute verpasst: False
2023-12-08 04:01:31,302 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 91660.251147s, Dauer 0.18012422360248448h, Termin heute verpasst: False
2023-12-08 04:01:31,319 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -9005.605037s, Dauer 4.142857142857143h, Termin heute verpasst: False
2023-12-08 04:01:31,320 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 90363.337897s, Dauer 0.5403726708074534h, Termin heute verpasst: False
2023-12-08 04:01:31,330 - {control.ev:762} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2023-12-08 04:01:31,347 - {control.chargepoint.chargepoint:898} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.PV_CHARGING, Phasen: 1, Priorität: False, max. Ist-Strom: 0.1
2023-12-08 04:01:31,349 - {control.chargepoint.chargepoint:277} - {INFO:MainThread} - LP 1: Kein Sofortladen, da noch Zeit bis zum Zieltermin ist. Falls vorhanden, wird mit EVU-Überschuss geladen.
2023-12-08 04:01:31,390 - {modules.common.simcount._simcount:38} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1702004481.1154466, power=320.0, imported=2374311.189657658, exported=0)
2023-12-08 04:01:31,391 - {modules.common.simcount._calculate:13} - {DEBUG:MainThread} - time passed: 0.00285414, power1: 320, power2: 317
2023-12-08 04:01:31,407 - {modules.common.simcount._calculate:29} - {DEBUG:MainThread} - power did not change sign. Total energy: 0.909044
2023-12-08 04:01:31,407 - {modules.common.simcount._simcount:47} - {DEBUG:MainThread} - imported: 0.909044 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702004491.39035, power=317.0, imported=2374312.098701207, exported=0)
2023-12-08 04:01:31,414 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=19, daily_exported=0.0, daily_imported=0.0, imported=143333.38, exported=116864.52, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2023-12-08 04:01:31,415 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=19, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=143333.38, exported=116864.52, power=0.0), set=Set(charging_power_left=-50, switch_on_soc_reached=False))
2023-12-08 04:01:31,417 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=97.16, daily_exported=0, power=0, imported=6926458.98, exported=0))
2023-12-08 04:01:31,419 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 95%, 06:00 Uhr', imported_at_plan_start=6926377.93, imported_instant_charging=None, limit=None, phases=1, prio=False, required_current=6, required_currents=[0.0, 6, 0.0], state=0, submode=<Chargemode.PV_CHARGING: 'pv_charging'>, 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=72), currents=[0.1, 0.0, 0.0], daily_imported=97.16, daily_exported=0, evse_current=0, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=6926458.98, phases_in_use=1, plug_state=True, power=0, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Kein Sofortladen, da noch Zeit bis zum Zieltermin ist. Falls vorhanden, wird mit EVU-Überschuss geladen.', voltages=[242.89, 240.96, 243.13]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=0, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='_', imported_at_mode_switch=6926377.93, imported_at_plugtime=6926377.93, imported_since_mode_switch=0, imported_since_plugged=81.05000000074506, range_charged=0, time_charged='00:00', timestamp_start_charging=None), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time='12/07/2023, 13:07:31', required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x70ba7a18>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB Carport', type='internal_openwb', template=1, connected_phases=3, phase_1=2, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=1))
2023-12-08 04:01:31,421 - {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-12-08 04:01:31,422 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=1, max_current_multi_phases=16, max_current_single_phase=20, name='RFID, 20A, 11kW', rfid_enabling=True, valid_tags=['0003134583', '0003526747', '1655332554', '2585022212', '2585087748'])
2023-12-08 04:01:31,423 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[63, 63, 63], max_total_power=43000), get=Get(powers=[189.0, 21.0, 107.0], currents=[1.0, 0.5, 1.1], voltages=[242.82, 242.6, 240.47], power_factors=[0.72, 0.17, 0.4], unbalanced_load=0, frequency=49.97, daily_exported=0.0, daily_imported=4073.0, imported=6125842.0, exported=4870433.0, fault_state=0, fault_str='Kein Fehler.', power=317.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=42683.0, raw_currents_left=[62.0, 62.6, 61.9], surplus_power_left=0, state_str=''))
2023-12-08 04:01:31,424 - {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': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=317.0, invalid_home_consumption=0, daily_yield_home_consumption=5488.8679565983, imported_home_consumption=2374312.098701207, disengageable_smarthome_power=0))
2023-12-08 04:01:31,426 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2023-12-08 04:01:31,428 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Ladeprofil ***AUTO1***', disable_after_unplug=False, prio=False, load_default=True, time_charging=TimeCharging(active=True, plans={'0': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[True, True, True, True, False, False, True]), time=['22:00', '06:00'], name='Zeitladen 95%, So-Do 22:00-06:00 Uhr', current=16, limit=Limit(selected='soc', amount=1000, soc=95)), '1': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, True, True, False]), time=['22:00', '06:00'], name='Zeitladen 80%, Fr-Sa 22:00-06:00 Uhr', current=16, limit=Limit(selected='soc', amount=1000, soc=80))}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2023-12-08 04:01:31,430 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, time_charging=TimeCharging(active=True, plans={'2': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), time=['06:45', '07:00'], name='Klima 06:45-07:00 Uhr', current=6, limit=Limit(selected='none', amount=1000, soc=50)), '3': TimeChargingPlan(active=True, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, False, False, False]), time=['00:00', '23:55'], name='Immer 35%', current=10, limit=Limit(selected='soc', amount=1000, soc=35))}), chargemode=Chargemode(selected='scheduled_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={'0': ScheduledChargingPlan(active=False, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, True, False, False, False, False, False]), current=14, name='Zielladen 80%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '1': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), current=14, name='Zielladen 95%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=95), time='05:40'), '2': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once='2023-09-26', weekly=[True, False, False, True, False, True, True]), current=14, name='Zielladen 75%, 7:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=75), time='05:40')}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=80))))
2023-12-08 04:01:31,431 - {control.data:266} - {INFO:MainThread} - ev0
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=['0003134583'], get=Get(soc=0, soc_timestamp=None, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:01:31,433 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Tesla Model Y (2022)', 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=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212', '2585087748'], get=Get(soc=49.0, soc_timestamp='12/08/2023, 01:29:15', force_soc_update=False, range=220.74, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:01:31,435 - {control.data:266} - {INFO:MainThread} - ev2
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Cupra Born 58kW', 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=18000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=2, ev_template=2, name='***AUTO2***', tag_id=['1655332554'], get=Get(soc=72, soc_timestamp='12/08/2023, 02:47:32', force_soc_update=False, range=205, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:01:31,437 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40)
2023-12-08 04:01:31,438 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', 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=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40)
2023-12-08 04:01:31,440 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', 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=18000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40)
2023-12-08 04:01:31,441 - {control.data:245} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=3), pv_charging=PvCharging(bat_prio=True, charging_power_reserve=200, control_range=[-230, 230], feed_in_yield=15000, phase_switch_delay=15, phases_to_use=0, rundown_power=1000, rundown_soc=25, switch_off_delay=60, switch_off_soc=25, switch_off_threshold=50, switch_on_delay=30, switch_on_soc=50, switch_on_threshold=1400), scheduled_charging=ScheduledCharging(phases_to_use=0), time_charging=TimeCharging(phases_to_use=3), unbalanced_load_limit=20, unbalanced_load=True), control_interval=10, extern_display_mode='local', extern=False, external_buttons_hw=False, grid_protection_active=False, grid_protection_configured=True, grid_protection_random_stop=0, grid_protection_timestamp='', mqtt_bridge=False, price_kwh=0.3528, range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=True, r1_active=False, r2_active=False))
2023-12-08 04:01:31,444 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2023-12-08 04:01:31,446 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2023-12-08 04:01:31,448 - {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 0x70bcec70>), led=Led(active=False), rfid=Rfid(active=True))
2023-12-08 04:01:31,450 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=0), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=293628.595, fault_state=0, fault_str='Kein Fehler.', power=0))
2023-12-08 04:01:31,454 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=9500), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=7816178.86, fault_state=0, fault_str='Kein Fehler.', power=-0.0))
2023-12-08 04:01:31,458 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=8109807.455, power=0.0))
2023-12-08 04:01:31,462 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2023-11-30 12:30:45 +0100 [285f5a5fb]', 'current_branch': 'Release', 'current_branch_commit': '2023-11-30 12:30:45 +0100 [285f5a5fb]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.2-Patch.1', 'datastore_version': 29, 'lastlivevaluesJson': {'timestamp': 1702004481, 'time': '04:01:21', 'grid': 0.32, 'house-power': 0.32, 'charging-all': 0.0, 'pv-all': -0.0, 'cp1-power': 0.0, 'ev1-soc': 49.0, 'ev2-soc': 72, 'bat-all-power': 0.0, 'bat-all-soc': 19}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2023-12-08 04:01:31,464 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2023-12-08 04:01:31,468 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2023-12-08 04:01:31,471 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2023-12-08 04:01:31,473 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2023-12-08 04:01:31,479 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2023-12-08 04:01:31,484 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2023-12-08 04:01:31,486 - {control.data:253} - {INFO:MainThread} - 

2023-12-08 04:01:31,489 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2023-12-08 04:01:31,491 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2023-12-08 04:01:31,496 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2023-12-08 04:01:31,498 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2023-12-08 04:01:31,503 - {control.counter:211} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: 0W
2023-12-08 04:01:31,511 - {control.counter:457} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf 0W
2023-12-08 04:01:31,521 - {control.chargepoint.chargepoint:277} - {INFO:MainThread} - LP 1: Die Ladung kann nicht gestartet werden, da die Einschaltschwelle nicht erreicht wird.
2023-12-08 04:01:31,522 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2023-12-08 04:01:31,523 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2023-12-08 04:01:31,533 - {control.process:111} - {INFO:MainThread} - LP1: set current 0 A, state NO_CHARGING_ALLOWED
2023-12-08 04:01:31,542 - {modules.common.component_context:24} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:01:31,574 - {control.counter:186} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2023-12-08 04:01:31,877 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2023-12-08 04:01:31,889 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2023-12-08 04:01:35,897 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2023-12-08 04:01:35,899 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2023-12-08 04:01:40,909 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2023-12-08 04:01:40,909 - {root:74} - {INFO:MainThread} - # ***Start*** 
2023-12-08 04:01:40,949 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x715cf340>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x7155e4a8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x715c75f8>}
2023-12-08 04:01:40,950 - {modules.common.component_context:24} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2023-12-08 04:01:40,951 - {modules.common.component_context:24} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:01:40,957 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2023-12-08 04:01:40,960 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2023-12-08 04:01:41,000 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 750
2023-12-08 04:01:41,002 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"cloud":{"connected":false},"input:0":{"id":0,"state":false},"mqtt":{"connected":false},"switch:0":{"id":0, "source":"loopback", "output":false, "apower":0.0, "voltage":242.9, "current":0.000, "aenergy":{"total":1505.625,"by_minute":[0.000,0.000,0.000],"minute_ts":1702004500},"temperature":{"tC":28.8, "tF":83.8}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:01","unixtime":1702004501,"uptime":1363829,"ram_size":248996,"ram_free":145268,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"beta":{"version":"1.1.0-beta2"},"stable":{"version":"1.0.8"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-69},"ws":{"connected":false}}

2023-12-08 04:01:41,004 - {modules.common.simcount._simcount:38} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1702004490.622098, power=0, imported=0.0, exported=293628.5948715257)
2023-12-08 04:01:41,004 - {modules.common.simcount._calculate:13} - {DEBUG:device1} - time passed: 0.00288386, power1: 0, power2: 0
2023-12-08 04:01:41,005 - {modules.common.simcount._calculate:29} - {DEBUG:device1} - power did not change sign. Total energy: 0
2023-12-08 04:01:41,005 - {modules.common.simcount._simcount:47} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702004501.0040033, power=0, imported=0.0, exported=293628.5948715257)
2023-12-08 04:01:41,008 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:01:41,017 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-315, -189, -22, -104], Scale 0
2023-12-08 04:01:41,046 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [10, 5, 11], Scale -1
2023-12-08 04:01:41,091 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [24281, 24245, 24049, 0, 0, 0, 0], Scale -2
2023-12-08 04:01:41,124 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4995], Scale -2
2023-12-08 04:01:41,144 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7189, 1780, 3959], Scale -2
2023-12-08 04:01:41,165 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4870433, 1797042, 2153375, 1456453, 6125843, 2531513, 1862787, 2267981], Scale 0
2023-12-08 04:01:41,165 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[1.0, 0.5, 1.1], powers=[189.0, 22.0, 104.0], voltages=[242.81, 242.45000000000002, 240.49], power_factors=[0.7189, 0.17800000000000002, 0.39590000000000003], imported=6125843.0, exported=4870433.0, power=315.0, frequency=49.95)
2023-12-08 04:01:41,167 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2023-12-08 04:01:41,194 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [0], Scale 0
2023-12-08 04:01:41,234 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7789710], Scale 0
2023-12-08 04:01:41,254 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [29, 32, 33], Scale -2
2023-12-08 04:01:41,407 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-5200], Scale -2
2023-12-08 04:01:41,408 - {modules.common.component_state:100} - {DEBUG:device0} - currents sign wrong [0.29, 0.32, 0.33]
2023-12-08 04:01:41,408 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.29, 0.32, 0.33], power=-0.0, exported=7789710.0, dc_power=52.0)
2023-12-08 04:01:41,411 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2023-12-08 04:01:41,455 - {modules.common.simcount._simcount:38} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1702004490.9757261, power=0.0, imported=143333.37604219164, exported=116864.5215890633)
2023-12-08 04:01:41,456 - {modules.common.simcount._calculate:13} - {DEBUG:device0} - time passed: 0.00291102, power1: 0, power2: 0
2023-12-08 04:01:41,457 - {modules.common.simcount._calculate:29} - {DEBUG:device0} - power did not change sign. Total energy: 0
2023-12-08 04:01:41,457 - {modules.common.simcount._simcount:47} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702004501.4554026, power=0.0, imported=143333.37604219164, exported=116864.5215890633)
2023-12-08 04:01:41,459 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=143333.37604219164, exported=116864.5215890633, power=0.0, soc=19.0)
2023-12-08 04:01:41,469 - {modules.common.component_context:24} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2023-12-08 04:01:41,471 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=143333.37604219164, exported=116864.5215890633, power=0.0, soc=19.0)
2023-12-08 04:01:41,532 - {modules.common.component_context:24} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:01:41,534 - {modules.common.component_context:24} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2023-12-08 04:01:41,535 - {modules.common.component_context:24} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2023-12-08 04:01:41,535 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-0.0, exported=7816178.86, dc_power=None)
2023-12-08 04:01:41,536 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:01:41,537 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-0.0, exported=7816178.86, dc_power=None)
2023-12-08 04:01:41,538 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:01:41,577 - {modules.common.component_context:24} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2023-12-08 04:01:41,578 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[1.0, 0.5, 1.1], powers=[189.0, 22.0, 104.0], voltages=[242.81, 242.45000000000002, 240.49], power_factors=[0.7189, 0.17800000000000002, 0.39590000000000003], imported=6125843.0, exported=4870433.0, power=315.0, frequency=49.95)
2023-12-08 04:01:41,733 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2023-12-08 04:01:41,741 - {control.bat_all:173} - {INFO:MainThread} - -50W verbleibende Speicher-Leistung
2023-12-08 04:01:41,751 - {control.counter:138} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [62.0, 62.6, 61.9]A
2023-12-08 04:01:41,752 - {control.counter:161} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 42685.0W
2023-12-08 04:01:41,754 - {control.chargepoint.chargepoint:699} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2023-12-08 04:01:41,755 - {control.chargepoint.chargepoint:682} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2023-12-08 04:01:41,757 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 926.814909s, Dauer 1.380952380952381h, Termin heute verpasst: False
2023-12-08 04:01:41,758 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 91649.795054s, Dauer 0.18012422360248448h, Termin heute verpasst: False
2023-12-08 04:01:41,760 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -9016.045396s, Dauer 4.142857142857143h, Termin heute verpasst: False
2023-12-08 04:01:41,761 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 90352.897062s, Dauer 0.5403726708074534h, Termin heute verpasst: False
2023-12-08 04:01:41,763 - {control.ev:762} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2023-12-08 04:01:41,767 - {control.chargepoint.chargepoint:898} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.PV_CHARGING, Phasen: 1, Priorität: False, max. Ist-Strom: 0.1
2023-12-08 04:01:41,768 - {control.chargepoint.chargepoint:277} - {INFO:MainThread} - LP 1: Kein Sofortladen, da noch Zeit bis zum Zieltermin ist. Falls vorhanden, wird mit EVU-Überschuss geladen.
2023-12-08 04:01:41,774 - {modules.common.simcount._simcount:38} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1702004491.39035, power=317.0, imported=2374312.098701207, exported=0)
2023-12-08 04:01:41,775 - {modules.common.simcount._calculate:13} - {DEBUG:MainThread} - time passed: 0.00288445, power1: 317, power2: 315
2023-12-08 04:01:41,776 - {modules.common.simcount._calculate:29} - {DEBUG:MainThread} - power did not change sign. Total energy: 0.911485
2023-12-08 04:01:41,782 - {modules.common.simcount._simcount:47} - {DEBUG:MainThread} - imported: 0.911485 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702004501.7743545, power=315.0, imported=2374313.010186034, exported=0)
2023-12-08 04:01:41,785 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=19, daily_exported=0.0, daily_imported=0.0, imported=143333.38, exported=116864.52, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2023-12-08 04:01:41,791 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=19, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=143333.38, exported=116864.52, power=0.0), set=Set(charging_power_left=-50, switch_on_soc_reached=False))
2023-12-08 04:01:41,793 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=97.16, daily_exported=0, power=0, imported=6926458.98, exported=0))
2023-12-08 04:01:41,795 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 95%, 06:00 Uhr', imported_at_plan_start=6926377.93, imported_instant_charging=None, limit=None, phases=1, prio=False, required_current=6, required_currents=[0.0, 6, 0.0], state=0, submode=<Chargemode.PV_CHARGING: 'pv_charging'>, 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=72), currents=[0.1, 0.0, 0.0], daily_imported=97.16, daily_exported=0, evse_current=0, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=6926458.98, phases_in_use=1, plug_state=True, power=0, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Kein Sofortladen, da noch Zeit bis zum Zieltermin ist. Falls vorhanden, wird mit EVU-Überschuss geladen.', voltages=[242.94, 240.97, 243.27]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=0, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='_', imported_at_mode_switch=6926377.93, imported_at_plugtime=6926377.93, imported_since_mode_switch=0, imported_since_plugged=81.05000000074506, range_charged=0, time_charged='00:00', timestamp_start_charging=None), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time='12/07/2023, 13:07:31', required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x715c7550>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB Carport', type='internal_openwb', template=1, connected_phases=3, phase_1=2, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=1))
2023-12-08 04:01:41,797 - {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-12-08 04:01:41,801 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=1, max_current_multi_phases=16, max_current_single_phase=20, name='RFID, 20A, 11kW', rfid_enabling=True, valid_tags=['0003134583', '0003526747', '1655332554', '2585022212', '2585087748'])
2023-12-08 04:01:41,805 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[63, 63, 63], max_total_power=43000), get=Get(powers=[189.0, 22.0, 104.0], currents=[1.0, 0.5, 1.1], voltages=[242.81, 242.45, 240.49], power_factors=[0.72, 0.18, 0.4], unbalanced_load=0, frequency=49.95, daily_exported=0.0, daily_imported=4073.0, imported=6125843.0, exported=4870433.0, fault_state=0, fault_str='Kein Fehler.', power=315.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=42685.0, raw_currents_left=[62.0, 62.6, 61.9], surplus_power_left=0, state_str=''))
2023-12-08 04:01:41,811 - {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': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=315.0, invalid_home_consumption=0, daily_yield_home_consumption=5488.8679565983, imported_home_consumption=2374313.010186034, disengageable_smarthome_power=0))
2023-12-08 04:01:41,812 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2023-12-08 04:01:41,820 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Ladeprofil ***AUTO1***', disable_after_unplug=False, prio=False, load_default=True, time_charging=TimeCharging(active=True, plans={'0': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[True, True, True, True, False, False, True]), time=['22:00', '06:00'], name='Zeitladen 95%, So-Do 22:00-06:00 Uhr', current=16, limit=Limit(selected='soc', amount=1000, soc=95)), '1': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, True, True, False]), time=['22:00', '06:00'], name='Zeitladen 80%, Fr-Sa 22:00-06:00 Uhr', current=16, limit=Limit(selected='soc', amount=1000, soc=80))}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2023-12-08 04:01:41,822 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, time_charging=TimeCharging(active=True, plans={'2': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), time=['06:45', '07:00'], name='Klima 06:45-07:00 Uhr', current=6, limit=Limit(selected='none', amount=1000, soc=50)), '3': TimeChargingPlan(active=True, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, False, False, False]), time=['00:00', '23:55'], name='Immer 35%', current=10, limit=Limit(selected='soc', amount=1000, soc=35))}), chargemode=Chargemode(selected='scheduled_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={'0': ScheduledChargingPlan(active=False, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, True, False, False, False, False, False]), current=14, name='Zielladen 80%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '1': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), current=14, name='Zielladen 95%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=95), time='05:40'), '2': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once='2023-09-26', weekly=[True, False, False, True, False, True, True]), current=14, name='Zielladen 75%, 7:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=75), time='05:40')}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=80))))
2023-12-08 04:01:41,826 - {control.data:266} - {INFO:MainThread} - ev0
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=['0003134583'], get=Get(soc=0, soc_timestamp=None, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:01:41,827 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Tesla Model Y (2022)', 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=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212', '2585087748'], get=Get(soc=49.0, soc_timestamp='12/08/2023, 01:29:15', force_soc_update=False, range=220.74, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:01:41,828 - {control.data:266} - {INFO:MainThread} - ev2
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Cupra Born 58kW', 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=18000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=2, ev_template=2, name='***AUTO2***', tag_id=['1655332554'], get=Get(soc=72, soc_timestamp='12/08/2023, 02:47:32', force_soc_update=False, range=205, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:01:41,829 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40)
2023-12-08 04:01:41,831 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', 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=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40)
2023-12-08 04:01:41,831 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', 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=18000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40)
2023-12-08 04:01:41,834 - {control.data:245} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=3), pv_charging=PvCharging(bat_prio=True, charging_power_reserve=200, control_range=[-230, 230], feed_in_yield=15000, phase_switch_delay=15, phases_to_use=0, rundown_power=1000, rundown_soc=25, switch_off_delay=60, switch_off_soc=25, switch_off_threshold=50, switch_on_delay=30, switch_on_soc=50, switch_on_threshold=1400), scheduled_charging=ScheduledCharging(phases_to_use=0), time_charging=TimeCharging(phases_to_use=3), unbalanced_load_limit=20, unbalanced_load=True), control_interval=10, extern_display_mode='local', extern=False, external_buttons_hw=False, grid_protection_active=False, grid_protection_configured=True, grid_protection_random_stop=0, grid_protection_timestamp='', mqtt_bridge=False, price_kwh=0.3528, range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=True, r1_active=False, r2_active=False))
2023-12-08 04:01:41,835 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2023-12-08 04:01:41,837 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2023-12-08 04:01:41,840 - {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 0x70bb35f8>), led=Led(active=False), rfid=Rfid(active=True))
2023-12-08 04:01:41,841 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=0), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=293628.595, fault_state=0, fault_str='Kein Fehler.', power=0))
2023-12-08 04:01:41,843 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=9500), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=7816178.86, fault_state=0, fault_str='Kein Fehler.', power=-0.0))
2023-12-08 04:01:41,845 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=8109807.455, power=0.0))
2023-12-08 04:01:41,846 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2023-11-30 12:30:45 +0100 [285f5a5fb]', 'current_branch': 'Release', 'current_branch_commit': '2023-11-30 12:30:45 +0100 [285f5a5fb]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.2-Patch.1', 'datastore_version': 29, 'lastlivevaluesJson': {'timestamp': 1702004491, 'time': '04:01:31', 'grid': 0.317, 'house-power': 0.317, 'charging-all': 0.0, 'pv-all': -0.0, 'cp1-power': 0.0, 'ev1-soc': 49.0, 'ev2-soc': 72, 'bat-all-power': 0.0, 'bat-all-soc': 19}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2023-12-08 04:01:41,849 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2023-12-08 04:01:41,850 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2023-12-08 04:01:41,851 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2023-12-08 04:01:41,852 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2023-12-08 04:01:41,853 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2023-12-08 04:01:41,855 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2023-12-08 04:01:41,857 - {control.data:253} - {INFO:MainThread} - 

2023-12-08 04:01:41,858 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2023-12-08 04:01:41,864 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2023-12-08 04:01:41,867 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2023-12-08 04:01:41,869 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2023-12-08 04:01:41,873 - {control.counter:211} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: 0W
2023-12-08 04:01:41,874 - {control.counter:457} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf 0W
2023-12-08 04:01:41,875 - {control.chargepoint.chargepoint:277} - {INFO:MainThread} - LP 1: Die Ladung kann nicht gestartet werden, da die Einschaltschwelle nicht erreicht wird.
2023-12-08 04:01:41,877 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2023-12-08 04:01:41,878 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2023-12-08 04:01:41,881 - {control.process:111} - {INFO:MainThread} - LP1: set current 0 A, state NO_CHARGING_ALLOWED
2023-12-08 04:01:41,885 - {modules.common.component_context:24} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:01:41,923 - {control.counter:186} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2023-12-08 04:01:42,110 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2023-12-08 04:01:45,136 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2023-12-08 04:01:45,137 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2023-12-08 04:01:50,147 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2023-12-08 04:01:50,148 - {root:74} - {INFO:MainThread} - # ***Start*** 
2023-12-08 04:01:50,187 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x715cf340>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x7155e4a8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x715c75f8>}
2023-12-08 04:01:50,197 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2023-12-08 04:01:50,206 - {modules.common.component_context:24} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2023-12-08 04:01:50,217 - {modules.common.component_context:24} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:01:50,218 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2023-12-08 04:01:50,227 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-314, -188, -21, -104], Scale 0
2023-12-08 04:01:50,261 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 750
2023-12-08 04:01:50,266 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"cloud":{"connected":false},"input:0":{"id":0,"state":false},"mqtt":{"connected":false},"switch:0":{"id":0, "source":"loopback", "output":false, "apower":0.0, "voltage":242.7, "current":0.000, "aenergy":{"total":1505.625,"by_minute":[0.000,0.000,0.000],"minute_ts":1702004509},"temperature":{"tC":28.8, "tF":83.8}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:01","unixtime":1702004511,"uptime":1363838,"ram_size":248996,"ram_free":145268,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"beta":{"version":"1.1.0-beta2"},"stable":{"version":"1.0.8"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-69},"ws":{"connected":false}}

2023-12-08 04:01:50,268 - {modules.common.simcount._simcount:38} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1702004501.0040033, power=0, imported=0.0, exported=293628.5948715257)
2023-12-08 04:01:50,269 - {modules.common.simcount._calculate:13} - {DEBUG:device1} - time passed: 0.00257355, power1: 0, power2: 0
2023-12-08 04:01:50,270 - {modules.common.simcount._calculate:29} - {DEBUG:device1} - power did not change sign. Total energy: 0
2023-12-08 04:01:50,270 - {modules.common.simcount._simcount:47} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702004510.2687836, power=0, imported=0.0, exported=293628.5948715257)
2023-12-08 04:01:50,272 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:01:50,284 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [10, 5, 11], Scale -1
2023-12-08 04:01:50,317 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [24264, 24228, 24035, 0, 0, 0, 0], Scale -2
2023-12-08 04:01:50,344 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4997], Scale -2
2023-12-08 04:01:50,414 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7179, 1739, 3910], Scale -2
2023-12-08 04:01:50,435 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4870433, 1797042, 2153375, 1456453, 6125844, 2531514, 1862787, 2267981], Scale 0
2023-12-08 04:01:50,436 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[1.0, 0.5, 1.1], powers=[188.0, 21.0, 104.0], voltages=[242.64000000000001, 242.28, 240.35], power_factors=[0.7179000000000001, 0.1739, 0.391], imported=6125844.0, exported=4870433.0, power=314.0, frequency=49.97)
2023-12-08 04:01:50,437 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2023-12-08 04:01:50,466 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [0], Scale 0
2023-12-08 04:01:50,486 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7789710], Scale 0
2023-12-08 04:01:50,508 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [29, 31, 32], Scale -2
2023-12-08 04:01:50,534 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-5123], Scale -2
2023-12-08 04:01:50,535 - {modules.common.component_state:100} - {DEBUG:device0} - currents sign wrong [0.29, 0.31, 0.32]
2023-12-08 04:01:50,536 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.29, 0.31, 0.32], power=-0.0, exported=7789710.0, dc_power=51.230000000000004)
2023-12-08 04:01:50,537 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2023-12-08 04:01:50,587 - {modules.common.simcount._simcount:38} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1702004501.4554026, power=0.0, imported=143333.37604219164, exported=116864.5215890633)
2023-12-08 04:01:50,587 - {modules.common.simcount._calculate:13} - {DEBUG:device0} - time passed: 0.00253655, power1: 0, power2: 0
2023-12-08 04:01:50,588 - {modules.common.simcount._calculate:29} - {DEBUG:device0} - power did not change sign. Total energy: 0
2023-12-08 04:01:50,588 - {modules.common.simcount._simcount:47} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702004510.58697, power=0.0, imported=143333.37604219164, exported=116864.5215890633)
2023-12-08 04:01:50,589 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=143333.37604219164, exported=116864.5215890633, power=0.0, soc=19.0)
2023-12-08 04:01:50,597 - {modules.common.component_context:24} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2023-12-08 04:01:50,599 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=143333.37604219164, exported=116864.5215890633, power=0.0, soc=19.0)
2023-12-08 04:01:50,644 - {modules.common.component_context:24} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:01:50,645 - {modules.common.component_context:24} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2023-12-08 04:01:50,646 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-0.0, exported=7816178.86, dc_power=None)
2023-12-08 04:01:50,647 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-0.0, exported=7816178.86, dc_power=None)
2023-12-08 04:01:50,650 - {modules.common.component_context:24} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2023-12-08 04:01:50,652 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:01:50,654 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:01:50,694 - {modules.common.component_context:24} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2023-12-08 04:01:50,695 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[1.0, 0.5, 1.1], powers=[188.0, 21.0, 104.0], voltages=[242.64000000000001, 242.28, 240.35], power_factors=[0.7179000000000001, 0.1739, 0.391], imported=6125844.0, exported=4870433.0, power=314.0, frequency=49.97)
2023-12-08 04:01:50,867 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2023-12-08 04:01:50,870 - {control.bat_all:173} - {INFO:MainThread} - -50W verbleibende Speicher-Leistung
2023-12-08 04:01:50,877 - {control.counter:138} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [62.0, 62.6, 61.9]A
2023-12-08 04:01:50,879 - {control.counter:161} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 42686.0W
2023-12-08 04:01:50,883 - {control.chargepoint.chargepoint:699} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2023-12-08 04:01:50,884 - {control.chargepoint.chargepoint:682} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2023-12-08 04:01:50,887 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 917.684479s, Dauer 1.380952380952381h, Termin heute verpasst: False
2023-12-08 04:01:50,889 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 91640.664254s, Dauer 0.18012422360248448h, Termin heute verpasst: False
2023-12-08 04:01:50,893 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -9025.178351s, Dauer 4.142857142857143h, Termin heute verpasst: False
2023-12-08 04:01:50,897 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 90343.761318s, Dauer 0.5403726708074534h, Termin heute verpasst: False
2023-12-08 04:01:50,900 - {control.ev:762} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2023-12-08 04:01:50,904 - {control.chargepoint.chargepoint:898} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.PV_CHARGING, Phasen: 1, Priorität: False, max. Ist-Strom: 0.1
2023-12-08 04:01:50,905 - {control.chargepoint.chargepoint:277} - {INFO:MainThread} - LP 1: Kein Sofortladen, da noch Zeit bis zum Zieltermin ist. Falls vorhanden, wird mit EVU-Überschuss geladen.
2023-12-08 04:01:50,939 - {modules.common.simcount._simcount:38} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1702004501.7743545, power=315.0, imported=2374313.010186034, exported=0)
2023-12-08 04:01:50,942 - {modules.common.simcount._calculate:13} - {DEBUG:MainThread} - time passed: 0.00254596, power1: 315, power2: 314
2023-12-08 04:01:50,944 - {modules.common.simcount._calculate:29} - {DEBUG:MainThread} - power did not change sign. Total energy: 0.800705
2023-12-08 04:01:50,947 - {modules.common.simcount._simcount:47} - {DEBUG:MainThread} - imported: 0.800705 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702004510.9398155, power=314.0, imported=2374313.8108908962, exported=0)
2023-12-08 04:01:50,955 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=19, daily_exported=0.0, daily_imported=0.0, imported=143333.38, exported=116864.52, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2023-12-08 04:01:50,956 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=19, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=143333.38, exported=116864.52, power=0.0), set=Set(charging_power_left=-50, switch_on_soc_reached=False))
2023-12-08 04:01:50,957 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=97.16, daily_exported=0, power=0, imported=6926458.98, exported=0))
2023-12-08 04:01:50,961 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 95%, 06:00 Uhr', imported_at_plan_start=6926377.93, imported_instant_charging=None, limit=None, phases=1, prio=False, required_current=6, required_currents=[0.0, 6, 0.0], state=0, submode=<Chargemode.PV_CHARGING: 'pv_charging'>, 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=72), currents=[0.1, 0.0, 0.0], daily_imported=97.16, daily_exported=0, evse_current=0, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=6926458.98, phases_in_use=1, plug_state=True, power=0, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Kein Sofortladen, da noch Zeit bis zum Zieltermin ist. Falls vorhanden, wird mit EVU-Überschuss geladen.', voltages=[242.63, 240.79, 243.07]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=0, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='_', imported_at_mode_switch=6926377.93, imported_at_plugtime=6926377.93, imported_since_mode_switch=0, imported_since_plugged=81.05000000074506, range_charged=0, time_charged='00:00', timestamp_start_charging=None), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time='12/07/2023, 13:07:31', required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x70ba3868>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB Carport', type='internal_openwb', template=1, connected_phases=3, phase_1=2, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=1))
2023-12-08 04:01:50,965 - {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-12-08 04:01:50,966 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=1, max_current_multi_phases=16, max_current_single_phase=20, name='RFID, 20A, 11kW', rfid_enabling=True, valid_tags=['0003134583', '0003526747', '1655332554', '2585022212', '2585087748'])
2023-12-08 04:01:50,968 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[63, 63, 63], max_total_power=43000), get=Get(powers=[188.0, 21.0, 104.0], currents=[1.0, 0.5, 1.1], voltages=[242.64, 242.28, 240.35], power_factors=[0.72, 0.17, 0.39], unbalanced_load=0, frequency=49.97, daily_exported=0.0, daily_imported=4073.0, imported=6125844.0, exported=4870433.0, fault_state=0, fault_str='Kein Fehler.', power=314.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=42686.0, raw_currents_left=[62.0, 62.6, 61.9], surplus_power_left=0, state_str=''))
2023-12-08 04:01:50,969 - {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': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=314.0, invalid_home_consumption=0, daily_yield_home_consumption=5488.8679565983, imported_home_consumption=2374313.8108908962, disengageable_smarthome_power=0))
2023-12-08 04:01:50,971 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2023-12-08 04:01:50,972 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Ladeprofil ***AUTO1***', disable_after_unplug=False, prio=False, load_default=True, time_charging=TimeCharging(active=True, plans={'0': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[True, True, True, True, False, False, True]), time=['22:00', '06:00'], name='Zeitladen 95%, So-Do 22:00-06:00 Uhr', current=16, limit=Limit(selected='soc', amount=1000, soc=95)), '1': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, True, True, False]), time=['22:00', '06:00'], name='Zeitladen 80%, Fr-Sa 22:00-06:00 Uhr', current=16, limit=Limit(selected='soc', amount=1000, soc=80))}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2023-12-08 04:01:50,974 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, time_charging=TimeCharging(active=True, plans={'2': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), time=['06:45', '07:00'], name='Klima 06:45-07:00 Uhr', current=6, limit=Limit(selected='none', amount=1000, soc=50)), '3': TimeChargingPlan(active=True, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, False, False, False]), time=['00:00', '23:55'], name='Immer 35%', current=10, limit=Limit(selected='soc', amount=1000, soc=35))}), chargemode=Chargemode(selected='scheduled_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={'0': ScheduledChargingPlan(active=False, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, True, False, False, False, False, False]), current=14, name='Zielladen 80%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '1': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), current=14, name='Zielladen 95%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=95), time='05:40'), '2': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once='2023-09-26', weekly=[True, False, False, True, False, True, True]), current=14, name='Zielladen 75%, 7:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=75), time='05:40')}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=80))))
2023-12-08 04:01:50,981 - {control.data:266} - {INFO:MainThread} - ev0
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=['0003134583'], get=Get(soc=0, soc_timestamp=None, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:01:50,982 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Tesla Model Y (2022)', 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=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212', '2585087748'], get=Get(soc=49.0, soc_timestamp='12/08/2023, 01:29:15', force_soc_update=False, range=220.74, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:01:50,986 - {control.data:266} - {INFO:MainThread} - ev2
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Cupra Born 58kW', 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=18000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=2, ev_template=2, name='***AUTO2***', tag_id=['1655332554'], get=Get(soc=72, soc_timestamp='12/08/2023, 02:47:32', force_soc_update=False, range=205, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:01:50,990 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40)
2023-12-08 04:01:50,991 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', 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=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40)
2023-12-08 04:01:50,992 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', 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=18000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40)
2023-12-08 04:01:50,993 - {control.data:245} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=3), pv_charging=PvCharging(bat_prio=True, charging_power_reserve=200, control_range=[-230, 230], feed_in_yield=15000, phase_switch_delay=15, phases_to_use=0, rundown_power=1000, rundown_soc=25, switch_off_delay=60, switch_off_soc=25, switch_off_threshold=50, switch_on_delay=30, switch_on_soc=50, switch_on_threshold=1400), scheduled_charging=ScheduledCharging(phases_to_use=0), time_charging=TimeCharging(phases_to_use=3), unbalanced_load_limit=20, unbalanced_load=True), control_interval=10, extern_display_mode='local', extern=False, external_buttons_hw=False, grid_protection_active=False, grid_protection_configured=True, grid_protection_random_stop=0, grid_protection_timestamp='', mqtt_bridge=False, price_kwh=0.3528, range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=True, r1_active=False, r2_active=False))
2023-12-08 04:01:50,995 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2023-12-08 04:01:50,996 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2023-12-08 04:01:50,999 - {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 0x70b9f298>), led=Led(active=False), rfid=Rfid(active=True))
2023-12-08 04:01:51,000 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=0), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=293628.595, fault_state=0, fault_str='Kein Fehler.', power=0))
2023-12-08 04:01:51,002 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=9500), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=7816178.86, fault_state=0, fault_str='Kein Fehler.', power=-0.0))
2023-12-08 04:01:51,003 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=8109807.455, power=0.0))
2023-12-08 04:01:51,004 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2023-11-30 12:30:45 +0100 [285f5a5fb]', 'current_branch': 'Release', 'current_branch_commit': '2023-11-30 12:30:45 +0100 [285f5a5fb]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.2-Patch.1', 'datastore_version': 29, 'lastlivevaluesJson': {'timestamp': 1702004501, 'time': '04:01:41', 'grid': 0.315, 'house-power': 0.315, 'charging-all': 0.0, 'pv-all': -0.0, 'cp1-power': 0.0, 'ev1-soc': 49.0, 'ev2-soc': 72, 'bat-all-power': 0.0, 'bat-all-soc': 19}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2023-12-08 04:01:51,008 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2023-12-08 04:01:51,009 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2023-12-08 04:01:51,010 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2023-12-08 04:01:51,012 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2023-12-08 04:01:51,015 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2023-12-08 04:01:51,016 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2023-12-08 04:01:51,017 - {control.data:253} - {INFO:MainThread} - 

2023-12-08 04:01:51,018 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2023-12-08 04:01:51,020 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2023-12-08 04:01:51,024 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2023-12-08 04:01:51,027 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2023-12-08 04:01:51,031 - {control.counter:211} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: 0W
2023-12-08 04:01:51,033 - {control.counter:457} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf 0W
2023-12-08 04:01:51,033 - {control.chargepoint.chargepoint:277} - {INFO:MainThread} - LP 1: Die Ladung kann nicht gestartet werden, da die Einschaltschwelle nicht erreicht wird.
2023-12-08 04:01:51,035 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2023-12-08 04:01:51,036 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2023-12-08 04:01:51,040 - {control.process:111} - {INFO:MainThread} - LP1: set current 0 A, state NO_CHARGING_ALLOWED
2023-12-08 04:01:51,046 - {modules.common.component_context:24} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:01:51,068 - {control.counter:186} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2023-12-08 04:01:51,540 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2023-12-08 04:01:51,561 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2023-12-08 04:01:55,569 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2023-12-08 04:01:55,570 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2023-12-08 04:02:00,585 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2023-12-08 04:02:00,586 - {root:74} - {INFO:MainThread} - # ***Start*** 
2023-12-08 04:02:00,623 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x715cf340>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x7155e4a8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x715c75f8>}
2023-12-08 04:02:00,625 - {modules.common.component_context:24} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2023-12-08 04:02:00,626 - {modules.common.component_context:24} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:02:00,633 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2023-12-08 04:02:00,636 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2023-12-08 04:02:00,665 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-321, -186, -21, -113], Scale 0
2023-12-08 04:02:00,675 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 750
2023-12-08 04:02:00,677 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"cloud":{"connected":false},"input:0":{"id":0,"state":false},"mqtt":{"connected":false},"switch:0":{"id":0, "source":"loopback", "output":false, "apower":0.0, "voltage":242.8, "current":0.000, "aenergy":{"total":1505.625,"by_minute":[0.000,0.000,0.000],"minute_ts":1702004520},"temperature":{"tC":28.8, "tF":83.9}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:02","unixtime":1702004521,"uptime":1363848,"ram_size":248936,"ram_free":144584,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"beta":{"version":"1.1.0-beta2"},"stable":{"version":"1.0.8"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-68},"ws":{"connected":false}}

2023-12-08 04:02:00,679 - {modules.common.simcount._simcount:38} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1702004510.2687836, power=0, imported=0.0, exported=293628.5948715257)
2023-12-08 04:02:00,680 - {modules.common.simcount._calculate:13} - {DEBUG:device1} - time passed: 0.00289183, power1: 0, power2: 0
2023-12-08 04:02:00,680 - {modules.common.simcount._calculate:29} - {DEBUG:device1} - power did not change sign. Total energy: 0
2023-12-08 04:02:00,680 - {modules.common.simcount._simcount:47} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702004520.679366, power=0, imported=0.0, exported=293628.5948715257)
2023-12-08 04:02:00,681 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:02:00,689 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [10, 5, 11], Scale -1
2023-12-08 04:02:00,739 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [24266, 24230, 24027, 0, 0, 0, 0], Scale -2
2023-12-08 04:02:00,766 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4999], Scale -2
2023-12-08 04:02:00,785 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7139, 1710, 3939], Scale -2
2023-12-08 04:02:00,806 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4870433, 1797042, 2153375, 1456453, 6125845, 2531514, 1862787, 2267981], Scale 0
2023-12-08 04:02:00,807 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[1.0, 0.5, 1.1], powers=[186.0, 21.0, 113.0], voltages=[242.66, 242.3, 240.27], power_factors=[0.7139, 0.171, 0.39390000000000003], imported=6125845.0, exported=4870433.0, power=321.0, frequency=49.99)
2023-12-08 04:02:00,808 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2023-12-08 04:02:00,886 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [0], Scale 0
2023-12-08 04:02:00,936 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7789710], Scale 0
2023-12-08 04:02:00,974 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [28, 31, 31], Scale -2
2023-12-08 04:02:00,998 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4449], Scale -2
2023-12-08 04:02:00,999 - {modules.common.component_state:100} - {DEBUG:device0} - currents sign wrong [0.28, 0.31, 0.31]
2023-12-08 04:02:00,999 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.28, 0.31, 0.31], power=-0.0, exported=7789710.0, dc_power=44.49)
2023-12-08 04:02:01,001 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2023-12-08 04:02:01,034 - {modules.common.simcount._simcount:38} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1702004510.58697, power=0.0, imported=143333.37604219164, exported=116864.5215890633)
2023-12-08 04:02:01,035 - {modules.common.simcount._calculate:13} - {DEBUG:device0} - time passed: 0.0029021, power1: 0, power2: 0
2023-12-08 04:02:01,036 - {modules.common.simcount._calculate:29} - {DEBUG:device0} - power did not change sign. Total energy: 0
2023-12-08 04:02:01,036 - {modules.common.simcount._simcount:47} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702004521.0345273, power=0.0, imported=143333.37604219164, exported=116864.5215890633)
2023-12-08 04:02:01,038 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=143333.37604219164, exported=116864.5215890633, power=0.0, soc=19.0)
2023-12-08 04:02:01,044 - {modules.common.component_context:24} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2023-12-08 04:02:01,046 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=143333.37604219164, exported=116864.5215890633, power=0.0, soc=19.0)
2023-12-08 04:02:01,103 - {modules.common.component_context:24} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:02:01,105 - {modules.common.component_context:24} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2023-12-08 04:02:01,106 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-0.0, exported=7816178.86, dc_power=None)
2023-12-08 04:02:01,106 - {modules.common.component_context:24} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2023-12-08 04:02:01,107 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-0.0, exported=7816178.86, dc_power=None)
2023-12-08 04:02:01,108 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:02:01,110 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:02:01,155 - {modules.common.component_context:24} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2023-12-08 04:02:01,157 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[1.0, 0.5, 1.1], powers=[186.0, 21.0, 113.0], voltages=[242.66, 242.3, 240.27], power_factors=[0.7139, 0.171, 0.39390000000000003], imported=6125845.0, exported=4870433.0, power=321.0, frequency=49.99)
2023-12-08 04:02:01,337 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2023-12-08 04:02:01,339 - {control.bat_all:173} - {INFO:MainThread} - -50W verbleibende Speicher-Leistung
2023-12-08 04:02:01,342 - {control.counter:138} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [62.0, 62.6, 61.9]A
2023-12-08 04:02:01,343 - {control.counter:161} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 42679.0W
2023-12-08 04:02:01,346 - {control.chargepoint.chargepoint:699} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2023-12-08 04:02:01,348 - {control.chargepoint.chargepoint:682} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2023-12-08 04:02:01,350 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 907.221205s, Dauer 1.380952380952381h, Termin heute verpasst: False
2023-12-08 04:02:01,351 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 91630.201253s, Dauer 0.18012422360248448h, Termin heute verpasst: False
2023-12-08 04:02:01,353 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -9035.638966s, Dauer 4.142857142857143h, Termin heute verpasst: False
2023-12-08 04:02:01,354 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 90333.30401s, Dauer 0.5403726708074534h, Termin heute verpasst: False
2023-12-08 04:02:01,356 - {control.ev:762} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2023-12-08 04:02:01,359 - {control.chargepoint.chargepoint:898} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.PV_CHARGING, Phasen: 1, Priorität: False, max. Ist-Strom: 0.1
2023-12-08 04:02:01,360 - {control.chargepoint.chargepoint:277} - {INFO:MainThread} - LP 1: Kein Sofortladen, da noch Zeit bis zum Zieltermin ist. Falls vorhanden, wird mit EVU-Überschuss geladen.
2023-12-08 04:02:01,364 - {modules.common.simcount._simcount:38} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1702004510.9398155, power=314.0, imported=2374313.8108908962, exported=0)
2023-12-08 04:02:01,365 - {modules.common.simcount._calculate:13} - {DEBUG:MainThread} - time passed: 0.00289576, power1: 314, power2: 321
2023-12-08 04:02:01,365 - {modules.common.simcount._calculate:29} - {DEBUG:MainThread} - power did not change sign. Total energy: 0.919405
2023-12-08 04:02:01,365 - {modules.common.simcount._simcount:47} - {DEBUG:MainThread} - imported: 0.919405 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702004521.3645608, power=321.0, imported=2374314.7302955184, exported=0)
2023-12-08 04:02:01,368 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=19, daily_exported=0.0, daily_imported=0.0, imported=143333.38, exported=116864.52, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2023-12-08 04:02:01,372 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=19, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=143333.38, exported=116864.52, power=0.0), set=Set(charging_power_left=-50, switch_on_soc_reached=False))
2023-12-08 04:02:01,374 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=97.16, daily_exported=0, power=0, imported=6926458.98, exported=0))
2023-12-08 04:02:01,376 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 95%, 06:00 Uhr', imported_at_plan_start=6926377.93, imported_instant_charging=None, limit=None, phases=1, prio=False, required_current=6, required_currents=[0.0, 6, 0.0], state=0, submode=<Chargemode.PV_CHARGING: 'pv_charging'>, 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=72), currents=[0.1, 0.0, 0.0], daily_imported=97.16, daily_exported=0, evse_current=0, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=6926458.98, phases_in_use=1, plug_state=True, power=0, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Kein Sofortladen, da noch Zeit bis zum Zieltermin ist. Falls vorhanden, wird mit EVU-Überschuss geladen.', voltages=[242.75, 240.85, 243.07]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=0, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='_', imported_at_mode_switch=6926377.93, imported_at_plugtime=6926377.93, imported_since_mode_switch=0, imported_since_plugged=81.05000000074506, range_charged=0, time_charged='00:00', timestamp_start_charging=None), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time='12/07/2023, 13:07:31', required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x71578a18>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB Carport', type='internal_openwb', template=1, connected_phases=3, phase_1=2, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=1))
2023-12-08 04:02:01,381 - {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-12-08 04:02:01,382 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=1, max_current_multi_phases=16, max_current_single_phase=20, name='RFID, 20A, 11kW', rfid_enabling=True, valid_tags=['0003134583', '0003526747', '1655332554', '2585022212', '2585087748'])
2023-12-08 04:02:01,385 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[63, 63, 63], max_total_power=43000), get=Get(powers=[186.0, 21.0, 113.0], currents=[1.0, 0.5, 1.1], voltages=[242.66, 242.3, 240.27], power_factors=[0.71, 0.17, 0.39], unbalanced_load=0, frequency=49.99, daily_exported=0.0, daily_imported=4073.0, imported=6125845.0, exported=4870433.0, fault_state=0, fault_str='Kein Fehler.', power=321.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=42679.0, raw_currents_left=[62.0, 62.6, 61.9], surplus_power_left=0, state_str=''))
2023-12-08 04:02:01,387 - {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': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=321.0, invalid_home_consumption=0, daily_yield_home_consumption=5488.8679565983, imported_home_consumption=2374314.7302955184, disengageable_smarthome_power=0))
2023-12-08 04:02:01,389 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2023-12-08 04:02:01,393 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Ladeprofil ***AUTO1***', disable_after_unplug=False, prio=False, load_default=True, time_charging=TimeCharging(active=True, plans={'0': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[True, True, True, True, False, False, True]), time=['22:00', '06:00'], name='Zeitladen 95%, So-Do 22:00-06:00 Uhr', current=16, limit=Limit(selected='soc', amount=1000, soc=95)), '1': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, True, True, False]), time=['22:00', '06:00'], name='Zeitladen 80%, Fr-Sa 22:00-06:00 Uhr', current=16, limit=Limit(selected='soc', amount=1000, soc=80))}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2023-12-08 04:02:01,395 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, time_charging=TimeCharging(active=True, plans={'2': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), time=['06:45', '07:00'], name='Klima 06:45-07:00 Uhr', current=6, limit=Limit(selected='none', amount=1000, soc=50)), '3': TimeChargingPlan(active=True, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, False, False, False]), time=['00:00', '23:55'], name='Immer 35%', current=10, limit=Limit(selected='soc', amount=1000, soc=35))}), chargemode=Chargemode(selected='scheduled_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={'0': ScheduledChargingPlan(active=False, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, True, False, False, False, False, False]), current=14, name='Zielladen 80%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '1': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), current=14, name='Zielladen 95%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=95), time='05:40'), '2': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once='2023-09-26', weekly=[True, False, False, True, False, True, True]), current=14, name='Zielladen 75%, 7:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=75), time='05:40')}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=80))))
2023-12-08 04:02:01,397 - {control.data:266} - {INFO:MainThread} - ev0
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=['0003134583'], get=Get(soc=0, soc_timestamp=None, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:02:01,404 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Tesla Model Y (2022)', 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=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212', '2585087748'], get=Get(soc=49.0, soc_timestamp='12/08/2023, 01:29:15', force_soc_update=False, range=220.74, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:02:01,405 - {control.data:266} - {INFO:MainThread} - ev2
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Cupra Born 58kW', 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=18000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=2, ev_template=2, name='***AUTO2***', tag_id=['1655332554'], get=Get(soc=72, soc_timestamp='12/08/2023, 02:47:32', force_soc_update=False, range=205, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:02:01,406 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40)
2023-12-08 04:02:01,407 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', 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=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40)
2023-12-08 04:02:01,409 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', 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=18000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40)
2023-12-08 04:02:01,412 - {control.data:245} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=3), pv_charging=PvCharging(bat_prio=True, charging_power_reserve=200, control_range=[-230, 230], feed_in_yield=15000, phase_switch_delay=15, phases_to_use=0, rundown_power=1000, rundown_soc=25, switch_off_delay=60, switch_off_soc=25, switch_off_threshold=50, switch_on_delay=30, switch_on_soc=50, switch_on_threshold=1400), scheduled_charging=ScheduledCharging(phases_to_use=0), time_charging=TimeCharging(phases_to_use=3), unbalanced_load_limit=20, unbalanced_load=True), control_interval=10, extern_display_mode='local', extern=False, external_buttons_hw=False, grid_protection_active=False, grid_protection_configured=True, grid_protection_random_stop=0, grid_protection_timestamp='', mqtt_bridge=False, price_kwh=0.3528, range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=True, r1_active=False, r2_active=False))
2023-12-08 04:02:01,414 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2023-12-08 04:02:01,415 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2023-12-08 04:02:01,415 - {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 0x70b92a78>), led=Led(active=False), rfid=Rfid(active=True))
2023-12-08 04:02:01,417 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=0), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=293628.595, fault_state=0, fault_str='Kein Fehler.', power=0))
2023-12-08 04:02:01,421 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=9500), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=7816178.86, fault_state=0, fault_str='Kein Fehler.', power=-0.0))
2023-12-08 04:02:01,423 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=8109807.455, power=0.0))
2023-12-08 04:02:01,424 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2023-11-30 12:30:45 +0100 [285f5a5fb]', 'current_branch': 'Release', 'current_branch_commit': '2023-11-30 12:30:45 +0100 [285f5a5fb]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.2-Patch.1', 'datastore_version': 29, 'lastlivevaluesJson': {'timestamp': 1702004511, 'time': '04:01:51', 'grid': 0.314, 'house-power': 0.314, 'charging-all': 0.0, 'pv-all': -0.0, 'cp1-power': 0.0, 'ev1-soc': 49.0, 'ev2-soc': 72, 'bat-all-power': 0.0, 'bat-all-soc': 19}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2023-12-08 04:02:01,427 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2023-12-08 04:02:01,428 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2023-12-08 04:02:01,429 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2023-12-08 04:02:01,431 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2023-12-08 04:02:01,433 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2023-12-08 04:02:01,434 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2023-12-08 04:02:01,435 - {control.data:253} - {INFO:MainThread} - 

2023-12-08 04:02:01,436 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2023-12-08 04:02:01,438 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2023-12-08 04:02:01,440 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2023-12-08 04:02:01,442 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2023-12-08 04:02:01,446 - {control.counter:211} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: 0W
2023-12-08 04:02:01,448 - {control.counter:457} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf 0W
2023-12-08 04:02:01,450 - {control.chargepoint.chargepoint:277} - {INFO:MainThread} - LP 1: Die Ladung kann nicht gestartet werden, da die Einschaltschwelle nicht erreicht wird.
2023-12-08 04:02:01,451 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2023-12-08 04:02:01,452 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2023-12-08 04:02:01,454 - {control.process:111} - {INFO:MainThread} - LP1: set current 0 A, state NO_CHARGING_ALLOWED
2023-12-08 04:02:01,456 - {modules.common.component_context:24} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:02:01,498 - {control.counter:186} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2023-12-08 04:02:01,699 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2023-12-08 04:02:05,739 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2023-12-08 04:02:05,741 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2023-12-08 04:02:10,756 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2023-12-08 04:02:10,757 - {root:74} - {INFO:MainThread} - # ***Start*** 
2023-12-08 04:02:10,799 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x715cf340>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x7155e4a8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x715c75f8>}
2023-12-08 04:02:10,800 - {modules.common.component_context:24} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2023-12-08 04:02:10,802 - {modules.common.component_context:24} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:02:10,808 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2023-12-08 04:02:10,811 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2023-12-08 04:02:10,852 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 750
2023-12-08 04:02:10,853 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-316, -188, -21, -106], Scale 0
2023-12-08 04:02:10,855 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"cloud":{"connected":false},"input:0":{"id":0,"state":false},"mqtt":{"connected":false},"switch:0":{"id":0, "source":"loopback", "output":false, "apower":0.0, "voltage":242.7, "current":0.000, "aenergy":{"total":1505.625,"by_minute":[0.000,0.000,0.000],"minute_ts":1702004530},"temperature":{"tC":28.9, "tF":84.0}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:02","unixtime":1702004531,"uptime":1363859,"ram_size":248944,"ram_free":144676,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"beta":{"version":"1.1.0-beta2"},"stable":{"version":"1.0.8"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-67},"ws":{"connected":false}}

2023-12-08 04:02:10,862 - {modules.common.simcount._simcount:38} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1702004520.679366, power=0, imported=0.0, exported=293628.5948715257)
2023-12-08 04:02:10,863 - {modules.common.simcount._calculate:13} - {DEBUG:device1} - time passed: 0.00282868, power1: 0, power2: 0
2023-12-08 04:02:10,865 - {modules.common.simcount._calculate:29} - {DEBUG:device1} - power did not change sign. Total energy: 0
2023-12-08 04:02:10,866 - {modules.common.simcount._simcount:47} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702004530.862617, power=0, imported=0.0, exported=293628.5948715257)
2023-12-08 04:02:10,869 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:02:10,925 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [10, 5, 11], Scale -1
2023-12-08 04:02:10,948 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [24265, 24232, 24050, 0, 0, 0, 0], Scale -2
2023-12-08 04:02:10,979 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4997], Scale -2
2023-12-08 04:02:10,997 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7099, 1780, 3889], Scale -2
2023-12-08 04:02:11,018 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4870433, 1797042, 2153375, 1456453, 6125845, 2531515, 1862787, 2267982], Scale 0
2023-12-08 04:02:11,019 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[1.0, 0.5, 1.1], powers=[188.0, 21.0, 106.0], voltages=[242.65, 242.32, 240.5], power_factors=[0.7099, 0.17800000000000002, 0.3889], imported=6125845.0, exported=4870433.0, power=316.0, frequency=49.97)
2023-12-08 04:02:11,022 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2023-12-08 04:02:11,045 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [0], Scale 0
2023-12-08 04:02:11,064 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7789710], Scale 0
2023-12-08 04:02:11,085 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [27, 31, 32], Scale -2
2023-12-08 04:02:11,106 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4791], Scale -2
2023-12-08 04:02:11,107 - {modules.common.component_state:100} - {DEBUG:device0} - currents sign wrong [0.27, 0.31, 0.32]
2023-12-08 04:02:11,108 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.27, 0.31, 0.32], power=-0.0, exported=7789710.0, dc_power=47.910000000000004)
2023-12-08 04:02:11,111 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2023-12-08 04:02:11,167 - {modules.common.simcount._simcount:38} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1702004521.0345273, power=0.0, imported=143333.37604219164, exported=116864.5215890633)
2023-12-08 04:02:11,169 - {modules.common.simcount._calculate:13} - {DEBUG:device0} - time passed: 0.00281471, power1: 0, power2: 0
2023-12-08 04:02:11,170 - {modules.common.simcount._calculate:29} - {DEBUG:device0} - power did not change sign. Total energy: 0
2023-12-08 04:02:11,170 - {modules.common.simcount._simcount:47} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702004531.1674864, power=0.0, imported=143333.37604219164, exported=116864.5215890633)
2023-12-08 04:02:11,173 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=143333.37604219164, exported=116864.5215890633, power=0.0, soc=19.0)
2023-12-08 04:02:11,177 - {modules.common.component_context:24} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2023-12-08 04:02:11,180 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=143333.37604219164, exported=116864.5215890633, power=0.0, soc=19.0)
2023-12-08 04:02:11,244 - {modules.common.component_context:24} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:02:11,249 - {modules.common.component_context:24} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2023-12-08 04:02:11,250 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-0.0, exported=7816178.86, dc_power=None)
2023-12-08 04:02:11,251 - {modules.common.component_context:24} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2023-12-08 04:02:11,251 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-0.0, exported=7816178.86, dc_power=None)
2023-12-08 04:02:11,252 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:02:11,254 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:02:11,295 - {modules.common.component_context:24} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2023-12-08 04:02:11,296 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[1.0, 0.5, 1.1], powers=[188.0, 21.0, 106.0], voltages=[242.65, 242.32, 240.5], power_factors=[0.7099, 0.17800000000000002, 0.3889], imported=6125845.0, exported=4870433.0, power=316.0, frequency=49.97)
2023-12-08 04:02:11,462 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2023-12-08 04:02:11,463 - {control.bat_all:173} - {INFO:MainThread} - -50W verbleibende Speicher-Leistung
2023-12-08 04:02:11,466 - {control.counter:138} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [62.0, 62.6, 61.9]A
2023-12-08 04:02:11,467 - {control.counter:161} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 42684.0W
2023-12-08 04:02:11,469 - {control.chargepoint.chargepoint:699} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2023-12-08 04:02:11,470 - {control.chargepoint.chargepoint:682} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2023-12-08 04:02:11,472 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 897.100055s, Dauer 1.380952380952381h, Termin heute verpasst: False
2023-12-08 04:02:11,473 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 91620.0799s, Dauer 0.18012422360248448h, Termin heute verpasst: False
2023-12-08 04:02:11,474 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -9045.759954s, Dauer 4.142857142857143h, Termin heute verpasst: False
2023-12-08 04:02:11,475 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 90323.183068s, Dauer 0.5403726708074534h, Termin heute verpasst: False
2023-12-08 04:02:11,476 - {control.ev:762} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2023-12-08 04:02:11,480 - {control.chargepoint.chargepoint:898} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.PV_CHARGING, Phasen: 1, Priorität: False, max. Ist-Strom: 0.1
2023-12-08 04:02:11,481 - {control.chargepoint.chargepoint:277} - {INFO:MainThread} - LP 1: Kein Sofortladen, da noch Zeit bis zum Zieltermin ist. Falls vorhanden, wird mit EVU-Überschuss geladen.
2023-12-08 04:02:11,489 - {modules.common.simcount._simcount:38} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1702004521.3645608, power=321.0, imported=2374314.7302955184, exported=0)
2023-12-08 04:02:11,493 - {modules.common.simcount._calculate:13} - {DEBUG:MainThread} - time passed: 0.00281236, power1: 321, power2: 316
2023-12-08 04:02:11,494 - {modules.common.simcount._calculate:29} - {DEBUG:MainThread} - power did not change sign. Total energy: 0.895738
2023-12-08 04:02:11,496 - {modules.common.simcount._simcount:47} - {DEBUG:MainThread} - imported: 0.895738 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702004531.4890666, power=316.0, imported=2374315.6260330416, exported=0)
2023-12-08 04:02:11,501 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=19, daily_exported=0.0, daily_imported=0.0, imported=143333.38, exported=116864.52, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2023-12-08 04:02:11,503 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=19, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=143333.38, exported=116864.52, power=0.0), set=Set(charging_power_left=-50, switch_on_soc_reached=False))
2023-12-08 04:02:11,506 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=97.16, daily_exported=0, power=0, imported=6926458.98, exported=0))
2023-12-08 04:02:11,507 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 95%, 06:00 Uhr', imported_at_plan_start=6926377.93, imported_instant_charging=None, limit=None, phases=1, prio=False, required_current=6, required_currents=[0.0, 6, 0.0], state=0, submode=<Chargemode.PV_CHARGING: 'pv_charging'>, 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=72), currents=[0.1, 0.0, 0.0], daily_imported=97.16, daily_exported=0, evse_current=0, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=6926458.98, phases_in_use=1, plug_state=True, power=0, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Kein Sofortladen, da noch Zeit bis zum Zieltermin ist. Falls vorhanden, wird mit EVU-Überschuss geladen.', voltages=[242.73, 240.79, 242.99]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=0, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='_', imported_at_mode_switch=6926377.93, imported_at_plugtime=6926377.93, imported_since_mode_switch=0, imported_since_plugged=81.05000000074506, range_charged=0, time_charged='00:00', timestamp_start_charging=None), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time='12/07/2023, 13:07:31', required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x715cfe20>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB Carport', type='internal_openwb', template=1, connected_phases=3, phase_1=2, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=1))
2023-12-08 04:02:11,510 - {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-12-08 04:02:11,512 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=1, max_current_multi_phases=16, max_current_single_phase=20, name='RFID, 20A, 11kW', rfid_enabling=True, valid_tags=['0003134583', '0003526747', '1655332554', '2585022212', '2585087748'])
2023-12-08 04:02:11,519 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[63, 63, 63], max_total_power=43000), get=Get(powers=[188.0, 21.0, 106.0], currents=[1.0, 0.5, 1.1], voltages=[242.65, 242.32, 240.5], power_factors=[0.71, 0.18, 0.39], unbalanced_load=0, frequency=49.97, daily_exported=0.0, daily_imported=4073.0, imported=6125845.0, exported=4870433.0, fault_state=0, fault_str='Kein Fehler.', power=316.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=42684.0, raw_currents_left=[62.0, 62.6, 61.9], surplus_power_left=0, state_str=''))
2023-12-08 04:02:11,521 - {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': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=316.0, invalid_home_consumption=0, daily_yield_home_consumption=5488.8679565983, imported_home_consumption=2374315.6260330416, disengageable_smarthome_power=0))
2023-12-08 04:02:11,523 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2023-12-08 04:02:11,524 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Ladeprofil ***AUTO1***', disable_after_unplug=False, prio=False, load_default=True, time_charging=TimeCharging(active=True, plans={'0': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[True, True, True, True, False, False, True]), time=['22:00', '06:00'], name='Zeitladen 95%, So-Do 22:00-06:00 Uhr', current=16, limit=Limit(selected='soc', amount=1000, soc=95)), '1': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, True, True, False]), time=['22:00', '06:00'], name='Zeitladen 80%, Fr-Sa 22:00-06:00 Uhr', current=16, limit=Limit(selected='soc', amount=1000, soc=80))}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2023-12-08 04:02:11,526 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, time_charging=TimeCharging(active=True, plans={'2': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), time=['06:45', '07:00'], name='Klima 06:45-07:00 Uhr', current=6, limit=Limit(selected='none', amount=1000, soc=50)), '3': TimeChargingPlan(active=True, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, False, False, False]), time=['00:00', '23:55'], name='Immer 35%', current=10, limit=Limit(selected='soc', amount=1000, soc=35))}), chargemode=Chargemode(selected='scheduled_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={'0': ScheduledChargingPlan(active=False, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, True, False, False, False, False, False]), current=14, name='Zielladen 80%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '1': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), current=14, name='Zielladen 95%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=95), time='05:40'), '2': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once='2023-09-26', weekly=[True, False, False, True, False, True, True]), current=14, name='Zielladen 75%, 7:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=75), time='05:40')}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=80))))
2023-12-08 04:02:11,529 - {control.data:266} - {INFO:MainThread} - ev0
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=['0003134583'], get=Get(soc=0, soc_timestamp=None, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:02:11,530 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Tesla Model Y (2022)', 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=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212', '2585087748'], get=Get(soc=49.0, soc_timestamp='12/08/2023, 01:29:15', force_soc_update=False, range=220.74, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:02:11,533 - {control.data:266} - {INFO:MainThread} - ev2
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Cupra Born 58kW', 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=18000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=2, ev_template=2, name='***AUTO2***', tag_id=['1655332554'], get=Get(soc=72, soc_timestamp='12/08/2023, 02:47:32', force_soc_update=False, range=205, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:02:11,543 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40)
2023-12-08 04:02:11,551 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', 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=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40)
2023-12-08 04:02:11,552 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', 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=18000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40)
2023-12-08 04:02:11,553 - {control.data:245} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=3), pv_charging=PvCharging(bat_prio=True, charging_power_reserve=200, control_range=[-230, 230], feed_in_yield=15000, phase_switch_delay=15, phases_to_use=0, rundown_power=1000, rundown_soc=25, switch_off_delay=60, switch_off_soc=25, switch_off_threshold=50, switch_on_delay=30, switch_on_soc=50, switch_on_threshold=1400), scheduled_charging=ScheduledCharging(phases_to_use=0), time_charging=TimeCharging(phases_to_use=3), unbalanced_load_limit=20, unbalanced_load=True), control_interval=10, extern_display_mode='local', extern=False, external_buttons_hw=False, grid_protection_active=False, grid_protection_configured=True, grid_protection_random_stop=0, grid_protection_timestamp='', mqtt_bridge=False, price_kwh=0.3528, range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=True, r1_active=False, r2_active=False))
2023-12-08 04:02:11,553 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2023-12-08 04:02:11,554 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2023-12-08 04:02:11,554 - {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 0x7157bc58>), led=Led(active=False), rfid=Rfid(active=True))
2023-12-08 04:02:11,555 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=0), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=293628.595, fault_state=0, fault_str='Kein Fehler.', power=0))
2023-12-08 04:02:11,555 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=9500), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=7816178.86, fault_state=0, fault_str='Kein Fehler.', power=-0.0))
2023-12-08 04:02:11,556 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=8109807.455, power=0.0))
2023-12-08 04:02:11,557 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2023-11-30 12:30:45 +0100 [285f5a5fb]', 'current_branch': 'Release', 'current_branch_commit': '2023-11-30 12:30:45 +0100 [285f5a5fb]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.2-Patch.1', 'datastore_version': 29, 'lastlivevaluesJson': {'timestamp': 1702004521, 'time': '04:02:01', 'grid': 0.321, 'house-power': 0.321, 'charging-all': 0.0, 'pv-all': -0.0, 'cp1-power': 0.0, 'ev1-soc': 49.0, 'ev2-soc': 72, 'bat-all-power': 0.0, 'bat-all-soc': 19}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2023-12-08 04:02:11,557 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2023-12-08 04:02:11,558 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2023-12-08 04:02:11,558 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2023-12-08 04:02:11,559 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2023-12-08 04:02:11,560 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2023-12-08 04:02:11,562 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2023-12-08 04:02:11,563 - {control.data:253} - {INFO:MainThread} - 

2023-12-08 04:02:11,569 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2023-12-08 04:02:11,571 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2023-12-08 04:02:11,574 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2023-12-08 04:02:11,580 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2023-12-08 04:02:11,582 - {control.counter:211} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: 0W
2023-12-08 04:02:11,584 - {control.counter:457} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf 0W
2023-12-08 04:02:11,585 - {control.chargepoint.chargepoint:277} - {INFO:MainThread} - LP 1: Die Ladung kann nicht gestartet werden, da die Einschaltschwelle nicht erreicht wird.
2023-12-08 04:02:11,586 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2023-12-08 04:02:11,587 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2023-12-08 04:02:11,592 - {control.process:111} - {INFO:MainThread} - LP1: set current 0 A, state NO_CHARGING_ALLOWED
2023-12-08 04:02:11,596 - {modules.common.component_context:24} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:02:11,619 - {control.counter:186} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2023-12-08 04:02:11,855 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2023-12-08 04:02:11,856 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2023-12-08 04:02:15,867 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2023-12-08 04:02:20,879 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2023-12-08 04:02:20,881 - {root:74} - {INFO:MainThread} - # ***Start*** 
2023-12-08 04:02:20,921 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x715cf340>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x7155e4a8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x715c75f8>}
2023-12-08 04:02:20,923 - {modules.common.component_context:24} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2023-12-08 04:02:20,930 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2023-12-08 04:02:20,932 - {modules.common.component_context:24} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:02:20,933 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2023-12-08 04:02:20,967 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-316, -187, -22, -106], Scale 0
2023-12-08 04:02:20,976 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 750
2023-12-08 04:02:20,979 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"cloud":{"connected":false},"input:0":{"id":0,"state":false},"mqtt":{"connected":false},"switch:0":{"id":0, "source":"loopback", "output":false, "apower":0.0, "voltage":242.8, "current":0.000, "aenergy":{"total":1505.625,"by_minute":[0.000,0.000,0.000],"minute_ts":1702004540},"temperature":{"tC":28.8, "tF":83.9}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:02","unixtime":1702004541,"uptime":1363869,"ram_size":248996,"ram_free":145268,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"beta":{"version":"1.1.0-beta2"},"stable":{"version":"1.0.8"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-69},"ws":{"connected":false}}

2023-12-08 04:02:20,982 - {modules.common.simcount._simcount:38} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1702004530.862617, power=0, imported=0.0, exported=293628.5948715257)
2023-12-08 04:02:20,983 - {modules.common.simcount._calculate:13} - {DEBUG:device1} - time passed: 0.00281111, power1: 0, power2: 0
2023-12-08 04:02:20,984 - {modules.common.simcount._calculate:29} - {DEBUG:device1} - power did not change sign. Total energy: 0
2023-12-08 04:02:20,985 - {modules.common.simcount._simcount:47} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702004540.9826114, power=0, imported=0.0, exported=293628.5948715257)
2023-12-08 04:02:20,986 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:02:21,016 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [10, 5, 11], Scale -1
2023-12-08 04:02:21,035 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [24265, 24236, 24044, 0, 0, 0, 0], Scale -2
2023-12-08 04:02:21,065 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4997], Scale -2
2023-12-08 04:02:21,133 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7139, 1739, 3959], Scale -2
2023-12-08 04:02:21,154 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4870433, 1797042, 2153375, 1456453, 6125847, 2531515, 1862787, 2267982], Scale 0
2023-12-08 04:02:21,155 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[1.0, 0.5, 1.1], powers=[187.0, 22.0, 106.0], voltages=[242.65, 242.36, 240.44], power_factors=[0.7139, 0.1739, 0.39590000000000003], imported=6125847.0, exported=4870433.0, power=316.0, frequency=49.97)
2023-12-08 04:02:21,156 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2023-12-08 04:02:21,177 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [0], Scale 0
2023-12-08 04:02:21,194 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7789710], Scale 0
2023-12-08 04:02:21,214 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [28, 31, 31], Scale -2
2023-12-08 04:02:21,237 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4547], Scale -2
2023-12-08 04:02:21,238 - {modules.common.component_state:100} - {DEBUG:device0} - currents sign wrong [0.28, 0.31, 0.31]
2023-12-08 04:02:21,238 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.28, 0.31, 0.31], power=-0.0, exported=7789710.0, dc_power=45.47)
2023-12-08 04:02:21,240 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2023-12-08 04:02:21,274 - {modules.common.simcount._simcount:38} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1702004531.1674864, power=0.0, imported=143333.37604219164, exported=116864.5215890633)
2023-12-08 04:02:21,275 - {modules.common.simcount._calculate:13} - {DEBUG:device0} - time passed: 0.00280754, power1: 0, power2: 0
2023-12-08 04:02:21,275 - {modules.common.simcount._calculate:29} - {DEBUG:device0} - power did not change sign. Total energy: 0
2023-12-08 04:02:21,276 - {modules.common.simcount._simcount:47} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702004541.2746217, power=0.0, imported=143333.37604219164, exported=116864.5215890633)
2023-12-08 04:02:21,277 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=143333.37604219164, exported=116864.5215890633, power=0.0, soc=19.0)
2023-12-08 04:02:21,283 - {modules.common.component_context:24} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2023-12-08 04:02:21,285 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=143333.37604219164, exported=116864.5215890633, power=0.0, soc=19.0)
2023-12-08 04:02:21,326 - {modules.common.component_context:24} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:02:21,328 - {modules.common.component_context:24} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2023-12-08 04:02:21,329 - {modules.common.component_context:24} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2023-12-08 04:02:21,329 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-0.0, exported=7816178.86, dc_power=None)
2023-12-08 04:02:21,330 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:02:21,330 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-0.0, exported=7816178.86, dc_power=None)
2023-12-08 04:02:21,331 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:02:21,372 - {modules.common.component_context:24} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2023-12-08 04:02:21,373 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[1.0, 0.5, 1.1], powers=[187.0, 22.0, 106.0], voltages=[242.65, 242.36, 240.44], power_factors=[0.7139, 0.1739, 0.39590000000000003], imported=6125847.0, exported=4870433.0, power=316.0, frequency=49.97)
2023-12-08 04:02:21,540 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2023-12-08 04:02:21,542 - {control.bat_all:173} - {INFO:MainThread} - -50W verbleibende Speicher-Leistung
2023-12-08 04:02:21,552 - {control.counter:138} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [62.0, 62.6, 61.9]A
2023-12-08 04:02:21,554 - {control.counter:161} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 42684.0W
2023-12-08 04:02:21,556 - {control.chargepoint.chargepoint:699} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2023-12-08 04:02:21,558 - {control.chargepoint.chargepoint:682} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2023-12-08 04:02:21,563 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 887.008777s, Dauer 1.380952380952381h, Termin heute verpasst: False
2023-12-08 04:02:21,565 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 91609.987803s, Dauer 0.18012422360248448h, Termin heute verpasst: False
2023-12-08 04:02:21,567 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -9055.852971s, Dauer 4.142857142857143h, Termin heute verpasst: False
2023-12-08 04:02:21,570 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 90313.088618s, Dauer 0.5403726708074534h, Termin heute verpasst: False
2023-12-08 04:02:21,571 - {control.ev:762} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2023-12-08 04:02:21,584 - {control.chargepoint.chargepoint:898} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.PV_CHARGING, Phasen: 1, Priorität: False, max. Ist-Strom: 0.1
2023-12-08 04:02:21,599 - {control.chargepoint.chargepoint:277} - {INFO:MainThread} - LP 1: Kein Sofortladen, da noch Zeit bis zum Zieltermin ist. Falls vorhanden, wird mit EVU-Überschuss geladen.
2023-12-08 04:02:21,628 - {modules.common.simcount._simcount:38} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1702004531.4890666, power=316.0, imported=2374315.6260330416, exported=0)
2023-12-08 04:02:21,628 - {modules.common.simcount._calculate:13} - {DEBUG:MainThread} - time passed: 0.00281629, power1: 316, power2: 316
2023-12-08 04:02:21,641 - {modules.common.simcount._calculate:29} - {DEBUG:MainThread} - power did not change sign. Total energy: 0.889948
2023-12-08 04:02:21,642 - {modules.common.simcount._simcount:47} - {DEBUG:MainThread} - imported: 0.889948 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702004541.627717, power=316.0, imported=2374316.515981245, exported=0)
2023-12-08 04:02:21,644 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=19, daily_exported=0.0, daily_imported=0.0, imported=143333.38, exported=116864.52, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2023-12-08 04:02:21,646 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=19, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=143333.38, exported=116864.52, power=0.0), set=Set(charging_power_left=-50, switch_on_soc_reached=False))
2023-12-08 04:02:21,647 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=97.16, daily_exported=0, power=0, imported=6926458.98, exported=0))
2023-12-08 04:02:21,651 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 95%, 06:00 Uhr', imported_at_plan_start=6926377.93, imported_instant_charging=None, limit=None, phases=1, prio=False, required_current=6, required_currents=[0.0, 6, 0.0], state=0, submode=<Chargemode.PV_CHARGING: 'pv_charging'>, 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=72), currents=[0.1, 0.0, 0.0], daily_imported=97.16, daily_exported=0, evse_current=0, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=6926458.98, phases_in_use=1, plug_state=True, power=0, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Kein Sofortladen, da noch Zeit bis zum Zieltermin ist. Falls vorhanden, wird mit EVU-Überschuss geladen.', voltages=[242.76, 240.9, 243.06]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=0, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='_', imported_at_mode_switch=6926377.93, imported_at_plugtime=6926377.93, imported_since_mode_switch=0, imported_since_plugged=81.05000000074506, range_charged=0, time_charged='00:00', timestamp_start_charging=None), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time='12/07/2023, 13:07:31', required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x70b5f808>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB Carport', type='internal_openwb', template=1, connected_phases=3, phase_1=2, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=1))
2023-12-08 04:02:21,657 - {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-12-08 04:02:21,658 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=1, max_current_multi_phases=16, max_current_single_phase=20, name='RFID, 20A, 11kW', rfid_enabling=True, valid_tags=['0003134583', '0003526747', '1655332554', '2585022212', '2585087748'])
2023-12-08 04:02:21,661 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[63, 63, 63], max_total_power=43000), get=Get(powers=[187.0, 22.0, 106.0], currents=[1.0, 0.5, 1.1], voltages=[242.65, 242.36, 240.44], power_factors=[0.71, 0.17, 0.4], unbalanced_load=0, frequency=49.97, daily_exported=0.0, daily_imported=4073.0, imported=6125847.0, exported=4870433.0, fault_state=0, fault_str='Kein Fehler.', power=316.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=42684.0, raw_currents_left=[62.0, 62.6, 61.9], surplus_power_left=0, state_str=''))
2023-12-08 04:02:21,662 - {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': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=316.0, invalid_home_consumption=0, daily_yield_home_consumption=5488.8679565983, imported_home_consumption=2374316.515981245, disengageable_smarthome_power=0))
2023-12-08 04:02:21,663 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2023-12-08 04:02:21,665 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Ladeprofil ***AUTO1***', disable_after_unplug=False, prio=False, load_default=True, time_charging=TimeCharging(active=True, plans={'0': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[True, True, True, True, False, False, True]), time=['22:00', '06:00'], name='Zeitladen 95%, So-Do 22:00-06:00 Uhr', current=16, limit=Limit(selected='soc', amount=1000, soc=95)), '1': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, True, True, False]), time=['22:00', '06:00'], name='Zeitladen 80%, Fr-Sa 22:00-06:00 Uhr', current=16, limit=Limit(selected='soc', amount=1000, soc=80))}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2023-12-08 04:02:21,672 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, time_charging=TimeCharging(active=True, plans={'2': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), time=['06:45', '07:00'], name='Klima 06:45-07:00 Uhr', current=6, limit=Limit(selected='none', amount=1000, soc=50)), '3': TimeChargingPlan(active=True, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, False, False, False]), time=['00:00', '23:55'], name='Immer 35%', current=10, limit=Limit(selected='soc', amount=1000, soc=35))}), chargemode=Chargemode(selected='scheduled_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={'0': ScheduledChargingPlan(active=False, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, True, False, False, False, False, False]), current=14, name='Zielladen 80%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '1': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), current=14, name='Zielladen 95%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=95), time='05:40'), '2': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once='2023-09-26', weekly=[True, False, False, True, False, True, True]), current=14, name='Zielladen 75%, 7:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=75), time='05:40')}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=80))))
2023-12-08 04:02:21,673 - {control.data:266} - {INFO:MainThread} - ev0
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=['0003134583'], get=Get(soc=0, soc_timestamp=None, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:02:21,674 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Tesla Model Y (2022)', 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=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212', '2585087748'], get=Get(soc=49.0, soc_timestamp='12/08/2023, 01:29:15', force_soc_update=False, range=220.74, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:02:21,676 - {control.data:266} - {INFO:MainThread} - ev2
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Cupra Born 58kW', 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=18000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=2, ev_template=2, name='***AUTO2***', tag_id=['1655332554'], get=Get(soc=72, soc_timestamp='12/08/2023, 02:47:32', force_soc_update=False, range=205, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:02:21,677 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40)
2023-12-08 04:02:21,678 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', 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=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40)
2023-12-08 04:02:21,680 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', 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=18000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40)
2023-12-08 04:02:21,686 - {control.data:245} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=3), pv_charging=PvCharging(bat_prio=True, charging_power_reserve=200, control_range=[-230, 230], feed_in_yield=15000, phase_switch_delay=15, phases_to_use=0, rundown_power=1000, rundown_soc=25, switch_off_delay=60, switch_off_soc=25, switch_off_threshold=50, switch_on_delay=30, switch_on_soc=50, switch_on_threshold=1400), scheduled_charging=ScheduledCharging(phases_to_use=0), time_charging=TimeCharging(phases_to_use=3), unbalanced_load_limit=20, unbalanced_load=True), control_interval=10, extern_display_mode='local', extern=False, external_buttons_hw=False, grid_protection_active=False, grid_protection_configured=True, grid_protection_random_stop=0, grid_protection_timestamp='', mqtt_bridge=False, price_kwh=0.3528, range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=True, r1_active=False, r2_active=False))
2023-12-08 04:02:21,689 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2023-12-08 04:02:21,697 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2023-12-08 04:02:21,702 - {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 0x70bebfe8>), led=Led(active=False), rfid=Rfid(active=True))
2023-12-08 04:02:21,703 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=0), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=293628.595, fault_state=0, fault_str='Kein Fehler.', power=0))
2023-12-08 04:02:21,704 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=9500), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=7816178.86, fault_state=0, fault_str='Kein Fehler.', power=-0.0))
2023-12-08 04:02:21,705 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=8109807.455, power=0.0))
2023-12-08 04:02:21,708 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2023-11-30 12:30:45 +0100 [285f5a5fb]', 'current_branch': 'Release', 'current_branch_commit': '2023-11-30 12:30:45 +0100 [285f5a5fb]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.2-Patch.1', 'datastore_version': 29, 'lastlivevaluesJson': {'timestamp': 1702004531, 'time': '04:02:11', 'grid': 0.316, 'house-power': 0.316, 'charging-all': 0.0, 'pv-all': -0.0, 'cp1-power': 0.0, 'ev1-soc': 49.0, 'ev2-soc': 72, 'bat-all-power': 0.0, 'bat-all-soc': 19}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2023-12-08 04:02:21,714 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2023-12-08 04:02:21,715 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2023-12-08 04:02:21,717 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2023-12-08 04:02:21,717 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2023-12-08 04:02:21,718 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2023-12-08 04:02:21,719 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2023-12-08 04:02:21,722 - {control.data:253} - {INFO:MainThread} - 

2023-12-08 04:02:21,724 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2023-12-08 04:02:21,725 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2023-12-08 04:02:21,727 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2023-12-08 04:02:21,730 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2023-12-08 04:02:21,732 - {control.counter:211} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: 0W
2023-12-08 04:02:21,732 - {control.counter:457} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf 0W
2023-12-08 04:02:21,733 - {control.chargepoint.chargepoint:277} - {INFO:MainThread} - LP 1: Die Ladung kann nicht gestartet werden, da die Einschaltschwelle nicht erreicht wird.
2023-12-08 04:02:21,734 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2023-12-08 04:02:21,734 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2023-12-08 04:02:21,736 - {control.process:111} - {INFO:MainThread} - LP1: set current 0 A, state NO_CHARGING_ALLOWED
2023-12-08 04:02:21,742 - {modules.common.component_context:24} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:02:21,814 - {control.counter:186} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2023-12-08 04:02:22,134 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2023-12-08 04:02:22,139 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2023-12-08 04:02:25,145 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2023-12-08 04:02:25,146 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2023-12-08 04:02:30,157 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2023-12-08 04:02:30,158 - {root:74} - {INFO:MainThread} - # ***Start*** 
2023-12-08 04:02:30,241 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x715cf340>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x7155e4a8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x715c75f8>}
2023-12-08 04:02:30,245 - {modules.common.component_context:24} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2023-12-08 04:02:30,247 - {modules.common.component_context:24} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:02:30,256 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2023-12-08 04:02:30,257 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2023-12-08 04:02:30,300 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 750
2023-12-08 04:02:30,302 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"cloud":{"connected":false},"input:0":{"id":0,"state":false},"mqtt":{"connected":false},"switch:0":{"id":0, "source":"loopback", "output":false, "apower":0.0, "voltage":242.8, "current":0.000, "aenergy":{"total":1505.625,"by_minute":[0.000,0.000,0.000],"minute_ts":1702004549},"temperature":{"tC":28.8, "tF":83.9}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:02","unixtime":1702004551,"uptime":1363878,"ram_size":248996,"ram_free":145268,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"beta":{"version":"1.1.0-beta2"},"stable":{"version":"1.0.8"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-69},"ws":{"connected":false}}

2023-12-08 04:02:30,304 - {modules.common.simcount._simcount:38} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1702004540.9826114, power=0, imported=0.0, exported=293628.5948715257)
2023-12-08 04:02:30,304 - {modules.common.simcount._calculate:13} - {DEBUG:device1} - time passed: 0.00258931, power1: 0, power2: 0
2023-12-08 04:02:30,305 - {modules.common.simcount._calculate:29} - {DEBUG:device1} - power did not change sign. Total energy: 0
2023-12-08 04:02:30,305 - {modules.common.simcount._simcount:47} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702004550.3041143, power=0, imported=0.0, exported=293628.5948715257)
2023-12-08 04:02:30,306 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:02:30,485 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-315, -187, -21, -106], Scale 0
2023-12-08 04:02:30,516 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [10, 5, 11], Scale -1
2023-12-08 04:02:30,543 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [24270, 24238, 24045, 0, 0, 0, 0], Scale -2
2023-12-08 04:02:30,593 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4997], Scale -2
2023-12-08 04:02:30,628 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7139, 1800, 3939], Scale -2
2023-12-08 04:02:30,655 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4870433, 1797042, 2153375, 1456453, 6125847, 2531516, 1862787, 2267982], Scale 0
2023-12-08 04:02:30,655 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[1.0, 0.5, 1.1], powers=[187.0, 21.0, 106.0], voltages=[242.70000000000002, 242.38, 240.45000000000002], power_factors=[0.7139, 0.18, 0.39390000000000003], imported=6125847.0, exported=4870433.0, power=315.0, frequency=49.97)
2023-12-08 04:02:30,657 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2023-12-08 04:02:30,725 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [0], Scale 0
2023-12-08 04:02:30,755 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7789710], Scale 0
2023-12-08 04:02:30,818 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [27, 30, 29], Scale -2
2023-12-08 04:02:30,836 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4792], Scale -2
2023-12-08 04:02:30,838 - {modules.common.component_state:100} - {DEBUG:device0} - currents sign wrong [0.27, 0.3, 0.29]
2023-12-08 04:02:30,841 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.27, 0.3, 0.29], power=-0.0, exported=7789710.0, dc_power=47.92)
2023-12-08 04:02:30,844 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2023-12-08 04:02:30,899 - {modules.common.simcount._simcount:38} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1702004541.2746217, power=0.0, imported=143333.37604219164, exported=116864.5215890633)
2023-12-08 04:02:30,901 - {modules.common.simcount._calculate:13} - {DEBUG:device0} - time passed: 0.00267345, power1: 0, power2: 0
2023-12-08 04:02:30,904 - {modules.common.simcount._calculate:29} - {DEBUG:device0} - power did not change sign. Total energy: 0
2023-12-08 04:02:30,905 - {modules.common.simcount._simcount:47} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702004550.8990505, power=0.0, imported=143333.37604219164, exported=116864.5215890633)
2023-12-08 04:02:30,907 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=143333.37604219164, exported=116864.5215890633, power=0.0, soc=19.0)
2023-12-08 04:02:30,912 - {modules.common.component_context:24} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2023-12-08 04:02:30,914 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=143333.37604219164, exported=116864.5215890633, power=0.0, soc=19.0)
2023-12-08 04:02:31,038 - {modules.common.component_context:24} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:02:31,045 - {modules.common.component_context:24} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2023-12-08 04:02:31,047 - {modules.common.component_context:24} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2023-12-08 04:02:31,050 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-0.0, exported=7816178.86, dc_power=None)
2023-12-08 04:02:31,055 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:02:31,058 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-0.0, exported=7816178.86, dc_power=None)
2023-12-08 04:02:31,061 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:02:31,104 - {modules.common.component_context:24} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2023-12-08 04:02:31,105 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[1.0, 0.5, 1.1], powers=[187.0, 21.0, 106.0], voltages=[242.70000000000002, 242.38, 240.45000000000002], power_factors=[0.7139, 0.18, 0.39390000000000003], imported=6125847.0, exported=4870433.0, power=315.0, frequency=49.97)
2023-12-08 04:02:31,251 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2023-12-08 04:02:31,252 - {control.bat_all:173} - {INFO:MainThread} - -50W verbleibende Speicher-Leistung
2023-12-08 04:02:31,254 - {control.counter:138} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [62.0, 62.6, 61.9]A
2023-12-08 04:02:31,255 - {control.counter:161} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 42685.0W
2023-12-08 04:02:31,258 - {control.chargepoint.chargepoint:699} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2023-12-08 04:02:31,260 - {control.chargepoint.chargepoint:682} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2023-12-08 04:02:31,261 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 877.31028s, Dauer 1.380952380952381h, Termin heute verpasst: False
2023-12-08 04:02:31,262 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 91600.290412s, Dauer 0.18012422360248448h, Termin heute verpasst: False
2023-12-08 04:02:31,263 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -9065.549147s, Dauer 4.142857142857143h, Termin heute verpasst: False
2023-12-08 04:02:31,266 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 90303.392278s, Dauer 0.5403726708074534h, Termin heute verpasst: False
2023-12-08 04:02:31,267 - {control.ev:762} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2023-12-08 04:02:31,270 - {control.chargepoint.chargepoint:898} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.PV_CHARGING, Phasen: 1, Priorität: False, max. Ist-Strom: 0.1
2023-12-08 04:02:31,271 - {control.chargepoint.chargepoint:277} - {INFO:MainThread} - LP 1: Kein Sofortladen, da noch Zeit bis zum Zieltermin ist. Falls vorhanden, wird mit EVU-Überschuss geladen.
2023-12-08 04:02:31,276 - {modules.common.simcount._simcount:38} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1702004541.627717, power=316.0, imported=2374316.515981245, exported=0)
2023-12-08 04:02:31,277 - {modules.common.simcount._calculate:13} - {DEBUG:MainThread} - time passed: 0.00268016, power1: 316, power2: 315
2023-12-08 04:02:31,280 - {modules.common.simcount._calculate:29} - {DEBUG:MainThread} - power did not change sign. Total energy: 0.845591
2023-12-08 04:02:31,280 - {modules.common.simcount._simcount:47} - {DEBUG:MainThread} - imported: 0.845591 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702004551.2762988, power=315.0, imported=2374317.3615722284, exported=0)
2023-12-08 04:02:31,283 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=19, daily_exported=0.0, daily_imported=0.0, imported=143333.38, exported=116864.52, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2023-12-08 04:02:31,284 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=19, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=143333.38, exported=116864.52, power=0.0), set=Set(charging_power_left=-50, switch_on_soc_reached=False))
2023-12-08 04:02:31,286 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=97.16, daily_exported=0, power=0, imported=6926458.98, exported=0))
2023-12-08 04:02:31,291 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 95%, 06:00 Uhr', imported_at_plan_start=6926377.93, imported_instant_charging=None, limit=None, phases=1, prio=False, required_current=6, required_currents=[0.0, 6, 0.0], state=0, submode=<Chargemode.PV_CHARGING: 'pv_charging'>, 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=72), currents=[0.1, 0.0, 0.0], daily_imported=97.16, daily_exported=0, evse_current=0, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=6926458.98, phases_in_use=1, plug_state=True, power=0, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Kein Sofortladen, da noch Zeit bis zum Zieltermin ist. Falls vorhanden, wird mit EVU-Überschuss geladen.', voltages=[242.81, 240.93, 243.05]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=0, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='_', imported_at_mode_switch=6926377.93, imported_at_plugtime=6926377.93, imported_since_mode_switch=0, imported_since_plugged=81.05000000074506, range_charged=0, time_charged='00:00', timestamp_start_charging=None), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time='12/07/2023, 13:07:31', required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x70b5fbf8>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB Carport', type='internal_openwb', template=1, connected_phases=3, phase_1=2, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=1))
2023-12-08 04:02:31,294 - {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-12-08 04:02:31,297 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=1, max_current_multi_phases=16, max_current_single_phase=20, name='RFID, 20A, 11kW', rfid_enabling=True, valid_tags=['0003134583', '0003526747', '1655332554', '2585022212', '2585087748'])
2023-12-08 04:02:31,300 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[63, 63, 63], max_total_power=43000), get=Get(powers=[187.0, 21.0, 106.0], currents=[1.0, 0.5, 1.1], voltages=[242.7, 242.38, 240.45], power_factors=[0.71, 0.18, 0.39], unbalanced_load=0, frequency=49.97, daily_exported=0.0, daily_imported=4073.0, imported=6125847.0, exported=4870433.0, fault_state=0, fault_str='Kein Fehler.', power=315.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=42685.0, raw_currents_left=[62.0, 62.6, 61.9], surplus_power_left=0, state_str=''))
2023-12-08 04:02:31,301 - {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': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=315.0, invalid_home_consumption=0, daily_yield_home_consumption=5488.8679565983, imported_home_consumption=2374317.3615722284, disengageable_smarthome_power=0))
2023-12-08 04:02:31,302 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2023-12-08 04:02:31,304 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Ladeprofil ***AUTO1***', disable_after_unplug=False, prio=False, load_default=True, time_charging=TimeCharging(active=True, plans={'0': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[True, True, True, True, False, False, True]), time=['22:00', '06:00'], name='Zeitladen 95%, So-Do 22:00-06:00 Uhr', current=16, limit=Limit(selected='soc', amount=1000, soc=95)), '1': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, True, True, False]), time=['22:00', '06:00'], name='Zeitladen 80%, Fr-Sa 22:00-06:00 Uhr', current=16, limit=Limit(selected='soc', amount=1000, soc=80))}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2023-12-08 04:02:31,306 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, time_charging=TimeCharging(active=True, plans={'2': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), time=['06:45', '07:00'], name='Klima 06:45-07:00 Uhr', current=6, limit=Limit(selected='none', amount=1000, soc=50)), '3': TimeChargingPlan(active=True, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, False, False, False]), time=['00:00', '23:55'], name='Immer 35%', current=10, limit=Limit(selected='soc', amount=1000, soc=35))}), chargemode=Chargemode(selected='scheduled_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={'0': ScheduledChargingPlan(active=False, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, True, False, False, False, False, False]), current=14, name='Zielladen 80%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '1': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), current=14, name='Zielladen 95%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=95), time='05:40'), '2': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once='2023-09-26', weekly=[True, False, False, True, False, True, True]), current=14, name='Zielladen 75%, 7:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=75), time='05:40')}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=80))))
2023-12-08 04:02:31,312 - {control.data:266} - {INFO:MainThread} - ev0
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=['0003134583'], get=Get(soc=0, soc_timestamp=None, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:02:31,314 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Tesla Model Y (2022)', 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=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212', '2585087748'], get=Get(soc=49.0, soc_timestamp='12/08/2023, 01:29:15', force_soc_update=False, range=220.74, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:02:31,317 - {control.data:266} - {INFO:MainThread} - ev2
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Cupra Born 58kW', 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=18000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=2, ev_template=2, name='***AUTO2***', tag_id=['1655332554'], get=Get(soc=72, soc_timestamp='12/08/2023, 02:47:32', force_soc_update=False, range=205, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:02:31,319 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40)
2023-12-08 04:02:31,321 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', 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=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40)
2023-12-08 04:02:31,323 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', 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=18000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40)
2023-12-08 04:02:31,324 - {control.data:245} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=3), pv_charging=PvCharging(bat_prio=True, charging_power_reserve=200, control_range=[-230, 230], feed_in_yield=15000, phase_switch_delay=15, phases_to_use=0, rundown_power=1000, rundown_soc=25, switch_off_delay=60, switch_off_soc=25, switch_off_threshold=50, switch_on_delay=30, switch_on_soc=50, switch_on_threshold=1400), scheduled_charging=ScheduledCharging(phases_to_use=0), time_charging=TimeCharging(phases_to_use=3), unbalanced_load_limit=20, unbalanced_load=True), control_interval=10, extern_display_mode='local', extern=False, external_buttons_hw=False, grid_protection_active=False, grid_protection_configured=True, grid_protection_random_stop=0, grid_protection_timestamp='', mqtt_bridge=False, price_kwh=0.3528, range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=True, r1_active=False, r2_active=False))
2023-12-08 04:02:31,325 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2023-12-08 04:02:31,326 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2023-12-08 04:02:31,327 - {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 0x715cfa48>), led=Led(active=False), rfid=Rfid(active=True))
2023-12-08 04:02:31,328 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=0), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=293628.595, fault_state=0, fault_str='Kein Fehler.', power=0))
2023-12-08 04:02:31,330 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=9500), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=7816178.86, fault_state=0, fault_str='Kein Fehler.', power=-0.0))
2023-12-08 04:02:31,331 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=8109807.455, power=0.0))
2023-12-08 04:02:31,335 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2023-11-30 12:30:45 +0100 [285f5a5fb]', 'current_branch': 'Release', 'current_branch_commit': '2023-11-30 12:30:45 +0100 [285f5a5fb]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.2-Patch.1', 'datastore_version': 29, 'lastlivevaluesJson': {'timestamp': 1702004541, 'time': '04:02:21', 'grid': 0.316, 'house-power': 0.316, 'charging-all': 0.0, 'pv-all': -0.0, 'cp1-power': 0.0, 'ev1-soc': 49.0, 'ev2-soc': 72, 'bat-all-power': 0.0, 'bat-all-soc': 19}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2023-12-08 04:02:31,337 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2023-12-08 04:02:31,340 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2023-12-08 04:02:31,344 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2023-12-08 04:02:31,348 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2023-12-08 04:02:31,351 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2023-12-08 04:02:31,353 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2023-12-08 04:02:31,354 - {control.data:253} - {INFO:MainThread} - 

2023-12-08 04:02:31,355 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2023-12-08 04:02:31,356 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2023-12-08 04:02:31,362 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2023-12-08 04:02:31,366 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2023-12-08 04:02:31,368 - {control.counter:211} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: 0W
2023-12-08 04:02:31,369 - {control.counter:457} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf 0W
2023-12-08 04:02:31,371 - {control.chargepoint.chargepoint:277} - {INFO:MainThread} - LP 1: Die Ladung kann nicht gestartet werden, da die Einschaltschwelle nicht erreicht wird.
2023-12-08 04:02:31,373 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2023-12-08 04:02:31,378 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2023-12-08 04:02:31,386 - {control.process:111} - {INFO:MainThread} - LP1: set current 0 A, state NO_CHARGING_ALLOWED
2023-12-08 04:02:31,388 - {modules.common.component_context:24} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:02:31,434 - {control.counter:186} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2023-12-08 04:02:31,615 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2023-12-08 04:02:35,663 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2023-12-08 04:02:35,664 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2023-12-08 04:02:40,673 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2023-12-08 04:02:40,674 - {root:74} - {INFO:MainThread} - # ***Start*** 
2023-12-08 04:02:40,714 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x715cf340>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x7155e4a8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x715c75f8>}
2023-12-08 04:02:40,717 - {modules.common.component_context:24} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2023-12-08 04:02:40,726 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2023-12-08 04:02:40,727 - {modules.common.component_context:24} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:02:40,730 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2023-12-08 04:02:40,754 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-315, -187, -21, -106], Scale 0
2023-12-08 04:02:40,773 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 750
2023-12-08 04:02:40,777 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"cloud":{"connected":false},"input:0":{"id":0,"state":false},"mqtt":{"connected":false},"switch:0":{"id":0, "source":"loopback", "output":false, "apower":0.0, "voltage":242.8, "current":0.000, "aenergy":{"total":1505.625,"by_minute":[0.000,0.000,0.000],"minute_ts":1702004560},"temperature":{"tC":28.9, "tF":84.0}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:02","unixtime":1702004561,"uptime":1363889,"ram_size":248996,"ram_free":145268,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"beta":{"version":"1.1.0-beta2"},"stable":{"version":"1.0.8"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-68},"ws":{"connected":false}}

2023-12-08 04:02:40,783 - {modules.common.simcount._simcount:38} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1702004550.3041143, power=0, imported=0.0, exported=293628.5948715257)
2023-12-08 04:02:40,784 - {modules.common.simcount._calculate:13} - {DEBUG:device1} - time passed: 0.00291085, power1: 0, power2: 0
2023-12-08 04:02:40,784 - {modules.common.simcount._calculate:29} - {DEBUG:device1} - power did not change sign. Total energy: 0
2023-12-08 04:02:40,785 - {modules.common.simcount._simcount:47} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702004560.78317, power=0, imported=0.0, exported=293628.5948715257)
2023-12-08 04:02:40,787 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [10, 5, 11], Scale -1
2023-12-08 04:02:40,789 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:02:40,854 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [24280, 24254, 24065, 0, 0, 0, 0], Scale -2
2023-12-08 04:02:40,885 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4997], Scale -2
2023-12-08 04:02:40,905 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7129, 1710, 3899], Scale -2
2023-12-08 04:02:40,986 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4870433, 1797042, 2153375, 1456453, 6125848, 2531516, 1862787, 2267983], Scale 0
2023-12-08 04:02:40,986 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[1.0, 0.5, 1.1], powers=[187.0, 21.0, 106.0], voltages=[242.8, 242.54, 240.65], power_factors=[0.7129000000000001, 0.171, 0.3899], imported=6125848.0, exported=4870433.0, power=315.0, frequency=49.97)
2023-12-08 04:02:40,989 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2023-12-08 04:02:41,026 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [0], Scale 0
2023-12-08 04:02:41,055 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7789710], Scale 0
2023-12-08 04:02:41,075 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [28, 32, 32], Scale -2
2023-12-08 04:02:41,097 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4852], Scale -2
2023-12-08 04:02:41,097 - {modules.common.component_state:100} - {DEBUG:device0} - currents sign wrong [0.28, 0.32, 0.32]
2023-12-08 04:02:41,098 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.28, 0.32, 0.32], power=-0.0, exported=7789710.0, dc_power=48.52)
2023-12-08 04:02:41,100 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2023-12-08 04:02:41,181 - {modules.common.simcount._simcount:38} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1702004550.8990505, power=0.0, imported=143333.37604219164, exported=116864.5215890633)
2023-12-08 04:02:41,182 - {modules.common.simcount._calculate:13} - {DEBUG:device0} - time passed: 0.0028561, power1: 0, power2: 0
2023-12-08 04:02:41,182 - {modules.common.simcount._calculate:29} - {DEBUG:device0} - power did not change sign. Total energy: 0
2023-12-08 04:02:41,183 - {modules.common.simcount._simcount:47} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702004561.1809945, power=0.0, imported=143333.37604219164, exported=116864.5215890633)
2023-12-08 04:02:41,183 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=143333.37604219164, exported=116864.5215890633, power=0.0, soc=19.0)
2023-12-08 04:02:41,195 - {modules.common.component_context:24} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2023-12-08 04:02:41,196 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=143333.37604219164, exported=116864.5215890633, power=0.0, soc=19.0)
2023-12-08 04:02:41,232 - {modules.common.component_context:24} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:02:41,238 - {modules.common.component_context:24} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2023-12-08 04:02:41,238 - {modules.common.component_context:24} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2023-12-08 04:02:41,239 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-0.0, exported=7816178.86, dc_power=None)
2023-12-08 04:02:41,240 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:02:41,240 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-0.0, exported=7816178.86, dc_power=None)
2023-12-08 04:02:41,241 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:02:41,284 - {modules.common.component_context:24} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2023-12-08 04:02:41,285 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[1.0, 0.5, 1.1], powers=[187.0, 21.0, 106.0], voltages=[242.8, 242.54, 240.65], power_factors=[0.7129000000000001, 0.171, 0.3899], imported=6125848.0, exported=4870433.0, power=315.0, frequency=49.97)
2023-12-08 04:02:41,464 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2023-12-08 04:02:41,470 - {control.bat_all:173} - {INFO:MainThread} - -50W verbleibende Speicher-Leistung
2023-12-08 04:02:41,476 - {control.counter:138} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [62.0, 62.6, 61.9]A
2023-12-08 04:02:41,480 - {control.counter:161} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 42685.0W
2023-12-08 04:02:41,487 - {control.chargepoint.chargepoint:699} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2023-12-08 04:02:41,491 - {control.chargepoint.chargepoint:682} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2023-12-08 04:02:41,493 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 867.078343s, Dauer 1.380952380952381h, Termin heute verpasst: False
2023-12-08 04:02:41,495 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 91590.057912s, Dauer 0.18012422360248448h, Termin heute verpasst: False
2023-12-08 04:02:41,498 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -9075.7837s, Dauer 4.142857142857143h, Termin heute verpasst: False
2023-12-08 04:02:41,501 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 90293.157016s, Dauer 0.5403726708074534h, Termin heute verpasst: False
2023-12-08 04:02:41,503 - {control.ev:762} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2023-12-08 04:02:41,515 - {control.chargepoint.chargepoint:898} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.PV_CHARGING, Phasen: 1, Priorität: False, max. Ist-Strom: 0.1
2023-12-08 04:02:41,522 - {control.chargepoint.chargepoint:277} - {INFO:MainThread} - LP 1: Kein Sofortladen, da noch Zeit bis zum Zieltermin ist. Falls vorhanden, wird mit EVU-Überschuss geladen.
2023-12-08 04:02:41,537 - {modules.common.simcount._simcount:38} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1702004551.2762988, power=315.0, imported=2374317.3615722284, exported=0)
2023-12-08 04:02:41,545 - {modules.common.simcount._calculate:13} - {DEBUG:MainThread} - time passed: 0.00285036, power1: 315, power2: 315
2023-12-08 04:02:41,547 - {modules.common.simcount._calculate:29} - {DEBUG:MainThread} - power did not change sign. Total energy: 0.897862
2023-12-08 04:02:41,550 - {modules.common.simcount._simcount:47} - {DEBUG:MainThread} - imported: 0.897862 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702004561.5375838, power=315.0, imported=2374318.2594346716, exported=0)
2023-12-08 04:02:41,557 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=19, daily_exported=0.0, daily_imported=0.0, imported=143333.38, exported=116864.52, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2023-12-08 04:02:41,558 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=19, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=143333.38, exported=116864.52, power=0.0), set=Set(charging_power_left=-50, switch_on_soc_reached=False))
2023-12-08 04:02:41,559 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=97.16, daily_exported=0, power=0, imported=6926458.98, exported=0))
2023-12-08 04:02:41,562 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 95%, 06:00 Uhr', imported_at_plan_start=6926377.93, imported_instant_charging=None, limit=None, phases=1, prio=False, required_current=6, required_currents=[0.0, 6, 0.0], state=0, submode=<Chargemode.PV_CHARGING: 'pv_charging'>, 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=72), currents=[0.1, 0.0, 0.0], daily_imported=97.16, daily_exported=0, evse_current=0, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=6926458.98, phases_in_use=1, plug_state=True, power=0, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Kein Sofortladen, da noch Zeit bis zum Zieltermin ist. Falls vorhanden, wird mit EVU-Überschuss geladen.', voltages=[242.73, 240.96, 243.08]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=0, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='_', imported_at_mode_switch=6926377.93, imported_at_plugtime=6926377.93, imported_since_mode_switch=0, imported_since_plugged=81.05000000074506, range_charged=0, time_charged='00:00', timestamp_start_charging=None), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time='12/07/2023, 13:07:31', required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x70bb3c58>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB Carport', type='internal_openwb', template=1, connected_phases=3, phase_1=2, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=1))
2023-12-08 04:02:41,568 - {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-12-08 04:02:41,569 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=1, max_current_multi_phases=16, max_current_single_phase=20, name='RFID, 20A, 11kW', rfid_enabling=True, valid_tags=['0003134583', '0003526747', '1655332554', '2585022212', '2585087748'])
2023-12-08 04:02:41,570 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[63, 63, 63], max_total_power=43000), get=Get(powers=[187.0, 21.0, 106.0], currents=[1.0, 0.5, 1.1], voltages=[242.8, 242.54, 240.65], power_factors=[0.71, 0.17, 0.39], unbalanced_load=0, frequency=49.97, daily_exported=0.0, daily_imported=4073.0, imported=6125848.0, exported=4870433.0, fault_state=0, fault_str='Kein Fehler.', power=315.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=42685.0, raw_currents_left=[62.0, 62.6, 61.9], surplus_power_left=0, state_str=''))
2023-12-08 04:02:41,572 - {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': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=315.0, invalid_home_consumption=0, daily_yield_home_consumption=5488.8679565983, imported_home_consumption=2374318.2594346716, disengageable_smarthome_power=0))
2023-12-08 04:02:41,573 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2023-12-08 04:02:41,577 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Ladeprofil ***AUTO1***', disable_after_unplug=False, prio=False, load_default=True, time_charging=TimeCharging(active=True, plans={'0': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[True, True, True, True, False, False, True]), time=['22:00', '06:00'], name='Zeitladen 95%, So-Do 22:00-06:00 Uhr', current=16, limit=Limit(selected='soc', amount=1000, soc=95)), '1': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, True, True, False]), time=['22:00', '06:00'], name='Zeitladen 80%, Fr-Sa 22:00-06:00 Uhr', current=16, limit=Limit(selected='soc', amount=1000, soc=80))}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2023-12-08 04:02:41,578 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, time_charging=TimeCharging(active=True, plans={'2': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), time=['06:45', '07:00'], name='Klima 06:45-07:00 Uhr', current=6, limit=Limit(selected='none', amount=1000, soc=50)), '3': TimeChargingPlan(active=True, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, False, False, False]), time=['00:00', '23:55'], name='Immer 35%', current=10, limit=Limit(selected='soc', amount=1000, soc=35))}), chargemode=Chargemode(selected='scheduled_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={'0': ScheduledChargingPlan(active=False, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, True, False, False, False, False, False]), current=14, name='Zielladen 80%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '1': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), current=14, name='Zielladen 95%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=95), time='05:40'), '2': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once='2023-09-26', weekly=[True, False, False, True, False, True, True]), current=14, name='Zielladen 75%, 7:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=75), time='05:40')}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=80))))
2023-12-08 04:02:41,580 - {control.data:266} - {INFO:MainThread} - ev0
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=['0003134583'], get=Get(soc=0, soc_timestamp=None, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:02:41,581 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Tesla Model Y (2022)', 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=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212', '2585087748'], get=Get(soc=49.0, soc_timestamp='12/08/2023, 01:29:15', force_soc_update=False, range=220.74, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:02:41,586 - {control.data:266} - {INFO:MainThread} - ev2
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Cupra Born 58kW', 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=18000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=2, ev_template=2, name='***AUTO2***', tag_id=['1655332554'], get=Get(soc=72, soc_timestamp='12/08/2023, 02:47:32', force_soc_update=False, range=205, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:02:41,587 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40)
2023-12-08 04:02:41,592 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', 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=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40)
2023-12-08 04:02:41,593 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', 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=18000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40)
2023-12-08 04:02:41,598 - {control.data:245} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=3), pv_charging=PvCharging(bat_prio=True, charging_power_reserve=200, control_range=[-230, 230], feed_in_yield=15000, phase_switch_delay=15, phases_to_use=0, rundown_power=1000, rundown_soc=25, switch_off_delay=60, switch_off_soc=25, switch_off_threshold=50, switch_on_delay=30, switch_on_soc=50, switch_on_threshold=1400), scheduled_charging=ScheduledCharging(phases_to_use=0), time_charging=TimeCharging(phases_to_use=3), unbalanced_load_limit=20, unbalanced_load=True), control_interval=10, extern_display_mode='local', extern=False, external_buttons_hw=False, grid_protection_active=False, grid_protection_configured=True, grid_protection_random_stop=0, grid_protection_timestamp='', mqtt_bridge=False, price_kwh=0.3528, range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=True, r1_active=False, r2_active=False))
2023-12-08 04:02:41,605 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2023-12-08 04:02:41,612 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2023-12-08 04:02:41,619 - {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 0x70bf36d0>), led=Led(active=False), rfid=Rfid(active=True))
2023-12-08 04:02:41,624 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=0), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=293628.595, fault_state=0, fault_str='Kein Fehler.', power=0))
2023-12-08 04:02:41,626 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=9500), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=7816178.86, fault_state=0, fault_str='Kein Fehler.', power=-0.0))
2023-12-08 04:02:41,627 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=8109807.455, power=0.0))
2023-12-08 04:02:41,628 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2023-11-30 12:30:45 +0100 [285f5a5fb]', 'current_branch': 'Release', 'current_branch_commit': '2023-11-30 12:30:45 +0100 [285f5a5fb]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.2-Patch.1', 'datastore_version': 29, 'lastlivevaluesJson': {'timestamp': 1702004551, 'time': '04:02:31', 'grid': 0.315, 'house-power': 0.315, 'charging-all': 0.0, 'pv-all': -0.0, 'cp1-power': 0.0, 'ev1-soc': 49.0, 'ev2-soc': 72, 'bat-all-power': 0.0, 'bat-all-soc': 19}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2023-12-08 04:02:41,629 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2023-12-08 04:02:41,630 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2023-12-08 04:02:41,631 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2023-12-08 04:02:41,632 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2023-12-08 04:02:41,633 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2023-12-08 04:02:41,634 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2023-12-08 04:02:41,634 - {control.data:253} - {INFO:MainThread} - 

2023-12-08 04:02:41,635 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2023-12-08 04:02:41,637 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2023-12-08 04:02:41,639 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2023-12-08 04:02:41,642 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2023-12-08 04:02:41,644 - {control.counter:211} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: 0W
2023-12-08 04:02:41,645 - {control.counter:457} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf 0W
2023-12-08 04:02:41,646 - {control.chargepoint.chargepoint:277} - {INFO:MainThread} - LP 1: Die Ladung kann nicht gestartet werden, da die Einschaltschwelle nicht erreicht wird.
2023-12-08 04:02:41,647 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2023-12-08 04:02:41,647 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2023-12-08 04:02:41,654 - {control.process:111} - {INFO:MainThread} - LP1: set current 0 A, state NO_CHARGING_ALLOWED
2023-12-08 04:02:41,660 - {modules.common.component_context:24} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:02:41,707 - {control.counter:186} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2023-12-08 04:02:42,063 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2023-12-08 04:02:42,064 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2023-12-08 04:02:45,069 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2023-12-08 04:02:50,084 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2023-12-08 04:02:50,085 - {root:74} - {INFO:MainThread} - # ***Start*** 
2023-12-08 04:02:50,122 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x715cf340>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x7155e4a8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x715c75f8>}
2023-12-08 04:02:50,130 - {modules.common.component_context:24} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2023-12-08 04:02:50,137 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2023-12-08 04:02:50,131 - {modules.common.component_context:24} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:02:50,142 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2023-12-08 04:02:50,184 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 750
2023-12-08 04:02:50,186 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"cloud":{"connected":false},"input:0":{"id":0,"state":false},"mqtt":{"connected":false},"switch:0":{"id":0, "source":"loopback", "output":false, "apower":0.0, "voltage":242.8, "current":0.000, "aenergy":{"total":1505.625,"by_minute":[0.000,0.000,0.000],"minute_ts":1702004569},"temperature":{"tC":28.9, "tF":84.0}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:02","unixtime":1702004571,"uptime":1363898,"ram_size":248996,"ram_free":145268,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"beta":{"version":"1.1.0-beta2"},"stable":{"version":"1.0.8"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-70},"ws":{"connected":false}}

2023-12-08 04:02:50,188 - {modules.common.simcount._simcount:38} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1702004560.78317, power=0, imported=0.0, exported=293628.5948715257)
2023-12-08 04:02:50,189 - {modules.common.simcount._calculate:13} - {DEBUG:device1} - time passed: 0.00261253, power1: 0, power2: 0
2023-12-08 04:02:50,189 - {modules.common.simcount._calculate:29} - {DEBUG:device1} - power did not change sign. Total energy: 0
2023-12-08 04:02:50,190 - {modules.common.simcount._simcount:47} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702004570.188295, power=0, imported=0.0, exported=293628.5948715257)
2023-12-08 04:02:50,191 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:02:50,197 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-315, -187, -23, -104], Scale 0
2023-12-08 04:02:50,216 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [10, 5, 11], Scale -1
2023-12-08 04:02:50,233 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [24275, 24240, 24060, 0, 0, 0, 0], Scale -2
2023-12-08 04:02:50,345 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4997], Scale -2
2023-12-08 04:02:50,390 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7139, 1729, 3930], Scale -2
2023-12-08 04:02:50,426 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4870433, 1797042, 2153375, 1456453, 6125849, 2531517, 1862788, 2267983], Scale 0
2023-12-08 04:02:50,426 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[1.0, 0.5, 1.1], powers=[187.0, 23.0, 104.0], voltages=[242.75, 242.4, 240.6], power_factors=[0.7139, 0.1729, 0.393], imported=6125849.0, exported=4870433.0, power=315.0, frequency=49.97)
2023-12-08 04:02:50,428 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2023-12-08 04:02:50,444 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [0], Scale 0
2023-12-08 04:02:50,464 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7789710], Scale 0
2023-12-08 04:02:50,486 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [27, 29, 30], Scale -2
2023-12-08 04:02:50,504 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4362], Scale -2
2023-12-08 04:02:50,505 - {modules.common.component_state:100} - {DEBUG:device0} - currents sign wrong [0.27, 0.29, 0.3]
2023-12-08 04:02:50,505 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.27, 0.29, 0.3], power=-0.0, exported=7789710.0, dc_power=43.62)
2023-12-08 04:02:50,518 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2023-12-08 04:02:50,595 - {modules.common.simcount._simcount:38} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1702004561.1809945, power=0.0, imported=143333.37604219164, exported=116864.5215890633)
2023-12-08 04:02:50,596 - {modules.common.simcount._calculate:13} - {DEBUG:device0} - time passed: 0.00261506, power1: 0, power2: 0
2023-12-08 04:02:50,596 - {modules.common.simcount._calculate:29} - {DEBUG:device0} - power did not change sign. Total energy: 0
2023-12-08 04:02:50,596 - {modules.common.simcount._simcount:47} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702004570.5952058, power=0.0, imported=143333.37604219164, exported=116864.5215890633)
2023-12-08 04:02:50,597 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=143333.37604219164, exported=116864.5215890633, power=0.0, soc=19.0)
2023-12-08 04:02:50,605 - {modules.common.component_context:24} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2023-12-08 04:02:50,607 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=143333.37604219164, exported=116864.5215890633, power=0.0, soc=19.0)
2023-12-08 04:02:50,662 - {modules.common.component_context:24} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:02:50,663 - {modules.common.component_context:24} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2023-12-08 04:02:50,664 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-0.0, exported=7816178.86, dc_power=None)
2023-12-08 04:02:50,665 - {modules.common.component_context:24} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2023-12-08 04:02:50,665 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-0.0, exported=7816178.86, dc_power=None)
2023-12-08 04:02:50,666 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:02:50,668 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:02:50,711 - {modules.common.component_context:24} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2023-12-08 04:02:50,712 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[1.0, 0.5, 1.1], powers=[187.0, 23.0, 104.0], voltages=[242.75, 242.4, 240.6], power_factors=[0.7139, 0.1729, 0.393], imported=6125849.0, exported=4870433.0, power=315.0, frequency=49.97)
2023-12-08 04:02:50,882 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2023-12-08 04:02:50,888 - {control.bat_all:173} - {INFO:MainThread} - -50W verbleibende Speicher-Leistung
2023-12-08 04:02:50,905 - {control.counter:138} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [62.0, 62.6, 61.9]A
2023-12-08 04:02:50,915 - {control.counter:161} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 42685.0W
2023-12-08 04:02:50,931 - {control.chargepoint.chargepoint:699} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2023-12-08 04:02:50,938 - {control.chargepoint.chargepoint:682} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2023-12-08 04:02:50,944 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 857.627103s, Dauer 1.380952380952381h, Termin heute verpasst: False
2023-12-08 04:02:50,946 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 91580.606392s, Dauer 0.18012422360248448h, Termin heute verpasst: False
2023-12-08 04:02:50,949 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -9085.234593s, Dauer 4.142857142857143h, Termin heute verpasst: False
2023-12-08 04:02:50,957 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 90283.701694s, Dauer 0.5403726708074534h, Termin heute verpasst: False
2023-12-08 04:02:50,960 - {control.ev:762} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2023-12-08 04:02:50,969 - {control.chargepoint.chargepoint:898} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.PV_CHARGING, Phasen: 1, Priorität: False, max. Ist-Strom: 0.1
2023-12-08 04:02:50,971 - {control.chargepoint.chargepoint:277} - {INFO:MainThread} - LP 1: Kein Sofortladen, da noch Zeit bis zum Zieltermin ist. Falls vorhanden, wird mit EVU-Überschuss geladen.
2023-12-08 04:02:50,996 - {modules.common.simcount._simcount:38} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1702004561.5375838, power=315.0, imported=2374318.2594346716, exported=0)
2023-12-08 04:02:50,998 - {modules.common.simcount._calculate:13} - {DEBUG:MainThread} - time passed: 0.00262742, power1: 315, power2: 315
2023-12-08 04:02:51,000 - {modules.common.simcount._calculate:29} - {DEBUG:MainThread} - power did not change sign. Total energy: 0.827638
2023-12-08 04:02:51,002 - {modules.common.simcount._simcount:47} - {DEBUG:MainThread} - imported: 0.827638 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702004570.9962986, power=315.0, imported=2374319.08707221, exported=0)
2023-12-08 04:02:51,012 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=19, daily_exported=0.0, daily_imported=0.0, imported=143333.38, exported=116864.52, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2023-12-08 04:02:51,014 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=19, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=143333.38, exported=116864.52, power=0.0), set=Set(charging_power_left=-50, switch_on_soc_reached=False))
2023-12-08 04:02:51,019 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=97.16, daily_exported=0, power=0, imported=6926458.98, exported=0))
2023-12-08 04:02:51,028 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 95%, 06:00 Uhr', imported_at_plan_start=6926377.93, imported_instant_charging=None, limit=None, phases=1, prio=False, required_current=6, required_currents=[0.0, 6, 0.0], state=0, submode=<Chargemode.PV_CHARGING: 'pv_charging'>, 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=72), currents=[0.1, 0.0, 0.0], daily_imported=97.16, daily_exported=0, evse_current=0, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=6926458.98, phases_in_use=1, plug_state=True, power=0, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Kein Sofortladen, da noch Zeit bis zum Zieltermin ist. Falls vorhanden, wird mit EVU-Überschuss geladen.', voltages=[242.99, 241.1, 243.29]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=0, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='_', imported_at_mode_switch=6926377.93, imported_at_plugtime=6926377.93, imported_since_mode_switch=0, imported_since_plugged=81.05000000074506, range_charged=0, time_charged='00:00', timestamp_start_charging=None), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time='12/07/2023, 13:07:31', required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x715bff10>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB Carport', type='internal_openwb', template=1, connected_phases=3, phase_1=2, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=1))
2023-12-08 04:02:51,030 - {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-12-08 04:02:51,037 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=1, max_current_multi_phases=16, max_current_single_phase=20, name='RFID, 20A, 11kW', rfid_enabling=True, valid_tags=['0003134583', '0003526747', '1655332554', '2585022212', '2585087748'])
2023-12-08 04:02:51,041 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[63, 63, 63], max_total_power=43000), get=Get(powers=[187.0, 23.0, 104.0], currents=[1.0, 0.5, 1.1], voltages=[242.75, 242.4, 240.6], power_factors=[0.71, 0.17, 0.39], unbalanced_load=0, frequency=49.97, daily_exported=0.0, daily_imported=4073.0, imported=6125849.0, exported=4870433.0, fault_state=0, fault_str='Kein Fehler.', power=315.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=42685.0, raw_currents_left=[62.0, 62.6, 61.9], surplus_power_left=0, state_str=''))
2023-12-08 04:02:51,043 - {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': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=315.0, invalid_home_consumption=0, daily_yield_home_consumption=5488.8679565983, imported_home_consumption=2374319.08707221, disengageable_smarthome_power=0))
2023-12-08 04:02:51,047 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2023-12-08 04:02:51,053 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Ladeprofil ***AUTO1***', disable_after_unplug=False, prio=False, load_default=True, time_charging=TimeCharging(active=True, plans={'0': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[True, True, True, True, False, False, True]), time=['22:00', '06:00'], name='Zeitladen 95%, So-Do 22:00-06:00 Uhr', current=16, limit=Limit(selected='soc', amount=1000, soc=95)), '1': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, True, True, False]), time=['22:00', '06:00'], name='Zeitladen 80%, Fr-Sa 22:00-06:00 Uhr', current=16, limit=Limit(selected='soc', amount=1000, soc=80))}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2023-12-08 04:02:51,055 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, time_charging=TimeCharging(active=True, plans={'2': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), time=['06:45', '07:00'], name='Klima 06:45-07:00 Uhr', current=6, limit=Limit(selected='none', amount=1000, soc=50)), '3': TimeChargingPlan(active=True, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, False, False, False]), time=['00:00', '23:55'], name='Immer 35%', current=10, limit=Limit(selected='soc', amount=1000, soc=35))}), chargemode=Chargemode(selected='scheduled_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={'0': ScheduledChargingPlan(active=False, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, True, False, False, False, False, False]), current=14, name='Zielladen 80%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '1': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), current=14, name='Zielladen 95%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=95), time='05:40'), '2': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once='2023-09-26', weekly=[True, False, False, True, False, True, True]), current=14, name='Zielladen 75%, 7:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=75), time='05:40')}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=80))))
2023-12-08 04:02:51,056 - {control.data:266} - {INFO:MainThread} - ev0
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=['0003134583'], get=Get(soc=0, soc_timestamp=None, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:02:51,060 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Tesla Model Y (2022)', 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=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212', '2585087748'], get=Get(soc=49.0, soc_timestamp='12/08/2023, 01:29:15', force_soc_update=False, range=220.74, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:02:51,061 - {control.data:266} - {INFO:MainThread} - ev2
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Cupra Born 58kW', 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=18000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=2, ev_template=2, name='***AUTO2***', tag_id=['1655332554'], get=Get(soc=72, soc_timestamp='12/08/2023, 02:47:32', force_soc_update=False, range=205, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:02:51,062 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40)
2023-12-08 04:02:51,063 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', 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=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40)
2023-12-08 04:02:51,067 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', 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=18000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40)
2023-12-08 04:02:51,069 - {control.data:245} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=3), pv_charging=PvCharging(bat_prio=True, charging_power_reserve=200, control_range=[-230, 230], feed_in_yield=15000, phase_switch_delay=15, phases_to_use=0, rundown_power=1000, rundown_soc=25, switch_off_delay=60, switch_off_soc=25, switch_off_threshold=50, switch_on_delay=30, switch_on_soc=50, switch_on_threshold=1400), scheduled_charging=ScheduledCharging(phases_to_use=0), time_charging=TimeCharging(phases_to_use=3), unbalanced_load_limit=20, unbalanced_load=True), control_interval=10, extern_display_mode='local', extern=False, external_buttons_hw=False, grid_protection_active=False, grid_protection_configured=True, grid_protection_random_stop=0, grid_protection_timestamp='', mqtt_bridge=False, price_kwh=0.3528, range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=True, r1_active=False, r2_active=False))
2023-12-08 04:02:51,075 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2023-12-08 04:02:51,076 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2023-12-08 04:02:51,078 - {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 0x715cfb38>), led=Led(active=False), rfid=Rfid(active=True))
2023-12-08 04:02:51,081 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=0), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=293628.595, fault_state=0, fault_str='Kein Fehler.', power=0))
2023-12-08 04:02:51,082 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=9500), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=7816178.86, fault_state=0, fault_str='Kein Fehler.', power=-0.0))
2023-12-08 04:02:51,083 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=8109807.455, power=0.0))
2023-12-08 04:02:51,084 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2023-11-30 12:30:45 +0100 [285f5a5fb]', 'current_branch': 'Release', 'current_branch_commit': '2023-11-30 12:30:45 +0100 [285f5a5fb]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.2-Patch.1', 'datastore_version': 29, 'lastlivevaluesJson': {'timestamp': 1702004561, 'time': '04:02:41', 'grid': 0.315, 'house-power': 0.315, 'charging-all': 0.0, 'pv-all': -0.0, 'cp1-power': 0.0, 'ev1-soc': 49.0, 'ev2-soc': 72, 'bat-all-power': 0.0, 'bat-all-soc': 19}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2023-12-08 04:02:51,087 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2023-12-08 04:02:51,089 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2023-12-08 04:02:51,093 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2023-12-08 04:02:51,097 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2023-12-08 04:02:51,098 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2023-12-08 04:02:51,100 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2023-12-08 04:02:51,101 - {control.data:253} - {INFO:MainThread} - 

2023-12-08 04:02:51,105 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2023-12-08 04:02:51,106 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2023-12-08 04:02:51,109 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2023-12-08 04:02:51,113 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2023-12-08 04:02:51,116 - {control.counter:211} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: 0W
2023-12-08 04:02:51,117 - {control.counter:457} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf 0W
2023-12-08 04:02:51,119 - {control.chargepoint.chargepoint:277} - {INFO:MainThread} - LP 1: Die Ladung kann nicht gestartet werden, da die Einschaltschwelle nicht erreicht wird.
2023-12-08 04:02:51,122 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2023-12-08 04:02:51,123 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2023-12-08 04:02:51,135 - {control.process:111} - {INFO:MainThread} - LP1: set current 0 A, state NO_CHARGING_ALLOWED
2023-12-08 04:02:51,143 - {modules.common.component_context:24} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:02:51,175 - {control.counter:186} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2023-12-08 04:02:51,474 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2023-12-08 04:02:51,476 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2023-12-08 04:02:55,485 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2023-12-08 04:02:55,486 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2023-12-08 04:03:00,501 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2023-12-08 04:03:00,501 - {root:74} - {INFO:MainThread} - # ***Start*** 
2023-12-08 04:03:00,542 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x715cf340>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x7155e4a8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x715c75f8>}
2023-12-08 04:03:00,543 - {modules.common.component_context:24} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2023-12-08 04:03:00,544 - {modules.common.component_context:24} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:03:00,551 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2023-12-08 04:03:00,554 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2023-12-08 04:03:00,594 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 750
2023-12-08 04:03:00,595 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"cloud":{"connected":false},"input:0":{"id":0,"state":false},"mqtt":{"connected":false},"switch:0":{"id":0, "source":"loopback", "output":false, "apower":0.0, "voltage":242.9, "current":0.000, "aenergy":{"total":1505.625,"by_minute":[0.000,0.000,0.000],"minute_ts":1702004580},"temperature":{"tC":28.9, "tF":84.0}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:03","unixtime":1702004581,"uptime":1363908,"ram_size":248944,"ram_free":144676,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"beta":{"version":"1.1.0-beta2"},"stable":{"version":"1.0.8"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-68},"ws":{"connected":false}}

2023-12-08 04:03:00,597 - {modules.common.simcount._simcount:38} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1702004570.188295, power=0, imported=0.0, exported=293628.5948715257)
2023-12-08 04:03:00,598 - {modules.common.simcount._calculate:13} - {DEBUG:device1} - time passed: 0.00289145, power1: 0, power2: 0
2023-12-08 04:03:00,598 - {modules.common.simcount._calculate:29} - {DEBUG:device1} - power did not change sign. Total energy: 0
2023-12-08 04:03:00,598 - {modules.common.simcount._simcount:47} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702004580.5975, power=0, imported=0.0, exported=293628.5948715257)
2023-12-08 04:03:00,600 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:03:00,615 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-315, -186, -21, -107], Scale 0
2023-12-08 04:03:00,634 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [10, 5, 11], Scale -1
2023-12-08 04:03:00,655 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [24270, 24242, 24055, 0, 0, 0, 0], Scale -2
2023-12-08 04:03:00,765 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4997], Scale -2
2023-12-08 04:03:00,794 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7149, 1739, 3880], Scale -2
2023-12-08 04:03:00,827 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4870433, 1797042, 2153375, 1456453, 6125850, 2531517, 1862788, 2267983], Scale 0
2023-12-08 04:03:00,828 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[1.0, 0.5, 1.1], powers=[186.0, 21.0, 107.0], voltages=[242.70000000000002, 242.42000000000002, 240.55], power_factors=[0.7149, 0.1739, 0.38800000000000007], imported=6125850.0, exported=4870433.0, power=315.0, frequency=49.97)
2023-12-08 04:03:00,831 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2023-12-08 04:03:00,856 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [0], Scale 0
2023-12-08 04:03:00,885 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7789710], Scale 0
2023-12-08 04:03:00,906 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [29, 32, 32], Scale -2
2023-12-08 04:03:00,965 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4915], Scale -2
2023-12-08 04:03:00,966 - {modules.common.component_state:100} - {DEBUG:device0} - currents sign wrong [0.29, 0.32, 0.32]
2023-12-08 04:03:00,966 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.29, 0.32, 0.32], power=-0.0, exported=7789710.0, dc_power=49.15)
2023-12-08 04:03:00,969 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2023-12-08 04:03:01,054 - {modules.common.simcount._simcount:38} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1702004570.5952058, power=0.0, imported=143333.37604219164, exported=116864.5215890633)
2023-12-08 04:03:01,056 - {modules.common.simcount._calculate:13} - {DEBUG:device0} - time passed: 0.00290547, power1: 0, power2: 0
2023-12-08 04:03:01,056 - {modules.common.simcount._calculate:29} - {DEBUG:device0} - power did not change sign. Total energy: 0
2023-12-08 04:03:01,057 - {modules.common.simcount._simcount:47} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702004581.0548992, power=0.0, imported=143333.37604219164, exported=116864.5215890633)
2023-12-08 04:03:01,058 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=143333.37604219164, exported=116864.5215890633, power=0.0, soc=19.0)
2023-12-08 04:03:01,070 - {modules.common.component_context:24} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2023-12-08 04:03:01,071 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=143333.37604219164, exported=116864.5215890633, power=0.0, soc=19.0)
2023-12-08 04:03:01,126 - {modules.common.component_context:24} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:03:01,128 - {modules.common.component_context:24} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2023-12-08 04:03:01,129 - {modules.common.component_context:24} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2023-12-08 04:03:01,129 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-0.0, exported=7816178.86, dc_power=None)
2023-12-08 04:03:01,130 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:03:01,131 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-0.0, exported=7816178.86, dc_power=None)
2023-12-08 04:03:01,132 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:03:01,185 - {modules.common.component_context:24} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2023-12-08 04:03:01,187 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[1.0, 0.5, 1.1], powers=[186.0, 21.0, 107.0], voltages=[242.70000000000002, 242.42000000000002, 240.55], power_factors=[0.7149, 0.1739, 0.38800000000000007], imported=6125850.0, exported=4870433.0, power=315.0, frequency=49.97)
2023-12-08 04:03:01,375 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2023-12-08 04:03:01,376 - {control.bat_all:173} - {INFO:MainThread} - -50W verbleibende Speicher-Leistung
2023-12-08 04:03:01,382 - {control.counter:138} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [62.0, 62.6, 61.9]A
2023-12-08 04:03:01,383 - {control.counter:161} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 42685.0W
2023-12-08 04:03:01,386 - {control.chargepoint.chargepoint:699} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2023-12-08 04:03:01,387 - {control.chargepoint.chargepoint:682} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2023-12-08 04:03:01,390 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 847.181902s, Dauer 1.380952380952381h, Termin heute verpasst: False
2023-12-08 04:03:01,391 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 91570.161806s, Dauer 0.18012422360248448h, Termin heute verpasst: False
2023-12-08 04:03:01,393 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -9095.678817s, Dauer 4.142857142857143h, Termin heute verpasst: False
2023-12-08 04:03:01,395 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 90273.263549s, Dauer 0.5403726708074534h, Termin heute verpasst: False
2023-12-08 04:03:01,397 - {control.ev:762} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2023-12-08 04:03:01,405 - {control.chargepoint.chargepoint:898} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.PV_CHARGING, Phasen: 1, Priorität: False, max. Ist-Strom: 0.1
2023-12-08 04:03:01,411 - {control.chargepoint.chargepoint:277} - {INFO:MainThread} - LP 1: Kein Sofortladen, da noch Zeit bis zum Zieltermin ist. Falls vorhanden, wird mit EVU-Überschuss geladen.
2023-12-08 04:03:01,416 - {modules.common.simcount._simcount:38} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1702004570.9962986, power=315.0, imported=2374319.08707221, exported=0)
2023-12-08 04:03:01,422 - {modules.common.simcount._calculate:13} - {DEBUG:MainThread} - time passed: 0.00289457, power1: 315, power2: 315
2023-12-08 04:03:01,425 - {modules.common.simcount._calculate:29} - {DEBUG:MainThread} - power did not change sign. Total energy: 0.91179
2023-12-08 04:03:01,426 - {modules.common.simcount._simcount:47} - {DEBUG:MainThread} - imported: 0.91179 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702004581.4167545, power=315.0, imported=2374319.998862104, exported=0)
2023-12-08 04:03:01,431 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=19, daily_exported=0.0, daily_imported=0.0, imported=143333.38, exported=116864.52, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2023-12-08 04:03:01,438 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=19, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=143333.38, exported=116864.52, power=0.0), set=Set(charging_power_left=-50, switch_on_soc_reached=False))
2023-12-08 04:03:01,439 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=97.16, daily_exported=0, power=0, imported=6926458.98, exported=0))
2023-12-08 04:03:01,444 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 95%, 06:00 Uhr', imported_at_plan_start=6926377.93, imported_instant_charging=None, limit=None, phases=1, prio=False, required_current=6, required_currents=[0.0, 6, 0.0], state=0, submode=<Chargemode.PV_CHARGING: 'pv_charging'>, 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=72), currents=[0.1, 0.0, 0.0], daily_imported=97.16, daily_exported=0, evse_current=0, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=6926458.98, phases_in_use=1, plug_state=True, power=0, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Kein Sofortladen, da noch Zeit bis zum Zieltermin ist. Falls vorhanden, wird mit EVU-Überschuss geladen.', voltages=[242.87, 241.01, 243.17]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=0, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='_', imported_at_mode_switch=6926377.93, imported_at_plugtime=6926377.93, imported_since_mode_switch=0, imported_since_plugged=81.05000000074506, range_charged=0, time_charged='00:00', timestamp_start_charging=None), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time='12/07/2023, 13:07:31', required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x70bf0970>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB Carport', type='internal_openwb', template=1, connected_phases=3, phase_1=2, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=1))
2023-12-08 04:03:01,445 - {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-12-08 04:03:01,446 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=1, max_current_multi_phases=16, max_current_single_phase=20, name='RFID, 20A, 11kW', rfid_enabling=True, valid_tags=['0003134583', '0003526747', '1655332554', '2585022212', '2585087748'])
2023-12-08 04:03:01,446 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[63, 63, 63], max_total_power=43000), get=Get(powers=[186.0, 21.0, 107.0], currents=[1.0, 0.5, 1.1], voltages=[242.7, 242.42, 240.55], power_factors=[0.71, 0.17, 0.39], unbalanced_load=0, frequency=49.97, daily_exported=0.0, daily_imported=4073.0, imported=6125850.0, exported=4870433.0, fault_state=0, fault_str='Kein Fehler.', power=315.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=42685.0, raw_currents_left=[62.0, 62.6, 61.9], surplus_power_left=0, state_str=''))
2023-12-08 04:03:01,448 - {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': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=315.0, invalid_home_consumption=0, daily_yield_home_consumption=5488.8679565983, imported_home_consumption=2374319.998862104, disengageable_smarthome_power=0))
2023-12-08 04:03:01,452 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2023-12-08 04:03:01,454 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Ladeprofil ***AUTO1***', disable_after_unplug=False, prio=False, load_default=True, time_charging=TimeCharging(active=True, plans={'0': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[True, True, True, True, False, False, True]), time=['22:00', '06:00'], name='Zeitladen 95%, So-Do 22:00-06:00 Uhr', current=16, limit=Limit(selected='soc', amount=1000, soc=95)), '1': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, True, True, False]), time=['22:00', '06:00'], name='Zeitladen 80%, Fr-Sa 22:00-06:00 Uhr', current=16, limit=Limit(selected='soc', amount=1000, soc=80))}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2023-12-08 04:03:01,457 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, time_charging=TimeCharging(active=True, plans={'2': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), time=['06:45', '07:00'], name='Klima 06:45-07:00 Uhr', current=6, limit=Limit(selected='none', amount=1000, soc=50)), '3': TimeChargingPlan(active=True, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, False, False, False]), time=['00:00', '23:55'], name='Immer 35%', current=10, limit=Limit(selected='soc', amount=1000, soc=35))}), chargemode=Chargemode(selected='scheduled_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={'0': ScheduledChargingPlan(active=False, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, True, False, False, False, False, False]), current=14, name='Zielladen 80%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '1': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), current=14, name='Zielladen 95%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=95), time='05:40'), '2': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once='2023-09-26', weekly=[True, False, False, True, False, True, True]), current=14, name='Zielladen 75%, 7:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=75), time='05:40')}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=80))))
2023-12-08 04:03:01,457 - {control.data:266} - {INFO:MainThread} - ev0
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=['0003134583'], get=Get(soc=0, soc_timestamp=None, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:03:01,459 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Tesla Model Y (2022)', 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=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212', '2585087748'], get=Get(soc=49.0, soc_timestamp='12/08/2023, 01:29:15', force_soc_update=False, range=220.74, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:03:01,460 - {control.data:266} - {INFO:MainThread} - ev2
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Cupra Born 58kW', 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=18000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=2, ev_template=2, name='***AUTO2***', tag_id=['1655332554'], get=Get(soc=72, soc_timestamp='12/08/2023, 02:47:32', force_soc_update=False, range=205, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:03:01,460 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40)
2023-12-08 04:03:01,462 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', 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=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40)
2023-12-08 04:03:01,463 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', 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=18000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40)
2023-12-08 04:03:01,464 - {control.data:245} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=3), pv_charging=PvCharging(bat_prio=True, charging_power_reserve=200, control_range=[-230, 230], feed_in_yield=15000, phase_switch_delay=15, phases_to_use=0, rundown_power=1000, rundown_soc=25, switch_off_delay=60, switch_off_soc=25, switch_off_threshold=50, switch_on_delay=30, switch_on_soc=50, switch_on_threshold=1400), scheduled_charging=ScheduledCharging(phases_to_use=0), time_charging=TimeCharging(phases_to_use=3), unbalanced_load_limit=20, unbalanced_load=True), control_interval=10, extern_display_mode='local', extern=False, external_buttons_hw=False, grid_protection_active=False, grid_protection_configured=True, grid_protection_random_stop=0, grid_protection_timestamp='', mqtt_bridge=False, price_kwh=0.3528, range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=True, r1_active=False, r2_active=False))
2023-12-08 04:03:01,465 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2023-12-08 04:03:01,466 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2023-12-08 04:03:01,467 - {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 0x715cf1a8>), led=Led(active=False), rfid=Rfid(active=True))
2023-12-08 04:03:01,474 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=0), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=293628.595, fault_state=0, fault_str='Kein Fehler.', power=0))
2023-12-08 04:03:01,476 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=9500), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=7816178.86, fault_state=0, fault_str='Kein Fehler.', power=-0.0))
2023-12-08 04:03:01,478 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=8109807.455, power=0.0))
2023-12-08 04:03:01,480 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2023-11-30 12:30:45 +0100 [285f5a5fb]', 'current_branch': 'Release', 'current_branch_commit': '2023-11-30 12:30:45 +0100 [285f5a5fb]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.2-Patch.1', 'datastore_version': 29, 'lastlivevaluesJson': {'timestamp': 1702004571, 'time': '04:02:51', 'grid': 0.315, 'house-power': 0.315, 'charging-all': 0.0, 'pv-all': -0.0, 'cp1-power': 0.0, 'ev1-soc': 49.0, 'ev2-soc': 72, 'bat-all-power': 0.0, 'bat-all-soc': 19}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2023-12-08 04:03:01,483 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2023-12-08 04:03:01,486 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2023-12-08 04:03:01,487 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2023-12-08 04:03:01,488 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2023-12-08 04:03:01,491 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2023-12-08 04:03:01,492 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2023-12-08 04:03:01,493 - {control.data:253} - {INFO:MainThread} - 

2023-12-08 04:03:01,496 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2023-12-08 04:03:01,497 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2023-12-08 04:03:01,500 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2023-12-08 04:03:01,505 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2023-12-08 04:03:01,508 - {control.counter:211} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: 0W
2023-12-08 04:03:01,509 - {control.counter:457} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf 0W
2023-12-08 04:03:01,511 - {control.chargepoint.chargepoint:277} - {INFO:MainThread} - LP 1: Die Ladung kann nicht gestartet werden, da die Einschaltschwelle nicht erreicht wird.
2023-12-08 04:03:01,512 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2023-12-08 04:03:01,513 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2023-12-08 04:03:01,518 - {control.process:111} - {INFO:MainThread} - LP1: set current 0 A, state NO_CHARGING_ALLOWED
2023-12-08 04:03:01,523 - {modules.common.component_context:24} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:03:01,543 - {control.counter:186} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2023-12-08 04:03:01,744 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2023-12-08 04:03:05,772 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2023-12-08 04:03:05,773 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2023-12-08 04:03:10,782 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2023-12-08 04:03:10,783 - {root:74} - {INFO:MainThread} - # ***Start*** 
2023-12-08 04:03:10,830 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x715cf340>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x7155e4a8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x715c75f8>}
2023-12-08 04:03:10,832 - {modules.common.component_context:24} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2023-12-08 04:03:10,840 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2023-12-08 04:03:10,841 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2023-12-08 04:03:10,844 - {modules.common.component_context:24} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:03:10,877 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-313, -186, -21, -105], Scale 0
2023-12-08 04:03:10,885 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 750
2023-12-08 04:03:10,889 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"cloud":{"connected":false},"input:0":{"id":0,"state":false},"mqtt":{"connected":false},"switch:0":{"id":0, "source":"loopback", "output":false, "apower":0.0, "voltage":242.8, "current":0.000, "aenergy":{"total":1505.625,"by_minute":[0.000,0.000,0.000],"minute_ts":1702004590},"temperature":{"tC":28.8, "tF":83.9}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:03","unixtime":1702004591,"uptime":1363919,"ram_size":248944,"ram_free":144680,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"beta":{"version":"1.1.0-beta2"},"stable":{"version":"1.0.8"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-68},"ws":{"connected":false}}

2023-12-08 04:03:10,892 - {modules.common.simcount._simcount:38} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1702004580.5975, power=0, imported=0.0, exported=293628.5948715257)
2023-12-08 04:03:10,893 - {modules.common.simcount._calculate:13} - {DEBUG:device1} - time passed: 0.00285965, power1: 0, power2: 0
2023-12-08 04:03:10,894 - {modules.common.simcount._calculate:29} - {DEBUG:device1} - power did not change sign. Total energy: 0
2023-12-08 04:03:10,895 - {modules.common.simcount._simcount:47} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702004590.892256, power=0, imported=0.0, exported=293628.5948715257)
2023-12-08 04:03:10,897 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [10, 5, 11], Scale -1
2023-12-08 04:03:10,898 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:03:10,937 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [24268, 24237, 24053, 0, 0, 0, 0], Scale -2
2023-12-08 04:03:10,965 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4997], Scale -2
2023-12-08 04:03:10,984 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7129, 1720, 3989], Scale -2
2023-12-08 04:03:11,005 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4870433, 1797042, 2153375, 1456453, 6125851, 2531518, 1862788, 2267983], Scale 0
2023-12-08 04:03:11,006 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[1.0, 0.5, 1.1], powers=[186.0, 21.0, 105.0], voltages=[242.68, 242.37, 240.53], power_factors=[0.7129000000000001, 0.172, 0.39890000000000003], imported=6125851.0, exported=4870433.0, power=313.0, frequency=49.97)
2023-12-08 04:03:11,008 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2023-12-08 04:03:11,024 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [0], Scale 0
2023-12-08 04:03:11,064 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7789710], Scale 0
2023-12-08 04:03:11,084 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [27, 29, 31], Scale -2
2023-12-08 04:03:11,147 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4841], Scale -2
2023-12-08 04:03:11,148 - {modules.common.component_state:100} - {DEBUG:device0} - currents sign wrong [0.27, 0.29, 0.31]
2023-12-08 04:03:11,148 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.27, 0.29, 0.31], power=-0.0, exported=7789710.0, dc_power=48.410000000000004)
2023-12-08 04:03:11,150 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2023-12-08 04:03:11,203 - {modules.common.simcount._simcount:38} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1702004581.0548992, power=0.0, imported=143333.37604219164, exported=116864.5215890633)
2023-12-08 04:03:11,204 - {modules.common.simcount._calculate:13} - {DEBUG:device0} - time passed: 0.00281913, power1: 0, power2: 0
2023-12-08 04:03:11,204 - {modules.common.simcount._calculate:29} - {DEBUG:device0} - power did not change sign. Total energy: 0
2023-12-08 04:03:11,205 - {modules.common.simcount._simcount:47} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702004591.2037568, power=0.0, imported=143333.37604219164, exported=116864.5215890633)
2023-12-08 04:03:11,206 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=143333.37604219164, exported=116864.5215890633, power=0.0, soc=19.0)
2023-12-08 04:03:11,219 - {modules.common.component_context:24} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2023-12-08 04:03:11,220 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=143333.37604219164, exported=116864.5215890633, power=0.0, soc=19.0)
2023-12-08 04:03:11,250 - {modules.common.component_context:24} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:03:11,251 - {modules.common.component_context:24} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2023-12-08 04:03:11,252 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-0.0, exported=7816178.86, dc_power=None)
2023-12-08 04:03:11,252 - {modules.common.component_context:24} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2023-12-08 04:03:11,252 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-0.0, exported=7816178.86, dc_power=None)
2023-12-08 04:03:11,253 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:03:11,255 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:03:11,299 - {modules.common.component_context:24} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2023-12-08 04:03:11,300 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[1.0, 0.5, 1.1], powers=[186.0, 21.0, 105.0], voltages=[242.68, 242.37, 240.53], power_factors=[0.7129000000000001, 0.172, 0.39890000000000003], imported=6125851.0, exported=4870433.0, power=313.0, frequency=49.97)
2023-12-08 04:03:11,467 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2023-12-08 04:03:11,469 - {control.bat_all:173} - {INFO:MainThread} - -50W verbleibende Speicher-Leistung
2023-12-08 04:03:11,472 - {control.counter:138} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [62.0, 62.6, 61.9]A
2023-12-08 04:03:11,473 - {control.counter:161} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 42687.0W
2023-12-08 04:03:11,476 - {control.chargepoint.chargepoint:699} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2023-12-08 04:03:11,477 - {control.chargepoint.chargepoint:682} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2023-12-08 04:03:11,478 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 837.093316s, Dauer 1.380952380952381h, Termin heute verpasst: False
2023-12-08 04:03:11,480 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 91560.073147s, Dauer 0.18012422360248448h, Termin heute verpasst: False
2023-12-08 04:03:11,482 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -9105.767982s, Dauer 4.142857142857143h, Termin heute verpasst: False
2023-12-08 04:03:11,484 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 90263.17475s, Dauer 0.5403726708074534h, Termin heute verpasst: False
2023-12-08 04:03:11,484 - {control.ev:762} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2023-12-08 04:03:11,488 - {control.chargepoint.chargepoint:898} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.PV_CHARGING, Phasen: 1, Priorität: False, max. Ist-Strom: 0.1
2023-12-08 04:03:11,490 - {control.chargepoint.chargepoint:277} - {INFO:MainThread} - LP 1: Kein Sofortladen, da noch Zeit bis zum Zieltermin ist. Falls vorhanden, wird mit EVU-Überschuss geladen.
2023-12-08 04:03:11,493 - {modules.common.simcount._simcount:38} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1702004581.4167545, power=315.0, imported=2374319.998862104, exported=0)
2023-12-08 04:03:11,495 - {modules.common.simcount._calculate:13} - {DEBUG:MainThread} - time passed: 0.00279905, power1: 315, power2: 313
2023-12-08 04:03:11,502 - {modules.common.simcount._calculate:29} - {DEBUG:MainThread} - power did not change sign. Total energy: 0.878902
2023-12-08 04:03:11,503 - {modules.common.simcount._simcount:47} - {DEBUG:MainThread} - imported: 0.878902 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702004591.493343, power=313.0, imported=2374320.877764557, exported=0)
2023-12-08 04:03:11,507 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=19, daily_exported=0.0, daily_imported=0.0, imported=143333.38, exported=116864.52, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2023-12-08 04:03:11,509 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=19, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=143333.38, exported=116864.52, power=0.0), set=Set(charging_power_left=-50, switch_on_soc_reached=False))
2023-12-08 04:03:11,510 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=97.16, daily_exported=0, power=0, imported=6926458.98, exported=0))
2023-12-08 04:03:11,512 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 95%, 06:00 Uhr', imported_at_plan_start=6926377.93, imported_instant_charging=None, limit=None, phases=1, prio=False, required_current=6, required_currents=[0.0, 6, 0.0], state=0, submode=<Chargemode.PV_CHARGING: 'pv_charging'>, 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=72), currents=[0.1, 0.0, 0.0], daily_imported=97.16, daily_exported=0, evse_current=0, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=6926458.98, phases_in_use=1, plug_state=True, power=0, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Kein Sofortladen, da noch Zeit bis zum Zieltermin ist. Falls vorhanden, wird mit EVU-Überschuss geladen.', voltages=[242.83, 241.01, 243.13]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=0, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='_', imported_at_mode_switch=6926377.93, imported_at_plugtime=6926377.93, imported_since_mode_switch=0, imported_since_plugged=81.05000000074506, range_charged=0, time_charged='00:00', timestamp_start_charging=None), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time='12/07/2023, 13:07:31', required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x70ba3688>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB Carport', type='internal_openwb', template=1, connected_phases=3, phase_1=2, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=1))
2023-12-08 04:03:11,514 - {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-12-08 04:03:11,515 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=1, max_current_multi_phases=16, max_current_single_phase=20, name='RFID, 20A, 11kW', rfid_enabling=True, valid_tags=['0003134583', '0003526747', '1655332554', '2585022212', '2585087748'])
2023-12-08 04:03:11,517 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[63, 63, 63], max_total_power=43000), get=Get(powers=[186.0, 21.0, 105.0], currents=[1.0, 0.5, 1.1], voltages=[242.68, 242.37, 240.53], power_factors=[0.71, 0.17, 0.4], unbalanced_load=0, frequency=49.97, daily_exported=0.0, daily_imported=4073.0, imported=6125851.0, exported=4870433.0, fault_state=0, fault_str='Kein Fehler.', power=313.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=42687.0, raw_currents_left=[62.0, 62.6, 61.9], surplus_power_left=0, state_str=''))
2023-12-08 04:03:11,533 - {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': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=313.0, invalid_home_consumption=0, daily_yield_home_consumption=5488.8679565983, imported_home_consumption=2374320.877764557, disengageable_smarthome_power=0))
2023-12-08 04:03:11,535 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2023-12-08 04:03:11,536 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Ladeprofil ***AUTO1***', disable_after_unplug=False, prio=False, load_default=True, time_charging=TimeCharging(active=True, plans={'0': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[True, True, True, True, False, False, True]), time=['22:00', '06:00'], name='Zeitladen 95%, So-Do 22:00-06:00 Uhr', current=16, limit=Limit(selected='soc', amount=1000, soc=95)), '1': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, True, True, False]), time=['22:00', '06:00'], name='Zeitladen 80%, Fr-Sa 22:00-06:00 Uhr', current=16, limit=Limit(selected='soc', amount=1000, soc=80))}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2023-12-08 04:03:11,543 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, time_charging=TimeCharging(active=True, plans={'2': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), time=['06:45', '07:00'], name='Klima 06:45-07:00 Uhr', current=6, limit=Limit(selected='none', amount=1000, soc=50)), '3': TimeChargingPlan(active=True, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, False, False, False]), time=['00:00', '23:55'], name='Immer 35%', current=10, limit=Limit(selected='soc', amount=1000, soc=35))}), chargemode=Chargemode(selected='scheduled_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={'0': ScheduledChargingPlan(active=False, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, True, False, False, False, False, False]), current=14, name='Zielladen 80%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '1': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), current=14, name='Zielladen 95%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=95), time='05:40'), '2': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once='2023-09-26', weekly=[True, False, False, True, False, True, True]), current=14, name='Zielladen 75%, 7:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=75), time='05:40')}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=80))))
2023-12-08 04:03:11,544 - {control.data:266} - {INFO:MainThread} - ev0
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=['0003134583'], get=Get(soc=0, soc_timestamp=None, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:03:11,546 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Tesla Model Y (2022)', 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=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212', '2585087748'], get=Get(soc=49.0, soc_timestamp='12/08/2023, 01:29:15', force_soc_update=False, range=220.74, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:03:11,548 - {control.data:266} - {INFO:MainThread} - ev2
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Cupra Born 58kW', 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=18000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=2, ev_template=2, name='***AUTO2***', tag_id=['1655332554'], get=Get(soc=72, soc_timestamp='12/08/2023, 02:47:32', force_soc_update=False, range=205, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:03:11,549 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40)
2023-12-08 04:03:11,550 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', 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=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40)
2023-12-08 04:03:11,552 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', 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=18000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40)
2023-12-08 04:03:11,553 - {control.data:245} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=3), pv_charging=PvCharging(bat_prio=True, charging_power_reserve=200, control_range=[-230, 230], feed_in_yield=15000, phase_switch_delay=15, phases_to_use=0, rundown_power=1000, rundown_soc=25, switch_off_delay=60, switch_off_soc=25, switch_off_threshold=50, switch_on_delay=30, switch_on_soc=50, switch_on_threshold=1400), scheduled_charging=ScheduledCharging(phases_to_use=0), time_charging=TimeCharging(phases_to_use=3), unbalanced_load_limit=20, unbalanced_load=True), control_interval=10, extern_display_mode='local', extern=False, external_buttons_hw=False, grid_protection_active=False, grid_protection_configured=True, grid_protection_random_stop=0, grid_protection_timestamp='', mqtt_bridge=False, price_kwh=0.3528, range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=True, r1_active=False, r2_active=False))
2023-12-08 04:03:11,555 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2023-12-08 04:03:11,557 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2023-12-08 04:03:11,559 - {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 0x7158b280>), led=Led(active=False), rfid=Rfid(active=True))
2023-12-08 04:03:11,561 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=0), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=293628.595, fault_state=0, fault_str='Kein Fehler.', power=0))
2023-12-08 04:03:11,562 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=9500), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=7816178.86, fault_state=0, fault_str='Kein Fehler.', power=-0.0))
2023-12-08 04:03:11,565 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=8109807.455, power=0.0))
2023-12-08 04:03:11,566 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2023-11-30 12:30:45 +0100 [285f5a5fb]', 'current_branch': 'Release', 'current_branch_commit': '2023-11-30 12:30:45 +0100 [285f5a5fb]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.2-Patch.1', 'datastore_version': 29, 'lastlivevaluesJson': {'timestamp': 1702004581, 'time': '04:03:01', 'grid': 0.315, 'house-power': 0.315, 'charging-all': 0.0, 'pv-all': -0.0, 'cp1-power': 0.0, 'ev1-soc': 49.0, 'ev2-soc': 72, 'bat-all-power': 0.0, 'bat-all-soc': 19}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2023-12-08 04:03:11,568 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2023-12-08 04:03:11,569 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2023-12-08 04:03:11,572 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2023-12-08 04:03:11,574 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2023-12-08 04:03:11,576 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2023-12-08 04:03:11,577 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2023-12-08 04:03:11,582 - {control.data:253} - {INFO:MainThread} - 

2023-12-08 04:03:11,583 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2023-12-08 04:03:11,585 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2023-12-08 04:03:11,587 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2023-12-08 04:03:11,589 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2023-12-08 04:03:11,592 - {control.counter:211} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: 0W
2023-12-08 04:03:11,595 - {control.counter:457} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf 0W
2023-12-08 04:03:11,596 - {control.chargepoint.chargepoint:277} - {INFO:MainThread} - LP 1: Die Ladung kann nicht gestartet werden, da die Einschaltschwelle nicht erreicht wird.
2023-12-08 04:03:11,597 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2023-12-08 04:03:11,598 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2023-12-08 04:03:11,608 - {control.process:111} - {INFO:MainThread} - LP1: set current 0 A, state NO_CHARGING_ALLOWED
2023-12-08 04:03:11,611 - {modules.common.component_context:24} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:03:11,631 - {control.counter:186} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2023-12-08 04:03:11,885 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2023-12-08 04:03:11,886 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2023-12-08 04:03:15,895 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2023-12-08 04:03:20,906 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2023-12-08 04:03:20,907 - {root:74} - {INFO:MainThread} - # ***Start*** 
2023-12-08 04:03:20,952 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x715cf340>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x7155e4a8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x715c75f8>}
2023-12-08 04:03:20,953 - {modules.common.component_context:24} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2023-12-08 04:03:20,955 - {modules.common.component_context:24} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:03:20,961 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2023-12-08 04:03:20,961 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2023-12-08 04:03:21,001 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-349, -220, -21, -106], Scale 0
2023-12-08 04:03:21,019 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 750
2023-12-08 04:03:21,021 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"cloud":{"connected":false},"input:0":{"id":0,"state":false},"mqtt":{"connected":false},"switch:0":{"id":0, "source":"loopback", "output":false, "apower":0.0, "voltage":242.9, "current":0.000, "aenergy":{"total":1505.625,"by_minute":[0.000,0.000,0.000],"minute_ts":1702004600},"temperature":{"tC":28.9, "tF":84.0}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:03","unixtime":1702004601,"uptime":1363929,"ram_size":248996,"ram_free":145268,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"beta":{"version":"1.1.0-beta2"},"stable":{"version":"1.0.8"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-67},"ws":{"connected":false}}

2023-12-08 04:03:21,025 - {modules.common.simcount._simcount:38} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1702004590.892256, power=0, imported=0.0, exported=293628.5948715257)
2023-12-08 04:03:21,027 - {modules.common.simcount._calculate:13} - {DEBUG:device1} - time passed: 0.00281483, power1: 0, power2: 0
2023-12-08 04:03:21,028 - {modules.common.simcount._calculate:29} - {DEBUG:device1} - power did not change sign. Total energy: 0
2023-12-08 04:03:21,030 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [10, 5, 11], Scale -1
2023-12-08 04:03:21,031 - {modules.common.simcount._simcount:47} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702004601.025653, power=0, imported=0.0, exported=293628.5948715257)
2023-12-08 04:03:21,035 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:03:21,076 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [24272, 24245, 24053, 0, 0, 0, 0], Scale -2
2023-12-08 04:03:21,106 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4997], Scale -2
2023-12-08 04:03:21,127 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7099, 1749, 3869], Scale -2
2023-12-08 04:03:21,156 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4870433, 1797042, 2153375, 1456453, 6125852, 2531518, 1862788, 2267984], Scale 0
2023-12-08 04:03:21,158 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[1.0, 0.5, 1.1], powers=[220.0, 21.0, 106.0], voltages=[242.72, 242.45000000000002, 240.53], power_factors=[0.7099, 0.17490000000000003, 0.38689999999999997], imported=6125852.0, exported=4870433.0, power=349.0, frequency=49.97)
2023-12-08 04:03:21,163 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2023-12-08 04:03:21,180 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [0], Scale 0
2023-12-08 04:03:21,305 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7789710], Scale 0
2023-12-08 04:03:21,325 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [27, 30, 31], Scale -2
2023-12-08 04:03:21,346 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4614], Scale -2
2023-12-08 04:03:21,347 - {modules.common.component_state:100} - {DEBUG:device0} - currents sign wrong [0.27, 0.3, 0.31]
2023-12-08 04:03:21,347 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.27, 0.3, 0.31], power=-0.0, exported=7789710.0, dc_power=46.14)
2023-12-08 04:03:21,349 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2023-12-08 04:03:21,414 - {modules.common.simcount._simcount:38} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1702004591.2037568, power=0.0, imported=143333.37604219164, exported=116864.5215890633)
2023-12-08 04:03:21,414 - {modules.common.simcount._calculate:13} - {DEBUG:device0} - time passed: 0.00283621, power1: 0, power2: 0
2023-12-08 04:03:21,415 - {modules.common.simcount._calculate:29} - {DEBUG:device0} - power did not change sign. Total energy: 0
2023-12-08 04:03:21,415 - {modules.common.simcount._simcount:47} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702004601.4141188, power=0.0, imported=143333.37604219164, exported=116864.5215890633)
2023-12-08 04:03:21,417 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=143333.37604219164, exported=116864.5215890633, power=0.0, soc=19.0)
2023-12-08 04:03:21,430 - {modules.common.component_context:24} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2023-12-08 04:03:21,431 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=143333.37604219164, exported=116864.5215890633, power=0.0, soc=19.0)
2023-12-08 04:03:21,463 - {modules.common.component_context:24} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:03:21,464 - {modules.common.component_context:24} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2023-12-08 04:03:21,466 - {modules.common.component_context:24} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2023-12-08 04:03:21,468 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-0.0, exported=7816178.86, dc_power=None)
2023-12-08 04:03:21,469 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:03:21,469 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-0.0, exported=7816178.86, dc_power=None)
2023-12-08 04:03:21,470 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:03:21,522 - {modules.common.component_context:24} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2023-12-08 04:03:21,523 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[1.0, 0.5, 1.1], powers=[220.0, 21.0, 106.0], voltages=[242.72, 242.45000000000002, 240.53], power_factors=[0.7099, 0.17490000000000003, 0.38689999999999997], imported=6125852.0, exported=4870433.0, power=349.0, frequency=49.97)
2023-12-08 04:03:21,696 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2023-12-08 04:03:21,704 - {control.bat_all:173} - {INFO:MainThread} - -50W verbleibende Speicher-Leistung
2023-12-08 04:03:21,707 - {control.counter:138} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [62.0, 62.6, 61.9]A
2023-12-08 04:03:21,712 - {control.counter:161} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 42651.0W
2023-12-08 04:03:21,721 - {control.chargepoint.chargepoint:699} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2023-12-08 04:03:21,724 - {control.chargepoint.chargepoint:682} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2023-12-08 04:03:21,726 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 826.845846s, Dauer 1.380952380952381h, Termin heute verpasst: False
2023-12-08 04:03:21,728 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 91549.824507s, Dauer 0.18012422360248448h, Termin heute verpasst: False
2023-12-08 04:03:21,731 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -9116.016239s, Dauer 4.142857142857143h, Termin heute verpasst: False
2023-12-08 04:03:21,732 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 90252.926764s, Dauer 0.5403726708074534h, Termin heute verpasst: False
2023-12-08 04:03:21,733 - {control.ev:762} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2023-12-08 04:03:21,738 - {control.chargepoint.chargepoint:898} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.PV_CHARGING, Phasen: 1, Priorität: False, max. Ist-Strom: 0.1
2023-12-08 04:03:21,747 - {control.chargepoint.chargepoint:277} - {INFO:MainThread} - LP 1: Kein Sofortladen, da noch Zeit bis zum Zieltermin ist. Falls vorhanden, wird mit EVU-Überschuss geladen.
2023-12-08 04:03:21,767 - {modules.common.simcount._simcount:38} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1702004591.493343, power=313.0, imported=2374320.877764557, exported=0)
2023-12-08 04:03:21,777 - {modules.common.simcount._calculate:13} - {DEBUG:MainThread} - time passed: 0.00285385, power1: 313, power2: 349
2023-12-08 04:03:21,785 - {modules.common.simcount._calculate:29} - {DEBUG:MainThread} - power did not change sign. Total energy: 0.944624
2023-12-08 04:03:21,786 - {modules.common.simcount._simcount:47} - {DEBUG:MainThread} - imported: 0.944624 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702004601.767197, power=349.0, imported=2374321.822388335, exported=0)
2023-12-08 04:03:21,788 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=19, daily_exported=0.0, daily_imported=0.0, imported=143333.38, exported=116864.52, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2023-12-08 04:03:21,789 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=19, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=143333.38, exported=116864.52, power=0.0), set=Set(charging_power_left=-50, switch_on_soc_reached=False))
2023-12-08 04:03:21,791 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=97.16, daily_exported=0, power=0, imported=6926458.98, exported=0))
2023-12-08 04:03:21,793 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 95%, 06:00 Uhr', imported_at_plan_start=6926377.93, imported_instant_charging=None, limit=None, phases=1, prio=False, required_current=6, required_currents=[0.0, 6, 0.0], state=0, submode=<Chargemode.PV_CHARGING: 'pv_charging'>, 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=72), currents=[0.1, 0.0, 0.0], daily_imported=97.16, daily_exported=0, evse_current=0, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=6926458.98, phases_in_use=1, plug_state=True, power=0, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Kein Sofortladen, da noch Zeit bis zum Zieltermin ist. Falls vorhanden, wird mit EVU-Überschuss geladen.', voltages=[242.92, 241.06, 243.15]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=0, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='_', imported_at_mode_switch=6926377.93, imported_at_plugtime=6926377.93, imported_since_mode_switch=0, imported_since_plugged=81.05000000074506, range_charged=0, time_charged='00:00', timestamp_start_charging=None), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time='12/07/2023, 13:07:31', required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x70b62328>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB Carport', type='internal_openwb', template=1, connected_phases=3, phase_1=2, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=1))
2023-12-08 04:03:21,795 - {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-12-08 04:03:21,802 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=1, max_current_multi_phases=16, max_current_single_phase=20, name='RFID, 20A, 11kW', rfid_enabling=True, valid_tags=['0003134583', '0003526747', '1655332554', '2585022212', '2585087748'])
2023-12-08 04:03:21,804 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[63, 63, 63], max_total_power=43000), get=Get(powers=[220.0, 21.0, 106.0], currents=[1.0, 0.5, 1.1], voltages=[242.72, 242.45, 240.53], power_factors=[0.71, 0.17, 0.39], unbalanced_load=0, frequency=49.97, daily_exported=0.0, daily_imported=4073.0, imported=6125852.0, exported=4870433.0, fault_state=0, fault_str='Kein Fehler.', power=349.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=42651.0, raw_currents_left=[62.0, 62.6, 61.9], surplus_power_left=0, state_str=''))
2023-12-08 04:03:21,812 - {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': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=349.0, invalid_home_consumption=0, daily_yield_home_consumption=5488.8679565983, imported_home_consumption=2374321.822388335, disengageable_smarthome_power=0))
2023-12-08 04:03:21,814 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2023-12-08 04:03:21,815 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Ladeprofil ***AUTO1***', disable_after_unplug=False, prio=False, load_default=True, time_charging=TimeCharging(active=True, plans={'0': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[True, True, True, True, False, False, True]), time=['22:00', '06:00'], name='Zeitladen 95%, So-Do 22:00-06:00 Uhr', current=16, limit=Limit(selected='soc', amount=1000, soc=95)), '1': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, True, True, False]), time=['22:00', '06:00'], name='Zeitladen 80%, Fr-Sa 22:00-06:00 Uhr', current=16, limit=Limit(selected='soc', amount=1000, soc=80))}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2023-12-08 04:03:21,817 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, time_charging=TimeCharging(active=True, plans={'2': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), time=['06:45', '07:00'], name='Klima 06:45-07:00 Uhr', current=6, limit=Limit(selected='none', amount=1000, soc=50)), '3': TimeChargingPlan(active=True, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, False, False, False]), time=['00:00', '23:55'], name='Immer 35%', current=10, limit=Limit(selected='soc', amount=1000, soc=35))}), chargemode=Chargemode(selected='scheduled_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={'0': ScheduledChargingPlan(active=False, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, True, False, False, False, False, False]), current=14, name='Zielladen 80%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '1': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), current=14, name='Zielladen 95%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=95), time='05:40'), '2': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once='2023-09-26', weekly=[True, False, False, True, False, True, True]), current=14, name='Zielladen 75%, 7:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=75), time='05:40')}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=80))))
2023-12-08 04:03:21,819 - {control.data:266} - {INFO:MainThread} - ev0
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=['0003134583'], get=Get(soc=0, soc_timestamp=None, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:03:21,821 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Tesla Model Y (2022)', 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=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212', '2585087748'], get=Get(soc=49.0, soc_timestamp='12/08/2023, 01:29:15', force_soc_update=False, range=220.74, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:03:21,826 - {control.data:266} - {INFO:MainThread} - ev2
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Cupra Born 58kW', 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=18000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=2, ev_template=2, name='***AUTO2***', tag_id=['1655332554'], get=Get(soc=72, soc_timestamp='12/08/2023, 02:47:32', force_soc_update=False, range=205, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:03:21,827 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40)
2023-12-08 04:03:21,829 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', 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=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40)
2023-12-08 04:03:21,833 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', 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=18000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40)
2023-12-08 04:03:21,835 - {control.data:245} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=3), pv_charging=PvCharging(bat_prio=True, charging_power_reserve=200, control_range=[-230, 230], feed_in_yield=15000, phase_switch_delay=15, phases_to_use=0, rundown_power=1000, rundown_soc=25, switch_off_delay=60, switch_off_soc=25, switch_off_threshold=50, switch_on_delay=30, switch_on_soc=50, switch_on_threshold=1400), scheduled_charging=ScheduledCharging(phases_to_use=0), time_charging=TimeCharging(phases_to_use=3), unbalanced_load_limit=20, unbalanced_load=True), control_interval=10, extern_display_mode='local', extern=False, external_buttons_hw=False, grid_protection_active=False, grid_protection_configured=True, grid_protection_random_stop=0, grid_protection_timestamp='', mqtt_bridge=False, price_kwh=0.3528, range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=True, r1_active=False, r2_active=False))
2023-12-08 04:03:21,836 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2023-12-08 04:03:21,839 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2023-12-08 04:03:21,841 - {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 0x70b62a90>), led=Led(active=False), rfid=Rfid(active=True))
2023-12-08 04:03:21,846 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=0), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=293628.595, fault_state=0, fault_str='Kein Fehler.', power=0))
2023-12-08 04:03:21,851 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=9500), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=7816178.86, fault_state=0, fault_str='Kein Fehler.', power=-0.0))
2023-12-08 04:03:21,852 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=8109807.455, power=0.0))
2023-12-08 04:03:21,855 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2023-11-30 12:30:45 +0100 [285f5a5fb]', 'current_branch': 'Release', 'current_branch_commit': '2023-11-30 12:30:45 +0100 [285f5a5fb]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.2-Patch.1', 'datastore_version': 29, 'lastlivevaluesJson': {'timestamp': 1702004591, 'time': '04:03:11', 'grid': 0.313, 'house-power': 0.313, 'charging-all': 0.0, 'pv-all': -0.0, 'cp1-power': 0.0, 'ev1-soc': 49.0, 'ev2-soc': 72, 'bat-all-power': 0.0, 'bat-all-soc': 19}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2023-12-08 04:03:21,857 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2023-12-08 04:03:21,864 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2023-12-08 04:03:21,866 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2023-12-08 04:03:21,867 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2023-12-08 04:03:21,867 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2023-12-08 04:03:21,868 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2023-12-08 04:03:21,868 - {control.data:253} - {INFO:MainThread} - 

2023-12-08 04:03:21,868 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2023-12-08 04:03:21,869 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2023-12-08 04:03:21,871 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2023-12-08 04:03:21,873 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2023-12-08 04:03:21,875 - {control.counter:211} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: 0W
2023-12-08 04:03:21,875 - {control.counter:457} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf 0W
2023-12-08 04:03:21,876 - {control.chargepoint.chargepoint:277} - {INFO:MainThread} - LP 1: Die Ladung kann nicht gestartet werden, da die Einschaltschwelle nicht erreicht wird.
2023-12-08 04:03:21,876 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2023-12-08 04:03:21,877 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2023-12-08 04:03:21,886 - {control.process:111} - {INFO:MainThread} - LP1: set current 0 A, state NO_CHARGING_ALLOWED
2023-12-08 04:03:21,902 - {modules.common.component_context:24} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:03:21,921 - {control.counter:186} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2023-12-08 04:03:22,130 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2023-12-08 04:03:22,131 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2023-12-08 04:03:25,145 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2023-12-08 04:03:25,146 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2023-12-08 04:03:30,158 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2023-12-08 04:03:30,163 - {root:74} - {INFO:MainThread} - # ***Start*** 
2023-12-08 04:03:30,262 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x715cf340>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x7155e4a8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x715c75f8>}
2023-12-08 04:03:30,264 - {modules.common.component_context:24} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2023-12-08 04:03:30,279 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2023-12-08 04:03:30,288 - {modules.common.component_context:24} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:03:30,292 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2023-12-08 04:03:30,326 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 750
2023-12-08 04:03:30,330 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"cloud":{"connected":false},"input:0":{"id":0,"state":false},"mqtt":{"connected":false},"switch:0":{"id":0, "source":"loopback", "output":false, "apower":0.0, "voltage":242.9, "current":0.000, "aenergy":{"total":1505.625,"by_minute":[0.000,0.000,0.000],"minute_ts":1702004609},"temperature":{"tC":28.8, "tF":83.8}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:03","unixtime":1702004611,"uptime":1363938,"ram_size":248996,"ram_free":145268,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"beta":{"version":"1.1.0-beta2"},"stable":{"version":"1.0.8"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-70},"ws":{"connected":false}}

2023-12-08 04:03:30,337 - {modules.common.simcount._simcount:38} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1702004601.025653, power=0, imported=0.0, exported=293628.5948715257)
2023-12-08 04:03:30,347 - {modules.common.simcount._calculate:13} - {DEBUG:device1} - time passed: 0.00258649, power1: 0, power2: 0
2023-12-08 04:03:30,357 - {modules.common.simcount._calculate:29} - {DEBUG:device1} - power did not change sign. Total energy: 0
2023-12-08 04:03:30,358 - {modules.common.simcount._simcount:47} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702004610.337005, power=0, imported=0.0, exported=293628.5948715257)
2023-12-08 04:03:30,361 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-358, -228, -20, -109], Scale 0
2023-12-08 04:03:30,364 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:03:30,385 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [12, 5, 11], Scale -1
2023-12-08 04:03:30,406 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [24280, 24251, 24063, 0, 0, 0, 0], Scale -2
2023-12-08 04:03:30,425 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4997], Scale -2
2023-12-08 04:03:30,446 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7149, 1790, 3970], Scale -2
2023-12-08 04:03:30,469 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4870433, 1797042, 2153375, 1456453, 6125852, 2531518, 1862788, 2267984], Scale 0
2023-12-08 04:03:30,471 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[1.2000000000000002, 0.5, 1.1], powers=[228.0, 20.0, 109.0], voltages=[242.8, 242.51, 240.63], power_factors=[0.7149, 0.17900000000000002, 0.397], imported=6125852.0, exported=4870433.0, power=358.0, frequency=49.97)
2023-12-08 04:03:30,476 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2023-12-08 04:03:30,508 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [0], Scale 0
2023-12-08 04:03:30,551 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7789710], Scale 0
2023-12-08 04:03:30,573 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [27, 31, 31], Scale -2
2023-12-08 04:03:30,592 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4993], Scale -2
2023-12-08 04:03:30,593 - {modules.common.component_state:100} - {DEBUG:device0} - currents sign wrong [0.27, 0.31, 0.31]
2023-12-08 04:03:30,593 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.27, 0.31, 0.31], power=-0.0, exported=7789710.0, dc_power=49.93)
2023-12-08 04:03:30,596 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2023-12-08 04:03:30,756 - {modules.common.simcount._simcount:38} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1702004601.4141188, power=0.0, imported=143333.37604219164, exported=116864.5215890633)
2023-12-08 04:03:30,756 - {modules.common.simcount._calculate:13} - {DEBUG:device0} - time passed: 0.00259499, power1: 0, power2: 0
2023-12-08 04:03:30,757 - {modules.common.simcount._calculate:29} - {DEBUG:device0} - power did not change sign. Total energy: 0
2023-12-08 04:03:30,757 - {modules.common.simcount._simcount:47} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702004610.7560854, power=0.0, imported=143333.37604219164, exported=116864.5215890633)
2023-12-08 04:03:30,758 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=143333.37604219164, exported=116864.5215890633, power=0.0, soc=19.0)
2023-12-08 04:03:30,766 - {modules.common.component_context:24} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2023-12-08 04:03:30,768 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=143333.37604219164, exported=116864.5215890633, power=0.0, soc=19.0)
2023-12-08 04:03:30,802 - {modules.common.component_context:24} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:03:30,803 - {modules.common.component_context:24} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2023-12-08 04:03:30,805 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-0.0, exported=7816178.86, dc_power=None)
2023-12-08 04:03:30,806 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-0.0, exported=7816178.86, dc_power=None)
2023-12-08 04:03:30,807 - {modules.common.component_context:24} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2023-12-08 04:03:30,809 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:03:30,810 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:03:30,844 - {modules.common.component_context:24} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2023-12-08 04:03:30,845 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[1.2000000000000002, 0.5, 1.1], powers=[228.0, 20.0, 109.0], voltages=[242.8, 242.51, 240.63], power_factors=[0.7149, 0.17900000000000002, 0.397], imported=6125852.0, exported=4870433.0, power=358.0, frequency=49.97)
2023-12-08 04:03:30,987 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2023-12-08 04:03:30,989 - {control.bat_all:173} - {INFO:MainThread} - -50W verbleibende Speicher-Leistung
2023-12-08 04:03:30,991 - {control.counter:138} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [61.8, 62.6, 61.9]A
2023-12-08 04:03:30,992 - {control.counter:161} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 42642.0W
2023-12-08 04:03:30,994 - {control.chargepoint.chargepoint:699} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2023-12-08 04:03:30,995 - {control.chargepoint.chargepoint:682} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2023-12-08 04:03:30,996 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 817.575272s, Dauer 1.380952380952381h, Termin heute verpasst: False
2023-12-08 04:03:30,997 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 91540.55546s, Dauer 0.18012422360248448h, Termin heute verpasst: False
2023-12-08 04:03:30,998 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -9125.284095s, Dauer 4.142857142857143h, Termin heute verpasst: False
2023-12-08 04:03:31,000 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 90243.658298s, Dauer 0.5403726708074534h, Termin heute verpasst: False
2023-12-08 04:03:31,001 - {control.ev:762} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2023-12-08 04:03:31,005 - {control.chargepoint.chargepoint:898} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.PV_CHARGING, Phasen: 1, Priorität: False, max. Ist-Strom: 0.1
2023-12-08 04:03:31,006 - {control.chargepoint.chargepoint:277} - {INFO:MainThread} - LP 1: Kein Sofortladen, da noch Zeit bis zum Zieltermin ist. Falls vorhanden, wird mit EVU-Überschuss geladen.
2023-12-08 04:03:31,022 - {modules.common.simcount._simcount:38} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1702004601.767197, power=349.0, imported=2374321.822388335, exported=0)
2023-12-08 04:03:31,026 - {modules.common.simcount._calculate:13} - {DEBUG:MainThread} - time passed: 0.00257103, power1: 349, power2: 358
2023-12-08 04:03:31,030 - {modules.common.simcount._calculate:29} - {DEBUG:MainThread} - power did not change sign. Total energy: 0.908861
2023-12-08 04:03:31,031 - {modules.common.simcount._simcount:47} - {DEBUG:MainThread} - imported: 0.908861 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702004611.0229208, power=358.0, imported=2374322.7312490065, exported=0)
2023-12-08 04:03:31,037 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=19, daily_exported=0.0, daily_imported=0.0, imported=143333.38, exported=116864.52, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2023-12-08 04:03:31,038 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=19, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=143333.38, exported=116864.52, power=0.0), set=Set(charging_power_left=-50, switch_on_soc_reached=False))
2023-12-08 04:03:31,040 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=97.16, daily_exported=0, power=0, imported=6926458.98, exported=0))
2023-12-08 04:03:31,041 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 95%, 06:00 Uhr', imported_at_plan_start=6926377.93, imported_instant_charging=None, limit=None, phases=1, prio=False, required_current=6, required_currents=[0.0, 6, 0.0], state=0, submode=<Chargemode.PV_CHARGING: 'pv_charging'>, 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=72), currents=[0.1, 0.0, 0.0], daily_imported=97.16, daily_exported=0, evse_current=0, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=6926458.98, phases_in_use=1, plug_state=True, power=0, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Kein Sofortladen, da noch Zeit bis zum Zieltermin ist. Falls vorhanden, wird mit EVU-Überschuss geladen.', voltages=[242.8, 240.84, 243.08]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=0, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='_', imported_at_mode_switch=6926377.93, imported_at_plugtime=6926377.93, imported_since_mode_switch=0, imported_since_plugged=81.05000000074506, range_charged=0, time_charged='00:00', timestamp_start_charging=None), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time='12/07/2023, 13:07:31', required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x70b92880>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB Carport', type='internal_openwb', template=1, connected_phases=3, phase_1=2, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=1))
2023-12-08 04:03:31,043 - {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-12-08 04:03:31,044 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=1, max_current_multi_phases=16, max_current_single_phase=20, name='RFID, 20A, 11kW', rfid_enabling=True, valid_tags=['0003134583', '0003526747', '1655332554', '2585022212', '2585087748'])
2023-12-08 04:03:31,045 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[63, 63, 63], max_total_power=43000), get=Get(powers=[228.0, 20.0, 109.0], currents=[1.2, 0.5, 1.1], voltages=[242.8, 242.51, 240.63], power_factors=[0.71, 0.18, 0.4], unbalanced_load=0, frequency=49.97, daily_exported=0.0, daily_imported=4073.0, imported=6125852.0, exported=4870433.0, fault_state=0, fault_str='Kein Fehler.', power=358.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=42642.0, raw_currents_left=[61.8, 62.6, 61.9], surplus_power_left=0, state_str=''))
2023-12-08 04:03:31,047 - {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': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=358.0, invalid_home_consumption=0, daily_yield_home_consumption=5488.8679565983, imported_home_consumption=2374322.7312490065, disengageable_smarthome_power=0))
2023-12-08 04:03:31,048 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2023-12-08 04:03:31,050 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Ladeprofil ***AUTO1***', disable_after_unplug=False, prio=False, load_default=True, time_charging=TimeCharging(active=True, plans={'0': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[True, True, True, True, False, False, True]), time=['22:00', '06:00'], name='Zeitladen 95%, So-Do 22:00-06:00 Uhr', current=16, limit=Limit(selected='soc', amount=1000, soc=95)), '1': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, True, True, False]), time=['22:00', '06:00'], name='Zeitladen 80%, Fr-Sa 22:00-06:00 Uhr', current=16, limit=Limit(selected='soc', amount=1000, soc=80))}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2023-12-08 04:03:31,052 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, time_charging=TimeCharging(active=True, plans={'2': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), time=['06:45', '07:00'], name='Klima 06:45-07:00 Uhr', current=6, limit=Limit(selected='none', amount=1000, soc=50)), '3': TimeChargingPlan(active=True, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, False, False, False]), time=['00:00', '23:55'], name='Immer 35%', current=10, limit=Limit(selected='soc', amount=1000, soc=35))}), chargemode=Chargemode(selected='scheduled_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={'0': ScheduledChargingPlan(active=False, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, True, False, False, False, False, False]), current=14, name='Zielladen 80%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '1': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), current=14, name='Zielladen 95%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=95), time='05:40'), '2': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once='2023-09-26', weekly=[True, False, False, True, False, True, True]), current=14, name='Zielladen 75%, 7:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=75), time='05:40')}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=80))))
2023-12-08 04:03:31,053 - {control.data:266} - {INFO:MainThread} - ev0
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=['0003134583'], get=Get(soc=0, soc_timestamp=None, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:03:31,055 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Tesla Model Y (2022)', 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=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212', '2585087748'], get=Get(soc=49.0, soc_timestamp='12/08/2023, 01:29:15', force_soc_update=False, range=220.74, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:03:31,057 - {control.data:266} - {INFO:MainThread} - ev2
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Cupra Born 58kW', 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=18000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=2, ev_template=2, name='***AUTO2***', tag_id=['1655332554'], get=Get(soc=72, soc_timestamp='12/08/2023, 02:47:32', force_soc_update=False, range=205, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:03:31,058 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40)
2023-12-08 04:03:31,059 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', 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=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40)
2023-12-08 04:03:31,061 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', 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=18000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40)
2023-12-08 04:03:31,063 - {control.data:245} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=3), pv_charging=PvCharging(bat_prio=True, charging_power_reserve=200, control_range=[-230, 230], feed_in_yield=15000, phase_switch_delay=15, phases_to_use=0, rundown_power=1000, rundown_soc=25, switch_off_delay=60, switch_off_soc=25, switch_off_threshold=50, switch_on_delay=30, switch_on_soc=50, switch_on_threshold=1400), scheduled_charging=ScheduledCharging(phases_to_use=0), time_charging=TimeCharging(phases_to_use=3), unbalanced_load_limit=20, unbalanced_load=True), control_interval=10, extern_display_mode='local', extern=False, external_buttons_hw=False, grid_protection_active=False, grid_protection_configured=True, grid_protection_random_stop=0, grid_protection_timestamp='', mqtt_bridge=False, price_kwh=0.3528, range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=True, r1_active=False, r2_active=False))
2023-12-08 04:03:31,065 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2023-12-08 04:03:31,068 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2023-12-08 04:03:31,070 - {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 0x70bce4f0>), led=Led(active=False), rfid=Rfid(active=True))
2023-12-08 04:03:31,070 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=0), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=293628.595, fault_state=0, fault_str='Kein Fehler.', power=0))
2023-12-08 04:03:31,072 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=9500), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=7816178.86, fault_state=0, fault_str='Kein Fehler.', power=-0.0))
2023-12-08 04:03:31,073 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=8109807.455, power=0.0))
2023-12-08 04:03:31,074 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2023-11-30 12:30:45 +0100 [285f5a5fb]', 'current_branch': 'Release', 'current_branch_commit': '2023-11-30 12:30:45 +0100 [285f5a5fb]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.2-Patch.1', 'datastore_version': 29, 'lastlivevaluesJson': {'timestamp': 1702004601, 'time': '04:03:21', 'grid': 0.349, 'house-power': 0.349, 'charging-all': 0.0, 'pv-all': -0.0, 'cp1-power': 0.0, 'ev1-soc': 49.0, 'ev2-soc': 72, 'bat-all-power': 0.0, 'bat-all-soc': 19}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2023-12-08 04:03:31,075 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2023-12-08 04:03:31,076 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2023-12-08 04:03:31,077 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2023-12-08 04:03:31,078 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2023-12-08 04:03:31,079 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2023-12-08 04:03:31,084 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2023-12-08 04:03:31,086 - {control.data:253} - {INFO:MainThread} - 

2023-12-08 04:03:31,086 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2023-12-08 04:03:31,088 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2023-12-08 04:03:31,091 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2023-12-08 04:03:31,093 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2023-12-08 04:03:31,096 - {control.counter:211} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: 0W
2023-12-08 04:03:31,097 - {control.counter:457} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf 0W
2023-12-08 04:03:31,099 - {control.chargepoint.chargepoint:277} - {INFO:MainThread} - LP 1: Die Ladung kann nicht gestartet werden, da die Einschaltschwelle nicht erreicht wird.
2023-12-08 04:03:31,100 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2023-12-08 04:03:31,101 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2023-12-08 04:03:31,104 - {control.process:111} - {INFO:MainThread} - LP1: set current 0 A, state NO_CHARGING_ALLOWED
2023-12-08 04:03:31,108 - {modules.common.component_context:24} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:03:31,139 - {control.counter:186} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2023-12-08 04:03:31,363 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2023-12-08 04:03:35,415 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2023-12-08 04:03:35,416 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2023-12-08 04:03:40,425 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2023-12-08 04:03:40,426 - {root:74} - {INFO:MainThread} - # ***Start*** 
2023-12-08 04:03:40,467 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x715cf340>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x7155e4a8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x715c75f8>}
2023-12-08 04:03:40,468 - {modules.common.component_context:24} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2023-12-08 04:03:40,476 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2023-12-08 04:03:40,478 - {modules.common.component_context:24} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:03:40,479 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2023-12-08 04:03:40,505 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-355, -227, -23, -105], Scale 0
2023-12-08 04:03:40,523 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 750
2023-12-08 04:03:40,526 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"cloud":{"connected":false},"input:0":{"id":0,"state":false},"mqtt":{"connected":false},"switch:0":{"id":0, "source":"loopback", "output":false, "apower":0.0, "voltage":242.9, "current":0.000, "aenergy":{"total":1505.625,"by_minute":[0.000,0.000,0.000],"minute_ts":1702004620},"temperature":{"tC":28.9, "tF":84.1}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:03","unixtime":1702004621,"uptime":1363948,"ram_size":248996,"ram_free":145268,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"beta":{"version":"1.1.0-beta2"},"stable":{"version":"1.0.8"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-68},"ws":{"connected":false}}

2023-12-08 04:03:40,527 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [12, 5, 11], Scale -1
2023-12-08 04:03:40,530 - {modules.common.simcount._simcount:38} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1702004610.337005, power=0, imported=0.0, exported=293628.5948715257)
2023-12-08 04:03:40,531 - {modules.common.simcount._calculate:13} - {DEBUG:device1} - time passed: 0.00283142, power1: 0, power2: 0
2023-12-08 04:03:40,531 - {modules.common.simcount._calculate:29} - {DEBUG:device1} - power did not change sign. Total energy: 0
2023-12-08 04:03:40,532 - {modules.common.simcount._simcount:47} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702004620.5301025, power=0, imported=0.0, exported=293628.5948715257)
2023-12-08 04:03:40,533 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:03:40,553 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [24288, 24263, 24062, 0, 0, 0, 0], Scale -2
2023-12-08 04:03:40,603 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4997], Scale -2
2023-12-08 04:03:40,623 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7179, 1749, 3860], Scale -2
2023-12-08 04:03:40,643 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4870433, 1797042, 2153375, 1456453, 6125854, 2531519, 1862788, 2267984], Scale 0
2023-12-08 04:03:40,644 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[1.2000000000000002, 0.5, 1.1], powers=[227.0, 23.0, 105.0], voltages=[242.88, 242.63, 240.62], power_factors=[0.7179000000000001, 0.17490000000000003, 0.386], imported=6125854.0, exported=4870433.0, power=355.0, frequency=49.97)
2023-12-08 04:03:40,651 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2023-12-08 04:03:40,735 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [0], Scale 0
2023-12-08 04:03:40,766 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7789710], Scale 0
2023-12-08 04:03:40,784 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [29, 32, 33], Scale -2
2023-12-08 04:03:40,815 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4597], Scale -2
2023-12-08 04:03:40,815 - {modules.common.component_state:100} - {DEBUG:device0} - currents sign wrong [0.29, 0.32, 0.33]
2023-12-08 04:03:40,816 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.29, 0.32, 0.33], power=-0.0, exported=7789710.0, dc_power=45.97)
2023-12-08 04:03:40,823 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2023-12-08 04:03:40,864 - {modules.common.simcount._simcount:38} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1702004610.7560854, power=0.0, imported=143333.37604219164, exported=116864.5215890633)
2023-12-08 04:03:40,865 - {modules.common.simcount._calculate:13} - {DEBUG:device0} - time passed: 0.00280789, power1: 0, power2: 0
2023-12-08 04:03:40,866 - {modules.common.simcount._calculate:29} - {DEBUG:device0} - power did not change sign. Total energy: 0
2023-12-08 04:03:40,866 - {modules.common.simcount._simcount:47} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702004620.8644965, power=0.0, imported=143333.37604219164, exported=116864.5215890633)
2023-12-08 04:03:40,868 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=143333.37604219164, exported=116864.5215890633, power=0.0, soc=19.0)
2023-12-08 04:03:40,889 - {modules.common.component_context:24} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2023-12-08 04:03:40,890 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=143333.37604219164, exported=116864.5215890633, power=0.0, soc=19.0)
2023-12-08 04:03:40,926 - {modules.common.component_context:24} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:03:40,929 - {modules.common.component_context:24} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2023-12-08 04:03:40,930 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-0.0, exported=7816178.86, dc_power=None)
2023-12-08 04:03:40,931 - {modules.common.component_context:24} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2023-12-08 04:03:40,931 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-0.0, exported=7816178.86, dc_power=None)
2023-12-08 04:03:40,932 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:03:40,934 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:03:40,977 - {modules.common.component_context:24} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2023-12-08 04:03:40,978 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[1.2000000000000002, 0.5, 1.1], powers=[227.0, 23.0, 105.0], voltages=[242.88, 242.63, 240.62], power_factors=[0.7179000000000001, 0.17490000000000003, 0.386], imported=6125854.0, exported=4870433.0, power=355.0, frequency=49.97)
2023-12-08 04:03:41,151 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2023-12-08 04:03:41,153 - {control.bat_all:173} - {INFO:MainThread} - -50W verbleibende Speicher-Leistung
2023-12-08 04:03:41,155 - {control.counter:138} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [61.8, 62.6, 61.9]A
2023-12-08 04:03:41,157 - {control.counter:161} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 42645.0W
2023-12-08 04:03:41,159 - {control.chargepoint.chargepoint:699} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2023-12-08 04:03:41,161 - {control.chargepoint.chargepoint:682} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2023-12-08 04:03:41,163 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 807.409037s, Dauer 1.380952380952381h, Termin heute verpasst: False
2023-12-08 04:03:41,164 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 91530.388944s, Dauer 0.18012422360248448h, Termin heute verpasst: False
2023-12-08 04:03:41,165 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -9135.450661s, Dauer 4.142857142857143h, Termin heute verpasst: False
2023-12-08 04:03:41,166 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 90233.492274s, Dauer 0.5403726708074534h, Termin heute verpasst: False
2023-12-08 04:03:41,168 - {control.ev:762} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2023-12-08 04:03:41,172 - {control.chargepoint.chargepoint:898} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.PV_CHARGING, Phasen: 1, Priorität: False, max. Ist-Strom: 0.1
2023-12-08 04:03:41,175 - {control.chargepoint.chargepoint:277} - {INFO:MainThread} - LP 1: Kein Sofortladen, da noch Zeit bis zum Zieltermin ist. Falls vorhanden, wird mit EVU-Überschuss geladen.
2023-12-08 04:03:41,201 - {modules.common.simcount._simcount:38} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1702004611.0229208, power=358.0, imported=2374322.7312490065, exported=0)
2023-12-08 04:03:41,202 - {modules.common.simcount._calculate:13} - {DEBUG:MainThread} - time passed: 0.00282734, power1: 358, power2: 355
2023-12-08 04:03:41,203 - {modules.common.simcount._calculate:29} - {DEBUG:MainThread} - power did not change sign. Total energy: 1.00795
2023-12-08 04:03:41,205 - {modules.common.simcount._simcount:47} - {DEBUG:MainThread} - imported: 1.00795 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702004621.2013464, power=355.0, imported=2374323.7391958702, exported=0)
2023-12-08 04:03:41,208 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=19, daily_exported=0.0, daily_imported=0.0, imported=143333.38, exported=116864.52, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2023-12-08 04:03:41,209 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=19, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=143333.38, exported=116864.52, power=0.0), set=Set(charging_power_left=-50, switch_on_soc_reached=False))
2023-12-08 04:03:41,210 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=97.16, daily_exported=0, power=0, imported=6926458.98, exported=0))
2023-12-08 04:03:41,212 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 95%, 06:00 Uhr', imported_at_plan_start=6926377.93, imported_instant_charging=None, limit=None, phases=1, prio=False, required_current=6, required_currents=[0.0, 6, 0.0], state=0, submode=<Chargemode.PV_CHARGING: 'pv_charging'>, 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=72), currents=[0.1, 0.0, 0.0], daily_imported=97.16, daily_exported=0, evse_current=0, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=6926458.98, phases_in_use=1, plug_state=True, power=0, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Kein Sofortladen, da noch Zeit bis zum Zieltermin ist. Falls vorhanden, wird mit EVU-Überschuss geladen.', voltages=[242.97, 241.03, 243.22]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=0, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='_', imported_at_mode_switch=6926377.93, imported_at_plugtime=6926377.93, imported_since_mode_switch=0, imported_since_plugged=81.05000000074506, range_charged=0, time_charged='00:00', timestamp_start_charging=None), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time='12/07/2023, 13:07:31', required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x70bce790>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB Carport', type='internal_openwb', template=1, connected_phases=3, phase_1=2, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=1))
2023-12-08 04:03:41,212 - {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-12-08 04:03:41,215 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=1, max_current_multi_phases=16, max_current_single_phase=20, name='RFID, 20A, 11kW', rfid_enabling=True, valid_tags=['0003134583', '0003526747', '1655332554', '2585022212', '2585087748'])
2023-12-08 04:03:41,216 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[63, 63, 63], max_total_power=43000), get=Get(powers=[227.0, 23.0, 105.0], currents=[1.2, 0.5, 1.1], voltages=[242.88, 242.63, 240.62], power_factors=[0.72, 0.17, 0.39], unbalanced_load=0, frequency=49.97, daily_exported=0.0, daily_imported=4073.0, imported=6125854.0, exported=4870433.0, fault_state=0, fault_str='Kein Fehler.', power=355.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=42645.0, raw_currents_left=[61.8, 62.6, 61.9], surplus_power_left=0, state_str=''))
2023-12-08 04:03:41,217 - {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': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=355.0, invalid_home_consumption=0, daily_yield_home_consumption=5488.8679565983, imported_home_consumption=2374323.7391958702, disengageable_smarthome_power=0))
2023-12-08 04:03:41,219 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2023-12-08 04:03:41,221 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Ladeprofil ***AUTO1***', disable_after_unplug=False, prio=False, load_default=True, time_charging=TimeCharging(active=True, plans={'0': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[True, True, True, True, False, False, True]), time=['22:00', '06:00'], name='Zeitladen 95%, So-Do 22:00-06:00 Uhr', current=16, limit=Limit(selected='soc', amount=1000, soc=95)), '1': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, True, True, False]), time=['22:00', '06:00'], name='Zeitladen 80%, Fr-Sa 22:00-06:00 Uhr', current=16, limit=Limit(selected='soc', amount=1000, soc=80))}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2023-12-08 04:03:41,222 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, time_charging=TimeCharging(active=True, plans={'2': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), time=['06:45', '07:00'], name='Klima 06:45-07:00 Uhr', current=6, limit=Limit(selected='none', amount=1000, soc=50)), '3': TimeChargingPlan(active=True, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, False, False, False]), time=['00:00', '23:55'], name='Immer 35%', current=10, limit=Limit(selected='soc', amount=1000, soc=35))}), chargemode=Chargemode(selected='scheduled_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={'0': ScheduledChargingPlan(active=False, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, True, False, False, False, False, False]), current=14, name='Zielladen 80%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '1': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), current=14, name='Zielladen 95%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=95), time='05:40'), '2': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once='2023-09-26', weekly=[True, False, False, True, False, True, True]), current=14, name='Zielladen 75%, 7:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=75), time='05:40')}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=80))))
2023-12-08 04:03:41,226 - {control.data:266} - {INFO:MainThread} - ev0
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=['0003134583'], get=Get(soc=0, soc_timestamp=None, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:03:41,227 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Tesla Model Y (2022)', 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=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212', '2585087748'], get=Get(soc=49.0, soc_timestamp='12/08/2023, 01:29:15', force_soc_update=False, range=220.74, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:03:41,228 - {control.data:266} - {INFO:MainThread} - ev2
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Cupra Born 58kW', 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=18000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=2, ev_template=2, name='***AUTO2***', tag_id=['1655332554'], get=Get(soc=72, soc_timestamp='12/08/2023, 02:47:32', force_soc_update=False, range=205, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:03:41,229 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40)
2023-12-08 04:03:41,230 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', 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=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40)
2023-12-08 04:03:41,232 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', 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=18000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40)
2023-12-08 04:03:41,233 - {control.data:245} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=3), pv_charging=PvCharging(bat_prio=True, charging_power_reserve=200, control_range=[-230, 230], feed_in_yield=15000, phase_switch_delay=15, phases_to_use=0, rundown_power=1000, rundown_soc=25, switch_off_delay=60, switch_off_soc=25, switch_off_threshold=50, switch_on_delay=30, switch_on_soc=50, switch_on_threshold=1400), scheduled_charging=ScheduledCharging(phases_to_use=0), time_charging=TimeCharging(phases_to_use=3), unbalanced_load_limit=20, unbalanced_load=True), control_interval=10, extern_display_mode='local', extern=False, external_buttons_hw=False, grid_protection_active=False, grid_protection_configured=True, grid_protection_random_stop=0, grid_protection_timestamp='', mqtt_bridge=False, price_kwh=0.3528, range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=True, r1_active=False, r2_active=False))
2023-12-08 04:03:41,236 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2023-12-08 04:03:41,236 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2023-12-08 04:03:41,237 - {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 0x70b92d18>), led=Led(active=False), rfid=Rfid(active=True))
2023-12-08 04:03:41,237 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=0), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=293628.595, fault_state=0, fault_str='Kein Fehler.', power=0))
2023-12-08 04:03:41,238 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=9500), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=7816178.86, fault_state=0, fault_str='Kein Fehler.', power=-0.0))
2023-12-08 04:03:41,238 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=8109807.455, power=0.0))
2023-12-08 04:03:41,238 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2023-11-30 12:30:45 +0100 [285f5a5fb]', 'current_branch': 'Release', 'current_branch_commit': '2023-11-30 12:30:45 +0100 [285f5a5fb]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.2-Patch.1', 'datastore_version': 29, 'lastlivevaluesJson': {'timestamp': 1702004611, 'time': '04:03:31', 'grid': 0.358, 'house-power': 0.358, 'charging-all': 0.0, 'pv-all': -0.0, 'cp1-power': 0.0, 'ev1-soc': 49.0, 'ev2-soc': 72, 'bat-all-power': 0.0, 'bat-all-soc': 19}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2023-12-08 04:03:41,240 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2023-12-08 04:03:41,241 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2023-12-08 04:03:41,243 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2023-12-08 04:03:41,248 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2023-12-08 04:03:41,250 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2023-12-08 04:03:41,254 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2023-12-08 04:03:41,259 - {control.data:253} - {INFO:MainThread} - 

2023-12-08 04:03:41,261 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2023-12-08 04:03:41,264 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2023-12-08 04:03:41,271 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2023-12-08 04:03:41,273 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2023-12-08 04:03:41,275 - {control.counter:211} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: 0W
2023-12-08 04:03:41,277 - {control.counter:457} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf 0W
2023-12-08 04:03:41,278 - {control.chargepoint.chargepoint:277} - {INFO:MainThread} - LP 1: Die Ladung kann nicht gestartet werden, da die Einschaltschwelle nicht erreicht wird.
2023-12-08 04:03:41,280 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2023-12-08 04:03:41,281 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2023-12-08 04:03:41,286 - {control.process:111} - {INFO:MainThread} - LP1: set current 0 A, state NO_CHARGING_ALLOWED
2023-12-08 04:03:41,289 - {modules.common.component_context:24} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:03:41,337 - {control.counter:186} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2023-12-08 04:03:41,695 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2023-12-08 04:03:41,696 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2023-12-08 04:03:45,705 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2023-12-08 04:03:50,719 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2023-12-08 04:03:50,720 - {root:74} - {INFO:MainThread} - # ***Start*** 
2023-12-08 04:03:50,762 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x715cf340>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x7155e4a8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x715c75f8>}
2023-12-08 04:03:50,764 - {modules.common.component_context:24} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2023-12-08 04:03:50,772 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2023-12-08 04:03:50,774 - {modules.common.component_context:24} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:03:50,775 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2023-12-08 04:03:50,819 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 750
2023-12-08 04:03:50,821 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"cloud":{"connected":false},"input:0":{"id":0,"state":false},"mqtt":{"connected":false},"switch:0":{"id":0, "source":"loopback", "output":false, "apower":0.0, "voltage":242.9, "current":0.000, "aenergy":{"total":1505.625,"by_minute":[0.000,0.000,0.000],"minute_ts":1702004630},"temperature":{"tC":28.8, "tF":83.8}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:03","unixtime":1702004631,"uptime":1363959,"ram_size":248996,"ram_free":145268,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"beta":{"version":"1.1.0-beta2"},"stable":{"version":"1.0.8"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-68},"ws":{"connected":false}}

2023-12-08 04:03:50,823 - {modules.common.simcount._simcount:38} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1702004620.5301025, power=0, imported=0.0, exported=293628.5948715257)
2023-12-08 04:03:50,824 - {modules.common.simcount._calculate:13} - {DEBUG:device1} - time passed: 0.00285938, power1: 0, power2: 0
2023-12-08 04:03:50,826 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-354, -227, -21, -105], Scale 0
2023-12-08 04:03:50,826 - {modules.common.simcount._calculate:29} - {DEBUG:device1} - power did not change sign. Total energy: 0
2023-12-08 04:03:50,828 - {modules.common.simcount._simcount:47} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702004630.8238606, power=0, imported=0.0, exported=293628.5948715257)
2023-12-08 04:03:50,829 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:03:50,854 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [12, 5, 11], Scale -1
2023-12-08 04:03:50,874 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [24276, 24256, 24056, 0, 0, 0, 0], Scale -2
2023-12-08 04:03:51,004 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4997], Scale -2
2023-12-08 04:03:51,025 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7210, 1759, 3939], Scale -2
2023-12-08 04:03:51,044 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4870433, 1797042, 2153375, 1456453, 6125854, 2531520, 1862788, 2267984], Scale 0
2023-12-08 04:03:51,045 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[1.2000000000000002, 0.5, 1.1], powers=[227.0, 21.0, 105.0], voltages=[242.76, 242.56, 240.56], power_factors=[0.7210000000000001, 0.1759, 0.39390000000000003], imported=6125854.0, exported=4870433.0, power=354.0, frequency=49.97)
2023-12-08 04:03:51,047 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2023-12-08 04:03:51,063 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [0], Scale 0
2023-12-08 04:03:51,085 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7789710], Scale 0
2023-12-08 04:03:51,103 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [28, 32, 32], Scale -2
2023-12-08 04:03:51,123 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4606], Scale -2
2023-12-08 04:03:51,124 - {modules.common.component_state:100} - {DEBUG:device0} - currents sign wrong [0.28, 0.32, 0.32]
2023-12-08 04:03:51,124 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.28, 0.32, 0.32], power=-0.0, exported=7789710.0, dc_power=46.06)
2023-12-08 04:03:51,128 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2023-12-08 04:03:51,163 - {modules.common.simcount._simcount:38} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1702004620.8644965, power=0.0, imported=143333.37604219164, exported=116864.5215890633)
2023-12-08 04:03:51,164 - {modules.common.simcount._calculate:13} - {DEBUG:device0} - time passed: 0.00286083, power1: 0, power2: 0
2023-12-08 04:03:51,164 - {modules.common.simcount._calculate:29} - {DEBUG:device0} - power did not change sign. Total energy: 0
2023-12-08 04:03:51,165 - {modules.common.simcount._simcount:47} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702004631.1634905, power=0.0, imported=143333.37604219164, exported=116864.5215890633)
2023-12-08 04:03:51,166 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=143333.37604219164, exported=116864.5215890633, power=0.0, soc=19.0)
2023-12-08 04:03:51,184 - {modules.common.component_context:24} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2023-12-08 04:03:51,185 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=143333.37604219164, exported=116864.5215890633, power=0.0, soc=19.0)
2023-12-08 04:03:51,212 - {modules.common.component_context:24} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:03:51,215 - {modules.common.component_context:24} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2023-12-08 04:03:51,216 - {modules.common.component_context:24} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2023-12-08 04:03:51,216 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-0.0, exported=7816178.86, dc_power=None)
2023-12-08 04:03:51,217 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:03:51,218 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-0.0, exported=7816178.86, dc_power=None)
2023-12-08 04:03:51,218 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:03:51,260 - {modules.common.component_context:24} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2023-12-08 04:03:51,260 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[1.2000000000000002, 0.5, 1.1], powers=[227.0, 21.0, 105.0], voltages=[242.76, 242.56, 240.56], power_factors=[0.7210000000000001, 0.1759, 0.39390000000000003], imported=6125854.0, exported=4870433.0, power=354.0, frequency=49.97)
2023-12-08 04:03:51,428 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2023-12-08 04:03:51,430 - {control.bat_all:173} - {INFO:MainThread} - -50W verbleibende Speicher-Leistung
2023-12-08 04:03:51,432 - {control.counter:138} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [61.8, 62.6, 61.9]A
2023-12-08 04:03:51,433 - {control.counter:161} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 42646.0W
2023-12-08 04:03:51,435 - {control.chargepoint.chargepoint:699} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2023-12-08 04:03:51,437 - {control.chargepoint.chargepoint:682} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2023-12-08 04:03:51,439 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 797.132214s, Dauer 1.380952380952381h, Termin heute verpasst: False
2023-12-08 04:03:51,441 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 91520.11217s, Dauer 0.18012422360248448h, Termin heute verpasst: False
2023-12-08 04:03:51,442 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -9145.727689s, Dauer 4.142857142857143h, Termin heute verpasst: False
2023-12-08 04:03:51,443 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 90223.215018s, Dauer 0.5403726708074534h, Termin heute verpasst: False
2023-12-08 04:03:51,445 - {control.ev:762} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2023-12-08 04:03:51,450 - {control.chargepoint.chargepoint:898} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.PV_CHARGING, Phasen: 1, Priorität: False, max. Ist-Strom: 0.1
2023-12-08 04:03:51,457 - {control.chargepoint.chargepoint:277} - {INFO:MainThread} - LP 1: Kein Sofortladen, da noch Zeit bis zum Zieltermin ist. Falls vorhanden, wird mit EVU-Überschuss geladen.
2023-12-08 04:03:51,483 - {modules.common.simcount._simcount:38} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1702004621.2013464, power=355.0, imported=2374323.7391958702, exported=0)
2023-12-08 04:03:51,485 - {modules.common.simcount._calculate:13} - {DEBUG:MainThread} - time passed: 0.00285601, power1: 355, power2: 354
2023-12-08 04:03:51,487 - {modules.common.simcount._calculate:29} - {DEBUG:MainThread} - power did not change sign. Total energy: 1.01246
2023-12-08 04:03:51,492 - {modules.common.simcount._simcount:47} - {DEBUG:MainThread} - imported: 1.01246 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702004631.4829907, power=354.0, imported=2374324.751652237, exported=0)
2023-12-08 04:03:51,496 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=19, daily_exported=0.0, daily_imported=0.0, imported=143333.38, exported=116864.52, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2023-12-08 04:03:51,498 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=19, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=143333.38, exported=116864.52, power=0.0), set=Set(charging_power_left=-50, switch_on_soc_reached=False))
2023-12-08 04:03:51,499 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=97.16, daily_exported=0, power=0, imported=6926458.98, exported=0))
2023-12-08 04:03:51,501 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 95%, 06:00 Uhr', imported_at_plan_start=6926377.93, imported_instant_charging=None, limit=None, phases=1, prio=False, required_current=6, required_currents=[0.0, 6, 0.0], state=0, submode=<Chargemode.PV_CHARGING: 'pv_charging'>, 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=72), currents=[0.1, 0.0, 0.0], daily_imported=97.16, daily_exported=0, evse_current=0, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=6926458.98, phases_in_use=1, plug_state=True, power=0, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Kein Sofortladen, da noch Zeit bis zum Zieltermin ist. Falls vorhanden, wird mit EVU-Überschuss geladen.', voltages=[242.92, 240.96, 243.17]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=0, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='_', imported_at_mode_switch=6926377.93, imported_at_plugtime=6926377.93, imported_since_mode_switch=0, imported_since_plugged=81.05000000074506, range_charged=0, time_charged='00:00', timestamp_start_charging=None), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time='12/07/2023, 13:07:31', required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x70b5f040>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB Carport', type='internal_openwb', template=1, connected_phases=3, phase_1=2, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=1))
2023-12-08 04:03:51,502 - {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-12-08 04:03:51,503 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=1, max_current_multi_phases=16, max_current_single_phase=20, name='RFID, 20A, 11kW', rfid_enabling=True, valid_tags=['0003134583', '0003526747', '1655332554', '2585022212', '2585087748'])
2023-12-08 04:03:51,505 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[63, 63, 63], max_total_power=43000), get=Get(powers=[227.0, 21.0, 105.0], currents=[1.2, 0.5, 1.1], voltages=[242.76, 242.56, 240.56], power_factors=[0.72, 0.18, 0.39], unbalanced_load=0, frequency=49.97, daily_exported=0.0, daily_imported=4073.0, imported=6125854.0, exported=4870433.0, fault_state=0, fault_str='Kein Fehler.', power=354.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=42646.0, raw_currents_left=[61.8, 62.6, 61.9], surplus_power_left=0, state_str=''))
2023-12-08 04:03:51,522 - {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': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=354.0, invalid_home_consumption=0, daily_yield_home_consumption=5488.8679565983, imported_home_consumption=2374324.751652237, disengageable_smarthome_power=0))
2023-12-08 04:03:51,525 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2023-12-08 04:03:51,526 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Ladeprofil ***AUTO1***', disable_after_unplug=False, prio=False, load_default=True, time_charging=TimeCharging(active=True, plans={'0': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[True, True, True, True, False, False, True]), time=['22:00', '06:00'], name='Zeitladen 95%, So-Do 22:00-06:00 Uhr', current=16, limit=Limit(selected='soc', amount=1000, soc=95)), '1': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, True, True, False]), time=['22:00', '06:00'], name='Zeitladen 80%, Fr-Sa 22:00-06:00 Uhr', current=16, limit=Limit(selected='soc', amount=1000, soc=80))}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2023-12-08 04:03:51,527 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, time_charging=TimeCharging(active=True, plans={'2': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), time=['06:45', '07:00'], name='Klima 06:45-07:00 Uhr', current=6, limit=Limit(selected='none', amount=1000, soc=50)), '3': TimeChargingPlan(active=True, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, False, False, False]), time=['00:00', '23:55'], name='Immer 35%', current=10, limit=Limit(selected='soc', amount=1000, soc=35))}), chargemode=Chargemode(selected='scheduled_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={'0': ScheduledChargingPlan(active=False, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, True, False, False, False, False, False]), current=14, name='Zielladen 80%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '1': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), current=14, name='Zielladen 95%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=95), time='05:40'), '2': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once='2023-09-26', weekly=[True, False, False, True, False, True, True]), current=14, name='Zielladen 75%, 7:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=75), time='05:40')}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=80))))
2023-12-08 04:03:51,528 - {control.data:266} - {INFO:MainThread} - ev0
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=['0003134583'], get=Get(soc=0, soc_timestamp=None, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:03:51,530 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Tesla Model Y (2022)', 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=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212', '2585087748'], get=Get(soc=49.0, soc_timestamp='12/08/2023, 01:29:15', force_soc_update=False, range=220.74, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:03:51,532 - {control.data:266} - {INFO:MainThread} - ev2
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Cupra Born 58kW', 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=18000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=2, ev_template=2, name='***AUTO2***', tag_id=['1655332554'], get=Get(soc=72, soc_timestamp='12/08/2023, 02:47:32', force_soc_update=False, range=205, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:03:51,532 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40)
2023-12-08 04:03:51,534 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', 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=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40)
2023-12-08 04:03:51,535 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', 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=18000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40)
2023-12-08 04:03:51,536 - {control.data:245} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=3), pv_charging=PvCharging(bat_prio=True, charging_power_reserve=200, control_range=[-230, 230], feed_in_yield=15000, phase_switch_delay=15, phases_to_use=0, rundown_power=1000, rundown_soc=25, switch_off_delay=60, switch_off_soc=25, switch_off_threshold=50, switch_on_delay=30, switch_on_soc=50, switch_on_threshold=1400), scheduled_charging=ScheduledCharging(phases_to_use=0), time_charging=TimeCharging(phases_to_use=3), unbalanced_load_limit=20, unbalanced_load=True), control_interval=10, extern_display_mode='local', extern=False, external_buttons_hw=False, grid_protection_active=False, grid_protection_configured=True, grid_protection_random_stop=0, grid_protection_timestamp='', mqtt_bridge=False, price_kwh=0.3528, range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=True, r1_active=False, r2_active=False))
2023-12-08 04:03:51,537 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2023-12-08 04:03:51,540 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2023-12-08 04:03:51,543 - {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 0x70b62dc0>), led=Led(active=False), rfid=Rfid(active=True))
2023-12-08 04:03:51,544 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=0), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=293628.595, fault_state=0, fault_str='Kein Fehler.', power=0))
2023-12-08 04:03:51,545 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=9500), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=7816178.86, fault_state=0, fault_str='Kein Fehler.', power=-0.0))
2023-12-08 04:03:51,546 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=8109807.455, power=0.0))
2023-12-08 04:03:51,548 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2023-11-30 12:30:45 +0100 [285f5a5fb]', 'current_branch': 'Release', 'current_branch_commit': '2023-11-30 12:30:45 +0100 [285f5a5fb]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.2-Patch.1', 'datastore_version': 29, 'lastlivevaluesJson': {'timestamp': 1702004621, 'time': '04:03:41', 'grid': 0.355, 'house-power': 0.355, 'charging-all': 0.0, 'pv-all': -0.0, 'cp1-power': 0.0, 'ev1-soc': 49.0, 'ev2-soc': 72, 'bat-all-power': 0.0, 'bat-all-soc': 19}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2023-12-08 04:03:51,550 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2023-12-08 04:03:51,550 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2023-12-08 04:03:51,552 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2023-12-08 04:03:51,554 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2023-12-08 04:03:51,556 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2023-12-08 04:03:51,557 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2023-12-08 04:03:51,558 - {control.data:253} - {INFO:MainThread} - 

2023-12-08 04:03:51,561 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2023-12-08 04:03:51,562 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2023-12-08 04:03:51,565 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2023-12-08 04:03:51,568 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2023-12-08 04:03:51,571 - {control.counter:211} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: 0W
2023-12-08 04:03:51,572 - {control.counter:457} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf 0W
2023-12-08 04:03:51,574 - {control.chargepoint.chargepoint:277} - {INFO:MainThread} - LP 1: Die Ladung kann nicht gestartet werden, da die Einschaltschwelle nicht erreicht wird.
2023-12-08 04:03:51,577 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2023-12-08 04:03:51,578 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2023-12-08 04:03:51,581 - {control.process:111} - {INFO:MainThread} - LP1: set current 0 A, state NO_CHARGING_ALLOWED
2023-12-08 04:03:51,586 - {modules.common.component_context:24} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:03:51,619 - {control.counter:186} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2023-12-08 04:03:51,861 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2023-12-08 04:03:51,863 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2023-12-08 04:03:55,871 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2023-12-08 04:03:55,872 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2023-12-08 04:04:00,883 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2023-12-08 04:04:00,884 - {root:74} - {INFO:MainThread} - # ***Start*** 
2023-12-08 04:04:00,951 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x715cf340>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x7155e4a8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x715c75f8>}
2023-12-08 04:04:00,952 - {modules.common.component_context:24} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2023-12-08 04:04:00,956 - {modules.common.component_context:24} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:04:00,963 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2023-12-08 04:04:00,966 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2023-12-08 04:04:00,999 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-351, -222, -21, -108], Scale 0
2023-12-08 04:04:01,009 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 750
2023-12-08 04:04:01,012 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"cloud":{"connected":false},"input:0":{"id":0,"state":false},"mqtt":{"connected":false},"switch:0":{"id":0, "source":"loopback", "output":false, "apower":0.0, "voltage":243.0, "current":0.000, "aenergy":{"total":1505.625,"by_minute":[0.000,0.000,0.000],"minute_ts":1702004640},"temperature":{"tC":28.8, "tF":83.9}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:04","unixtime":1702004641,"uptime":1363969,"ram_size":248944,"ram_free":144676,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"beta":{"version":"1.1.0-beta2"},"stable":{"version":"1.0.8"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-68},"ws":{"connected":false}}

2023-12-08 04:04:01,016 - {modules.common.simcount._simcount:38} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1702004630.8238606, power=0, imported=0.0, exported=293628.5948715257)
2023-12-08 04:04:01,018 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [12, 5, 11], Scale -1
2023-12-08 04:04:01,019 - {modules.common.simcount._calculate:13} - {DEBUG:device1} - time passed: 0.00283131, power1: 0, power2: 0
2023-12-08 04:04:01,022 - {modules.common.simcount._calculate:29} - {DEBUG:device1} - power did not change sign. Total energy: 0
2023-12-08 04:04:01,023 - {modules.common.simcount._simcount:47} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702004641.016579, power=0, imported=0.0, exported=293628.5948715257)
2023-12-08 04:04:01,033 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:04:01,037 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [24288, 24258, 24066, 0, 0, 0, 0], Scale -2
2023-12-08 04:04:01,054 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4997], Scale -2
2023-12-08 04:04:01,098 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7189, 1599, 3899], Scale -2
2023-12-08 04:04:01,139 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4870433, 1797042, 2153375, 1456453, 6125855, 2531521, 1862788, 2267985], Scale 0
2023-12-08 04:04:01,139 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[1.2000000000000002, 0.5, 1.1], powers=[222.0, 21.0, 108.0], voltages=[242.88, 242.58, 240.66], power_factors=[0.7189, 0.15990000000000001, 0.3899], imported=6125855.0, exported=4870433.0, power=351.0, frequency=49.97)
2023-12-08 04:04:01,141 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2023-12-08 04:04:01,164 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [0], Scale 0
2023-12-08 04:04:01,184 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7789710], Scale 0
2023-12-08 04:04:01,255 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [28, 31, 30], Scale -2
2023-12-08 04:04:01,286 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4879], Scale -2
2023-12-08 04:04:01,287 - {modules.common.component_state:100} - {DEBUG:device0} - currents sign wrong [0.28, 0.31, 0.3]
2023-12-08 04:04:01,288 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.28, 0.31, 0.3], power=-0.0, exported=7789710.0, dc_power=48.79)
2023-12-08 04:04:01,293 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2023-12-08 04:04:01,340 - {modules.common.simcount._simcount:38} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1702004631.1634905, power=0.0, imported=143333.37604219164, exported=116864.5215890633)
2023-12-08 04:04:01,342 - {modules.common.simcount._calculate:13} - {DEBUG:device0} - time passed: 0.00282698, power1: 0, power2: 0
2023-12-08 04:04:01,344 - {modules.common.simcount._calculate:29} - {DEBUG:device0} - power did not change sign. Total energy: 0
2023-12-08 04:04:01,348 - {modules.common.simcount._simcount:47} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702004641.3406146, power=0.0, imported=143333.37604219164, exported=116864.5215890633)
2023-12-08 04:04:01,351 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=143333.37604219164, exported=116864.5215890633, power=0.0, soc=19.0)
2023-12-08 04:04:01,359 - {modules.common.component_context:24} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2023-12-08 04:04:01,362 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=143333.37604219164, exported=116864.5215890633, power=0.0, soc=19.0)
2023-12-08 04:04:01,507 - {modules.common.component_context:24} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:04:01,509 - {modules.common.component_context:24} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2023-12-08 04:04:01,510 - {modules.common.component_context:24} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2023-12-08 04:04:01,511 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-0.0, exported=7816178.86, dc_power=None)
2023-12-08 04:04:01,513 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:04:01,515 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-0.0, exported=7816178.86, dc_power=None)
2023-12-08 04:04:01,517 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:04:01,554 - {modules.common.component_context:24} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2023-12-08 04:04:01,555 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[1.2000000000000002, 0.5, 1.1], powers=[222.0, 21.0, 108.0], voltages=[242.88, 242.58, 240.66], power_factors=[0.7189, 0.15990000000000001, 0.3899], imported=6125855.0, exported=4870433.0, power=351.0, frequency=49.97)
2023-12-08 04:04:01,697 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2023-12-08 04:04:01,699 - {control.bat_all:173} - {INFO:MainThread} - -50W verbleibende Speicher-Leistung
2023-12-08 04:04:01,701 - {control.counter:138} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [61.8, 62.6, 61.9]A
2023-12-08 04:04:01,701 - {control.counter:161} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 42649.0W
2023-12-08 04:04:01,703 - {control.chargepoint.chargepoint:699} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2023-12-08 04:04:01,705 - {control.chargepoint.chargepoint:682} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2023-12-08 04:04:01,707 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 786.864816s, Dauer 1.380952380952381h, Termin heute verpasst: False
2023-12-08 04:04:01,708 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 91509.844955s, Dauer 0.18012422360248448h, Termin heute verpasst: False
2023-12-08 04:04:01,710 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -9155.995633s, Dauer 4.142857142857143h, Termin heute verpasst: False
2023-12-08 04:04:01,712 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 90212.946595s, Dauer 0.5403726708074534h, Termin heute verpasst: False
2023-12-08 04:04:01,712 - {control.ev:762} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2023-12-08 04:04:01,716 - {control.chargepoint.chargepoint:898} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.PV_CHARGING, Phasen: 1, Priorität: False, max. Ist-Strom: 0.1
2023-12-08 04:04:01,717 - {control.chargepoint.chargepoint:277} - {INFO:MainThread} - LP 1: Kein Sofortladen, da noch Zeit bis zum Zieltermin ist. Falls vorhanden, wird mit EVU-Überschuss geladen.
2023-12-08 04:04:01,728 - {modules.common.simcount._simcount:38} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1702004631.4829907, power=354.0, imported=2374324.751652237, exported=0)
2023-12-08 04:04:01,737 - {modules.common.simcount._calculate:13} - {DEBUG:MainThread} - time passed: 0.00284606, power1: 354, power2: 351
2023-12-08 04:04:01,741 - {modules.common.simcount._calculate:29} - {DEBUG:MainThread} - power did not change sign. Total energy: 1.00324
2023-12-08 04:04:01,742 - {modules.common.simcount._simcount:47} - {DEBUG:MainThread} - imported: 1.00324 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702004641.7288039, power=351.0, imported=2374325.754888106, exported=0)
2023-12-08 04:04:01,747 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=19, daily_exported=0.0, daily_imported=0.0, imported=143333.38, exported=116864.52, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2023-12-08 04:04:01,750 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=19, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=143333.38, exported=116864.52, power=0.0), set=Set(charging_power_left=-50, switch_on_soc_reached=False))
2023-12-08 04:04:01,752 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=97.16, daily_exported=0, power=0, imported=6926458.98, exported=0))
2023-12-08 04:04:01,754 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 95%, 06:00 Uhr', imported_at_plan_start=6926377.93, imported_instant_charging=None, limit=None, phases=1, prio=False, required_current=6, required_currents=[0.0, 6, 0.0], state=0, submode=<Chargemode.PV_CHARGING: 'pv_charging'>, 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=72), currents=[0.1, 0.0, 0.0], daily_imported=97.16, daily_exported=0, evse_current=0, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=6926458.98, phases_in_use=1, plug_state=True, power=0, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Kein Sofortladen, da noch Zeit bis zum Zieltermin ist. Falls vorhanden, wird mit EVU-Überschuss geladen.', voltages=[242.98, 241.01, 243.25]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=0, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='_', imported_at_mode_switch=6926377.93, imported_at_plugtime=6926377.93, imported_since_mode_switch=0, imported_since_plugged=81.05000000074506, range_charged=0, time_charged='00:00', timestamp_start_charging=None), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time='12/07/2023, 13:07:31', required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x71578538>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB Carport', type='internal_openwb', template=1, connected_phases=3, phase_1=2, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=1))
2023-12-08 04:04:01,758 - {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-12-08 04:04:01,760 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=1, max_current_multi_phases=16, max_current_single_phase=20, name='RFID, 20A, 11kW', rfid_enabling=True, valid_tags=['0003134583', '0003526747', '1655332554', '2585022212', '2585087748'])
2023-12-08 04:04:01,762 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[63, 63, 63], max_total_power=43000), get=Get(powers=[222.0, 21.0, 108.0], currents=[1.2, 0.5, 1.1], voltages=[242.88, 242.58, 240.66], power_factors=[0.72, 0.16, 0.39], unbalanced_load=0, frequency=49.97, daily_exported=0.0, daily_imported=4073.0, imported=6125855.0, exported=4870433.0, fault_state=0, fault_str='Kein Fehler.', power=351.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=42649.0, raw_currents_left=[61.8, 62.6, 61.9], surplus_power_left=0, state_str=''))
2023-12-08 04:04:01,764 - {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': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=351.0, invalid_home_consumption=0, daily_yield_home_consumption=5488.8679565983, imported_home_consumption=2374325.754888106, disengageable_smarthome_power=0))
2023-12-08 04:04:01,766 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2023-12-08 04:04:01,768 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Ladeprofil ***AUTO1***', disable_after_unplug=False, prio=False, load_default=True, time_charging=TimeCharging(active=True, plans={'0': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[True, True, True, True, False, False, True]), time=['22:00', '06:00'], name='Zeitladen 95%, So-Do 22:00-06:00 Uhr', current=16, limit=Limit(selected='soc', amount=1000, soc=95)), '1': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, True, True, False]), time=['22:00', '06:00'], name='Zeitladen 80%, Fr-Sa 22:00-06:00 Uhr', current=16, limit=Limit(selected='soc', amount=1000, soc=80))}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2023-12-08 04:04:01,772 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, time_charging=TimeCharging(active=True, plans={'2': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), time=['06:45', '07:00'], name='Klima 06:45-07:00 Uhr', current=6, limit=Limit(selected='none', amount=1000, soc=50)), '3': TimeChargingPlan(active=True, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, False, False, False]), time=['00:00', '23:55'], name='Immer 35%', current=10, limit=Limit(selected='soc', amount=1000, soc=35))}), chargemode=Chargemode(selected='scheduled_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={'0': ScheduledChargingPlan(active=False, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, True, False, False, False, False, False]), current=14, name='Zielladen 80%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '1': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), current=14, name='Zielladen 95%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=95), time='05:40'), '2': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once='2023-09-26', weekly=[True, False, False, True, False, True, True]), current=14, name='Zielladen 75%, 7:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=75), time='05:40')}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=80))))
2023-12-08 04:04:01,774 - {control.data:266} - {INFO:MainThread} - ev0
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=['0003134583'], get=Get(soc=0, soc_timestamp=None, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:04:01,776 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Tesla Model Y (2022)', 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=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212', '2585087748'], get=Get(soc=49.0, soc_timestamp='12/08/2023, 01:29:15', force_soc_update=False, range=220.74, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:04:01,778 - {control.data:266} - {INFO:MainThread} - ev2
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Cupra Born 58kW', 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=18000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=2, ev_template=2, name='***AUTO2***', tag_id=['1655332554'], get=Get(soc=72, soc_timestamp='12/08/2023, 02:47:32', force_soc_update=False, range=205, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:04:01,780 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40)
2023-12-08 04:04:01,782 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', 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=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40)
2023-12-08 04:04:01,784 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', 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=18000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40)
2023-12-08 04:04:01,786 - {control.data:245} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=3), pv_charging=PvCharging(bat_prio=True, charging_power_reserve=200, control_range=[-230, 230], feed_in_yield=15000, phase_switch_delay=15, phases_to_use=0, rundown_power=1000, rundown_soc=25, switch_off_delay=60, switch_off_soc=25, switch_off_threshold=50, switch_on_delay=30, switch_on_soc=50, switch_on_threshold=1400), scheduled_charging=ScheduledCharging(phases_to_use=0), time_charging=TimeCharging(phases_to_use=3), unbalanced_load_limit=20, unbalanced_load=True), control_interval=10, extern_display_mode='local', extern=False, external_buttons_hw=False, grid_protection_active=False, grid_protection_configured=True, grid_protection_random_stop=0, grid_protection_timestamp='', mqtt_bridge=False, price_kwh=0.3528, range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=True, r1_active=False, r2_active=False))
2023-12-08 04:04:01,788 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2023-12-08 04:04:01,789 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2023-12-08 04:04:01,791 - {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 0x70b5f8f8>), led=Led(active=False), rfid=Rfid(active=True))
2023-12-08 04:04:01,792 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=0), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=293628.595, fault_state=0, fault_str='Kein Fehler.', power=0))
2023-12-08 04:04:01,793 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=9500), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=7816178.86, fault_state=0, fault_str='Kein Fehler.', power=-0.0))
2023-12-08 04:04:01,795 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=8109807.455, power=0.0))
2023-12-08 04:04:01,796 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2023-11-30 12:30:45 +0100 [285f5a5fb]', 'current_branch': 'Release', 'current_branch_commit': '2023-11-30 12:30:45 +0100 [285f5a5fb]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.2-Patch.1', 'datastore_version': 29, 'lastlivevaluesJson': {'timestamp': 1702004631, 'time': '04:03:51', 'grid': 0.354, 'house-power': 0.354, 'charging-all': 0.0, 'pv-all': -0.0, 'cp1-power': 0.0, 'ev1-soc': 49.0, 'ev2-soc': 72, 'bat-all-power': 0.0, 'bat-all-soc': 19}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2023-12-08 04:04:01,797 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2023-12-08 04:04:01,798 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2023-12-08 04:04:01,799 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2023-12-08 04:04:01,801 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2023-12-08 04:04:01,804 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2023-12-08 04:04:01,805 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2023-12-08 04:04:01,808 - {control.data:253} - {INFO:MainThread} - 

2023-12-08 04:04:01,809 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2023-12-08 04:04:01,812 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2023-12-08 04:04:01,815 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2023-12-08 04:04:01,818 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2023-12-08 04:04:01,822 - {control.counter:211} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: 0W
2023-12-08 04:04:01,826 - {control.counter:457} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf 0W
2023-12-08 04:04:01,829 - {control.chargepoint.chargepoint:277} - {INFO:MainThread} - LP 1: Die Ladung kann nicht gestartet werden, da die Einschaltschwelle nicht erreicht wird.
2023-12-08 04:04:01,830 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2023-12-08 04:04:01,832 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2023-12-08 04:04:01,833 - {control.process:111} - {INFO:MainThread} - LP1: set current 0 A, state NO_CHARGING_ALLOWED
2023-12-08 04:04:01,837 - {modules.common.component_context:24} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:04:01,859 - {control.counter:186} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2023-12-08 04:04:02,070 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2023-12-08 04:04:05,083 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2023-12-08 04:04:05,085 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2023-12-08 04:04:10,094 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2023-12-08 04:04:10,095 - {root:74} - {INFO:MainThread} - # ***Start*** 
2023-12-08 04:04:10,143 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x715cf340>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x7155e4a8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x715c75f8>}
2023-12-08 04:04:10,144 - {modules.common.component_context:24} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2023-12-08 04:04:10,151 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2023-12-08 04:04:10,154 - {modules.common.component_context:24} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:04:10,162 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2023-12-08 04:04:10,198 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 750
2023-12-08 04:04:10,201 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"cloud":{"connected":false},"input:0":{"id":0,"state":false},"mqtt":{"connected":false},"switch:0":{"id":0, "source":"loopback", "output":false, "apower":0.0, "voltage":242.8, "current":0.000, "aenergy":{"total":1505.625,"by_minute":[0.000,0.000,0.000],"minute_ts":1702004649},"temperature":{"tC":28.8, "tF":83.9}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:04","unixtime":1702004651,"uptime":1363978,"ram_size":248944,"ram_free":144676,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"beta":{"version":"1.1.0-beta2"},"stable":{"version":"1.0.8"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-68},"ws":{"connected":false}}

2023-12-08 04:04:10,213 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-349, -223, -21, -104], Scale 0
2023-12-08 04:04:10,223 - {modules.common.simcount._simcount:38} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1702004641.016579, power=0, imported=0.0, exported=293628.5948715257)
2023-12-08 04:04:10,227 - {modules.common.simcount._calculate:13} - {DEBUG:device1} - time passed: 0.00255745, power1: 0, power2: 0
2023-12-08 04:04:10,230 - {modules.common.simcount._calculate:29} - {DEBUG:device1} - power did not change sign. Total energy: 0
2023-12-08 04:04:10,231 - {modules.common.simcount._simcount:47} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702004650.2233813, power=0, imported=0.0, exported=293628.5948715257)
2023-12-08 04:04:10,245 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [12, 5, 11], Scale -1
2023-12-08 04:04:10,256 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:04:10,304 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [24275, 24254, 24049, 0, 0, 0, 0], Scale -2
2023-12-08 04:04:10,359 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4997], Scale -2
2023-12-08 04:04:10,395 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7220, 1780, 3939], Scale -2
2023-12-08 04:04:10,504 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4870433, 1797042, 2153375, 1456453, 6125856, 2531521, 1862788, 2267985], Scale 0
2023-12-08 04:04:10,505 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[1.2000000000000002, 0.5, 1.1], powers=[223.0, 21.0, 104.0], voltages=[242.75, 242.54, 240.49], power_factors=[0.722, 0.17800000000000002, 0.39390000000000003], imported=6125856.0, exported=4870433.0, power=349.0, frequency=49.97)
2023-12-08 04:04:10,507 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2023-12-08 04:04:10,525 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [0], Scale 0
2023-12-08 04:04:10,546 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7789710], Scale 0
2023-12-08 04:04:10,575 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [28, 31, 32], Scale -2
2023-12-08 04:04:10,604 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4560], Scale -2
2023-12-08 04:04:10,604 - {modules.common.component_state:100} - {DEBUG:device0} - currents sign wrong [0.28, 0.31, 0.32]
2023-12-08 04:04:10,605 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.28, 0.31, 0.32], power=-0.0, exported=7789710.0, dc_power=45.6)
2023-12-08 04:04:10,606 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2023-12-08 04:04:10,643 - {modules.common.simcount._simcount:38} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1702004641.3406146, power=0.0, imported=143333.37604219164, exported=116864.5215890633)
2023-12-08 04:04:10,644 - {modules.common.simcount._calculate:13} - {DEBUG:device0} - time passed: 0.00258415, power1: 0, power2: 0
2023-12-08 04:04:10,644 - {modules.common.simcount._calculate:29} - {DEBUG:device0} - power did not change sign. Total energy: 0
2023-12-08 04:04:10,645 - {modules.common.simcount._simcount:47} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702004650.6435633, power=0.0, imported=143333.37604219164, exported=116864.5215890633)
2023-12-08 04:04:10,646 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=143333.37604219164, exported=116864.5215890633, power=0.0, soc=19.0)
2023-12-08 04:04:10,652 - {modules.common.component_context:24} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2023-12-08 04:04:10,654 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=143333.37604219164, exported=116864.5215890633, power=0.0, soc=19.0)
2023-12-08 04:04:10,701 - {modules.common.component_context:24} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:04:10,702 - {modules.common.component_context:24} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2023-12-08 04:04:10,702 - {modules.common.component_context:24} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2023-12-08 04:04:10,703 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-0.0, exported=7816178.86, dc_power=None)
2023-12-08 04:04:10,704 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:04:10,705 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-0.0, exported=7816178.86, dc_power=None)
2023-12-08 04:04:10,705 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:04:10,752 - {modules.common.component_context:24} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2023-12-08 04:04:10,753 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[1.2000000000000002, 0.5, 1.1], powers=[223.0, 21.0, 104.0], voltages=[242.75, 242.54, 240.49], power_factors=[0.722, 0.17800000000000002, 0.39390000000000003], imported=6125856.0, exported=4870433.0, power=349.0, frequency=49.97)
2023-12-08 04:04:10,930 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2023-12-08 04:04:10,932 - {control.bat_all:173} - {INFO:MainThread} - -50W verbleibende Speicher-Leistung
2023-12-08 04:04:10,935 - {control.counter:138} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [61.8, 62.6, 61.9]A
2023-12-08 04:04:10,937 - {control.counter:161} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 42651.0W
2023-12-08 04:04:10,940 - {control.chargepoint.chargepoint:699} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2023-12-08 04:04:10,941 - {control.chargepoint.chargepoint:682} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2023-12-08 04:04:10,943 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 777.628945s, Dauer 1.380952380952381h, Termin heute verpasst: False
2023-12-08 04:04:10,944 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 91500.608893s, Dauer 0.18012422360248448h, Termin heute verpasst: False
2023-12-08 04:04:10,945 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -9165.230703s, Dauer 4.142857142857143h, Termin heute verpasst: False
2023-12-08 04:04:10,946 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 90203.712348s, Dauer 0.5403726708074534h, Termin heute verpasst: False
2023-12-08 04:04:10,947 - {control.ev:762} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2023-12-08 04:04:10,951 - {control.chargepoint.chargepoint:898} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.PV_CHARGING, Phasen: 1, Priorität: False, max. Ist-Strom: 0.1
2023-12-08 04:04:10,953 - {control.chargepoint.chargepoint:277} - {INFO:MainThread} - LP 1: Kein Sofortladen, da noch Zeit bis zum Zieltermin ist. Falls vorhanden, wird mit EVU-Überschuss geladen.
2023-12-08 04:04:10,961 - {modules.common.simcount._simcount:38} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1702004641.7288039, power=351.0, imported=2374325.754888106, exported=0)
2023-12-08 04:04:10,963 - {modules.common.simcount._calculate:13} - {DEBUG:MainThread} - time passed: 0.00256458, power1: 351, power2: 349
2023-12-08 04:04:10,966 - {modules.common.simcount._calculate:29} - {DEBUG:MainThread} - power did not change sign. Total energy: 0.897603
2023-12-08 04:04:10,970 - {modules.common.simcount._simcount:47} - {DEBUG:MainThread} - imported: 0.897603 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702004650.96129, power=349.0, imported=2374326.6524909125, exported=0)
2023-12-08 04:04:10,974 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=19, daily_exported=0.0, daily_imported=0.0, imported=143333.38, exported=116864.52, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2023-12-08 04:04:10,977 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=19, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=143333.38, exported=116864.52, power=0.0), set=Set(charging_power_left=-50, switch_on_soc_reached=False))
2023-12-08 04:04:10,979 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=97.16, daily_exported=0, power=0, imported=6926458.98, exported=0))
2023-12-08 04:04:10,980 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 95%, 06:00 Uhr', imported_at_plan_start=6926377.93, imported_instant_charging=None, limit=None, phases=1, prio=False, required_current=6, required_currents=[0.0, 6, 0.0], state=0, submode=<Chargemode.PV_CHARGING: 'pv_charging'>, 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=72), currents=[0.1, 0.0, 0.0], daily_imported=97.16, daily_exported=0, evse_current=0, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=6926458.98, phases_in_use=1, plug_state=True, power=0, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Kein Sofortladen, da noch Zeit bis zum Zieltermin ist. Falls vorhanden, wird mit EVU-Überschuss geladen.', voltages=[242.85, 240.92, 243.14]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=0, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='_', imported_at_mode_switch=6926377.93, imported_at_plugtime=6926377.93, imported_since_mode_switch=0, imported_since_plugged=81.05000000074506, range_charged=0, time_charged='00:00', timestamp_start_charging=None), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time='12/07/2023, 13:07:31', required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x7158ad30>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB Carport', type='internal_openwb', template=1, connected_phases=3, phase_1=2, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=1))
2023-12-08 04:04:10,982 - {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-12-08 04:04:10,983 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=1, max_current_multi_phases=16, max_current_single_phase=20, name='RFID, 20A, 11kW', rfid_enabling=True, valid_tags=['0003134583', '0003526747', '1655332554', '2585022212', '2585087748'])
2023-12-08 04:04:10,985 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[63, 63, 63], max_total_power=43000), get=Get(powers=[223.0, 21.0, 104.0], currents=[1.2, 0.5, 1.1], voltages=[242.75, 242.54, 240.49], power_factors=[0.72, 0.18, 0.39], unbalanced_load=0, frequency=49.97, daily_exported=0.0, daily_imported=4073.0, imported=6125856.0, exported=4870433.0, fault_state=0, fault_str='Kein Fehler.', power=349.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=42651.0, raw_currents_left=[61.8, 62.6, 61.9], surplus_power_left=0, state_str=''))
2023-12-08 04:04:10,987 - {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': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=349.0, invalid_home_consumption=0, daily_yield_home_consumption=5488.8679565983, imported_home_consumption=2374326.6524909125, disengageable_smarthome_power=0))
2023-12-08 04:04:10,989 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2023-12-08 04:04:10,991 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Ladeprofil ***AUTO1***', disable_after_unplug=False, prio=False, load_default=True, time_charging=TimeCharging(active=True, plans={'0': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[True, True, True, True, False, False, True]), time=['22:00', '06:00'], name='Zeitladen 95%, So-Do 22:00-06:00 Uhr', current=16, limit=Limit(selected='soc', amount=1000, soc=95)), '1': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, True, True, False]), time=['22:00', '06:00'], name='Zeitladen 80%, Fr-Sa 22:00-06:00 Uhr', current=16, limit=Limit(selected='soc', amount=1000, soc=80))}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2023-12-08 04:04:10,992 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, time_charging=TimeCharging(active=True, plans={'2': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), time=['06:45', '07:00'], name='Klima 06:45-07:00 Uhr', current=6, limit=Limit(selected='none', amount=1000, soc=50)), '3': TimeChargingPlan(active=True, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, False, False, False]), time=['00:00', '23:55'], name='Immer 35%', current=10, limit=Limit(selected='soc', amount=1000, soc=35))}), chargemode=Chargemode(selected='scheduled_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={'0': ScheduledChargingPlan(active=False, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, True, False, False, False, False, False]), current=14, name='Zielladen 80%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '1': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), current=14, name='Zielladen 95%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=95), time='05:40'), '2': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once='2023-09-26', weekly=[True, False, False, True, False, True, True]), current=14, name='Zielladen 75%, 7:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=75), time='05:40')}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=80))))
2023-12-08 04:04:10,994 - {control.data:266} - {INFO:MainThread} - ev0
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=['0003134583'], get=Get(soc=0, soc_timestamp=None, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:04:10,995 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Tesla Model Y (2022)', 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=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212', '2585087748'], get=Get(soc=49.0, soc_timestamp='12/08/2023, 01:29:15', force_soc_update=False, range=220.74, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:04:10,996 - {control.data:266} - {INFO:MainThread} - ev2
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Cupra Born 58kW', 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=18000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=2, ev_template=2, name='***AUTO2***', tag_id=['1655332554'], get=Get(soc=72, soc_timestamp='12/08/2023, 02:47:32', force_soc_update=False, range=205, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:04:10,997 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40)
2023-12-08 04:04:10,999 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', 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=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40)
2023-12-08 04:04:10,999 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', 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=18000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40)
2023-12-08 04:04:11,001 - {control.data:245} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=3), pv_charging=PvCharging(bat_prio=True, charging_power_reserve=200, control_range=[-230, 230], feed_in_yield=15000, phase_switch_delay=15, phases_to_use=0, rundown_power=1000, rundown_soc=25, switch_off_delay=60, switch_off_soc=25, switch_off_threshold=50, switch_on_delay=30, switch_on_soc=50, switch_on_threshold=1400), scheduled_charging=ScheduledCharging(phases_to_use=0), time_charging=TimeCharging(phases_to_use=3), unbalanced_load_limit=20, unbalanced_load=True), control_interval=10, extern_display_mode='local', extern=False, external_buttons_hw=False, grid_protection_active=False, grid_protection_configured=True, grid_protection_random_stop=0, grid_protection_timestamp='', mqtt_bridge=False, price_kwh=0.3528, range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=True, r1_active=False, r2_active=False))
2023-12-08 04:04:11,003 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2023-12-08 04:04:11,004 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2023-12-08 04:04:11,004 - {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 0x70b62c70>), led=Led(active=False), rfid=Rfid(active=True))
2023-12-08 04:04:11,005 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=0), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=293628.595, fault_state=0, fault_str='Kein Fehler.', power=0))
2023-12-08 04:04:11,006 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=9500), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=7816178.86, fault_state=0, fault_str='Kein Fehler.', power=-0.0))
2023-12-08 04:04:11,007 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=8109807.455, power=0.0))
2023-12-08 04:04:11,008 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2023-11-30 12:30:45 +0100 [285f5a5fb]', 'current_branch': 'Release', 'current_branch_commit': '2023-11-30 12:30:45 +0100 [285f5a5fb]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.2-Patch.1', 'datastore_version': 29, 'lastlivevaluesJson': {'timestamp': 1702004641, 'time': '04:04:01', 'grid': 0.351, 'house-power': 0.351, 'charging-all': 0.0, 'pv-all': -0.0, 'cp1-power': 0.0, 'ev1-soc': 49.0, 'ev2-soc': 72, 'bat-all-power': 0.0, 'bat-all-soc': 19}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2023-12-08 04:04:11,009 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2023-12-08 04:04:11,010 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2023-12-08 04:04:11,012 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2023-12-08 04:04:11,013 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2023-12-08 04:04:11,014 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2023-12-08 04:04:11,015 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2023-12-08 04:04:11,016 - {control.data:253} - {INFO:MainThread} - 

2023-12-08 04:04:11,017 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2023-12-08 04:04:11,018 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2023-12-08 04:04:11,021 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2023-12-08 04:04:11,023 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2023-12-08 04:04:11,026 - {control.counter:211} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: 0W
2023-12-08 04:04:11,028 - {control.counter:457} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf 0W
2023-12-08 04:04:11,029 - {control.chargepoint.chargepoint:277} - {INFO:MainThread} - LP 1: Die Ladung kann nicht gestartet werden, da die Einschaltschwelle nicht erreicht wird.
2023-12-08 04:04:11,030 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2023-12-08 04:04:11,031 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2023-12-08 04:04:11,034 - {control.process:111} - {INFO:MainThread} - LP1: set current 0 A, state NO_CHARGING_ALLOWED
2023-12-08 04:04:11,035 - {modules.common.component_context:24} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:04:11,053 - {control.counter:186} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2023-12-08 04:04:11,309 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2023-12-08 04:04:11,315 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2023-12-08 04:04:15,323 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2023-12-08 04:04:15,324 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2023-12-08 04:04:20,336 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2023-12-08 04:04:20,337 - {root:74} - {INFO:MainThread} - # ***Start*** 
2023-12-08 04:04:20,403 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x715cf340>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x7155e4a8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x715c75f8>}
2023-12-08 04:04:20,405 - {modules.common.component_context:24} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2023-12-08 04:04:20,408 - {modules.common.component_context:24} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:04:20,417 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2023-12-08 04:04:20,419 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2023-12-08 04:04:20,455 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-345, -222, -20, -102], Scale 0
2023-12-08 04:04:20,462 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 750
2023-12-08 04:04:20,464 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"cloud":{"connected":false},"input:0":{"id":0,"state":false},"mqtt":{"connected":false},"switch:0":{"id":0, "source":"loopback", "output":false, "apower":0.0, "voltage":243.0, "current":0.000, "aenergy":{"total":1505.625,"by_minute":[0.000,0.000,0.000],"minute_ts":1702004659},"temperature":{"tC":28.8, "tF":83.9}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:04","unixtime":1702004661,"uptime":1363988,"ram_size":248996,"ram_free":145268,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"beta":{"version":"1.1.0-beta2"},"stable":{"version":"1.0.8"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-68},"ws":{"connected":false}}

2023-12-08 04:04:20,466 - {modules.common.simcount._simcount:38} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1702004650.2233813, power=0, imported=0.0, exported=293628.5948715257)
2023-12-08 04:04:20,466 - {modules.common.simcount._calculate:13} - {DEBUG:device1} - time passed: 0.00284523, power1: 0, power2: 0
2023-12-08 04:04:20,467 - {modules.common.simcount._calculate:29} - {DEBUG:device1} - power did not change sign. Total energy: 0
2023-12-08 04:04:20,468 - {modules.common.simcount._simcount:47} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702004660.4661946, power=0, imported=0.0, exported=293628.5948715257)
2023-12-08 04:04:20,472 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:04:20,498 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [12, 5, 10], Scale -1
2023-12-08 04:04:20,554 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [24262, 24239, 24043, 0, 0, 0, 0], Scale -2
2023-12-08 04:04:20,573 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4997], Scale -2
2023-12-08 04:04:20,593 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7189, 1840, 3910], Scale -2
2023-12-08 04:04:20,666 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4870433, 1797042, 2153375, 1456453, 6125857, 2531522, 1862788, 2267985], Scale 0
2023-12-08 04:04:20,667 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[1.2000000000000002, 0.5, 1.0], powers=[222.0, 20.0, 102.0], voltages=[242.62, 242.39000000000001, 240.43], power_factors=[0.7189, 0.18400000000000002, 0.391], imported=6125857.0, exported=4870433.0, power=345.0, frequency=49.97)
2023-12-08 04:04:20,669 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2023-12-08 04:04:20,704 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [0], Scale 0
2023-12-08 04:04:20,734 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7789710], Scale 0
2023-12-08 04:04:20,753 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [28, 31, 31], Scale -2
2023-12-08 04:04:20,775 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4664], Scale -2
2023-12-08 04:04:20,776 - {modules.common.component_state:100} - {DEBUG:device0} - currents sign wrong [0.28, 0.31, 0.31]
2023-12-08 04:04:20,776 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.28, 0.31, 0.31], power=-0.0, exported=7789710.0, dc_power=46.64)
2023-12-08 04:04:20,778 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2023-12-08 04:04:20,816 - {modules.common.simcount._simcount:38} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1702004650.6435633, power=0.0, imported=143333.37604219164, exported=116864.5215890633)
2023-12-08 04:04:20,816 - {modules.common.simcount._calculate:13} - {DEBUG:device0} - time passed: 0.00282568, power1: 0, power2: 0
2023-12-08 04:04:20,817 - {modules.common.simcount._calculate:29} - {DEBUG:device0} - power did not change sign. Total energy: 0
2023-12-08 04:04:20,817 - {modules.common.simcount._simcount:47} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702004660.816002, power=0.0, imported=143333.37604219164, exported=116864.5215890633)
2023-12-08 04:04:20,818 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=143333.37604219164, exported=116864.5215890633, power=0.0, soc=19.0)
2023-12-08 04:04:20,823 - {modules.common.component_context:24} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2023-12-08 04:04:20,824 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=143333.37604219164, exported=116864.5215890633, power=0.0, soc=19.0)
2023-12-08 04:04:20,860 - {modules.common.component_context:24} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:04:20,861 - {modules.common.component_context:24} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2023-12-08 04:04:20,862 - {modules.common.component_context:24} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2023-12-08 04:04:20,862 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-0.0, exported=7816178.86, dc_power=None)
2023-12-08 04:04:20,863 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:04:20,863 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-0.0, exported=7816178.86, dc_power=None)
2023-12-08 04:04:20,863 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:04:20,898 - {modules.common.component_context:24} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2023-12-08 04:04:20,899 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[1.2000000000000002, 0.5, 1.0], powers=[222.0, 20.0, 102.0], voltages=[242.62, 242.39000000000001, 240.43], power_factors=[0.7189, 0.18400000000000002, 0.391], imported=6125857.0, exported=4870433.0, power=345.0, frequency=49.97)
2023-12-08 04:04:21,040 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2023-12-08 04:04:21,042 - {control.bat_all:173} - {INFO:MainThread} - -50W verbleibende Speicher-Leistung
2023-12-08 04:04:21,044 - {control.counter:138} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [61.8, 62.6, 62.0]A
2023-12-08 04:04:21,045 - {control.counter:161} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 42655.0W
2023-12-08 04:04:21,047 - {control.chargepoint.chargepoint:699} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2023-12-08 04:04:21,048 - {control.chargepoint.chargepoint:682} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2023-12-08 04:04:21,050 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 767.521395s, Dauer 1.380952380952381h, Termin heute verpasst: False
2023-12-08 04:04:21,052 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 91490.501207s, Dauer 0.18012422360248448h, Termin heute verpasst: False
2023-12-08 04:04:21,053 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -9175.339079s, Dauer 4.142857142857143h, Termin heute verpasst: False
2023-12-08 04:04:21,055 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 90193.603322s, Dauer 0.5403726708074534h, Termin heute verpasst: False
2023-12-08 04:04:21,055 - {control.ev:762} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2023-12-08 04:04:21,060 - {control.chargepoint.chargepoint:898} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.PV_CHARGING, Phasen: 1, Priorität: False, max. Ist-Strom: 0.1
2023-12-08 04:04:21,061 - {control.chargepoint.chargepoint:277} - {INFO:MainThread} - LP 1: Kein Sofortladen, da noch Zeit bis zum Zieltermin ist. Falls vorhanden, wird mit EVU-Überschuss geladen.
2023-12-08 04:04:21,069 - {modules.common.simcount._simcount:38} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1702004650.96129, power=349.0, imported=2374326.6524909125, exported=0)
2023-12-08 04:04:21,071 - {modules.common.simcount._calculate:13} - {DEBUG:MainThread} - time passed: 0.00280784, power1: 349, power2: 345
2023-12-08 04:04:21,073 - {modules.common.simcount._calculate:29} - {DEBUG:MainThread} - power did not change sign. Total energy: 0.974321
2023-12-08 04:04:21,077 - {modules.common.simcount._simcount:47} - {DEBUG:MainThread} - imported: 0.974321 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702004661.0695212, power=345.0, imported=2374327.6268120967, exported=0)
2023-12-08 04:04:21,081 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=19, daily_exported=0.0, daily_imported=0.0, imported=143333.38, exported=116864.52, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2023-12-08 04:04:21,086 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=19, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=143333.38, exported=116864.52, power=0.0), set=Set(charging_power_left=-50, switch_on_soc_reached=False))
2023-12-08 04:04:21,089 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=97.16, daily_exported=0, power=0, imported=6926458.98, exported=0))
2023-12-08 04:04:21,097 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 95%, 06:00 Uhr', imported_at_plan_start=6926377.93, imported_instant_charging=None, limit=None, phases=1, prio=False, required_current=6, required_currents=[0.0, 6, 0.0], state=0, submode=<Chargemode.PV_CHARGING: 'pv_charging'>, 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=72), currents=[0.1, 0.0, 0.0], daily_imported=97.16, daily_exported=0, evse_current=0, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=6926458.98, phases_in_use=1, plug_state=True, power=0, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Kein Sofortladen, da noch Zeit bis zum Zieltermin ist. Falls vorhanden, wird mit EVU-Überschuss geladen.', voltages=[242.83, 241.0, 243.23]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=0, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='_', imported_at_mode_switch=6926377.93, imported_at_plugtime=6926377.93, imported_since_mode_switch=0, imported_since_plugged=81.05000000074506, range_charged=0, time_charged='00:00', timestamp_start_charging=None), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time='12/07/2023, 13:07:31', required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x70bda778>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB Carport', type='internal_openwb', template=1, connected_phases=3, phase_1=2, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=1))
2023-12-08 04:04:21,098 - {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-12-08 04:04:21,111 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=1, max_current_multi_phases=16, max_current_single_phase=20, name='RFID, 20A, 11kW', rfid_enabling=True, valid_tags=['0003134583', '0003526747', '1655332554', '2585022212', '2585087748'])
2023-12-08 04:04:21,112 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[63, 63, 63], max_total_power=43000), get=Get(powers=[222.0, 20.0, 102.0], currents=[1.2, 0.5, 1.0], voltages=[242.62, 242.39, 240.43], power_factors=[0.72, 0.18, 0.39], unbalanced_load=0, frequency=49.97, daily_exported=0.0, daily_imported=4073.0, imported=6125857.0, exported=4870433.0, fault_state=0, fault_str='Kein Fehler.', power=345.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=42655.0, raw_currents_left=[61.8, 62.6, 62.0], surplus_power_left=0, state_str=''))
2023-12-08 04:04:21,115 - {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': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=345.0, invalid_home_consumption=0, daily_yield_home_consumption=5488.8679565983, imported_home_consumption=2374327.6268120967, disengageable_smarthome_power=0))
2023-12-08 04:04:21,116 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2023-12-08 04:04:21,117 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Ladeprofil ***AUTO1***', disable_after_unplug=False, prio=False, load_default=True, time_charging=TimeCharging(active=True, plans={'0': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[True, True, True, True, False, False, True]), time=['22:00', '06:00'], name='Zeitladen 95%, So-Do 22:00-06:00 Uhr', current=16, limit=Limit(selected='soc', amount=1000, soc=95)), '1': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, True, True, False]), time=['22:00', '06:00'], name='Zeitladen 80%, Fr-Sa 22:00-06:00 Uhr', current=16, limit=Limit(selected='soc', amount=1000, soc=80))}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2023-12-08 04:04:21,118 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, time_charging=TimeCharging(active=True, plans={'2': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), time=['06:45', '07:00'], name='Klima 06:45-07:00 Uhr', current=6, limit=Limit(selected='none', amount=1000, soc=50)), '3': TimeChargingPlan(active=True, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, False, False, False]), time=['00:00', '23:55'], name='Immer 35%', current=10, limit=Limit(selected='soc', amount=1000, soc=35))}), chargemode=Chargemode(selected='scheduled_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={'0': ScheduledChargingPlan(active=False, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, True, False, False, False, False, False]), current=14, name='Zielladen 80%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '1': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), current=14, name='Zielladen 95%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=95), time='05:40'), '2': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once='2023-09-26', weekly=[True, False, False, True, False, True, True]), current=14, name='Zielladen 75%, 7:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=75), time='05:40')}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=80))))
2023-12-08 04:04:21,119 - {control.data:266} - {INFO:MainThread} - ev0
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=['0003134583'], get=Get(soc=0, soc_timestamp=None, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:04:21,120 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Tesla Model Y (2022)', 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=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212', '2585087748'], get=Get(soc=49.0, soc_timestamp='12/08/2023, 01:29:15', force_soc_update=False, range=220.74, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:04:21,122 - {control.data:266} - {INFO:MainThread} - ev2
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Cupra Born 58kW', 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=18000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=2, ev_template=2, name='***AUTO2***', tag_id=['1655332554'], get=Get(soc=72, soc_timestamp='12/08/2023, 02:47:32', force_soc_update=False, range=205, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:04:21,126 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40)
2023-12-08 04:04:21,131 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', 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=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40)
2023-12-08 04:04:21,134 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', 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=18000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40)
2023-12-08 04:04:21,135 - {control.data:245} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=3), pv_charging=PvCharging(bat_prio=True, charging_power_reserve=200, control_range=[-230, 230], feed_in_yield=15000, phase_switch_delay=15, phases_to_use=0, rundown_power=1000, rundown_soc=25, switch_off_delay=60, switch_off_soc=25, switch_off_threshold=50, switch_on_delay=30, switch_on_soc=50, switch_on_threshold=1400), scheduled_charging=ScheduledCharging(phases_to_use=0), time_charging=TimeCharging(phases_to_use=3), unbalanced_load_limit=20, unbalanced_load=True), control_interval=10, extern_display_mode='local', extern=False, external_buttons_hw=False, grid_protection_active=False, grid_protection_configured=True, grid_protection_random_stop=0, grid_protection_timestamp='', mqtt_bridge=False, price_kwh=0.3528, range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=True, r1_active=False, r2_active=False))
2023-12-08 04:04:21,136 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2023-12-08 04:04:21,137 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2023-12-08 04:04:21,139 - {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 0x70befe20>), led=Led(active=False), rfid=Rfid(active=True))
2023-12-08 04:04:21,140 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=0), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=293628.595, fault_state=0, fault_str='Kein Fehler.', power=0))
2023-12-08 04:04:21,141 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=9500), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=7816178.86, fault_state=0, fault_str='Kein Fehler.', power=-0.0))
2023-12-08 04:04:21,143 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=8109807.455, power=0.0))
2023-12-08 04:04:21,144 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2023-11-30 12:30:45 +0100 [285f5a5fb]', 'current_branch': 'Release', 'current_branch_commit': '2023-11-30 12:30:45 +0100 [285f5a5fb]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.2-Patch.1', 'datastore_version': 29, 'lastlivevaluesJson': {'timestamp': 1702004651, 'time': '04:04:11', 'grid': 0.349, 'house-power': 0.349, 'charging-all': 0.0, 'pv-all': -0.0, 'cp1-power': 0.0, 'ev1-soc': 49.0, 'ev2-soc': 72, 'bat-all-power': 0.0, 'bat-all-soc': 19}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2023-12-08 04:04:21,146 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2023-12-08 04:04:21,150 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2023-12-08 04:04:21,151 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2023-12-08 04:04:21,158 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2023-12-08 04:04:21,160 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2023-12-08 04:04:21,160 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2023-12-08 04:04:21,163 - {control.data:253} - {INFO:MainThread} - 

2023-12-08 04:04:21,164 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2023-12-08 04:04:21,166 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2023-12-08 04:04:21,179 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2023-12-08 04:04:21,186 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2023-12-08 04:04:21,189 - {control.counter:211} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: 0W
2023-12-08 04:04:21,191 - {control.counter:457} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf 0W
2023-12-08 04:04:21,195 - {control.chargepoint.chargepoint:277} - {INFO:MainThread} - LP 1: Die Ladung kann nicht gestartet werden, da die Einschaltschwelle nicht erreicht wird.
2023-12-08 04:04:21,195 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2023-12-08 04:04:21,196 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2023-12-08 04:04:21,202 - {control.process:111} - {INFO:MainThread} - LP1: set current 0 A, state NO_CHARGING_ALLOWED
2023-12-08 04:04:21,218 - {modules.common.component_context:24} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:04:21,243 - {control.counter:186} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2023-12-08 04:04:21,488 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2023-12-08 04:04:25,524 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2023-12-08 04:04:25,525 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2023-12-08 04:04:30,535 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2023-12-08 04:04:30,536 - {root:74} - {INFO:MainThread} - # ***Start*** 
2023-12-08 04:04:30,573 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x715cf340>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x7155e4a8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x715c75f8>}
2023-12-08 04:04:30,580 - {modules.common.component_context:24} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2023-12-08 04:04:30,587 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2023-12-08 04:04:30,589 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2023-12-08 04:04:30,589 - {modules.common.component_context:24} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:04:30,633 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 750
2023-12-08 04:04:30,635 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"cloud":{"connected":false},"input:0":{"id":0,"state":false},"mqtt":{"connected":false},"switch:0":{"id":0, "source":"loopback", "output":false, "apower":0.0, "voltage":243.0, "current":0.000, "aenergy":{"total":1505.625,"by_minute":[0.000,0.000,0.000],"minute_ts":1702004670},"temperature":{"tC":29.0, "tF":84.2}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:04","unixtime":1702004671,"uptime":1363998,"ram_size":248996,"ram_free":145268,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"beta":{"version":"1.1.0-beta2"},"stable":{"version":"1.0.8"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-68},"ws":{"connected":false}}

2023-12-08 04:04:30,637 - {modules.common.simcount._simcount:38} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1702004660.4661946, power=0, imported=0.0, exported=293628.5948715257)
2023-12-08 04:04:30,637 - {modules.common.simcount._calculate:13} - {DEBUG:device1} - time passed: 0.00282525, power1: 0, power2: 0
2023-12-08 04:04:30,638 - {modules.common.simcount._calculate:29} - {DEBUG:device1} - power did not change sign. Total energy: 0
2023-12-08 04:04:30,639 - {modules.common.simcount._simcount:47} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702004670.6370852, power=0, imported=0.0, exported=293628.5948715257)
2023-12-08 04:04:30,641 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-348, -223, -21, -103], Scale 0
2023-12-08 04:04:30,642 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:04:30,675 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [12, 5, 10], Scale -1
2023-12-08 04:04:30,714 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [24291, 24266, 24073, 0, 0, 0, 0], Scale -2
2023-12-08 04:04:30,734 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4999], Scale -2
2023-12-08 04:04:30,753 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7160, 1780, 3869], Scale -2
2023-12-08 04:04:30,808 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4870433, 1797042, 2153375, 1456453, 6125858, 2531522, 1862788, 2267986], Scale 0
2023-12-08 04:04:30,809 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[1.2000000000000002, 0.5, 1.0], powers=[223.0, 21.0, 103.0], voltages=[242.91, 242.66, 240.73000000000002], power_factors=[0.7160000000000001, 0.17800000000000002, 0.38689999999999997], imported=6125858.0, exported=4870433.0, power=348.0, frequency=49.99)
2023-12-08 04:04:30,811 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2023-12-08 04:04:30,843 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [0], Scale 0
2023-12-08 04:04:30,863 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7789710], Scale 0
2023-12-08 04:04:30,955 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [28, 31, 31], Scale -2
2023-12-08 04:04:30,975 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-5126], Scale -2
2023-12-08 04:04:30,975 - {modules.common.component_state:100} - {DEBUG:device0} - currents sign wrong [0.28, 0.31, 0.31]
2023-12-08 04:04:30,976 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.28, 0.31, 0.31], power=-0.0, exported=7789710.0, dc_power=51.26)
2023-12-08 04:04:30,978 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2023-12-08 04:04:31,025 - {modules.common.simcount._simcount:38} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1702004660.816002, power=0.0, imported=143333.37604219164, exported=116864.5215890633)
2023-12-08 04:04:31,026 - {modules.common.simcount._calculate:13} - {DEBUG:device0} - time passed: 0.00283608, power1: 0, power2: 0
2023-12-08 04:04:31,027 - {modules.common.simcount._calculate:29} - {DEBUG:device0} - power did not change sign. Total energy: 0
2023-12-08 04:04:31,027 - {modules.common.simcount._simcount:47} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702004671.0258737, power=0.0, imported=143333.37604219164, exported=116864.5215890633)
2023-12-08 04:04:31,028 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=143333.37604219164, exported=116864.5215890633, power=0.0, soc=19.0)
2023-12-08 04:04:31,041 - {modules.common.component_context:24} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2023-12-08 04:04:31,044 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=143333.37604219164, exported=116864.5215890633, power=0.0, soc=19.0)
2023-12-08 04:04:31,083 - {modules.common.component_context:24} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:04:31,084 - {modules.common.component_context:24} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2023-12-08 04:04:31,085 - {modules.common.component_context:24} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2023-12-08 04:04:31,086 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-0.0, exported=7816178.86, dc_power=None)
2023-12-08 04:04:31,086 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:04:31,087 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-0.0, exported=7816178.86, dc_power=None)
2023-12-08 04:04:31,088 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:04:31,130 - {modules.common.component_context:24} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2023-12-08 04:04:31,131 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[1.2000000000000002, 0.5, 1.0], powers=[223.0, 21.0, 103.0], voltages=[242.91, 242.66, 240.73000000000002], power_factors=[0.7160000000000001, 0.17800000000000002, 0.38689999999999997], imported=6125858.0, exported=4870433.0, power=348.0, frequency=49.99)
2023-12-08 04:04:31,290 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2023-12-08 04:04:31,292 - {control.bat_all:173} - {INFO:MainThread} - -50W verbleibende Speicher-Leistung
2023-12-08 04:04:31,294 - {control.counter:138} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [61.8, 62.6, 62.0]A
2023-12-08 04:04:31,295 - {control.counter:161} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 42652.0W
2023-12-08 04:04:31,302 - {control.chargepoint.chargepoint:699} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2023-12-08 04:04:31,304 - {control.chargepoint.chargepoint:682} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2023-12-08 04:04:31,305 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 757.266048s, Dauer 1.380952380952381h, Termin heute verpasst: False
2023-12-08 04:04:31,307 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 91480.246036s, Dauer 0.18012422360248448h, Termin heute verpasst: False
2023-12-08 04:04:31,308 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -9185.593541s, Dauer 4.142857142857143h, Termin heute verpasst: False
2023-12-08 04:04:31,309 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 90183.348852s, Dauer 0.5403726708074534h, Termin heute verpasst: False
2023-12-08 04:04:31,311 - {control.ev:762} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2023-12-08 04:04:31,321 - {control.chargepoint.chargepoint:898} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.PV_CHARGING, Phasen: 1, Priorität: False, max. Ist-Strom: 0.1
2023-12-08 04:04:31,322 - {control.chargepoint.chargepoint:277} - {INFO:MainThread} - LP 1: Kein Sofortladen, da noch Zeit bis zum Zieltermin ist. Falls vorhanden, wird mit EVU-Überschuss geladen.
2023-12-08 04:04:31,333 - {modules.common.simcount._simcount:38} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1702004661.0695212, power=345.0, imported=2374327.6268120967, exported=0)
2023-12-08 04:04:31,337 - {modules.common.simcount._calculate:13} - {DEBUG:MainThread} - time passed: 0.0028511, power1: 345, power2: 348
2023-12-08 04:04:31,343 - {modules.common.simcount._calculate:29} - {DEBUG:MainThread} - power did not change sign. Total energy: 0.987907
2023-12-08 04:04:31,348 - {modules.common.simcount._simcount:47} - {DEBUG:MainThread} - imported: 0.987907 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702004671.3334882, power=348.0, imported=2374328.614718924, exported=0)
2023-12-08 04:04:31,352 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=19, daily_exported=0.0, daily_imported=0.0, imported=143333.38, exported=116864.52, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2023-12-08 04:04:31,354 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=19, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=143333.38, exported=116864.52, power=0.0), set=Set(charging_power_left=-50, switch_on_soc_reached=False))
2023-12-08 04:04:31,355 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=97.16, daily_exported=0, power=0, imported=6926458.98, exported=0))
2023-12-08 04:04:31,357 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 95%, 06:00 Uhr', imported_at_plan_start=6926377.93, imported_instant_charging=None, limit=None, phases=1, prio=False, required_current=6, required_currents=[0.0, 6, 0.0], state=0, submode=<Chargemode.PV_CHARGING: 'pv_charging'>, 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=72), currents=[0.1, 0.0, 0.0], daily_imported=97.16, daily_exported=0, evse_current=0, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=6926458.98, phases_in_use=1, plug_state=True, power=0, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Kein Sofortladen, da noch Zeit bis zum Zieltermin ist. Falls vorhanden, wird mit EVU-Überschuss geladen.', voltages=[242.99, 240.92, 243.2]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=0, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='_', imported_at_mode_switch=6926377.93, imported_at_plugtime=6926377.93, imported_since_mode_switch=0, imported_since_plugged=81.05000000074506, range_charged=0, time_charged='00:00', timestamp_start_charging=None), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time='12/07/2023, 13:07:31', required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x70b947c0>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB Carport', type='internal_openwb', template=1, connected_phases=3, phase_1=2, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=1))
2023-12-08 04:04:31,360 - {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-12-08 04:04:31,364 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=1, max_current_multi_phases=16, max_current_single_phase=20, name='RFID, 20A, 11kW', rfid_enabling=True, valid_tags=['0003134583', '0003526747', '1655332554', '2585022212', '2585087748'])
2023-12-08 04:04:31,366 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[63, 63, 63], max_total_power=43000), get=Get(powers=[223.0, 21.0, 103.0], currents=[1.2, 0.5, 1.0], voltages=[242.91, 242.66, 240.73], power_factors=[0.72, 0.18, 0.39], unbalanced_load=0, frequency=49.99, daily_exported=0.0, daily_imported=4073.0, imported=6125858.0, exported=4870433.0, fault_state=0, fault_str='Kein Fehler.', power=348.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=42652.0, raw_currents_left=[61.8, 62.6, 62.0], surplus_power_left=0, state_str=''))
2023-12-08 04:04:31,367 - {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': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=348.0, invalid_home_consumption=0, daily_yield_home_consumption=5488.8679565983, imported_home_consumption=2374328.614718924, disengageable_smarthome_power=0))
2023-12-08 04:04:31,369 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2023-12-08 04:04:31,370 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Ladeprofil ***AUTO1***', disable_after_unplug=False, prio=False, load_default=True, time_charging=TimeCharging(active=True, plans={'0': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[True, True, True, True, False, False, True]), time=['22:00', '06:00'], name='Zeitladen 95%, So-Do 22:00-06:00 Uhr', current=16, limit=Limit(selected='soc', amount=1000, soc=95)), '1': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, True, True, False]), time=['22:00', '06:00'], name='Zeitladen 80%, Fr-Sa 22:00-06:00 Uhr', current=16, limit=Limit(selected='soc', amount=1000, soc=80))}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2023-12-08 04:04:31,372 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, time_charging=TimeCharging(active=True, plans={'2': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), time=['06:45', '07:00'], name='Klima 06:45-07:00 Uhr', current=6, limit=Limit(selected='none', amount=1000, soc=50)), '3': TimeChargingPlan(active=True, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, False, False, False]), time=['00:00', '23:55'], name='Immer 35%', current=10, limit=Limit(selected='soc', amount=1000, soc=35))}), chargemode=Chargemode(selected='scheduled_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={'0': ScheduledChargingPlan(active=False, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, True, False, False, False, False, False]), current=14, name='Zielladen 80%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '1': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), current=14, name='Zielladen 95%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=95), time='05:40'), '2': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once='2023-09-26', weekly=[True, False, False, True, False, True, True]), current=14, name='Zielladen 75%, 7:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=75), time='05:40')}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=80))))
2023-12-08 04:04:31,373 - {control.data:266} - {INFO:MainThread} - ev0
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=['0003134583'], get=Get(soc=0, soc_timestamp=None, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:04:31,375 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Tesla Model Y (2022)', 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=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212', '2585087748'], get=Get(soc=49.0, soc_timestamp='12/08/2023, 01:29:15', force_soc_update=False, range=220.74, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:04:31,378 - {control.data:266} - {INFO:MainThread} - ev2
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Cupra Born 58kW', 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=18000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=2, ev_template=2, name='***AUTO2***', tag_id=['1655332554'], get=Get(soc=72, soc_timestamp='12/08/2023, 02:47:32', force_soc_update=False, range=205, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:04:31,379 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40)
2023-12-08 04:04:31,380 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', 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=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40)
2023-12-08 04:04:31,381 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', 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=18000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40)
2023-12-08 04:04:31,383 - {control.data:245} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=3), pv_charging=PvCharging(bat_prio=True, charging_power_reserve=200, control_range=[-230, 230], feed_in_yield=15000, phase_switch_delay=15, phases_to_use=0, rundown_power=1000, rundown_soc=25, switch_off_delay=60, switch_off_soc=25, switch_off_threshold=50, switch_on_delay=30, switch_on_soc=50, switch_on_threshold=1400), scheduled_charging=ScheduledCharging(phases_to_use=0), time_charging=TimeCharging(phases_to_use=3), unbalanced_load_limit=20, unbalanced_load=True), control_interval=10, extern_display_mode='local', extern=False, external_buttons_hw=False, grid_protection_active=False, grid_protection_configured=True, grid_protection_random_stop=0, grid_protection_timestamp='', mqtt_bridge=False, price_kwh=0.3528, range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=True, r1_active=False, r2_active=False))
2023-12-08 04:04:31,383 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2023-12-08 04:04:31,386 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2023-12-08 04:04:31,388 - {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 0x715bfe20>), led=Led(active=False), rfid=Rfid(active=True))
2023-12-08 04:04:31,389 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=0), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=293628.595, fault_state=0, fault_str='Kein Fehler.', power=0))
2023-12-08 04:04:31,390 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=9500), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=7816178.86, fault_state=0, fault_str='Kein Fehler.', power=-0.0))
2023-12-08 04:04:31,391 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=8109807.455, power=0.0))
2023-12-08 04:04:31,393 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2023-11-30 12:30:45 +0100 [285f5a5fb]', 'current_branch': 'Release', 'current_branch_commit': '2023-11-30 12:30:45 +0100 [285f5a5fb]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.2-Patch.1', 'datastore_version': 29, 'lastlivevaluesJson': {'timestamp': 1702004661, 'time': '04:04:21', 'grid': 0.345, 'house-power': 0.345, 'charging-all': 0.0, 'pv-all': -0.0, 'cp1-power': 0.0, 'ev1-soc': 49.0, 'ev2-soc': 72, 'bat-all-power': 0.0, 'bat-all-soc': 19}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2023-12-08 04:04:31,396 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2023-12-08 04:04:31,397 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2023-12-08 04:04:31,398 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2023-12-08 04:04:31,399 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2023-12-08 04:04:31,400 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2023-12-08 04:04:31,401 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2023-12-08 04:04:31,403 - {control.data:253} - {INFO:MainThread} - 

2023-12-08 04:04:31,407 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2023-12-08 04:04:31,408 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2023-12-08 04:04:31,410 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2023-12-08 04:04:31,413 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2023-12-08 04:04:31,415 - {control.counter:211} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: 0W
2023-12-08 04:04:31,418 - {control.counter:457} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf 0W
2023-12-08 04:04:31,422 - {control.chargepoint.chargepoint:277} - {INFO:MainThread} - LP 1: Die Ladung kann nicht gestartet werden, da die Einschaltschwelle nicht erreicht wird.
2023-12-08 04:04:31,423 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2023-12-08 04:04:31,425 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2023-12-08 04:04:31,428 - {control.process:111} - {INFO:MainThread} - LP1: set current 0 A, state NO_CHARGING_ALLOWED
2023-12-08 04:04:31,430 - {modules.common.component_context:24} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:04:31,451 - {control.counter:186} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2023-12-08 04:04:31,715 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2023-12-08 04:04:31,725 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2023-12-08 04:04:35,735 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2023-12-08 04:04:40,749 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2023-12-08 04:04:40,750 - {root:74} - {INFO:MainThread} - # ***Start*** 
2023-12-08 04:04:40,793 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x715cf340>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x7155e4a8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x715c75f8>}
2023-12-08 04:04:40,794 - {modules.common.component_context:24} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2023-12-08 04:04:40,795 - {modules.common.component_context:24} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:04:40,802 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2023-12-08 04:04:40,804 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2023-12-08 04:04:40,855 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 750
2023-12-08 04:04:40,856 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"cloud":{"connected":false},"input:0":{"id":0,"state":false},"mqtt":{"connected":false},"switch:0":{"id":0, "source":"loopback", "output":false, "apower":0.0, "voltage":242.9, "current":0.000, "aenergy":{"total":1505.625,"by_minute":[0.000,0.000,0.000],"minute_ts":1702004680},"temperature":{"tC":28.9, "tF":84.1}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:04","unixtime":1702004681,"uptime":1364009,"ram_size":248996,"ram_free":145268,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"beta":{"version":"1.1.0-beta2"},"stable":{"version":"1.0.8"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-68},"ws":{"connected":false}}

2023-12-08 04:04:40,858 - {modules.common.simcount._simcount:38} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1702004670.6370852, power=0, imported=0.0, exported=293628.5948715257)
2023-12-08 04:04:40,859 - {modules.common.simcount._calculate:13} - {DEBUG:device1} - time passed: 0.00283932, power1: 0, power2: 0
2023-12-08 04:04:40,859 - {modules.common.simcount._calculate:29} - {DEBUG:device1} - power did not change sign. Total energy: 0
2023-12-08 04:04:40,860 - {modules.common.simcount._simcount:47} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702004680.8586512, power=0, imported=0.0, exported=293628.5948715257)
2023-12-08 04:04:40,863 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:04:40,871 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-346, -221, -22, -102], Scale 0
2023-12-08 04:04:40,905 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [12, 5, 10], Scale -1
2023-12-08 04:04:40,928 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [24284, 24251, 24050, 0, 0, 0, 0], Scale -2
2023-12-08 04:04:40,954 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4997], Scale -2
2023-12-08 04:04:40,978 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7189, 1679, 3910], Scale -2
2023-12-08 04:04:41,036 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4870433, 1797042, 2153375, 1456453, 6125859, 2531523, 1862788, 2267986], Scale 0
2023-12-08 04:04:41,036 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[1.2000000000000002, 0.5, 1.0], powers=[221.0, 22.0, 102.0], voltages=[242.84, 242.51, 240.5], power_factors=[0.7189, 0.1679, 0.391], imported=6125859.0, exported=4870433.0, power=346.0, frequency=49.97)
2023-12-08 04:04:41,040 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2023-12-08 04:04:41,065 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [0], Scale 0
2023-12-08 04:04:41,085 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7789710], Scale 0
2023-12-08 04:04:41,137 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [27, 30, 30], Scale -2
2023-12-08 04:04:41,214 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4785], Scale -2
2023-12-08 04:04:41,215 - {modules.common.component_state:100} - {DEBUG:device0} - currents sign wrong [0.27, 0.3, 0.3]
2023-12-08 04:04:41,215 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.27, 0.3, 0.3], power=-0.0, exported=7789710.0, dc_power=47.85)
2023-12-08 04:04:41,217 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2023-12-08 04:04:41,253 - {modules.common.simcount._simcount:38} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1702004671.0258737, power=0.0, imported=143333.37604219164, exported=116864.5215890633)
2023-12-08 04:04:41,254 - {modules.common.simcount._calculate:13} - {DEBUG:device0} - time passed: 0.00284105, power1: 0, power2: 0
2023-12-08 04:04:41,254 - {modules.common.simcount._calculate:29} - {DEBUG:device0} - power did not change sign. Total energy: 0
2023-12-08 04:04:41,255 - {modules.common.simcount._simcount:47} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702004681.2536478, power=0.0, imported=143333.37604219164, exported=116864.5215890633)
2023-12-08 04:04:41,256 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=143333.37604219164, exported=116864.5215890633, power=0.0, soc=19.0)
2023-12-08 04:04:41,261 - {modules.common.component_context:24} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2023-12-08 04:04:41,262 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=143333.37604219164, exported=116864.5215890633, power=0.0, soc=19.0)
2023-12-08 04:04:41,302 - {modules.common.component_context:24} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:04:41,304 - {modules.common.component_context:24} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2023-12-08 04:04:41,305 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-0.0, exported=7816178.86, dc_power=None)
2023-12-08 04:04:41,306 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-0.0, exported=7816178.86, dc_power=None)
2023-12-08 04:04:41,307 - {modules.common.component_context:24} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2023-12-08 04:04:41,310 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:04:41,312 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:04:41,354 - {modules.common.component_context:24} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2023-12-08 04:04:41,355 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[1.2000000000000002, 0.5, 1.0], powers=[221.0, 22.0, 102.0], voltages=[242.84, 242.51, 240.5], power_factors=[0.7189, 0.1679, 0.391], imported=6125859.0, exported=4870433.0, power=346.0, frequency=49.97)
2023-12-08 04:04:41,530 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2023-12-08 04:04:41,533 - {control.bat_all:173} - {INFO:MainThread} - -50W verbleibende Speicher-Leistung
2023-12-08 04:04:41,536 - {control.counter:138} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [61.8, 62.6, 62.0]A
2023-12-08 04:04:41,537 - {control.counter:161} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 42654.0W
2023-12-08 04:04:41,540 - {control.chargepoint.chargepoint:699} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2023-12-08 04:04:41,542 - {control.chargepoint.chargepoint:682} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2023-12-08 04:04:41,545 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 747.026632s, Dauer 1.380952380952381h, Termin heute verpasst: False
2023-12-08 04:04:41,546 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 91470.006658s, Dauer 0.18012422360248448h, Termin heute verpasst: False
2023-12-08 04:04:41,548 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -9195.833127s, Dauer 4.142857142857143h, Termin heute verpasst: False
2023-12-08 04:04:41,549 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 90173.109083s, Dauer 0.5403726708074534h, Termin heute verpasst: False
2023-12-08 04:04:41,551 - {control.ev:762} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2023-12-08 04:04:41,556 - {control.chargepoint.chargepoint:898} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.PV_CHARGING, Phasen: 1, Priorität: False, max. Ist-Strom: 0.1
2023-12-08 04:04:41,557 - {control.chargepoint.chargepoint:277} - {INFO:MainThread} - LP 1: Kein Sofortladen, da noch Zeit bis zum Zieltermin ist. Falls vorhanden, wird mit EVU-Überschuss geladen.
2023-12-08 04:04:41,561 - {modules.common.simcount._simcount:38} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1702004671.3334882, power=348.0, imported=2374328.614718924, exported=0)
2023-12-08 04:04:41,562 - {modules.common.simcount._calculate:13} - {DEBUG:MainThread} - time passed: 0.00284107, power1: 348, power2: 346
2023-12-08 04:04:41,564 - {modules.common.simcount._calculate:29} - {DEBUG:MainThread} - power did not change sign. Total energy: 0.985851
2023-12-08 04:04:41,571 - {modules.common.simcount._simcount:47} - {DEBUG:MainThread} - imported: 0.985851 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702004681.561335, power=346.0, imported=2374329.6005697185, exported=0)
2023-12-08 04:04:41,603 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=19, daily_exported=0.0, daily_imported=0.0, imported=143333.38, exported=116864.52, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2023-12-08 04:04:41,605 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=19, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=143333.38, exported=116864.52, power=0.0), set=Set(charging_power_left=-50, switch_on_soc_reached=False))
2023-12-08 04:04:41,607 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=97.16, daily_exported=0, power=0, imported=6926458.98, exported=0))
2023-12-08 04:04:41,609 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 95%, 06:00 Uhr', imported_at_plan_start=6926377.93, imported_instant_charging=None, limit=None, phases=1, prio=False, required_current=6, required_currents=[0.0, 6, 0.0], state=0, submode=<Chargemode.PV_CHARGING: 'pv_charging'>, 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=72), currents=[0.1, 0.0, 0.0], daily_imported=97.16, daily_exported=0, evse_current=0, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=6926458.98, phases_in_use=1, plug_state=True, power=0, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Kein Sofortladen, da noch Zeit bis zum Zieltermin ist. Falls vorhanden, wird mit EVU-Überschuss geladen.', voltages=[242.89, 240.91, 243.14]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=0, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='_', imported_at_mode_switch=6926377.93, imported_at_plugtime=6926377.93, imported_since_mode_switch=0, imported_since_plugged=81.05000000074506, range_charged=0, time_charged='00:00', timestamp_start_charging=None), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time='12/07/2023, 13:07:31', required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x70ba3730>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB Carport', type='internal_openwb', template=1, connected_phases=3, phase_1=2, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=1))
2023-12-08 04:04:41,611 - {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-12-08 04:04:41,614 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=1, max_current_multi_phases=16, max_current_single_phase=20, name='RFID, 20A, 11kW', rfid_enabling=True, valid_tags=['0003134583', '0003526747', '1655332554', '2585022212', '2585087748'])
2023-12-08 04:04:41,617 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[63, 63, 63], max_total_power=43000), get=Get(powers=[221.0, 22.0, 102.0], currents=[1.2, 0.5, 1.0], voltages=[242.84, 242.51, 240.5], power_factors=[0.72, 0.17, 0.39], unbalanced_load=0, frequency=49.97, daily_exported=0.0, daily_imported=4073.0, imported=6125859.0, exported=4870433.0, fault_state=0, fault_str='Kein Fehler.', power=346.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=42654.0, raw_currents_left=[61.8, 62.6, 62.0], surplus_power_left=0, state_str=''))
2023-12-08 04:04:41,619 - {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': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=346.0, invalid_home_consumption=0, daily_yield_home_consumption=5488.8679565983, imported_home_consumption=2374329.6005697185, disengageable_smarthome_power=0))
2023-12-08 04:04:41,622 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2023-12-08 04:04:41,624 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Ladeprofil ***AUTO1***', disable_after_unplug=False, prio=False, load_default=True, time_charging=TimeCharging(active=True, plans={'0': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[True, True, True, True, False, False, True]), time=['22:00', '06:00'], name='Zeitladen 95%, So-Do 22:00-06:00 Uhr', current=16, limit=Limit(selected='soc', amount=1000, soc=95)), '1': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, True, True, False]), time=['22:00', '06:00'], name='Zeitladen 80%, Fr-Sa 22:00-06:00 Uhr', current=16, limit=Limit(selected='soc', amount=1000, soc=80))}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2023-12-08 04:04:41,627 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, time_charging=TimeCharging(active=True, plans={'2': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), time=['06:45', '07:00'], name='Klima 06:45-07:00 Uhr', current=6, limit=Limit(selected='none', amount=1000, soc=50)), '3': TimeChargingPlan(active=True, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, False, False, False]), time=['00:00', '23:55'], name='Immer 35%', current=10, limit=Limit(selected='soc', amount=1000, soc=35))}), chargemode=Chargemode(selected='scheduled_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={'0': ScheduledChargingPlan(active=False, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, True, False, False, False, False, False]), current=14, name='Zielladen 80%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '1': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), current=14, name='Zielladen 95%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=95), time='05:40'), '2': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once='2023-09-26', weekly=[True, False, False, True, False, True, True]), current=14, name='Zielladen 75%, 7:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=75), time='05:40')}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=80))))
2023-12-08 04:04:41,628 - {control.data:266} - {INFO:MainThread} - ev0
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=['0003134583'], get=Get(soc=0, soc_timestamp=None, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:04:41,629 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Tesla Model Y (2022)', 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=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212', '2585087748'], get=Get(soc=49.0, soc_timestamp='12/08/2023, 01:29:15', force_soc_update=False, range=220.74, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:04:41,631 - {control.data:266} - {INFO:MainThread} - ev2
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Cupra Born 58kW', 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=18000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=2, ev_template=2, name='***AUTO2***', tag_id=['1655332554'], get=Get(soc=72, soc_timestamp='12/08/2023, 02:47:32', force_soc_update=False, range=205, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:04:41,632 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40)
2023-12-08 04:04:41,633 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', 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=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40)
2023-12-08 04:04:41,635 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', 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=18000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40)
2023-12-08 04:04:41,637 - {control.data:245} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=3), pv_charging=PvCharging(bat_prio=True, charging_power_reserve=200, control_range=[-230, 230], feed_in_yield=15000, phase_switch_delay=15, phases_to_use=0, rundown_power=1000, rundown_soc=25, switch_off_delay=60, switch_off_soc=25, switch_off_threshold=50, switch_on_delay=30, switch_on_soc=50, switch_on_threshold=1400), scheduled_charging=ScheduledCharging(phases_to_use=0), time_charging=TimeCharging(phases_to_use=3), unbalanced_load_limit=20, unbalanced_load=True), control_interval=10, extern_display_mode='local', extern=False, external_buttons_hw=False, grid_protection_active=False, grid_protection_configured=True, grid_protection_random_stop=0, grid_protection_timestamp='', mqtt_bridge=False, price_kwh=0.3528, range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=True, r1_active=False, r2_active=False))
2023-12-08 04:04:41,638 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2023-12-08 04:04:41,640 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2023-12-08 04:04:41,642 - {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 0x70bf0958>), led=Led(active=False), rfid=Rfid(active=True))
2023-12-08 04:04:41,644 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=0), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=293628.595, fault_state=0, fault_str='Kein Fehler.', power=0))
2023-12-08 04:04:41,647 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=9500), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=7816178.86, fault_state=0, fault_str='Kein Fehler.', power=-0.0))
2023-12-08 04:04:41,649 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=8109807.455, power=0.0))
2023-12-08 04:04:41,650 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2023-11-30 12:30:45 +0100 [285f5a5fb]', 'current_branch': 'Release', 'current_branch_commit': '2023-11-30 12:30:45 +0100 [285f5a5fb]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.2-Patch.1', 'datastore_version': 29, 'lastlivevaluesJson': {'timestamp': 1702004671, 'time': '04:04:31', 'grid': 0.348, 'house-power': 0.348, 'charging-all': 0.0, 'pv-all': -0.0, 'cp1-power': 0.0, 'ev1-soc': 49.0, 'ev2-soc': 72, 'bat-all-power': 0.0, 'bat-all-soc': 19}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2023-12-08 04:04:41,652 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2023-12-08 04:04:41,654 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2023-12-08 04:04:41,654 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2023-12-08 04:04:41,656 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2023-12-08 04:04:41,657 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2023-12-08 04:04:41,658 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2023-12-08 04:04:41,658 - {control.data:253} - {INFO:MainThread} - 

2023-12-08 04:04:41,660 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2023-12-08 04:04:41,662 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2023-12-08 04:04:41,664 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2023-12-08 04:04:41,666 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2023-12-08 04:04:41,676 - {control.counter:211} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: 0W
2023-12-08 04:04:41,677 - {control.counter:457} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf 0W
2023-12-08 04:04:41,679 - {control.chargepoint.chargepoint:277} - {INFO:MainThread} - LP 1: Die Ladung kann nicht gestartet werden, da die Einschaltschwelle nicht erreicht wird.
2023-12-08 04:04:41,681 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2023-12-08 04:04:41,684 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2023-12-08 04:04:41,689 - {control.process:111} - {INFO:MainThread} - LP1: set current 0 A, state NO_CHARGING_ALLOWED
2023-12-08 04:04:41,693 - {modules.common.component_context:24} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:04:41,728 - {control.counter:186} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2023-12-08 04:04:41,962 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2023-12-08 04:04:41,969 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2023-12-08 04:04:45,977 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2023-12-08 04:04:45,979 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2023-12-08 04:04:50,988 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2023-12-08 04:04:50,989 - {root:74} - {INFO:MainThread} - # ***Start*** 
2023-12-08 04:04:51,028 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x715cf340>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x7155e4a8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x715c75f8>}
2023-12-08 04:04:51,029 - {modules.common.component_context:24} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2023-12-08 04:04:51,031 - {modules.common.component_context:24} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:04:51,036 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2023-12-08 04:04:51,038 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2023-12-08 04:04:51,084 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 750
2023-12-08 04:04:51,087 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"cloud":{"connected":false},"input:0":{"id":0,"state":false},"mqtt":{"connected":false},"switch:0":{"id":0, "source":"loopback", "output":false, "apower":0.0, "voltage":242.8, "current":0.000, "aenergy":{"total":1505.625,"by_minute":[0.000,0.000,0.000],"minute_ts":1702004690},"temperature":{"tC":28.9, "tF":84.0}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:04","unixtime":1702004692,"uptime":1364019,"ram_size":248996,"ram_free":145268,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"beta":{"version":"1.1.0-beta2"},"stable":{"version":"1.0.8"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-69},"ws":{"connected":false}}

2023-12-08 04:04:51,089 - {modules.common.simcount._simcount:38} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1702004680.8586512, power=0, imported=0.0, exported=293628.5948715257)
2023-12-08 04:04:51,091 - {modules.common.simcount._calculate:13} - {DEBUG:device1} - time passed: 0.002842, power1: 0, power2: 0
2023-12-08 04:04:51,091 - {modules.common.simcount._calculate:29} - {DEBUG:device1} - power did not change sign. Total energy: 0
2023-12-08 04:04:51,092 - {modules.common.simcount._simcount:47} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702004691.089836, power=0, imported=0.0, exported=293628.5948715257)
2023-12-08 04:04:51,093 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:04:51,099 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-345, -222, -21, -102], Scale 0
2023-12-08 04:04:51,125 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [12, 5, 10], Scale -1
2023-12-08 04:04:51,145 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [24280, 24256, 24054, 0, 0, 0, 0], Scale -2
2023-12-08 04:04:51,165 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4997], Scale -2
2023-12-08 04:04:51,183 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7210, 1739, 3959], Scale -2
2023-12-08 04:04:51,244 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4870433, 1797042, 2153375, 1456453, 6125860, 2531524, 1862788, 2267986], Scale 0
2023-12-08 04:04:51,245 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[1.2000000000000002, 0.5, 1.0], powers=[222.0, 21.0, 102.0], voltages=[242.8, 242.56, 240.54], power_factors=[0.7210000000000001, 0.1739, 0.39590000000000003], imported=6125860.0, exported=4870433.0, power=345.0, frequency=49.97)
2023-12-08 04:04:51,247 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2023-12-08 04:04:51,277 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [0], Scale 0
2023-12-08 04:04:51,315 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7789710], Scale 0
2023-12-08 04:04:51,384 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [28, 32, 32], Scale -2
2023-12-08 04:04:51,404 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4804], Scale -2
2023-12-08 04:04:51,404 - {modules.common.component_state:100} - {DEBUG:device0} - currents sign wrong [0.28, 0.32, 0.32]
2023-12-08 04:04:51,405 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.28, 0.32, 0.32], power=-0.0, exported=7789710.0, dc_power=48.04)
2023-12-08 04:04:51,406 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2023-12-08 04:04:51,466 - {modules.common.simcount._simcount:38} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1702004681.2536478, power=0.0, imported=143333.37604219164, exported=116864.5215890633)
2023-12-08 04:04:51,467 - {modules.common.simcount._calculate:13} - {DEBUG:device0} - time passed: 0.00283701, power1: 0, power2: 0
2023-12-08 04:04:51,468 - {modules.common.simcount._calculate:29} - {DEBUG:device0} - power did not change sign. Total energy: 0
2023-12-08 04:04:51,468 - {modules.common.simcount._simcount:47} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702004691.4668877, power=0.0, imported=143333.37604219164, exported=116864.5215890633)
2023-12-08 04:04:51,469 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=143333.37604219164, exported=116864.5215890633, power=0.0, soc=19.0)
2023-12-08 04:04:51,479 - {modules.common.component_context:24} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2023-12-08 04:04:51,481 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=143333.37604219164, exported=116864.5215890633, power=0.0, soc=19.0)
2023-12-08 04:04:51,519 - {modules.common.component_context:24} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:04:51,520 - {modules.common.component_context:24} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2023-12-08 04:04:51,521 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-0.0, exported=7816178.86, dc_power=None)
2023-12-08 04:04:51,522 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-0.0, exported=7816178.86, dc_power=None)
2023-12-08 04:04:51,523 - {modules.common.component_context:24} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2023-12-08 04:04:51,529 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:04:51,530 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:04:51,561 - {modules.common.component_context:24} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2023-12-08 04:04:51,562 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[1.2000000000000002, 0.5, 1.0], powers=[222.0, 21.0, 102.0], voltages=[242.8, 242.56, 240.54], power_factors=[0.7210000000000001, 0.1739, 0.39590000000000003], imported=6125860.0, exported=4870433.0, power=345.0, frequency=49.97)
2023-12-08 04:04:51,714 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2023-12-08 04:04:51,715 - {control.bat_all:173} - {INFO:MainThread} - -50W verbleibende Speicher-Leistung
2023-12-08 04:04:51,716 - {control.counter:138} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [61.8, 62.6, 62.0]A
2023-12-08 04:04:51,717 - {control.counter:161} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 42655.0W
2023-12-08 04:04:51,718 - {control.chargepoint.chargepoint:699} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2023-12-08 04:04:51,718 - {control.chargepoint.chargepoint:682} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2023-12-08 04:04:51,720 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 736.851323s, Dauer 1.380952380952381h, Termin heute verpasst: False
2023-12-08 04:04:51,731 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 91459.821583s, Dauer 0.18012422360248448h, Termin heute verpasst: False
2023-12-08 04:04:51,733 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -9206.01919s, Dauer 4.142857142857143h, Termin heute verpasst: False
2023-12-08 04:04:51,735 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 90162.923072s, Dauer 0.5403726708074534h, Termin heute verpasst: False
2023-12-08 04:04:51,742 - {control.ev:762} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2023-12-08 04:04:51,747 - {control.chargepoint.chargepoint:898} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.PV_CHARGING, Phasen: 1, Priorität: False, max. Ist-Strom: 0.1
2023-12-08 04:04:51,752 - {control.chargepoint.chargepoint:277} - {INFO:MainThread} - LP 1: Kein Sofortladen, da noch Zeit bis zum Zieltermin ist. Falls vorhanden, wird mit EVU-Überschuss geladen.
2023-12-08 04:04:51,769 - {modules.common.simcount._simcount:38} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1702004681.561335, power=346.0, imported=2374329.6005697185, exported=0)
2023-12-08 04:04:51,772 - {modules.common.simcount._calculate:13} - {DEBUG:MainThread} - time passed: 0.00283565, power1: 346, power2: 345
2023-12-08 04:04:51,773 - {modules.common.simcount._calculate:29} - {DEBUG:MainThread} - power did not change sign. Total energy: 0.979719
2023-12-08 04:04:51,775 - {modules.common.simcount._simcount:47} - {DEBUG:MainThread} - imported: 0.979719 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702004691.7696903, power=345.0, imported=2374330.5802882514, exported=0)
2023-12-08 04:04:51,781 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=19, daily_exported=0.0, daily_imported=0.0, imported=143333.38, exported=116864.52, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2023-12-08 04:04:51,782 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=19, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=143333.38, exported=116864.52, power=0.0), set=Set(charging_power_left=-50, switch_on_soc_reached=False))
2023-12-08 04:04:51,784 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=97.16, daily_exported=0, power=0, imported=6926458.98, exported=0))
2023-12-08 04:04:51,786 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 95%, 06:00 Uhr', imported_at_plan_start=6926377.93, imported_instant_charging=None, limit=None, phases=1, prio=False, required_current=6, required_currents=[0.0, 6, 0.0], state=0, submode=<Chargemode.PV_CHARGING: 'pv_charging'>, 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=72), currents=[0.1, 0.0, 0.0], daily_imported=97.16, daily_exported=0, evse_current=0, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=6926458.98, phases_in_use=1, plug_state=True, power=0, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Kein Sofortladen, da noch Zeit bis zum Zieltermin ist. Falls vorhanden, wird mit EVU-Überschuss geladen.', voltages=[242.84, 240.75, 243.09]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=0, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='_', imported_at_mode_switch=6926377.93, imported_at_plugtime=6926377.93, imported_since_mode_switch=0, imported_since_plugged=81.05000000074506, range_charged=0, time_charged='00:00', timestamp_start_charging=None), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time='12/07/2023, 13:07:31', required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x70befe20>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB Carport', type='internal_openwb', template=1, connected_phases=3, phase_1=2, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=1))
2023-12-08 04:04:51,792 - {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-12-08 04:04:51,793 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=1, max_current_multi_phases=16, max_current_single_phase=20, name='RFID, 20A, 11kW', rfid_enabling=True, valid_tags=['0003134583', '0003526747', '1655332554', '2585022212', '2585087748'])
2023-12-08 04:04:51,794 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[63, 63, 63], max_total_power=43000), get=Get(powers=[222.0, 21.0, 102.0], currents=[1.2, 0.5, 1.0], voltages=[242.8, 242.56, 240.54], power_factors=[0.72, 0.17, 0.4], unbalanced_load=0, frequency=49.97, daily_exported=0.0, daily_imported=4073.0, imported=6125860.0, exported=4870433.0, fault_state=0, fault_str='Kein Fehler.', power=345.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=42655.0, raw_currents_left=[61.8, 62.6, 62.0], surplus_power_left=0, state_str=''))
2023-12-08 04:04:51,795 - {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': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=345.0, invalid_home_consumption=0, daily_yield_home_consumption=5488.8679565983, imported_home_consumption=2374330.5802882514, disengageable_smarthome_power=0))
2023-12-08 04:04:51,796 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2023-12-08 04:04:51,801 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Ladeprofil ***AUTO1***', disable_after_unplug=False, prio=False, load_default=True, time_charging=TimeCharging(active=True, plans={'0': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[True, True, True, True, False, False, True]), time=['22:00', '06:00'], name='Zeitladen 95%, So-Do 22:00-06:00 Uhr', current=16, limit=Limit(selected='soc', amount=1000, soc=95)), '1': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, True, True, False]), time=['22:00', '06:00'], name='Zeitladen 80%, Fr-Sa 22:00-06:00 Uhr', current=16, limit=Limit(selected='soc', amount=1000, soc=80))}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2023-12-08 04:04:51,803 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, time_charging=TimeCharging(active=True, plans={'2': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), time=['06:45', '07:00'], name='Klima 06:45-07:00 Uhr', current=6, limit=Limit(selected='none', amount=1000, soc=50)), '3': TimeChargingPlan(active=True, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, False, False, False]), time=['00:00', '23:55'], name='Immer 35%', current=10, limit=Limit(selected='soc', amount=1000, soc=35))}), chargemode=Chargemode(selected='scheduled_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={'0': ScheduledChargingPlan(active=False, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, True, False, False, False, False, False]), current=14, name='Zielladen 80%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '1': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), current=14, name='Zielladen 95%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=95), time='05:40'), '2': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once='2023-09-26', weekly=[True, False, False, True, False, True, True]), current=14, name='Zielladen 75%, 7:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=75), time='05:40')}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=80))))
2023-12-08 04:04:51,809 - {control.data:266} - {INFO:MainThread} - ev0
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=['0003134583'], get=Get(soc=0, soc_timestamp=None, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:04:51,810 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Tesla Model Y (2022)', 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=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212', '2585087748'], get=Get(soc=49.0, soc_timestamp='12/08/2023, 01:29:15', force_soc_update=False, range=220.74, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:04:51,811 - {control.data:266} - {INFO:MainThread} - ev2
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Cupra Born 58kW', 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=18000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=2, ev_template=2, name='***AUTO2***', tag_id=['1655332554'], get=Get(soc=72, soc_timestamp='12/08/2023, 02:47:32', force_soc_update=False, range=205, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:04:51,812 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40)
2023-12-08 04:04:51,813 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', 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=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40)
2023-12-08 04:04:51,813 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', 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=18000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40)
2023-12-08 04:04:51,814 - {control.data:245} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=3), pv_charging=PvCharging(bat_prio=True, charging_power_reserve=200, control_range=[-230, 230], feed_in_yield=15000, phase_switch_delay=15, phases_to_use=0, rundown_power=1000, rundown_soc=25, switch_off_delay=60, switch_off_soc=25, switch_off_threshold=50, switch_on_delay=30, switch_on_soc=50, switch_on_threshold=1400), scheduled_charging=ScheduledCharging(phases_to_use=0), time_charging=TimeCharging(phases_to_use=3), unbalanced_load_limit=20, unbalanced_load=True), control_interval=10, extern_display_mode='local', extern=False, external_buttons_hw=False, grid_protection_active=False, grid_protection_configured=True, grid_protection_random_stop=0, grid_protection_timestamp='', mqtt_bridge=False, price_kwh=0.3528, range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=True, r1_active=False, r2_active=False))
2023-12-08 04:04:51,814 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2023-12-08 04:04:51,815 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2023-12-08 04:04:51,815 - {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 0x715781f0>), led=Led(active=False), rfid=Rfid(active=True))
2023-12-08 04:04:51,815 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=0), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=293628.595, fault_state=0, fault_str='Kein Fehler.', power=0))
2023-12-08 04:04:51,816 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=9500), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=7816178.86, fault_state=0, fault_str='Kein Fehler.', power=-0.0))
2023-12-08 04:04:51,816 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=8109807.455, power=0.0))
2023-12-08 04:04:51,817 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2023-11-30 12:30:45 +0100 [285f5a5fb]', 'current_branch': 'Release', 'current_branch_commit': '2023-11-30 12:30:45 +0100 [285f5a5fb]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.2-Patch.1', 'datastore_version': 29, 'lastlivevaluesJson': {'timestamp': 1702004681, 'time': '04:04:41', 'grid': 0.346, 'house-power': 0.346, 'charging-all': 0.0, 'pv-all': -0.0, 'cp1-power': 0.0, 'ev1-soc': 49.0, 'ev2-soc': 72, 'bat-all-power': 0.0, 'bat-all-soc': 19}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2023-12-08 04:04:51,817 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2023-12-08 04:04:51,817 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2023-12-08 04:04:51,818 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2023-12-08 04:04:51,818 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2023-12-08 04:04:51,819 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2023-12-08 04:04:51,820 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2023-12-08 04:04:51,820 - {control.data:253} - {INFO:MainThread} - 

2023-12-08 04:04:51,822 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2023-12-08 04:04:51,824 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2023-12-08 04:04:51,826 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2023-12-08 04:04:51,828 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2023-12-08 04:04:51,830 - {control.counter:211} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: 0W
2023-12-08 04:04:51,831 - {control.counter:457} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf 0W
2023-12-08 04:04:51,833 - {control.chargepoint.chargepoint:277} - {INFO:MainThread} - LP 1: Die Ladung kann nicht gestartet werden, da die Einschaltschwelle nicht erreicht wird.
2023-12-08 04:04:51,834 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2023-12-08 04:04:51,835 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2023-12-08 04:04:51,838 - {control.process:111} - {INFO:MainThread} - LP1: set current 0 A, state NO_CHARGING_ALLOWED
2023-12-08 04:04:51,841 - {modules.common.component_context:24} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:04:51,878 - {control.counter:186} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2023-12-08 04:04:52,169 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2023-12-08 04:04:55,187 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2023-12-08 04:04:55,188 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2023-12-08 04:05:00,200 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2023-12-08 04:05:00,201 - {root:74} - {INFO:MainThread} - # ***Start*** 
2023-12-08 04:05:00,239 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x715cf340>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x7155e4a8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x715c75f8>}
2023-12-08 04:05:00,244 - {modules.common.component_context:24} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2023-12-08 04:05:00,246 - {modules.common.component_context:24} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:05:00,252 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2023-12-08 04:05:00,259 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2023-12-08 04:05:00,283 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-343, -221, -21, -100], Scale 0
2023-12-08 04:05:00,296 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 750
2023-12-08 04:05:00,298 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"cloud":{"connected":false},"input:0":{"id":0,"state":false},"mqtt":{"connected":false},"switch:0":{"id":0, "source":"loopback", "output":false, "apower":0.0, "voltage":242.8, "current":0.000, "aenergy":{"total":1505.625,"by_minute":[0.000,0.000,0.000],"minute_ts":1702004699},"temperature":{"tC":28.9, "tF":84.1}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:05","unixtime":1702004701,"uptime":1364028,"ram_size":248944,"ram_free":144676,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"beta":{"version":"1.1.0-beta2"},"stable":{"version":"1.0.8"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-69},"ws":{"connected":false}}

2023-12-08 04:05:00,300 - {modules.common.simcount._simcount:38} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1702004691.089836, power=0, imported=0.0, exported=293628.5948715257)
2023-12-08 04:05:00,301 - {modules.common.simcount._calculate:13} - {DEBUG:device1} - time passed: 0.00255859, power1: 0, power2: 0
2023-12-08 04:05:00,301 - {modules.common.simcount._calculate:29} - {DEBUG:device1} - power did not change sign. Total energy: 0
2023-12-08 04:05:00,302 - {modules.common.simcount._simcount:47} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702004700.300754, power=0, imported=0.0, exported=293628.5948715257)
2023-12-08 04:05:00,303 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:05:00,409 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [12, 5, 10], Scale -1
2023-12-08 04:05:00,447 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [24274, 24248, 24043, 0, 0, 0, 0], Scale -2
2023-12-08 04:05:00,476 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4997], Scale -2
2023-12-08 04:05:00,521 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7200, 1689, 3919], Scale -2
2023-12-08 04:05:00,565 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4870433, 1797042, 2153375, 1456453, 6125861, 2531524, 1862788, 2267986], Scale 0
2023-12-08 04:05:00,565 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[1.2000000000000002, 0.5, 1.0], powers=[221.0, 21.0, 100.0], voltages=[242.74, 242.48000000000002, 240.43], power_factors=[0.72, 0.1689, 0.39189999999999997], imported=6125861.0, exported=4870433.0, power=343.0, frequency=49.97)
2023-12-08 04:05:00,575 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2023-12-08 04:05:00,619 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [0], Scale 0
2023-12-08 04:05:00,644 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7789710], Scale 0
2023-12-08 04:05:00,665 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [28, 31, 31], Scale -2
2023-12-08 04:05:00,744 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4050], Scale -2
2023-12-08 04:05:00,745 - {modules.common.component_state:100} - {DEBUG:device0} - currents sign wrong [0.28, 0.31, 0.31]
2023-12-08 04:05:00,746 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.28, 0.31, 0.31], power=-0.0, exported=7789710.0, dc_power=40.5)
2023-12-08 04:05:00,757 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2023-12-08 04:05:00,794 - {modules.common.simcount._simcount:38} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1702004691.4668877, power=0.0, imported=143333.37604219164, exported=116864.5215890633)
2023-12-08 04:05:00,795 - {modules.common.simcount._calculate:13} - {DEBUG:device0} - time passed: 0.00259106, power1: 0, power2: 0
2023-12-08 04:05:00,795 - {modules.common.simcount._calculate:29} - {DEBUG:device0} - power did not change sign. Total energy: 0
2023-12-08 04:05:00,796 - {modules.common.simcount._simcount:47} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702004700.7947054, power=0.0, imported=143333.37604219164, exported=116864.5215890633)
2023-12-08 04:05:00,803 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=143333.37604219164, exported=116864.5215890633, power=0.0, soc=19.0)
2023-12-08 04:05:00,820 - {modules.common.component_context:24} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2023-12-08 04:05:00,821 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=143333.37604219164, exported=116864.5215890633, power=0.0, soc=19.0)
2023-12-08 04:05:00,852 - {modules.common.component_context:24} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:05:00,854 - {modules.common.component_context:24} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2023-12-08 04:05:00,855 - {modules.common.component_context:24} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2023-12-08 04:05:00,858 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-0.0, exported=7816178.86, dc_power=None)
2023-12-08 04:05:00,858 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:05:00,861 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-0.0, exported=7816178.86, dc_power=None)
2023-12-08 04:05:00,861 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:05:00,904 - {modules.common.component_context:24} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2023-12-08 04:05:00,905 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[1.2000000000000002, 0.5, 1.0], powers=[221.0, 21.0, 100.0], voltages=[242.74, 242.48000000000002, 240.43], power_factors=[0.72, 0.1689, 0.39189999999999997], imported=6125861.0, exported=4870433.0, power=343.0, frequency=49.97)
2023-12-08 04:05:01,080 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2023-12-08 04:05:01,082 - {control.bat_all:173} - {INFO:MainThread} - -50W verbleibende Speicher-Leistung
2023-12-08 04:05:01,084 - {control.counter:138} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [61.8, 62.6, 62.0]A
2023-12-08 04:05:01,086 - {control.counter:161} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 42657.0W
2023-12-08 04:05:01,088 - {control.chargepoint.chargepoint:699} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2023-12-08 04:05:01,089 - {control.chargepoint.chargepoint:682} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2023-12-08 04:05:01,091 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 727.480431s, Dauer 1.380952380952381h, Termin heute verpasst: False
2023-12-08 04:05:01,092 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 91450.460521s, Dauer 0.18012422360248448h, Termin heute verpasst: False
2023-12-08 04:05:01,094 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -9215.379893s, Dauer 4.142857142857143h, Termin heute verpasst: False
2023-12-08 04:05:01,096 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 90153.562793s, Dauer 0.5403726708074534h, Termin heute verpasst: False
2023-12-08 04:05:01,096 - {control.ev:762} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2023-12-08 04:05:01,101 - {control.chargepoint.chargepoint:898} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.PV_CHARGING, Phasen: 1, Priorität: False, max. Ist-Strom: 0.1
2023-12-08 04:05:01,103 - {control.chargepoint.chargepoint:277} - {INFO:MainThread} - LP 1: Kein Sofortladen, da noch Zeit bis zum Zieltermin ist. Falls vorhanden, wird mit EVU-Überschuss geladen.
2023-12-08 04:05:01,129 - {modules.common.simcount._simcount:38} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1702004691.7696903, power=345.0, imported=2374330.5802882514, exported=0)
2023-12-08 04:05:01,132 - {modules.common.simcount._calculate:13} - {DEBUG:MainThread} - time passed: 0.0025999, power1: 345, power2: 343
2023-12-08 04:05:01,133 - {modules.common.simcount._calculate:29} - {DEBUG:MainThread} - power did not change sign. Total energy: 0.894366
2023-12-08 04:05:01,137 - {modules.common.simcount._simcount:47} - {DEBUG:MainThread} - imported: 0.894366 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702004701.1293333, power=343.0, imported=2374331.474654136, exported=0)
2023-12-08 04:05:01,139 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=19, daily_exported=0.0, daily_imported=0.0, imported=143333.38, exported=116864.52, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2023-12-08 04:05:01,141 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=19, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=143333.38, exported=116864.52, power=0.0), set=Set(charging_power_left=-50, switch_on_soc_reached=False))
2023-12-08 04:05:01,142 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=97.16, daily_exported=0, power=0, imported=6926458.98, exported=0))
2023-12-08 04:05:01,144 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 95%, 06:00 Uhr', imported_at_plan_start=6926377.93, imported_instant_charging=None, limit=None, phases=1, prio=False, required_current=6, required_currents=[0.0, 6, 0.0], state=0, submode=<Chargemode.PV_CHARGING: 'pv_charging'>, 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=72), currents=[0.1, 0.0, 0.0], daily_imported=97.16, daily_exported=0, evse_current=0, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=6926458.98, phases_in_use=1, plug_state=True, power=0, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Kein Sofortladen, da noch Zeit bis zum Zieltermin ist. Falls vorhanden, wird mit EVU-Überschuss geladen.', voltages=[242.83, 240.84, 243.19]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=0, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='_', imported_at_mode_switch=6926377.93, imported_at_plugtime=6926377.93, imported_since_mode_switch=0, imported_since_plugged=81.05000000074506, range_charged=0, time_charged='00:00', timestamp_start_charging=None), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time='12/07/2023, 13:07:31', required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x70bdac58>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB Carport', type='internal_openwb', template=1, connected_phases=3, phase_1=2, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=1))
2023-12-08 04:05:01,146 - {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-12-08 04:05:01,148 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=1, max_current_multi_phases=16, max_current_single_phase=20, name='RFID, 20A, 11kW', rfid_enabling=True, valid_tags=['0003134583', '0003526747', '1655332554', '2585022212', '2585087748'])
2023-12-08 04:05:01,150 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[63, 63, 63], max_total_power=43000), get=Get(powers=[221.0, 21.0, 100.0], currents=[1.2, 0.5, 1.0], voltages=[242.74, 242.48, 240.43], power_factors=[0.72, 0.17, 0.39], unbalanced_load=0, frequency=49.97, daily_exported=0.0, daily_imported=4073.0, imported=6125861.0, exported=4870433.0, fault_state=0, fault_str='Kein Fehler.', power=343.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=42657.0, raw_currents_left=[61.8, 62.6, 62.0], surplus_power_left=0, state_str=''))
2023-12-08 04:05:01,152 - {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': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=343.0, invalid_home_consumption=0, daily_yield_home_consumption=5488.8679565983, imported_home_consumption=2374331.474654136, disengageable_smarthome_power=0))
2023-12-08 04:05:01,154 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2023-12-08 04:05:01,156 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Ladeprofil ***AUTO1***', disable_after_unplug=False, prio=False, load_default=True, time_charging=TimeCharging(active=True, plans={'0': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[True, True, True, True, False, False, True]), time=['22:00', '06:00'], name='Zeitladen 95%, So-Do 22:00-06:00 Uhr', current=16, limit=Limit(selected='soc', amount=1000, soc=95)), '1': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, True, True, False]), time=['22:00', '06:00'], name='Zeitladen 80%, Fr-Sa 22:00-06:00 Uhr', current=16, limit=Limit(selected='soc', amount=1000, soc=80))}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2023-12-08 04:05:01,159 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, time_charging=TimeCharging(active=True, plans={'2': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), time=['06:45', '07:00'], name='Klima 06:45-07:00 Uhr', current=6, limit=Limit(selected='none', amount=1000, soc=50)), '3': TimeChargingPlan(active=True, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, False, False, False]), time=['00:00', '23:55'], name='Immer 35%', current=10, limit=Limit(selected='soc', amount=1000, soc=35))}), chargemode=Chargemode(selected='scheduled_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={'0': ScheduledChargingPlan(active=False, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, True, False, False, False, False, False]), current=14, name='Zielladen 80%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '1': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), current=14, name='Zielladen 95%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=95), time='05:40'), '2': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once='2023-09-26', weekly=[True, False, False, True, False, True, True]), current=14, name='Zielladen 75%, 7:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=75), time='05:40')}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=80))))
2023-12-08 04:05:01,161 - {control.data:266} - {INFO:MainThread} - ev0
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=['0003134583'], get=Get(soc=0, soc_timestamp=None, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:05:01,162 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Tesla Model Y (2022)', 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=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212', '2585087748'], get=Get(soc=49.0, soc_timestamp='12/08/2023, 01:29:15', force_soc_update=False, range=220.74, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:05:01,163 - {control.data:266} - {INFO:MainThread} - ev2
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Cupra Born 58kW', 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=18000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=2, ev_template=2, name='***AUTO2***', tag_id=['1655332554'], get=Get(soc=72, soc_timestamp='12/08/2023, 02:47:32', force_soc_update=False, range=205, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:05:01,165 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40)
2023-12-08 04:05:01,166 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', 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=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40)
2023-12-08 04:05:01,167 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', 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=18000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40)
2023-12-08 04:05:01,169 - {control.data:245} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=3), pv_charging=PvCharging(bat_prio=True, charging_power_reserve=200, control_range=[-230, 230], feed_in_yield=15000, phase_switch_delay=15, phases_to_use=0, rundown_power=1000, rundown_soc=25, switch_off_delay=60, switch_off_soc=25, switch_off_threshold=50, switch_on_delay=30, switch_on_soc=50, switch_on_threshold=1400), scheduled_charging=ScheduledCharging(phases_to_use=0), time_charging=TimeCharging(phases_to_use=3), unbalanced_load_limit=20, unbalanced_load=True), control_interval=10, extern_display_mode='local', extern=False, external_buttons_hw=False, grid_protection_active=False, grid_protection_configured=True, grid_protection_random_stop=0, grid_protection_timestamp='', mqtt_bridge=False, price_kwh=0.3528, range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=True, r1_active=False, r2_active=False))
2023-12-08 04:05:01,170 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2023-12-08 04:05:01,172 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2023-12-08 04:05:01,173 - {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 0x715cf670>), led=Led(active=False), rfid=Rfid(active=True))
2023-12-08 04:05:01,175 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=0), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=293628.595, fault_state=0, fault_str='Kein Fehler.', power=0))
2023-12-08 04:05:01,176 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=9500), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=7816178.86, fault_state=0, fault_str='Kein Fehler.', power=-0.0))
2023-12-08 04:05:01,178 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=8109807.455, power=0.0))
2023-12-08 04:05:01,181 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2023-11-30 12:30:45 +0100 [285f5a5fb]', 'current_branch': 'Release', 'current_branch_commit': '2023-11-30 12:30:45 +0100 [285f5a5fb]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.2-Patch.1', 'datastore_version': 29, 'lastlivevaluesJson': {'timestamp': 1702004691, 'time': '04:04:51', 'grid': 0.345, 'house-power': 0.345, 'charging-all': 0.0, 'pv-all': -0.0, 'cp1-power': 0.0, 'ev1-soc': 49.0, 'ev2-soc': 72, 'bat-all-power': 0.0, 'bat-all-soc': 19}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2023-12-08 04:05:01,182 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2023-12-08 04:05:01,185 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2023-12-08 04:05:01,187 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2023-12-08 04:05:01,188 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2023-12-08 04:05:01,190 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2023-12-08 04:05:01,191 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2023-12-08 04:05:01,193 - {control.data:253} - {INFO:MainThread} - 

2023-12-08 04:05:01,195 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2023-12-08 04:05:01,197 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2023-12-08 04:05:01,201 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2023-12-08 04:05:01,203 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2023-12-08 04:05:01,207 - {control.counter:211} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: 0W
2023-12-08 04:05:01,208 - {control.counter:457} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf 0W
2023-12-08 04:05:01,212 - {control.chargepoint.chargepoint:277} - {INFO:MainThread} - LP 1: Die Ladung kann nicht gestartet werden, da die Einschaltschwelle nicht erreicht wird.
2023-12-08 04:05:01,215 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2023-12-08 04:05:01,219 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2023-12-08 04:05:01,223 - {control.process:111} - {INFO:MainThread} - LP1: set current 0 A, state NO_CHARGING_ALLOWED
2023-12-08 04:05:01,226 - {modules.common.component_context:24} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:05:01,291 - {control.counter:186} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2023-12-08 04:05:01,625 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2023-12-08 04:05:01,649 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2023-12-08 04:05:01,650 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=hours, do=inner, args=(), kwargs={})
2023-12-08 04:05:01,697 - {root:106} - {DEBUG:MainThread} - 5 Minuten Handler ausführen.
2023-12-08 04:05:01,747 - {helpermodules.system:74} - {INFO:MainThread} - my IP: 192.168.1.31
2023-12-08 04:05:01,749 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=hours, do=inner, args=(), kwargs={})
2023-12-08 04:05:05,149 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2023-12-08 04:05:05,150 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2023-12-08 04:05:10,160 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2023-12-08 04:05:10,161 - {root:74} - {INFO:MainThread} - # ***Start*** 
2023-12-08 04:05:10,223 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x715cf340>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x7155e4a8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x715c75f8>}
2023-12-08 04:05:10,224 - {modules.common.component_context:24} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2023-12-08 04:05:10,226 - {modules.common.component_context:24} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:05:10,236 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2023-12-08 04:05:10,239 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2023-12-08 04:05:10,282 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 750
2023-12-08 04:05:10,284 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"cloud":{"connected":false},"input:0":{"id":0,"state":false},"mqtt":{"connected":false},"switch:0":{"id":0, "source":"loopback", "output":false, "apower":0.0, "voltage":242.7, "current":0.000, "aenergy":{"total":1505.625,"by_minute":[0.000,0.000,0.000],"minute_ts":1702004709},"temperature":{"tC":28.8, "tF":83.9}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:05","unixtime":1702004711,"uptime":1364038,"ram_size":248944,"ram_free":144680,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"beta":{"version":"1.1.0-beta2"},"stable":{"version":"1.0.8"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-69},"ws":{"connected":false}}

2023-12-08 04:05:10,285 - {modules.common.simcount._simcount:38} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1702004700.300754, power=0, imported=0.0, exported=293628.5948715257)
2023-12-08 04:05:10,286 - {modules.common.simcount._calculate:13} - {DEBUG:device1} - time passed: 0.00277364, power1: 0, power2: 0
2023-12-08 04:05:10,286 - {modules.common.simcount._calculate:29} - {DEBUG:device1} - power did not change sign. Total energy: 0
2023-12-08 04:05:10,287 - {modules.common.simcount._simcount:47} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702004710.285865, power=0, imported=0.0, exported=293628.5948715257)
2023-12-08 04:05:10,288 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:05:10,296 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-342, -220, -21, -100], Scale 0
2023-12-08 04:05:10,333 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [12, 5, 10], Scale -1
2023-12-08 04:05:10,353 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [24261, 24228, 24035, 0, 0, 0, 0], Scale -2
2023-12-08 04:05:10,393 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4997], Scale -2
2023-12-08 04:05:10,416 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7189, 1710, 3880], Scale -2
2023-12-08 04:05:10,444 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4870433, 1797042, 2153375, 1456453, 6125862, 2531525, 1862788, 2267987], Scale 0
2023-12-08 04:05:10,446 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[1.2000000000000002, 0.5, 1.0], powers=[220.0, 21.0, 100.0], voltages=[242.61, 242.28, 240.35], power_factors=[0.7189, 0.171, 0.38800000000000007], imported=6125862.0, exported=4870433.0, power=342.0, frequency=49.97)
2023-12-08 04:05:10,449 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2023-12-08 04:05:10,474 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [0], Scale 0
2023-12-08 04:05:10,507 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7789710], Scale 0
2023-12-08 04:05:10,525 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [29, 32, 33], Scale -2
2023-12-08 04:05:10,572 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4357], Scale -2
2023-12-08 04:05:10,573 - {modules.common.component_state:100} - {DEBUG:device0} - currents sign wrong [0.29, 0.32, 0.33]
2023-12-08 04:05:10,573 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.29, 0.32, 0.33], power=-0.0, exported=7789710.0, dc_power=43.57)
2023-12-08 04:05:10,575 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2023-12-08 04:05:10,714 - {modules.common.simcount._simcount:38} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1702004700.7947054, power=0.0, imported=143333.37604219164, exported=116864.5215890633)
2023-12-08 04:05:10,715 - {modules.common.simcount._calculate:13} - {DEBUG:device0} - time passed: 0.00275554, power1: 0, power2: 0
2023-12-08 04:05:10,715 - {modules.common.simcount._calculate:29} - {DEBUG:device0} - power did not change sign. Total energy: 0
2023-12-08 04:05:10,716 - {modules.common.simcount._simcount:47} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702004710.7146587, power=0.0, imported=143333.37604219164, exported=116864.5215890633)
2023-12-08 04:05:10,717 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=143333.37604219164, exported=116864.5215890633, power=0.0, soc=19.0)
2023-12-08 04:05:10,725 - {modules.common.component_context:24} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2023-12-08 04:05:10,726 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=143333.37604219164, exported=116864.5215890633, power=0.0, soc=19.0)
2023-12-08 04:05:10,760 - {modules.common.component_context:24} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:05:10,761 - {modules.common.component_context:24} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2023-12-08 04:05:10,763 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-0.0, exported=7816178.86, dc_power=None)
2023-12-08 04:05:10,763 - {modules.common.component_context:24} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2023-12-08 04:05:10,764 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-0.0, exported=7816178.86, dc_power=None)
2023-12-08 04:05:10,764 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:05:10,766 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:05:10,801 - {modules.common.component_context:24} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2023-12-08 04:05:10,802 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[1.2000000000000002, 0.5, 1.0], powers=[220.0, 21.0, 100.0], voltages=[242.61, 242.28, 240.35], power_factors=[0.7189, 0.171, 0.38800000000000007], imported=6125862.0, exported=4870433.0, power=342.0, frequency=49.97)
2023-12-08 04:05:10,946 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2023-12-08 04:05:10,947 - {control.bat_all:173} - {INFO:MainThread} - -50W verbleibende Speicher-Leistung
2023-12-08 04:05:10,951 - {control.counter:138} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [61.8, 62.6, 62.0]A
2023-12-08 04:05:10,951 - {control.counter:161} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 42658.0W
2023-12-08 04:05:10,954 - {control.chargepoint.chargepoint:699} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2023-12-08 04:05:10,955 - {control.chargepoint.chargepoint:682} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2023-12-08 04:05:10,957 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 717.614345s, Dauer 1.380952380952381h, Termin heute verpasst: False
2023-12-08 04:05:10,958 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 91440.594529s, Dauer 0.18012422360248448h, Termin heute verpasst: False
2023-12-08 04:05:10,960 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -9225.245534s, Dauer 4.142857142857143h, Termin heute verpasst: False
2023-12-08 04:05:10,962 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 90143.696817s, Dauer 0.5403726708074534h, Termin heute verpasst: False
2023-12-08 04:05:10,963 - {control.ev:762} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2023-12-08 04:05:10,968 - {control.chargepoint.chargepoint:898} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.PV_CHARGING, Phasen: 1, Priorität: False, max. Ist-Strom: 0.1
2023-12-08 04:05:10,970 - {control.chargepoint.chargepoint:277} - {INFO:MainThread} - LP 1: Kein Sofortladen, da noch Zeit bis zum Zieltermin ist. Falls vorhanden, wird mit EVU-Überschuss geladen.
2023-12-08 04:05:10,986 - {modules.common.simcount._simcount:38} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1702004701.1293333, power=343.0, imported=2374331.474654136, exported=0)
2023-12-08 04:05:10,992 - {modules.common.simcount._calculate:13} - {DEBUG:MainThread} - time passed: 0.00273808, power1: 343, power2: 342
2023-12-08 04:05:10,995 - {modules.common.simcount._calculate:29} - {DEBUG:MainThread} - power did not change sign. Total energy: 0.937794
2023-12-08 04:05:10,997 - {modules.common.simcount._simcount:47} - {DEBUG:MainThread} - imported: 0.937794 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702004710.9864385, power=342.0, imported=2374332.412448178, exported=0)
2023-12-08 04:05:11,002 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=19, daily_exported=0.0, daily_imported=0.0, imported=143333.38, exported=116864.52, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2023-12-08 04:05:11,003 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=19, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=143333.38, exported=116864.52, power=0.0), set=Set(charging_power_left=-50, switch_on_soc_reached=False))
2023-12-08 04:05:11,004 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=97.16, daily_exported=0, power=0, imported=6926458.98, exported=0))
2023-12-08 04:05:11,006 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 95%, 06:00 Uhr', imported_at_plan_start=6926377.93, imported_instant_charging=None, limit=None, phases=1, prio=False, required_current=6, required_currents=[0.0, 6, 0.0], state=0, submode=<Chargemode.PV_CHARGING: 'pv_charging'>, 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=72), currents=[0.1, 0.0, 0.0], daily_imported=97.16, daily_exported=0, evse_current=0, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=6926458.98, phases_in_use=1, plug_state=True, power=0, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Kein Sofortladen, da noch Zeit bis zum Zieltermin ist. Falls vorhanden, wird mit EVU-Überschuss geladen.', voltages=[242.74, 240.75, 242.98]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=0, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='_', imported_at_mode_switch=6926377.93, imported_at_plugtime=6926377.93, imported_since_mode_switch=0, imported_since_plugged=81.05000000074506, range_charged=0, time_charged='00:00', timestamp_start_charging=None), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time='12/07/2023, 13:07:31', required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x70ba7250>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB Carport', type='internal_openwb', template=1, connected_phases=3, phase_1=2, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=1))
2023-12-08 04:05:11,007 - {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-12-08 04:05:11,007 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=1, max_current_multi_phases=16, max_current_single_phase=20, name='RFID, 20A, 11kW', rfid_enabling=True, valid_tags=['0003134583', '0003526747', '1655332554', '2585022212', '2585087748'])
2023-12-08 04:05:11,008 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[63, 63, 63], max_total_power=43000), get=Get(powers=[220.0, 21.0, 100.0], currents=[1.2, 0.5, 1.0], voltages=[242.61, 242.28, 240.35], power_factors=[0.72, 0.17, 0.39], unbalanced_load=0, frequency=49.97, daily_exported=0.0, daily_imported=4100.0, imported=6125862.0, exported=4870433.0, fault_state=0, fault_str='Kein Fehler.', power=342.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=42658.0, raw_currents_left=[61.8, 62.6, 62.0], surplus_power_left=0, state_str=''))
2023-12-08 04:05:11,011 - {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': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=342.0, invalid_home_consumption=0, daily_yield_home_consumption=5516.1283940876, imported_home_consumption=2374332.412448178, disengageable_smarthome_power=0))
2023-12-08 04:05:11,014 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2023-12-08 04:05:11,019 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Ladeprofil ***AUTO1***', disable_after_unplug=False, prio=False, load_default=True, time_charging=TimeCharging(active=True, plans={'0': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[True, True, True, True, False, False, True]), time=['22:00', '06:00'], name='Zeitladen 95%, So-Do 22:00-06:00 Uhr', current=16, limit=Limit(selected='soc', amount=1000, soc=95)), '1': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, True, True, False]), time=['22:00', '06:00'], name='Zeitladen 80%, Fr-Sa 22:00-06:00 Uhr', current=16, limit=Limit(selected='soc', amount=1000, soc=80))}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2023-12-08 04:05:11,021 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, time_charging=TimeCharging(active=True, plans={'2': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), time=['06:45', '07:00'], name='Klima 06:45-07:00 Uhr', current=6, limit=Limit(selected='none', amount=1000, soc=50)), '3': TimeChargingPlan(active=True, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, False, False, False]), time=['00:00', '23:55'], name='Immer 35%', current=10, limit=Limit(selected='soc', amount=1000, soc=35))}), chargemode=Chargemode(selected='scheduled_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={'0': ScheduledChargingPlan(active=False, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, True, False, False, False, False, False]), current=14, name='Zielladen 80%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '1': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), current=14, name='Zielladen 95%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=95), time='05:40'), '2': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once='2023-09-26', weekly=[True, False, False, True, False, True, True]), current=14, name='Zielladen 75%, 7:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=75), time='05:40')}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=80))))
2023-12-08 04:05:11,022 - {control.data:266} - {INFO:MainThread} - ev0
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=['0003134583'], get=Get(soc=0, soc_timestamp=None, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:05:11,025 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Tesla Model Y (2022)', 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=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212', '2585087748'], get=Get(soc=49.0, soc_timestamp='12/08/2023, 01:29:15', force_soc_update=False, range=220.74, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:05:11,027 - {control.data:266} - {INFO:MainThread} - ev2
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Cupra Born 58kW', 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=18000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=2, ev_template=2, name='***AUTO2***', tag_id=['1655332554'], get=Get(soc=72, soc_timestamp='12/08/2023, 02:47:32', force_soc_update=False, range=205, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:05:11,029 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40)
2023-12-08 04:05:11,030 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', 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=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40)
2023-12-08 04:05:11,032 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', 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=18000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40)
2023-12-08 04:05:11,034 - {control.data:245} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=3), pv_charging=PvCharging(bat_prio=True, charging_power_reserve=200, control_range=[-230, 230], feed_in_yield=15000, phase_switch_delay=15, phases_to_use=0, rundown_power=1000, rundown_soc=25, switch_off_delay=60, switch_off_soc=25, switch_off_threshold=50, switch_on_delay=30, switch_on_soc=50, switch_on_threshold=1400), scheduled_charging=ScheduledCharging(phases_to_use=0), time_charging=TimeCharging(phases_to_use=3), unbalanced_load_limit=20, unbalanced_load=True), control_interval=10, extern_display_mode='local', extern=False, external_buttons_hw=False, grid_protection_active=False, grid_protection_configured=True, grid_protection_random_stop=0, grid_protection_timestamp='', mqtt_bridge=False, price_kwh=0.3528, range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=True, r1_active=False, r2_active=False))
2023-12-08 04:05:11,036 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2023-12-08 04:05:11,038 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2023-12-08 04:05:11,041 - {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 0x715cf2f8>), led=Led(active=False), rfid=Rfid(active=True))
2023-12-08 04:05:11,043 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=0), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=293628.595, fault_state=0, fault_str='Kein Fehler.', power=0))
2023-12-08 04:05:11,045 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=9500), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=7816178.86, fault_state=0, fault_str='Kein Fehler.', power=-0.0))
2023-12-08 04:05:11,047 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=8109807.455, power=0.0))
2023-12-08 04:05:11,050 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2023-11-30 12:30:45 +0100 [285f5a5fb]', 'current_branch': 'Release', 'current_branch_commit': '2023-11-30 12:30:45 +0100 [285f5a5fb]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.2-Patch.1', 'datastore_version': 29, 'lastlivevaluesJson': {'timestamp': 1702004701, 'time': '04:05:01', 'grid': 0.343, 'house-power': 0.343, 'charging-all': 0.0, 'pv-all': -0.0, 'cp1-power': 0.0, 'ev1-soc': 49.0, 'ev2-soc': 72, 'bat-all-power': 0.0, 'bat-all-soc': 19}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2023-12-08 04:05:11,051 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2023-12-08 04:05:11,053 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2023-12-08 04:05:11,055 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2023-12-08 04:05:11,058 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2023-12-08 04:05:11,059 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2023-12-08 04:05:11,062 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2023-12-08 04:05:11,067 - {control.data:253} - {INFO:MainThread} - 

2023-12-08 04:05:11,069 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2023-12-08 04:05:11,070 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2023-12-08 04:05:11,072 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2023-12-08 04:05:11,075 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2023-12-08 04:05:11,077 - {control.counter:211} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: 0W
2023-12-08 04:05:11,079 - {control.counter:457} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf 0W
2023-12-08 04:05:11,081 - {control.chargepoint.chargepoint:277} - {INFO:MainThread} - LP 1: Die Ladung kann nicht gestartet werden, da die Einschaltschwelle nicht erreicht wird.
2023-12-08 04:05:11,082 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2023-12-08 04:05:11,083 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2023-12-08 04:05:11,088 - {control.process:111} - {INFO:MainThread} - LP1: set current 0 A, state NO_CHARGING_ALLOWED
2023-12-08 04:05:11,091 - {modules.common.component_context:24} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:05:11,122 - {control.counter:186} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2023-12-08 04:05:11,320 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2023-12-08 04:05:15,372 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2023-12-08 04:05:15,372 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2023-12-08 04:05:20,383 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2023-12-08 04:05:20,384 - {root:74} - {INFO:MainThread} - # ***Start*** 
2023-12-08 04:05:20,420 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x715cf340>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x7155e4a8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x715c75f8>}
2023-12-08 04:05:20,421 - {modules.common.component_context:24} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2023-12-08 04:05:20,428 - {modules.common.component_context:24} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:05:20,434 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2023-12-08 04:05:20,436 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2023-12-08 04:05:20,479 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 750
2023-12-08 04:05:20,481 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"cloud":{"connected":false},"input:0":{"id":0,"state":false},"mqtt":{"connected":false},"switch:0":{"id":0, "source":"loopback", "output":false, "apower":0.0, "voltage":242.8, "current":0.000, "aenergy":{"total":1505.625,"by_minute":[0.000,0.000,0.000],"minute_ts":1702004719},"temperature":{"tC":28.9, "tF":84.0}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:05","unixtime":1702004721,"uptime":1364048,"ram_size":248996,"ram_free":145268,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"beta":{"version":"1.1.0-beta2"},"stable":{"version":"1.0.8"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-69},"ws":{"connected":false}}

2023-12-08 04:05:20,483 - {modules.common.simcount._simcount:38} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1702004710.285865, power=0, imported=0.0, exported=293628.5948715257)
2023-12-08 04:05:20,484 - {modules.common.simcount._calculate:13} - {DEBUG:device1} - time passed: 0.00283269, power1: 0, power2: 0
2023-12-08 04:05:20,484 - {modules.common.simcount._calculate:29} - {DEBUG:device1} - power did not change sign. Total energy: 0
2023-12-08 04:05:20,485 - {modules.common.simcount._simcount:47} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702004720.4835541, power=0, imported=0.0, exported=293628.5948715257)
2023-12-08 04:05:20,486 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:05:20,494 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-347, -221, -21, -104], Scale 0
2023-12-08 04:05:20,532 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [12, 5, 10], Scale -1
2023-12-08 04:05:20,554 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [24252, 24224, 24021, 0, 0, 0, 0], Scale -2
2023-12-08 04:05:20,582 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4997], Scale -2
2023-12-08 04:05:20,602 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7200, 1679, 3899], Scale -2
2023-12-08 04:05:20,655 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4870433, 1797042, 2153375, 1456453, 6125863, 2531526, 1862788, 2267987], Scale 0
2023-12-08 04:05:20,655 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[1.2000000000000002, 0.5, 1.0], powers=[221.0, 21.0, 104.0], voltages=[242.52, 242.24, 240.21], power_factors=[0.72, 0.1679, 0.3899], imported=6125863.0, exported=4870433.0, power=347.0, frequency=49.97)
2023-12-08 04:05:20,662 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2023-12-08 04:05:20,684 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [0], Scale 0
2023-12-08 04:05:20,704 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7789710], Scale 0
2023-12-08 04:05:20,774 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [28, 30, 32], Scale -2
2023-12-08 04:05:20,794 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4882], Scale -2
2023-12-08 04:05:20,794 - {modules.common.component_state:100} - {DEBUG:device0} - currents sign wrong [0.28, 0.3, 0.32]
2023-12-08 04:05:20,795 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.28, 0.3, 0.32], power=-0.0, exported=7789710.0, dc_power=48.82)
2023-12-08 04:05:20,808 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2023-12-08 04:05:20,845 - {modules.common.simcount._simcount:38} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1702004710.7146587, power=0.0, imported=143333.37604219164, exported=116864.5215890633)
2023-12-08 04:05:20,846 - {modules.common.simcount._calculate:13} - {DEBUG:device0} - time passed: 0.00281421, power1: 0, power2: 0
2023-12-08 04:05:20,847 - {modules.common.simcount._calculate:29} - {DEBUG:device0} - power did not change sign. Total energy: 0
2023-12-08 04:05:20,847 - {modules.common.simcount._simcount:47} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702004720.8458142, power=0.0, imported=143333.37604219164, exported=116864.5215890633)
2023-12-08 04:05:20,852 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=143333.37604219164, exported=116864.5215890633, power=0.0, soc=19.0)
2023-12-08 04:05:20,868 - {modules.common.component_context:24} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2023-12-08 04:05:20,869 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=143333.37604219164, exported=116864.5215890633, power=0.0, soc=19.0)
2023-12-08 04:05:20,900 - {modules.common.component_context:24} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:05:20,901 - {modules.common.component_context:24} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2023-12-08 04:05:20,903 - {modules.common.component_context:24} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2023-12-08 04:05:20,906 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-0.0, exported=7816178.86, dc_power=None)
2023-12-08 04:05:20,906 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:05:20,907 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-0.0, exported=7816178.86, dc_power=None)
2023-12-08 04:05:20,908 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:05:20,951 - {modules.common.component_context:24} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2023-12-08 04:05:20,953 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[1.2000000000000002, 0.5, 1.0], powers=[221.0, 21.0, 104.0], voltages=[242.52, 242.24, 240.21], power_factors=[0.72, 0.1679, 0.3899], imported=6125863.0, exported=4870433.0, power=347.0, frequency=49.97)
2023-12-08 04:05:21,135 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2023-12-08 04:05:21,138 - {control.bat_all:173} - {INFO:MainThread} - -50W verbleibende Speicher-Leistung
2023-12-08 04:05:21,145 - {control.counter:138} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [61.8, 62.6, 62.0]A
2023-12-08 04:05:21,148 - {control.counter:161} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 42653.0W
2023-12-08 04:05:21,153 - {control.chargepoint.chargepoint:699} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2023-12-08 04:05:21,164 - {control.chargepoint.chargepoint:682} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2023-12-08 04:05:21,167 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 707.404829s, Dauer 1.380952380952381h, Termin heute verpasst: False
2023-12-08 04:05:21,169 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 91430.383902s, Dauer 0.18012422360248448h, Termin heute verpasst: False
2023-12-08 04:05:21,171 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -9235.456632s, Dauer 4.142857142857143h, Termin heute verpasst: False
2023-12-08 04:05:21,174 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 90133.484281s, Dauer 0.5403726708074534h, Termin heute verpasst: False
2023-12-08 04:05:21,180 - {control.ev:762} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2023-12-08 04:05:21,185 - {control.chargepoint.chargepoint:898} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.PV_CHARGING, Phasen: 1, Priorität: False, max. Ist-Strom: 0.1
2023-12-08 04:05:21,185 - {control.chargepoint.chargepoint:277} - {INFO:MainThread} - LP 1: Kein Sofortladen, da noch Zeit bis zum Zieltermin ist. Falls vorhanden, wird mit EVU-Überschuss geladen.
2023-12-08 04:05:21,195 - {modules.common.simcount._simcount:38} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1702004710.9864385, power=342.0, imported=2374332.412448178, exported=0)
2023-12-08 04:05:21,197 - {modules.common.simcount._calculate:13} - {DEBUG:MainThread} - time passed: 0.00283574, power1: 342, power2: 347
2023-12-08 04:05:21,199 - {modules.common.simcount._calculate:29} - {DEBUG:MainThread} - power did not change sign. Total energy: 0.976912
2023-12-08 04:05:21,202 - {modules.common.simcount._simcount:47} - {DEBUG:MainThread} - imported: 0.976912 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702004721.1950934, power=347.0, imported=2374333.3893597354, exported=0)
2023-12-08 04:05:21,206 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=19, daily_exported=0.0, daily_imported=0.0, imported=143333.38, exported=116864.52, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2023-12-08 04:05:21,208 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=19, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=143333.38, exported=116864.52, power=0.0), set=Set(charging_power_left=-50, switch_on_soc_reached=False))
2023-12-08 04:05:21,211 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=97.16, daily_exported=0, power=0, imported=6926458.98, exported=0))
2023-12-08 04:05:21,212 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 95%, 06:00 Uhr', imported_at_plan_start=6926377.93, imported_instant_charging=None, limit=None, phases=1, prio=False, required_current=6, required_currents=[0.0, 6, 0.0], state=0, submode=<Chargemode.PV_CHARGING: 'pv_charging'>, 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=72), currents=[0.1, 0.0, 0.0], daily_imported=97.16, daily_exported=0, evse_current=0, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=6926458.98, phases_in_use=1, plug_state=True, power=0, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Kein Sofortladen, da noch Zeit bis zum Zieltermin ist. Falls vorhanden, wird mit EVU-Überschuss geladen.', voltages=[242.74, 240.79, 242.93]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=0, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='_', imported_at_mode_switch=6926377.93, imported_at_plugtime=6926377.93, imported_since_mode_switch=0, imported_since_plugged=81.05000000074506, range_charged=0, time_charged='00:00', timestamp_start_charging=None), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time='12/07/2023, 13:07:31', required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x70b94e80>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB Carport', type='internal_openwb', template=1, connected_phases=3, phase_1=2, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=1))
2023-12-08 04:05:21,215 - {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-12-08 04:05:21,225 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=1, max_current_multi_phases=16, max_current_single_phase=20, name='RFID, 20A, 11kW', rfid_enabling=True, valid_tags=['0003134583', '0003526747', '1655332554', '2585022212', '2585087748'])
2023-12-08 04:05:21,226 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[63, 63, 63], max_total_power=43000), get=Get(powers=[221.0, 21.0, 104.0], currents=[1.2, 0.5, 1.0], voltages=[242.52, 242.24, 240.21], power_factors=[0.72, 0.17, 0.39], unbalanced_load=0, frequency=49.97, daily_exported=0.0, daily_imported=4100.0, imported=6125863.0, exported=4870433.0, fault_state=0, fault_str='Kein Fehler.', power=347.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=42653.0, raw_currents_left=[61.8, 62.6, 62.0], surplus_power_left=0, state_str=''))
2023-12-08 04:05:21,226 - {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': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=347.0, invalid_home_consumption=0, daily_yield_home_consumption=5516.1283940876, imported_home_consumption=2374333.3893597354, disengageable_smarthome_power=0))
2023-12-08 04:05:21,227 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2023-12-08 04:05:21,227 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Ladeprofil ***AUTO1***', disable_after_unplug=False, prio=False, load_default=True, time_charging=TimeCharging(active=True, plans={'0': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[True, True, True, True, False, False, True]), time=['22:00', '06:00'], name='Zeitladen 95%, So-Do 22:00-06:00 Uhr', current=16, limit=Limit(selected='soc', amount=1000, soc=95)), '1': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, True, True, False]), time=['22:00', '06:00'], name='Zeitladen 80%, Fr-Sa 22:00-06:00 Uhr', current=16, limit=Limit(selected='soc', amount=1000, soc=80))}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2023-12-08 04:05:21,228 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, time_charging=TimeCharging(active=True, plans={'2': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), time=['06:45', '07:00'], name='Klima 06:45-07:00 Uhr', current=6, limit=Limit(selected='none', amount=1000, soc=50)), '3': TimeChargingPlan(active=True, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, False, False, False]), time=['00:00', '23:55'], name='Immer 35%', current=10, limit=Limit(selected='soc', amount=1000, soc=35))}), chargemode=Chargemode(selected='scheduled_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={'0': ScheduledChargingPlan(active=False, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, True, False, False, False, False, False]), current=14, name='Zielladen 80%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '1': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), current=14, name='Zielladen 95%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=95), time='05:40'), '2': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once='2023-09-26', weekly=[True, False, False, True, False, True, True]), current=14, name='Zielladen 75%, 7:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=75), time='05:40')}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=80))))
2023-12-08 04:05:21,230 - {control.data:266} - {INFO:MainThread} - ev0
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=['0003134583'], get=Get(soc=0, soc_timestamp=None, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:05:21,231 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Tesla Model Y (2022)', 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=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212', '2585087748'], get=Get(soc=49.0, soc_timestamp='12/08/2023, 01:29:15', force_soc_update=False, range=220.74, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:05:21,234 - {control.data:266} - {INFO:MainThread} - ev2
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Cupra Born 58kW', 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=18000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=2, ev_template=2, name='***AUTO2***', tag_id=['1655332554'], get=Get(soc=72, soc_timestamp='12/08/2023, 02:47:32', force_soc_update=False, range=205, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:05:21,235 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40)
2023-12-08 04:05:21,235 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', 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=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40)
2023-12-08 04:05:21,237 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', 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=18000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40)
2023-12-08 04:05:21,239 - {control.data:245} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=3), pv_charging=PvCharging(bat_prio=True, charging_power_reserve=200, control_range=[-230, 230], feed_in_yield=15000, phase_switch_delay=15, phases_to_use=0, rundown_power=1000, rundown_soc=25, switch_off_delay=60, switch_off_soc=25, switch_off_threshold=50, switch_on_delay=30, switch_on_soc=50, switch_on_threshold=1400), scheduled_charging=ScheduledCharging(phases_to_use=0), time_charging=TimeCharging(phases_to_use=3), unbalanced_load_limit=20, unbalanced_load=True), control_interval=10, extern_display_mode='local', extern=False, external_buttons_hw=False, grid_protection_active=False, grid_protection_configured=True, grid_protection_random_stop=0, grid_protection_timestamp='', mqtt_bridge=False, price_kwh=0.3528, range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=True, r1_active=False, r2_active=False))
2023-12-08 04:05:21,250 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2023-12-08 04:05:21,250 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2023-12-08 04:05:21,251 - {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 0x70bebda8>), led=Led(active=False), rfid=Rfid(active=True))
2023-12-08 04:05:21,252 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=0), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=293628.595, fault_state=0, fault_str='Kein Fehler.', power=0))
2023-12-08 04:05:21,252 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=9500), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=7816178.86, fault_state=0, fault_str='Kein Fehler.', power=-0.0))
2023-12-08 04:05:21,253 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=8109807.455, power=0.0))
2023-12-08 04:05:21,253 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2023-11-30 12:30:45 +0100 [285f5a5fb]', 'current_branch': 'Release', 'current_branch_commit': '2023-11-30 12:30:45 +0100 [285f5a5fb]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.2-Patch.1', 'datastore_version': 29, 'lastlivevaluesJson': {'timestamp': 1702004711, 'time': '04:05:11', 'grid': 0.342, 'house-power': 0.342, 'charging-all': 0.0, 'pv-all': -0.0, 'cp1-power': 0.0, 'ev1-soc': 49.0, 'ev2-soc': 72, 'bat-all-power': 0.0, 'bat-all-soc': 19}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2023-12-08 04:05:21,254 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2023-12-08 04:05:21,254 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2023-12-08 04:05:21,255 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2023-12-08 04:05:21,255 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2023-12-08 04:05:21,256 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2023-12-08 04:05:21,256 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2023-12-08 04:05:21,256 - {control.data:253} - {INFO:MainThread} - 

2023-12-08 04:05:21,257 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2023-12-08 04:05:21,257 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2023-12-08 04:05:21,260 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2023-12-08 04:05:21,261 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2023-12-08 04:05:21,267 - {control.counter:211} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: 0W
2023-12-08 04:05:21,270 - {control.counter:457} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf 0W
2023-12-08 04:05:21,274 - {control.chargepoint.chargepoint:277} - {INFO:MainThread} - LP 1: Die Ladung kann nicht gestartet werden, da die Einschaltschwelle nicht erreicht wird.
2023-12-08 04:05:21,275 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2023-12-08 04:05:21,277 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2023-12-08 04:05:21,284 - {control.process:111} - {INFO:MainThread} - LP1: set current 0 A, state NO_CHARGING_ALLOWED
2023-12-08 04:05:21,291 - {modules.common.component_context:24} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:05:21,350 - {control.counter:186} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2023-12-08 04:05:21,675 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2023-12-08 04:05:21,680 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2023-12-08 04:05:25,723 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2023-12-08 04:05:30,735 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2023-12-08 04:05:30,736 - {root:74} - {INFO:MainThread} - # ***Start*** 
2023-12-08 04:05:30,775 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x715cf340>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x7155e4a8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x715c75f8>}
2023-12-08 04:05:30,778 - {modules.common.component_context:24} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2023-12-08 04:05:30,788 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2023-12-08 04:05:30,791 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2023-12-08 04:05:30,793 - {modules.common.component_context:24} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:05:30,831 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 750
2023-12-08 04:05:30,833 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"cloud":{"connected":false},"input:0":{"id":0,"state":false},"mqtt":{"connected":false},"switch:0":{"id":0, "source":"loopback", "output":false, "apower":0.0, "voltage":242.8, "current":0.000, "aenergy":{"total":1505.625,"by_minute":[0.000,0.000,0.000],"minute_ts":1702004730},"temperature":{"tC":28.9, "tF":84.0}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:05","unixtime":1702004731,"uptime":1364059,"ram_size":248996,"ram_free":145268,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"beta":{"version":"1.1.0-beta2"},"stable":{"version":"1.0.8"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-68},"ws":{"connected":false}}

2023-12-08 04:05:30,835 - {modules.common.simcount._simcount:38} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1702004720.4835541, power=0, imported=0.0, exported=293628.5948715257)
2023-12-08 04:05:30,836 - {modules.common.simcount._calculate:13} - {DEBUG:device1} - time passed: 0.00287563, power1: 0, power2: 0
2023-12-08 04:05:30,837 - {modules.common.simcount._calculate:29} - {DEBUG:device1} - power did not change sign. Total energy: 0
2023-12-08 04:05:30,837 - {modules.common.simcount._simcount:47} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702004730.8358104, power=0, imported=0.0, exported=293628.5948715257)
2023-12-08 04:05:30,838 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:05:30,864 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-347, -221, -22, -102], Scale 0
2023-12-08 04:05:30,883 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [12, 5, 11], Scale -1
2023-12-08 04:05:30,906 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [24276, 24243, 24035, 0, 0, 0, 0], Scale -2
2023-12-08 04:05:30,934 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4999], Scale -2
2023-12-08 04:05:30,954 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7149, 1749, 4040], Scale -2
2023-12-08 04:05:30,986 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4870433, 1797042, 2153375, 1456453, 6125864, 2531526, 1862789, 2267987], Scale 0
2023-12-08 04:05:30,987 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[1.2000000000000002, 0.5, 1.1], powers=[221.0, 22.0, 102.0], voltages=[242.76, 242.43, 240.35], power_factors=[0.7149, 0.17490000000000003, 0.40399999999999997], imported=6125864.0, exported=4870433.0, power=347.0, frequency=49.99)
2023-12-08 04:05:30,989 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2023-12-08 04:05:31,030 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [0], Scale 0
2023-12-08 04:05:31,044 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7789710], Scale 0
2023-12-08 04:05:31,086 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [27, 31, 32], Scale -2
2023-12-08 04:05:31,114 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-5027], Scale -2
2023-12-08 04:05:31,115 - {modules.common.component_state:100} - {DEBUG:device0} - currents sign wrong [0.27, 0.31, 0.32]
2023-12-08 04:05:31,115 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.27, 0.31, 0.32], power=-0.0, exported=7789710.0, dc_power=50.27)
2023-12-08 04:05:31,117 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2023-12-08 04:05:31,164 - {modules.common.simcount._simcount:38} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1702004720.8458142, power=0.0, imported=143333.37604219164, exported=116864.5215890633)
2023-12-08 04:05:31,165 - {modules.common.simcount._calculate:13} - {DEBUG:device0} - time passed: 0.00286619, power1: 0, power2: 0
2023-12-08 04:05:31,165 - {modules.common.simcount._calculate:29} - {DEBUG:device0} - power did not change sign. Total energy: 0
2023-12-08 04:05:31,166 - {modules.common.simcount._simcount:47} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702004731.1640935, power=0.0, imported=143333.37604219164, exported=116864.5215890633)
2023-12-08 04:05:31,167 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=143333.37604219164, exported=116864.5215890633, power=0.0, soc=19.0)
2023-12-08 04:05:31,173 - {modules.common.component_context:24} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2023-12-08 04:05:31,189 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=143333.37604219164, exported=116864.5215890633, power=0.0, soc=19.0)
2023-12-08 04:05:31,220 - {modules.common.component_context:24} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:05:31,221 - {modules.common.component_context:24} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2023-12-08 04:05:31,222 - {modules.common.component_context:24} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2023-12-08 04:05:31,226 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-0.0, exported=7816178.86, dc_power=None)
2023-12-08 04:05:31,226 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:05:31,227 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-0.0, exported=7816178.86, dc_power=None)
2023-12-08 04:05:31,228 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:05:31,266 - {modules.common.component_context:24} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2023-12-08 04:05:31,266 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[1.2000000000000002, 0.5, 1.1], powers=[221.0, 22.0, 102.0], voltages=[242.76, 242.43, 240.35], power_factors=[0.7149, 0.17490000000000003, 0.40399999999999997], imported=6125864.0, exported=4870433.0, power=347.0, frequency=49.99)
2023-12-08 04:05:31,431 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2023-12-08 04:05:31,433 - {control.bat_all:173} - {INFO:MainThread} - -50W verbleibende Speicher-Leistung
2023-12-08 04:05:31,435 - {control.counter:138} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [61.8, 62.6, 61.9]A
2023-12-08 04:05:31,437 - {control.counter:161} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 42653.0W
2023-12-08 04:05:31,444 - {control.chargepoint.chargepoint:699} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2023-12-08 04:05:31,447 - {control.chargepoint.chargepoint:682} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2023-12-08 04:05:31,450 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 697.121231s, Dauer 1.380952380952381h, Termin heute verpasst: False
2023-12-08 04:05:31,451 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 91420.101287s, Dauer 0.18012422360248448h, Termin heute verpasst: False
2023-12-08 04:05:31,454 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -9245.73947s, Dauer 4.142857142857143h, Termin heute verpasst: False
2023-12-08 04:05:31,455 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 90123.203443s, Dauer 0.5403726708074534h, Termin heute verpasst: False
2023-12-08 04:05:31,456 - {control.ev:762} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2023-12-08 04:05:31,461 - {control.chargepoint.chargepoint:898} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.PV_CHARGING, Phasen: 1, Priorität: False, max. Ist-Strom: 0.1
2023-12-08 04:05:31,463 - {control.chargepoint.chargepoint:277} - {INFO:MainThread} - LP 1: Kein Sofortladen, da noch Zeit bis zum Zieltermin ist. Falls vorhanden, wird mit EVU-Überschuss geladen.
2023-12-08 04:05:31,499 - {modules.common.simcount._simcount:38} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1702004721.1950934, power=347.0, imported=2374333.3893597354, exported=0)
2023-12-08 04:05:31,501 - {modules.common.simcount._calculate:13} - {DEBUG:MainThread} - time passed: 0.00286237, power1: 347, power2: 347
2023-12-08 04:05:31,504 - {modules.common.simcount._calculate:29} - {DEBUG:MainThread} - power did not change sign. Total energy: 0.993241
2023-12-08 04:05:31,510 - {modules.common.simcount._simcount:47} - {DEBUG:MainThread} - imported: 0.993241 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702004731.4996114, power=347.0, imported=2374334.3826007745, exported=0)
2023-12-08 04:05:31,527 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=19, daily_exported=0.0, daily_imported=0.0, imported=143333.38, exported=116864.52, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2023-12-08 04:05:31,529 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=19, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=143333.38, exported=116864.52, power=0.0), set=Set(charging_power_left=-50, switch_on_soc_reached=False))
2023-12-08 04:05:31,530 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=97.16, daily_exported=0, power=0, imported=6926458.98, exported=0))
2023-12-08 04:05:31,534 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 95%, 06:00 Uhr', imported_at_plan_start=6926377.93, imported_instant_charging=None, limit=None, phases=1, prio=False, required_current=6, required_currents=[0.0, 6, 0.0], state=0, submode=<Chargemode.PV_CHARGING: 'pv_charging'>, 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=72), currents=[0.1, 0.0, 0.0], daily_imported=97.16, daily_exported=0, evse_current=0, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=6926458.98, phases_in_use=1, plug_state=True, power=0, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Kein Sofortladen, da noch Zeit bis zum Zieltermin ist. Falls vorhanden, wird mit EVU-Überschuss geladen.', voltages=[242.91, 240.93, 243.08]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=0, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='_', imported_at_mode_switch=6926377.93, imported_at_plugtime=6926377.93, imported_since_mode_switch=0, imported_since_plugged=81.05000000074506, range_charged=0, time_charged='00:00', timestamp_start_charging=None), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time='12/07/2023, 13:07:31', required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x715cf820>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB Carport', type='internal_openwb', template=1, connected_phases=3, phase_1=2, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=1))
2023-12-08 04:05:31,538 - {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-12-08 04:05:31,543 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=1, max_current_multi_phases=16, max_current_single_phase=20, name='RFID, 20A, 11kW', rfid_enabling=True, valid_tags=['0003134583', '0003526747', '1655332554', '2585022212', '2585087748'])
2023-12-08 04:05:31,545 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[63, 63, 63], max_total_power=43000), get=Get(powers=[221.0, 22.0, 102.0], currents=[1.2, 0.5, 1.1], voltages=[242.76, 242.43, 240.35], power_factors=[0.71, 0.17, 0.4], unbalanced_load=0, frequency=49.99, daily_exported=0.0, daily_imported=4100.0, imported=6125864.0, exported=4870433.0, fault_state=0, fault_str='Kein Fehler.', power=347.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=42653.0, raw_currents_left=[61.8, 62.6, 61.9], surplus_power_left=0, state_str=''))
2023-12-08 04:05:31,547 - {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': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=347.0, invalid_home_consumption=0, daily_yield_home_consumption=5516.1283940876, imported_home_consumption=2374334.3826007745, disengageable_smarthome_power=0))
2023-12-08 04:05:31,555 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2023-12-08 04:05:31,558 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Ladeprofil ***AUTO1***', disable_after_unplug=False, prio=False, load_default=True, time_charging=TimeCharging(active=True, plans={'0': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[True, True, True, True, False, False, True]), time=['22:00', '06:00'], name='Zeitladen 95%, So-Do 22:00-06:00 Uhr', current=16, limit=Limit(selected='soc', amount=1000, soc=95)), '1': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, True, True, False]), time=['22:00', '06:00'], name='Zeitladen 80%, Fr-Sa 22:00-06:00 Uhr', current=16, limit=Limit(selected='soc', amount=1000, soc=80))}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2023-12-08 04:05:31,561 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, time_charging=TimeCharging(active=True, plans={'2': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), time=['06:45', '07:00'], name='Klima 06:45-07:00 Uhr', current=6, limit=Limit(selected='none', amount=1000, soc=50)), '3': TimeChargingPlan(active=True, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, False, False, False]), time=['00:00', '23:55'], name='Immer 35%', current=10, limit=Limit(selected='soc', amount=1000, soc=35))}), chargemode=Chargemode(selected='scheduled_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={'0': ScheduledChargingPlan(active=False, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, True, False, False, False, False, False]), current=14, name='Zielladen 80%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '1': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), current=14, name='Zielladen 95%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=95), time='05:40'), '2': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once='2023-09-26', weekly=[True, False, False, True, False, True, True]), current=14, name='Zielladen 75%, 7:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=75), time='05:40')}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=80))))
2023-12-08 04:05:31,567 - {control.data:266} - {INFO:MainThread} - ev0
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=['0003134583'], get=Get(soc=0, soc_timestamp=None, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:05:31,570 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Tesla Model Y (2022)', 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=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212', '2585087748'], get=Get(soc=49.0, soc_timestamp='12/08/2023, 01:29:15', force_soc_update=False, range=220.74, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:05:31,578 - {control.data:266} - {INFO:MainThread} - ev2
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Cupra Born 58kW', 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=18000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=2, ev_template=2, name='***AUTO2***', tag_id=['1655332554'], get=Get(soc=72, soc_timestamp='12/08/2023, 02:47:32', force_soc_update=False, range=205, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:05:31,579 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40)
2023-12-08 04:05:31,585 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', 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=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40)
2023-12-08 04:05:31,588 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', 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=18000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40)
2023-12-08 04:05:31,591 - {control.data:245} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=3), pv_charging=PvCharging(bat_prio=True, charging_power_reserve=200, control_range=[-230, 230], feed_in_yield=15000, phase_switch_delay=15, phases_to_use=0, rundown_power=1000, rundown_soc=25, switch_off_delay=60, switch_off_soc=25, switch_off_threshold=50, switch_on_delay=30, switch_on_soc=50, switch_on_threshold=1400), scheduled_charging=ScheduledCharging(phases_to_use=0), time_charging=TimeCharging(phases_to_use=3), unbalanced_load_limit=20, unbalanced_load=True), control_interval=10, extern_display_mode='local', extern=False, external_buttons_hw=False, grid_protection_active=False, grid_protection_configured=True, grid_protection_random_stop=0, grid_protection_timestamp='', mqtt_bridge=False, price_kwh=0.3528, range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=True, r1_active=False, r2_active=False))
2023-12-08 04:05:31,592 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2023-12-08 04:05:31,593 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2023-12-08 04:05:31,595 - {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 0x7157b130>), led=Led(active=False), rfid=Rfid(active=True))
2023-12-08 04:05:31,596 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=0), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=293628.595, fault_state=0, fault_str='Kein Fehler.', power=0))
2023-12-08 04:05:31,597 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=9500), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=7816178.86, fault_state=0, fault_str='Kein Fehler.', power=-0.0))
2023-12-08 04:05:31,600 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=8109807.455, power=0.0))
2023-12-08 04:05:31,601 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2023-11-30 12:30:45 +0100 [285f5a5fb]', 'current_branch': 'Release', 'current_branch_commit': '2023-11-30 12:30:45 +0100 [285f5a5fb]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.2-Patch.1', 'datastore_version': 29, 'lastlivevaluesJson': {'timestamp': 1702004721, 'time': '04:05:21', 'grid': 0.347, 'house-power': 0.347, 'charging-all': 0.0, 'pv-all': -0.0, 'cp1-power': 0.0, 'ev1-soc': 49.0, 'ev2-soc': 72, 'bat-all-power': 0.0, 'bat-all-soc': 19}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2023-12-08 04:05:31,602 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2023-12-08 04:05:31,604 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2023-12-08 04:05:31,604 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2023-12-08 04:05:31,608 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2023-12-08 04:05:31,608 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2023-12-08 04:05:31,609 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2023-12-08 04:05:31,610 - {control.data:253} - {INFO:MainThread} - 

2023-12-08 04:05:31,611 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2023-12-08 04:05:31,612 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2023-12-08 04:05:31,614 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2023-12-08 04:05:31,616 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2023-12-08 04:05:31,622 - {control.counter:211} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: 0W
2023-12-08 04:05:31,624 - {control.counter:457} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf 0W
2023-12-08 04:05:31,625 - {control.chargepoint.chargepoint:277} - {INFO:MainThread} - LP 1: Die Ladung kann nicht gestartet werden, da die Einschaltschwelle nicht erreicht wird.
2023-12-08 04:05:31,626 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2023-12-08 04:05:31,627 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2023-12-08 04:05:31,635 - {control.process:111} - {INFO:MainThread} - LP1: set current 0 A, state NO_CHARGING_ALLOWED
2023-12-08 04:05:31,637 - {modules.common.component_context:24} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:05:31,656 - {control.counter:186} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2023-12-08 04:05:31,879 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2023-12-08 04:05:31,881 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2023-12-08 04:05:35,890 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2023-12-08 04:05:35,891 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2023-12-08 04:05:40,902 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2023-12-08 04:05:40,903 - {root:74} - {INFO:MainThread} - # ***Start*** 
2023-12-08 04:05:40,974 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x715cf340>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x7155e4a8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x715c75f8>}
2023-12-08 04:05:40,976 - {modules.common.component_context:24} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2023-12-08 04:05:40,979 - {modules.common.component_context:24} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:05:40,992 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2023-12-08 04:05:41,018 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2023-12-08 04:05:41,061 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 750
2023-12-08 04:05:41,063 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"cloud":{"connected":false},"input:0":{"id":0,"state":false},"mqtt":{"connected":false},"switch:0":{"id":0, "source":"loopback", "output":false, "apower":0.0, "voltage":242.8, "current":0.000, "aenergy":{"total":1505.625,"by_minute":[0.000,0.000,0.000],"minute_ts":1702004740},"temperature":{"tC":28.9, "tF":84.1}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:05","unixtime":1702004741,"uptime":1364069,"ram_size":248996,"ram_free":145268,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"beta":{"version":"1.1.0-beta2"},"stable":{"version":"1.0.8"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-69},"ws":{"connected":false}}

2023-12-08 04:05:41,073 - {modules.common.simcount._simcount:38} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1702004730.8358104, power=0, imported=0.0, exported=293628.5948715257)
2023-12-08 04:05:41,075 - {modules.common.simcount._calculate:13} - {DEBUG:device1} - time passed: 0.00284384, power1: 0, power2: 0
2023-12-08 04:05:41,076 - {modules.common.simcount._calculate:29} - {DEBUG:device1} - power did not change sign. Total energy: 0
2023-12-08 04:05:41,080 - {modules.common.simcount._simcount:47} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702004741.0736482, power=0, imported=0.0, exported=293628.5948715257)
2023-12-08 04:05:41,083 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:05:41,107 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-343, -220, -20, -102], Scale 0
2023-12-08 04:05:41,125 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [12, 5, 11], Scale -1
2023-12-08 04:05:41,145 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [24272, 24250, 24040, 0, 0, 0, 0], Scale -2
2023-12-08 04:05:41,169 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4999], Scale -2
2023-12-08 04:05:41,204 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7149, 1729, 3939], Scale -2
2023-12-08 04:05:41,250 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4870433, 1797042, 2153375, 1456453, 6125865, 2531527, 1862789, 2267988], Scale 0
2023-12-08 04:05:41,250 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[1.2000000000000002, 0.5, 1.1], powers=[220.0, 20.0, 102.0], voltages=[242.72, 242.5, 240.4], power_factors=[0.7149, 0.1729, 0.39390000000000003], imported=6125865.0, exported=4870433.0, power=343.0, frequency=49.99)
2023-12-08 04:05:41,252 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2023-12-08 04:05:41,304 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [0], Scale 0
2023-12-08 04:05:41,323 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7789710], Scale 0
2023-12-08 04:05:41,343 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [28, 30, 31], Scale -2
2023-12-08 04:05:41,362 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4863], Scale -2
2023-12-08 04:05:41,363 - {modules.common.component_state:100} - {DEBUG:device0} - currents sign wrong [0.28, 0.3, 0.31]
2023-12-08 04:05:41,363 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.28, 0.3, 0.31], power=-0.0, exported=7789710.0, dc_power=48.63)
2023-12-08 04:05:41,365 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2023-12-08 04:05:41,545 - {modules.common.simcount._simcount:38} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1702004731.1640935, power=0.0, imported=143333.37604219164, exported=116864.5215890633)
2023-12-08 04:05:41,546 - {modules.common.simcount._calculate:13} - {DEBUG:device0} - time passed: 0.00288383, power1: 0, power2: 0
2023-12-08 04:05:41,546 - {modules.common.simcount._calculate:29} - {DEBUG:device0} - power did not change sign. Total energy: 0
2023-12-08 04:05:41,547 - {modules.common.simcount._simcount:47} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702004741.5458846, power=0.0, imported=143333.37604219164, exported=116864.5215890633)
2023-12-08 04:05:41,548 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=143333.37604219164, exported=116864.5215890633, power=0.0, soc=19.0)
2023-12-08 04:05:41,554 - {modules.common.component_context:24} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2023-12-08 04:05:41,554 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=143333.37604219164, exported=116864.5215890633, power=0.0, soc=19.0)
2023-12-08 04:05:41,590 - {modules.common.component_context:24} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:05:41,591 - {modules.common.component_context:24} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2023-12-08 04:05:41,591 - {modules.common.component_context:24} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2023-12-08 04:05:41,592 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-0.0, exported=7816178.86, dc_power=None)
2023-12-08 04:05:41,592 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:05:41,593 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-0.0, exported=7816178.86, dc_power=None)
2023-12-08 04:05:41,593 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:05:41,627 - {modules.common.component_context:24} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2023-12-08 04:05:41,628 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[1.2000000000000002, 0.5, 1.1], powers=[220.0, 20.0, 102.0], voltages=[242.72, 242.5, 240.4], power_factors=[0.7149, 0.1729, 0.39390000000000003], imported=6125865.0, exported=4870433.0, power=343.0, frequency=49.99)
2023-12-08 04:05:41,804 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2023-12-08 04:05:41,805 - {control.bat_all:173} - {INFO:MainThread} - -50W verbleibende Speicher-Leistung
2023-12-08 04:05:41,807 - {control.counter:138} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [61.8, 62.6, 61.9]A
2023-12-08 04:05:41,809 - {control.counter:161} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 42657.0W
2023-12-08 04:05:41,811 - {control.chargepoint.chargepoint:699} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2023-12-08 04:05:41,813 - {control.chargepoint.chargepoint:682} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2023-12-08 04:05:41,814 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 686.75763s, Dauer 1.380952380952381h, Termin heute verpasst: False
2023-12-08 04:05:41,815 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 91409.737768s, Dauer 0.18012422360248448h, Termin heute verpasst: False
2023-12-08 04:05:41,816 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -9256.101928s, Dauer 4.142857142857143h, Termin heute verpasst: False
2023-12-08 04:05:41,818 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 90112.839983s, Dauer 0.5403726708074534h, Termin heute verpasst: False
2023-12-08 04:05:41,820 - {control.ev:762} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2023-12-08 04:05:41,826 - {control.chargepoint.chargepoint:898} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.PV_CHARGING, Phasen: 1, Priorität: False, max. Ist-Strom: 0.1
2023-12-08 04:05:41,828 - {control.chargepoint.chargepoint:277} - {INFO:MainThread} - LP 1: Kein Sofortladen, da noch Zeit bis zum Zieltermin ist. Falls vorhanden, wird mit EVU-Überschuss geladen.
2023-12-08 04:05:41,838 - {modules.common.simcount._simcount:38} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1702004731.4996114, power=347.0, imported=2374334.3826007745, exported=0)
2023-12-08 04:05:41,839 - {modules.common.simcount._calculate:13} - {DEBUG:MainThread} - time passed: 0.00287183, power1: 347, power2: 343
2023-12-08 04:05:41,842 - {modules.common.simcount._calculate:29} - {DEBUG:MainThread} - power did not change sign. Total energy: 0.99078
2023-12-08 04:05:41,846 - {modules.common.simcount._simcount:47} - {DEBUG:MainThread} - imported: 0.99078 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702004741.8381894, power=343.0, imported=2374335.373381165, exported=0)
2023-12-08 04:05:41,854 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=19, daily_exported=0.0, daily_imported=0.0, imported=143333.38, exported=116864.52, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2023-12-08 04:05:41,857 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=19, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=143333.38, exported=116864.52, power=0.0), set=Set(charging_power_left=-50, switch_on_soc_reached=False))
2023-12-08 04:05:41,860 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=97.16, daily_exported=0, power=0, imported=6926458.98, exported=0))
2023-12-08 04:05:41,862 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 95%, 06:00 Uhr', imported_at_plan_start=6926377.93, imported_instant_charging=None, limit=None, phases=1, prio=False, required_current=6, required_currents=[0.0, 6, 0.0], state=0, submode=<Chargemode.PV_CHARGING: 'pv_charging'>, 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=72), currents=[0.1, 0.0, 0.0], daily_imported=97.16, daily_exported=0, evse_current=0, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=6926458.98, phases_in_use=1, plug_state=True, power=0, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Kein Sofortladen, da noch Zeit bis zum Zieltermin ist. Falls vorhanden, wird mit EVU-Überschuss geladen.', voltages=[242.86, 240.87, 243.08]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=0, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='_', imported_at_mode_switch=6926377.93, imported_at_plugtime=6926377.93, imported_since_mode_switch=0, imported_since_plugged=81.05000000074506, range_charged=0, time_charged='00:00', timestamp_start_charging=None), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time='12/07/2023, 13:07:31', required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x70bef760>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB Carport', type='internal_openwb', template=1, connected_phases=3, phase_1=2, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=1))
2023-12-08 04:05:41,864 - {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-12-08 04:05:41,865 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=1, max_current_multi_phases=16, max_current_single_phase=20, name='RFID, 20A, 11kW', rfid_enabling=True, valid_tags=['0003134583', '0003526747', '1655332554', '2585022212', '2585087748'])
2023-12-08 04:05:41,866 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[63, 63, 63], max_total_power=43000), get=Get(powers=[220.0, 20.0, 102.0], currents=[1.2, 0.5, 1.1], voltages=[242.72, 242.5, 240.4], power_factors=[0.71, 0.17, 0.39], unbalanced_load=0, frequency=49.99, daily_exported=0.0, daily_imported=4100.0, imported=6125865.0, exported=4870433.0, fault_state=0, fault_str='Kein Fehler.', power=343.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=42657.0, raw_currents_left=[61.8, 62.6, 61.9], surplus_power_left=0, state_str=''))
2023-12-08 04:05:41,868 - {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': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=343.0, invalid_home_consumption=0, daily_yield_home_consumption=5516.1283940876, imported_home_consumption=2374335.373381165, disengageable_smarthome_power=0))
2023-12-08 04:05:41,871 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2023-12-08 04:05:41,872 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Ladeprofil ***AUTO1***', disable_after_unplug=False, prio=False, load_default=True, time_charging=TimeCharging(active=True, plans={'0': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[True, True, True, True, False, False, True]), time=['22:00', '06:00'], name='Zeitladen 95%, So-Do 22:00-06:00 Uhr', current=16, limit=Limit(selected='soc', amount=1000, soc=95)), '1': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, True, True, False]), time=['22:00', '06:00'], name='Zeitladen 80%, Fr-Sa 22:00-06:00 Uhr', current=16, limit=Limit(selected='soc', amount=1000, soc=80))}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2023-12-08 04:05:41,874 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, time_charging=TimeCharging(active=True, plans={'2': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), time=['06:45', '07:00'], name='Klima 06:45-07:00 Uhr', current=6, limit=Limit(selected='none', amount=1000, soc=50)), '3': TimeChargingPlan(active=True, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, False, False, False]), time=['00:00', '23:55'], name='Immer 35%', current=10, limit=Limit(selected='soc', amount=1000, soc=35))}), chargemode=Chargemode(selected='scheduled_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={'0': ScheduledChargingPlan(active=False, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, True, False, False, False, False, False]), current=14, name='Zielladen 80%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '1': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), current=14, name='Zielladen 95%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=95), time='05:40'), '2': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once='2023-09-26', weekly=[True, False, False, True, False, True, True]), current=14, name='Zielladen 75%, 7:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=75), time='05:40')}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=80))))
2023-12-08 04:05:41,876 - {control.data:266} - {INFO:MainThread} - ev0
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=['0003134583'], get=Get(soc=0, soc_timestamp=None, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:05:41,878 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Tesla Model Y (2022)', 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=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212', '2585087748'], get=Get(soc=49.0, soc_timestamp='12/08/2023, 01:29:15', force_soc_update=False, range=220.74, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:05:41,879 - {control.data:266} - {INFO:MainThread} - ev2
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Cupra Born 58kW', 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=18000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=2, ev_template=2, name='***AUTO2***', tag_id=['1655332554'], get=Get(soc=72, soc_timestamp='12/08/2023, 02:47:32', force_soc_update=False, range=205, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:05:41,880 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40)
2023-12-08 04:05:41,884 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', 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=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40)
2023-12-08 04:05:41,885 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', 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=18000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40)
2023-12-08 04:05:41,887 - {control.data:245} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=3), pv_charging=PvCharging(bat_prio=True, charging_power_reserve=200, control_range=[-230, 230], feed_in_yield=15000, phase_switch_delay=15, phases_to_use=0, rundown_power=1000, rundown_soc=25, switch_off_delay=60, switch_off_soc=25, switch_off_threshold=50, switch_on_delay=30, switch_on_soc=50, switch_on_threshold=1400), scheduled_charging=ScheduledCharging(phases_to_use=0), time_charging=TimeCharging(phases_to_use=3), unbalanced_load_limit=20, unbalanced_load=True), control_interval=10, extern_display_mode='local', extern=False, external_buttons_hw=False, grid_protection_active=False, grid_protection_configured=True, grid_protection_random_stop=0, grid_protection_timestamp='', mqtt_bridge=False, price_kwh=0.3528, range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=True, r1_active=False, r2_active=False))
2023-12-08 04:05:41,888 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2023-12-08 04:05:41,889 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2023-12-08 04:05:41,890 - {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 0x71578598>), led=Led(active=False), rfid=Rfid(active=True))
2023-12-08 04:05:41,891 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=0), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=293628.595, fault_state=0, fault_str='Kein Fehler.', power=0))
2023-12-08 04:05:41,892 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=9500), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=7816178.86, fault_state=0, fault_str='Kein Fehler.', power=-0.0))
2023-12-08 04:05:41,896 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=8109807.455, power=0.0))
2023-12-08 04:05:41,897 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2023-11-30 12:30:45 +0100 [285f5a5fb]', 'current_branch': 'Release', 'current_branch_commit': '2023-11-30 12:30:45 +0100 [285f5a5fb]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.2-Patch.1', 'datastore_version': 29, 'lastlivevaluesJson': {'timestamp': 1702004731, 'time': '04:05:31', 'grid': 0.347, 'house-power': 0.347, 'charging-all': 0.0, 'pv-all': -0.0, 'cp1-power': 0.0, 'ev1-soc': 49.0, 'ev2-soc': 72, 'bat-all-power': 0.0, 'bat-all-soc': 19}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2023-12-08 04:05:41,898 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2023-12-08 04:05:41,900 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2023-12-08 04:05:41,901 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2023-12-08 04:05:41,903 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2023-12-08 04:05:41,904 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2023-12-08 04:05:41,906 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2023-12-08 04:05:41,907 - {control.data:253} - {INFO:MainThread} - 

2023-12-08 04:05:41,908 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2023-12-08 04:05:41,910 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2023-12-08 04:05:41,913 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2023-12-08 04:05:41,914 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2023-12-08 04:05:41,917 - {control.counter:211} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: 0W
2023-12-08 04:05:41,918 - {control.counter:457} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf 0W
2023-12-08 04:05:41,919 - {control.chargepoint.chargepoint:277} - {INFO:MainThread} - LP 1: Die Ladung kann nicht gestartet werden, da die Einschaltschwelle nicht erreicht wird.
2023-12-08 04:05:41,920 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2023-12-08 04:05:41,921 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2023-12-08 04:05:41,923 - {control.process:111} - {INFO:MainThread} - LP1: set current 0 A, state NO_CHARGING_ALLOWED
2023-12-08 04:05:41,927 - {modules.common.component_context:24} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:05:41,964 - {control.counter:186} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2023-12-08 04:05:42,149 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2023-12-08 04:05:45,168 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2023-12-08 04:05:45,169 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2023-12-08 04:05:50,179 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2023-12-08 04:05:50,180 - {root:74} - {INFO:MainThread} - # ***Start*** 
2023-12-08 04:05:50,240 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x715cf340>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x7155e4a8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x715c75f8>}
2023-12-08 04:05:50,244 - {modules.common.component_context:24} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2023-12-08 04:05:50,259 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2023-12-08 04:05:50,262 - {modules.common.component_context:24} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:05:50,275 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2023-12-08 04:05:50,312 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 750
2023-12-08 04:05:50,315 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"cloud":{"connected":false},"input:0":{"id":0,"state":false},"mqtt":{"connected":false},"switch:0":{"id":0, "source":"loopback", "output":false, "apower":0.0, "voltage":242.7, "current":0.000, "aenergy":{"total":1505.625,"by_minute":[0.000,0.000,0.000],"minute_ts":1702004749},"temperature":{"tC":28.9, "tF":84.1}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:05","unixtime":1702004751,"uptime":1364078,"ram_size":248996,"ram_free":145268,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"beta":{"version":"1.1.0-beta2"},"stable":{"version":"1.0.8"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-70},"ws":{"connected":false}}

2023-12-08 04:05:50,331 - {modules.common.simcount._simcount:38} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1702004741.0736482, power=0, imported=0.0, exported=293628.5948715257)
2023-12-08 04:05:50,332 - {modules.common.simcount._calculate:13} - {DEBUG:device1} - time passed: 0.00257142, power1: 0, power2: 0
2023-12-08 04:05:50,333 - {modules.common.simcount._calculate:29} - {DEBUG:device1} - power did not change sign. Total energy: 0
2023-12-08 04:05:50,334 - {modules.common.simcount._simcount:47} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702004750.3307545, power=0, imported=0.0, exported=293628.5948715257)
2023-12-08 04:05:50,337 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-346, -221, -21, -103], Scale 0
2023-12-08 04:05:50,339 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:05:50,352 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [12, 5, 11], Scale -1
2023-12-08 04:05:50,396 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [24252, 24223, 24027, 0, 0, 0, 0], Scale -2
2023-12-08 04:05:50,415 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4997], Scale -2
2023-12-08 04:05:50,434 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7179, 1720, 3910], Scale -2
2023-12-08 04:05:50,478 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4870433, 1797042, 2153375, 1456453, 6125866, 2531527, 1862789, 2267988], Scale 0
2023-12-08 04:05:50,479 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[1.2000000000000002, 0.5, 1.1], powers=[221.0, 21.0, 103.0], voltages=[242.52, 242.23000000000002, 240.27], power_factors=[0.7179000000000001, 0.172, 0.391], imported=6125866.0, exported=4870433.0, power=346.0, frequency=49.97)
2023-12-08 04:05:50,483 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2023-12-08 04:05:50,524 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [0], Scale 0
2023-12-08 04:05:50,546 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7789710], Scale 0
2023-12-08 04:05:50,743 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [28, 31, 32], Scale -2
2023-12-08 04:05:50,783 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-5191], Scale -2
2023-12-08 04:05:50,784 - {modules.common.component_state:100} - {DEBUG:device0} - currents sign wrong [0.28, 0.31, 0.32]
2023-12-08 04:05:50,784 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.28, 0.31, 0.32], power=-0.0, exported=7789710.0, dc_power=51.910000000000004)
2023-12-08 04:05:50,787 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2023-12-08 04:05:50,843 - {modules.common.simcount._simcount:38} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1702004741.5458846, power=0.0, imported=143333.37604219164, exported=116864.5215890633)
2023-12-08 04:05:50,844 - {modules.common.simcount._calculate:13} - {DEBUG:device0} - time passed: 0.00258274, power1: 0, power2: 0
2023-12-08 04:05:50,845 - {modules.common.simcount._calculate:29} - {DEBUG:device0} - power did not change sign. Total energy: 0
2023-12-08 04:05:50,845 - {modules.common.simcount._simcount:47} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702004750.8437386, power=0.0, imported=143333.37604219164, exported=116864.5215890633)
2023-12-08 04:05:50,847 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=143333.37604219164, exported=116864.5215890633, power=0.0, soc=19.0)
2023-12-08 04:05:50,851 - {modules.common.component_context:24} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2023-12-08 04:05:50,852 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=143333.37604219164, exported=116864.5215890633, power=0.0, soc=19.0)
2023-12-08 04:05:50,893 - {modules.common.component_context:24} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:05:50,894 - {modules.common.component_context:24} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2023-12-08 04:05:50,895 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-0.0, exported=7816178.86, dc_power=None)
2023-12-08 04:05:50,899 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-0.0, exported=7816178.86, dc_power=None)
2023-12-08 04:05:50,906 - {modules.common.component_context:24} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2023-12-08 04:05:50,907 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:05:50,909 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:05:50,944 - {modules.common.component_context:24} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2023-12-08 04:05:50,946 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[1.2000000000000002, 0.5, 1.1], powers=[221.0, 21.0, 103.0], voltages=[242.52, 242.23000000000002, 240.27], power_factors=[0.7179000000000001, 0.172, 0.391], imported=6125866.0, exported=4870433.0, power=346.0, frequency=49.97)
2023-12-08 04:05:51,144 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2023-12-08 04:05:51,147 - {control.bat_all:173} - {INFO:MainThread} - -50W verbleibende Speicher-Leistung
2023-12-08 04:05:51,150 - {control.counter:138} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [61.8, 62.6, 61.9]A
2023-12-08 04:05:51,151 - {control.counter:161} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 42654.0W
2023-12-08 04:05:51,154 - {control.chargepoint.chargepoint:699} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2023-12-08 04:05:51,155 - {control.chargepoint.chargepoint:682} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2023-12-08 04:05:51,157 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 677.414399s, Dauer 1.380952380952381h, Termin heute verpasst: False
2023-12-08 04:05:51,159 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 91400.394275s, Dauer 0.18012422360248448h, Termin heute verpasst: False
2023-12-08 04:05:51,160 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -9265.445497s, Dauer 4.142857142857143h, Termin heute verpasst: False
2023-12-08 04:05:51,161 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 90103.497458s, Dauer 0.5403726708074534h, Termin heute verpasst: False
2023-12-08 04:05:51,162 - {control.ev:762} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2023-12-08 04:05:51,174 - {control.chargepoint.chargepoint:898} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.PV_CHARGING, Phasen: 1, Priorität: False, max. Ist-Strom: 0.1
2023-12-08 04:05:51,176 - {control.chargepoint.chargepoint:277} - {INFO:MainThread} - LP 1: Kein Sofortladen, da noch Zeit bis zum Zieltermin ist. Falls vorhanden, wird mit EVU-Überschuss geladen.
2023-12-08 04:05:51,191 - {modules.common.simcount._simcount:38} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1702004741.8381894, power=343.0, imported=2374335.373381165, exported=0)
2023-12-08 04:05:51,192 - {modules.common.simcount._calculate:13} - {DEBUG:MainThread} - time passed: 0.00259802, power1: 343, power2: 346
2023-12-08 04:05:51,194 - {modules.common.simcount._calculate:29} - {DEBUG:MainThread} - power did not change sign. Total energy: 0.895019
2023-12-08 04:05:51,197 - {modules.common.simcount._simcount:47} - {DEBUG:MainThread} - imported: 0.895019 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702004751.1910756, power=346.0, imported=2374336.268400414, exported=0)
2023-12-08 04:05:51,200 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=19, daily_exported=0.0, daily_imported=0.0, imported=143333.38, exported=116864.52, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2023-12-08 04:05:51,204 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=19, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=143333.38, exported=116864.52, power=0.0), set=Set(charging_power_left=-50, switch_on_soc_reached=False))
2023-12-08 04:05:51,205 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=97.16, daily_exported=0, power=0, imported=6926458.98, exported=0))
2023-12-08 04:05:51,207 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 95%, 06:00 Uhr', imported_at_plan_start=6926377.93, imported_instant_charging=None, limit=None, phases=1, prio=False, required_current=6, required_currents=[0.0, 6, 0.0], state=0, submode=<Chargemode.PV_CHARGING: 'pv_charging'>, 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=72), currents=[0.1, 0.0, 0.0], daily_imported=97.16, daily_exported=0, evse_current=0, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=6926458.98, phases_in_use=1, plug_state=True, power=0, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Kein Sofortladen, da noch Zeit bis zum Zieltermin ist. Falls vorhanden, wird mit EVU-Überschuss geladen.', voltages=[242.69, 240.81, 243.0]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=0, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='_', imported_at_mode_switch=6926377.93, imported_at_plugtime=6926377.93, imported_since_mode_switch=0, imported_since_plugged=81.05000000074506, range_charged=0, time_charged='00:00', timestamp_start_charging=None), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time='12/07/2023, 13:07:31', required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x70bf0a48>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB Carport', type='internal_openwb', template=1, connected_phases=3, phase_1=2, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=1))
2023-12-08 04:05:51,209 - {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-12-08 04:05:51,209 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=1, max_current_multi_phases=16, max_current_single_phase=20, name='RFID, 20A, 11kW', rfid_enabling=True, valid_tags=['0003134583', '0003526747', '1655332554', '2585022212', '2585087748'])
2023-12-08 04:05:51,211 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[63, 63, 63], max_total_power=43000), get=Get(powers=[221.0, 21.0, 103.0], currents=[1.2, 0.5, 1.1], voltages=[242.52, 242.23, 240.27], power_factors=[0.72, 0.17, 0.39], unbalanced_load=0, frequency=49.97, daily_exported=0.0, daily_imported=4100.0, imported=6125866.0, exported=4870433.0, fault_state=0, fault_str='Kein Fehler.', power=346.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=42654.0, raw_currents_left=[61.8, 62.6, 61.9], surplus_power_left=0, state_str=''))
2023-12-08 04:05:51,212 - {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': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=346.0, invalid_home_consumption=0, daily_yield_home_consumption=5516.1283940876, imported_home_consumption=2374336.268400414, disengageable_smarthome_power=0))
2023-12-08 04:05:51,213 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2023-12-08 04:05:51,217 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Ladeprofil ***AUTO1***', disable_after_unplug=False, prio=False, load_default=True, time_charging=TimeCharging(active=True, plans={'0': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[True, True, True, True, False, False, True]), time=['22:00', '06:00'], name='Zeitladen 95%, So-Do 22:00-06:00 Uhr', current=16, limit=Limit(selected='soc', amount=1000, soc=95)), '1': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, True, True, False]), time=['22:00', '06:00'], name='Zeitladen 80%, Fr-Sa 22:00-06:00 Uhr', current=16, limit=Limit(selected='soc', amount=1000, soc=80))}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2023-12-08 04:05:51,218 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, time_charging=TimeCharging(active=True, plans={'2': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), time=['06:45', '07:00'], name='Klima 06:45-07:00 Uhr', current=6, limit=Limit(selected='none', amount=1000, soc=50)), '3': TimeChargingPlan(active=True, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, False, False, False]), time=['00:00', '23:55'], name='Immer 35%', current=10, limit=Limit(selected='soc', amount=1000, soc=35))}), chargemode=Chargemode(selected='scheduled_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={'0': ScheduledChargingPlan(active=False, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, True, False, False, False, False, False]), current=14, name='Zielladen 80%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '1': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), current=14, name='Zielladen 95%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=95), time='05:40'), '2': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once='2023-09-26', weekly=[True, False, False, True, False, True, True]), current=14, name='Zielladen 75%, 7:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=75), time='05:40')}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=80))))
2023-12-08 04:05:51,220 - {control.data:266} - {INFO:MainThread} - ev0
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=['0003134583'], get=Get(soc=0, soc_timestamp=None, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:05:51,221 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Tesla Model Y (2022)', 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=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212', '2585087748'], get=Get(soc=49.0, soc_timestamp='12/08/2023, 01:29:15', force_soc_update=False, range=220.74, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:05:51,223 - {control.data:266} - {INFO:MainThread} - ev2
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Cupra Born 58kW', 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=18000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=2, ev_template=2, name='***AUTO2***', tag_id=['1655332554'], get=Get(soc=72, soc_timestamp='12/08/2023, 02:47:32', force_soc_update=False, range=205, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:05:51,226 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40)
2023-12-08 04:05:51,227 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', 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=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40)
2023-12-08 04:05:51,227 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', 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=18000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40)
2023-12-08 04:05:51,228 - {control.data:245} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=3), pv_charging=PvCharging(bat_prio=True, charging_power_reserve=200, control_range=[-230, 230], feed_in_yield=15000, phase_switch_delay=15, phases_to_use=0, rundown_power=1000, rundown_soc=25, switch_off_delay=60, switch_off_soc=25, switch_off_threshold=50, switch_on_delay=30, switch_on_soc=50, switch_on_threshold=1400), scheduled_charging=ScheduledCharging(phases_to_use=0), time_charging=TimeCharging(phases_to_use=3), unbalanced_load_limit=20, unbalanced_load=True), control_interval=10, extern_display_mode='local', extern=False, external_buttons_hw=False, grid_protection_active=False, grid_protection_configured=True, grid_protection_random_stop=0, grid_protection_timestamp='', mqtt_bridge=False, price_kwh=0.3528, range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=True, r1_active=False, r2_active=False))
2023-12-08 04:05:51,231 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2023-12-08 04:05:51,234 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2023-12-08 04:05:51,235 - {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 0x70bf0058>), led=Led(active=False), rfid=Rfid(active=True))
2023-12-08 04:05:51,236 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=0), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=293628.595, fault_state=0, fault_str='Kein Fehler.', power=0))
2023-12-08 04:05:51,236 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=9500), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=7816178.86, fault_state=0, fault_str='Kein Fehler.', power=-0.0))
2023-12-08 04:05:51,238 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=8109807.455, power=0.0))
2023-12-08 04:05:51,239 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2023-11-30 12:30:45 +0100 [285f5a5fb]', 'current_branch': 'Release', 'current_branch_commit': '2023-11-30 12:30:45 +0100 [285f5a5fb]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.2-Patch.1', 'datastore_version': 29, 'lastlivevaluesJson': {'timestamp': 1702004741, 'time': '04:05:41', 'grid': 0.343, 'house-power': 0.343, 'charging-all': 0.0, 'pv-all': -0.0, 'cp1-power': 0.0, 'ev1-soc': 49.0, 'ev2-soc': 72, 'bat-all-power': 0.0, 'bat-all-soc': 19}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2023-12-08 04:05:51,240 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2023-12-08 04:05:51,241 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2023-12-08 04:05:51,244 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2023-12-08 04:05:51,245 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2023-12-08 04:05:51,246 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2023-12-08 04:05:51,247 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2023-12-08 04:05:51,248 - {control.data:253} - {INFO:MainThread} - 

2023-12-08 04:05:51,249 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2023-12-08 04:05:51,252 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2023-12-08 04:05:51,255 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2023-12-08 04:05:51,257 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2023-12-08 04:05:51,259 - {control.counter:211} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: 0W
2023-12-08 04:05:51,260 - {control.counter:457} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf 0W
2023-12-08 04:05:51,262 - {control.chargepoint.chargepoint:277} - {INFO:MainThread} - LP 1: Die Ladung kann nicht gestartet werden, da die Einschaltschwelle nicht erreicht wird.
2023-12-08 04:05:51,263 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2023-12-08 04:05:51,268 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2023-12-08 04:05:51,271 - {control.process:111} - {INFO:MainThread} - LP1: set current 0 A, state NO_CHARGING_ALLOWED
2023-12-08 04:05:51,273 - {modules.common.component_context:24} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:05:51,299 - {control.counter:186} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2023-12-08 04:05:51,560 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2023-12-08 04:05:51,562 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2023-12-08 04:05:55,576 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2023-12-08 04:05:55,577 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2023-12-08 04:06:00,591 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2023-12-08 04:06:00,592 - {root:74} - {INFO:MainThread} - # ***Start*** 
2023-12-08 04:06:00,664 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x715cf340>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x7155e4a8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x715c75f8>}
2023-12-08 04:06:00,666 - {modules.common.component_context:24} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2023-12-08 04:06:00,670 - {modules.common.component_context:24} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:06:00,678 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2023-12-08 04:06:00,681 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2023-12-08 04:06:00,715 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-349, -221, -21, -106], Scale 0
2023-12-08 04:06:00,722 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 750
2023-12-08 04:06:00,724 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"cloud":{"connected":false},"input:0":{"id":0,"state":false},"mqtt":{"connected":false},"switch:0":{"id":0, "source":"loopback", "output":false, "apower":0.0, "voltage":242.7, "current":0.000, "aenergy":{"total":1505.625,"by_minute":[0.000,0.000,0.000],"minute_ts":1702004760},"temperature":{"tC":28.9, "tF":84.1}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:06","unixtime":1702004761,"uptime":1364088,"ram_size":248944,"ram_free":144672,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"beta":{"version":"1.1.0-beta2"},"stable":{"version":"1.0.8"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-68},"ws":{"connected":false}}

2023-12-08 04:06:00,726 - {modules.common.simcount._simcount:38} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1702004750.3307545, power=0, imported=0.0, exported=293628.5948715257)
2023-12-08 04:06:00,727 - {modules.common.simcount._calculate:13} - {DEBUG:device1} - time passed: 0.00288767, power1: 0, power2: 0
2023-12-08 04:06:00,727 - {modules.common.simcount._calculate:29} - {DEBUG:device1} - power did not change sign. Total energy: 0
2023-12-08 04:06:00,727 - {modules.common.simcount._simcount:47} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702004760.7263508, power=0, imported=0.0, exported=293628.5948715257)
2023-12-08 04:06:00,728 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:06:00,741 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [12, 5, 11], Scale -1
2023-12-08 04:06:00,764 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [24247, 24224, 24026, 0, 0, 0, 0], Scale -2
2023-12-08 04:06:00,785 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4999], Scale -2
2023-12-08 04:06:00,828 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7179, 1780, 3959], Scale -2
2023-12-08 04:06:00,855 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4870433, 1797042, 2153375, 1456453, 6125867, 2531528, 1862789, 2267988], Scale 0
2023-12-08 04:06:00,855 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[1.2000000000000002, 0.5, 1.1], powers=[221.0, 21.0, 106.0], voltages=[242.47, 242.24, 240.26], power_factors=[0.7179000000000001, 0.17800000000000002, 0.39590000000000003], imported=6125867.0, exported=4870433.0, power=349.0, frequency=49.99)
2023-12-08 04:06:00,858 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2023-12-08 04:06:00,903 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [0], Scale 0
2023-12-08 04:06:00,926 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7789710], Scale 0
2023-12-08 04:06:00,954 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [26, 29, 30], Scale -2
2023-12-08 04:06:00,975 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4593], Scale -2
2023-12-08 04:06:00,976 - {modules.common.component_state:100} - {DEBUG:device0} - currents sign wrong [0.26, 0.29, 0.3]
2023-12-08 04:06:00,976 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.26, 0.29, 0.3], power=-0.0, exported=7789710.0, dc_power=45.93)
2023-12-08 04:06:00,980 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2023-12-08 04:06:01,086 - {modules.common.simcount._simcount:38} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1702004750.8437386, power=0.0, imported=143333.37604219164, exported=116864.5215890633)
2023-12-08 04:06:01,087 - {modules.common.simcount._calculate:13} - {DEBUG:device0} - time passed: 0.00284513, power1: 0, power2: 0
2023-12-08 04:06:01,087 - {modules.common.simcount._calculate:29} - {DEBUG:device0} - power did not change sign. Total energy: 0
2023-12-08 04:06:01,087 - {modules.common.simcount._simcount:47} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702004761.0862114, power=0.0, imported=143333.37604219164, exported=116864.5215890633)
2023-12-08 04:06:01,089 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=143333.37604219164, exported=116864.5215890633, power=0.0, soc=19.0)
2023-12-08 04:06:01,100 - {modules.common.component_context:24} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2023-12-08 04:06:01,101 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=143333.37604219164, exported=116864.5215890633, power=0.0, soc=19.0)
2023-12-08 04:06:01,134 - {modules.common.component_context:24} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:06:01,135 - {modules.common.component_context:24} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2023-12-08 04:06:01,136 - {modules.common.component_context:24} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2023-12-08 04:06:01,136 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-0.0, exported=7816178.86, dc_power=None)
2023-12-08 04:06:01,137 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:06:01,137 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-0.0, exported=7816178.86, dc_power=None)
2023-12-08 04:06:01,138 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:06:01,172 - {modules.common.component_context:24} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2023-12-08 04:06:01,175 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[1.2000000000000002, 0.5, 1.1], powers=[221.0, 21.0, 106.0], voltages=[242.47, 242.24, 240.26], power_factors=[0.7179000000000001, 0.17800000000000002, 0.39590000000000003], imported=6125867.0, exported=4870433.0, power=349.0, frequency=49.99)
2023-12-08 04:06:01,517 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2023-12-08 04:06:01,520 - {control.bat_all:173} - {INFO:MainThread} - -50W verbleibende Speicher-Leistung
2023-12-08 04:06:01,522 - {control.counter:138} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [61.8, 62.6, 61.9]A
2023-12-08 04:06:01,523 - {control.counter:161} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 42651.0W
2023-12-08 04:06:01,526 - {control.chargepoint.chargepoint:699} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2023-12-08 04:06:01,527 - {control.chargepoint.chargepoint:682} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2023-12-08 04:06:01,528 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 667.043116s, Dauer 1.380952380952381h, Termin heute verpasst: False
2023-12-08 04:06:01,531 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 91390.022399s, Dauer 0.18012422360248448h, Termin heute verpasst: False
2023-12-08 04:06:01,532 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -9275.817734s, Dauer 4.142857142857143h, Termin heute verpasst: False
2023-12-08 04:06:01,534 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 90093.124689s, Dauer 0.5403726708074534h, Termin heute verpasst: False
2023-12-08 04:06:01,535 - {control.ev:762} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2023-12-08 04:06:01,538 - {control.chargepoint.chargepoint:898} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.PV_CHARGING, Phasen: 1, Priorität: False, max. Ist-Strom: 0.1
2023-12-08 04:06:01,539 - {control.chargepoint.chargepoint:277} - {INFO:MainThread} - LP 1: Kein Sofortladen, da noch Zeit bis zum Zieltermin ist. Falls vorhanden, wird mit EVU-Überschuss geladen.
2023-12-08 04:06:01,542 - {modules.common.simcount._simcount:38} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1702004751.1910756, power=346.0, imported=2374336.268400414, exported=0)
2023-12-08 04:06:01,543 - {modules.common.simcount._calculate:13} - {DEBUG:MainThread} - time passed: 0.00287545, power1: 346, power2: 349
2023-12-08 04:06:01,545 - {modules.common.simcount._calculate:29} - {DEBUG:MainThread} - power did not change sign. Total energy: 0.999221
2023-12-08 04:06:01,550 - {modules.common.simcount._simcount:47} - {DEBUG:MainThread} - imported: 0.999221 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702004761.5427127, power=349.0, imported=2374337.267620942, exported=0)
2023-12-08 04:06:01,555 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=19, daily_exported=0.0, daily_imported=0.0, imported=143333.38, exported=116864.52, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2023-12-08 04:06:01,558 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=19, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=143333.38, exported=116864.52, power=0.0), set=Set(charging_power_left=-50, switch_on_soc_reached=False))
2023-12-08 04:06:01,560 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=97.16, daily_exported=0, power=0, imported=6926458.98, exported=0))
2023-12-08 04:06:01,562 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 95%, 06:00 Uhr', imported_at_plan_start=6926377.93, imported_instant_charging=None, limit=None, phases=1, prio=False, required_current=6, required_currents=[0.0, 6, 0.0], state=0, submode=<Chargemode.PV_CHARGING: 'pv_charging'>, 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=72), currents=[0.1, 0.0, 0.0], daily_imported=97.16, daily_exported=0, evse_current=0, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=6926458.98, phases_in_use=1, plug_state=True, power=0, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Kein Sofortladen, da noch Zeit bis zum Zieltermin ist. Falls vorhanden, wird mit EVU-Überschuss geladen.', voltages=[242.78, 240.83, 242.91]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=0, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='_', imported_at_mode_switch=6926377.93, imported_at_plugtime=6926377.93, imported_since_mode_switch=0, imported_since_plugged=81.05000000074506, range_charged=0, time_charged='00:00', timestamp_start_charging=None), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time='12/07/2023, 13:07:31', required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x75610ac0>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB Carport', type='internal_openwb', template=1, connected_phases=3, phase_1=2, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=1))
2023-12-08 04:06:01,564 - {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-12-08 04:06:01,565 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=1, max_current_multi_phases=16, max_current_single_phase=20, name='RFID, 20A, 11kW', rfid_enabling=True, valid_tags=['0003134583', '0003526747', '1655332554', '2585022212', '2585087748'])
2023-12-08 04:06:01,566 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[63, 63, 63], max_total_power=43000), get=Get(powers=[221.0, 21.0, 106.0], currents=[1.2, 0.5, 1.1], voltages=[242.47, 242.24, 240.26], power_factors=[0.72, 0.18, 0.4], unbalanced_load=0, frequency=49.99, daily_exported=0.0, daily_imported=4100.0, imported=6125867.0, exported=4870433.0, fault_state=0, fault_str='Kein Fehler.', power=349.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=42651.0, raw_currents_left=[61.8, 62.6, 61.9], surplus_power_left=0, state_str=''))
2023-12-08 04:06:01,569 - {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': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=349.0, invalid_home_consumption=0, daily_yield_home_consumption=5516.1283940876, imported_home_consumption=2374337.267620942, disengageable_smarthome_power=0))
2023-12-08 04:06:01,570 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2023-12-08 04:06:01,572 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Ladeprofil ***AUTO1***', disable_after_unplug=False, prio=False, load_default=True, time_charging=TimeCharging(active=True, plans={'0': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[True, True, True, True, False, False, True]), time=['22:00', '06:00'], name='Zeitladen 95%, So-Do 22:00-06:00 Uhr', current=16, limit=Limit(selected='soc', amount=1000, soc=95)), '1': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, True, True, False]), time=['22:00', '06:00'], name='Zeitladen 80%, Fr-Sa 22:00-06:00 Uhr', current=16, limit=Limit(selected='soc', amount=1000, soc=80))}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2023-12-08 04:06:01,573 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, time_charging=TimeCharging(active=True, plans={'2': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), time=['06:45', '07:00'], name='Klima 06:45-07:00 Uhr', current=6, limit=Limit(selected='none', amount=1000, soc=50)), '3': TimeChargingPlan(active=True, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, False, False, False]), time=['00:00', '23:55'], name='Immer 35%', current=10, limit=Limit(selected='soc', amount=1000, soc=35))}), chargemode=Chargemode(selected='scheduled_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={'0': ScheduledChargingPlan(active=False, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, True, False, False, False, False, False]), current=14, name='Zielladen 80%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '1': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), current=14, name='Zielladen 95%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=95), time='05:40'), '2': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once='2023-09-26', weekly=[True, False, False, True, False, True, True]), current=14, name='Zielladen 75%, 7:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=75), time='05:40')}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=80))))
2023-12-08 04:06:01,576 - {control.data:266} - {INFO:MainThread} - ev0
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=['0003134583'], get=Get(soc=0, soc_timestamp=None, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:06:01,579 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Tesla Model Y (2022)', 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=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212', '2585087748'], get=Get(soc=49.0, soc_timestamp='12/08/2023, 01:29:15', force_soc_update=False, range=220.74, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:06:01,581 - {control.data:266} - {INFO:MainThread} - ev2
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Cupra Born 58kW', 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=18000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=2, ev_template=2, name='***AUTO2***', tag_id=['1655332554'], get=Get(soc=72, soc_timestamp='12/08/2023, 02:47:32', force_soc_update=False, range=205, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:06:01,584 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40)
2023-12-08 04:06:01,585 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', 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=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40)
2023-12-08 04:06:01,587 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', 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=18000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40)
2023-12-08 04:06:01,588 - {control.data:245} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=3), pv_charging=PvCharging(bat_prio=True, charging_power_reserve=200, control_range=[-230, 230], feed_in_yield=15000, phase_switch_delay=15, phases_to_use=0, rundown_power=1000, rundown_soc=25, switch_off_delay=60, switch_off_soc=25, switch_off_threshold=50, switch_on_delay=30, switch_on_soc=50, switch_on_threshold=1400), scheduled_charging=ScheduledCharging(phases_to_use=0), time_charging=TimeCharging(phases_to_use=3), unbalanced_load_limit=20, unbalanced_load=True), control_interval=10, extern_display_mode='local', extern=False, external_buttons_hw=False, grid_protection_active=False, grid_protection_configured=True, grid_protection_random_stop=0, grid_protection_timestamp='', mqtt_bridge=False, price_kwh=0.3528, range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=True, r1_active=False, r2_active=False))
2023-12-08 04:06:01,590 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2023-12-08 04:06:01,591 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2023-12-08 04:06:01,593 - {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 0x7157b5f8>), led=Led(active=False), rfid=Rfid(active=True))
2023-12-08 04:06:01,594 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=0), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=293628.595, fault_state=0, fault_str='Kein Fehler.', power=0))
2023-12-08 04:06:01,595 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=9500), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=7816178.86, fault_state=0, fault_str='Kein Fehler.', power=-0.0))
2023-12-08 04:06:01,596 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=8109807.455, power=0.0))
2023-12-08 04:06:01,597 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2023-11-30 12:30:45 +0100 [285f5a5fb]', 'current_branch': 'Release', 'current_branch_commit': '2023-11-30 12:30:45 +0100 [285f5a5fb]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.2-Patch.1', 'datastore_version': 29, 'lastlivevaluesJson': {'timestamp': 1702004751, 'time': '04:05:51', 'grid': 0.346, 'house-power': 0.346, 'charging-all': 0.0, 'pv-all': -0.0, 'cp1-power': 0.0, 'ev1-soc': 49.0, 'ev2-soc': 72, 'bat-all-power': 0.0, 'bat-all-soc': 19}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2023-12-08 04:06:01,599 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2023-12-08 04:06:01,600 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2023-12-08 04:06:01,601 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2023-12-08 04:06:01,602 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2023-12-08 04:06:01,603 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2023-12-08 04:06:01,604 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2023-12-08 04:06:01,606 - {control.data:253} - {INFO:MainThread} - 

2023-12-08 04:06:01,607 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2023-12-08 04:06:01,608 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2023-12-08 04:06:01,614 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2023-12-08 04:06:01,616 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2023-12-08 04:06:01,620 - {control.counter:211} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: 0W
2023-12-08 04:06:01,621 - {control.counter:457} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf 0W
2023-12-08 04:06:01,623 - {control.chargepoint.chargepoint:277} - {INFO:MainThread} - LP 1: Die Ladung kann nicht gestartet werden, da die Einschaltschwelle nicht erreicht wird.
2023-12-08 04:06:01,624 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2023-12-08 04:06:01,627 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2023-12-08 04:06:01,629 - {control.process:111} - {INFO:MainThread} - LP1: set current 0 A, state NO_CHARGING_ALLOWED
2023-12-08 04:06:01,634 - {modules.common.component_context:24} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:06:01,650 - {control.counter:186} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2023-12-08 04:06:01,870 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2023-12-08 04:06:05,909 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2023-12-08 04:06:05,910 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2023-12-08 04:06:10,919 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2023-12-08 04:06:10,920 - {root:74} - {INFO:MainThread} - # ***Start*** 
2023-12-08 04:06:10,963 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x715cf340>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x7155e4a8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x715c75f8>}
2023-12-08 04:06:10,964 - {modules.common.component_context:24} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2023-12-08 04:06:10,971 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2023-12-08 04:06:10,973 - {modules.common.component_context:24} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:06:10,974 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2023-12-08 04:06:11,013 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 750
2023-12-08 04:06:11,015 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"cloud":{"connected":false},"input:0":{"id":0,"state":false},"mqtt":{"connected":false},"switch:0":{"id":0, "source":"loopback", "output":false, "apower":0.0, "voltage":242.8, "current":0.000, "aenergy":{"total":1505.625,"by_minute":[0.000,0.000,0.000],"minute_ts":1702004770},"temperature":{"tC":28.9, "tF":84.1}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:06","unixtime":1702004771,"uptime":1364099,"ram_size":248944,"ram_free":144672,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"beta":{"version":"1.1.0-beta2"},"stable":{"version":"1.0.8"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-68},"ws":{"connected":false}}

2023-12-08 04:06:11,017 - {modules.common.simcount._simcount:38} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1702004760.7263508, power=0, imported=0.0, exported=293628.5948715257)
2023-12-08 04:06:11,018 - {modules.common.simcount._calculate:13} - {DEBUG:device1} - time passed: 0.00285857, power1: 0, power2: 0
2023-12-08 04:06:11,018 - {modules.common.simcount._calculate:29} - {DEBUG:device1} - power did not change sign. Total energy: 0
2023-12-08 04:06:11,019 - {modules.common.simcount._simcount:47} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702004771.0172193, power=0, imported=0.0, exported=293628.5948715257)
2023-12-08 04:06:11,020 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:06:11,075 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-363, -220, -21, -120], Scale 0
2023-12-08 04:06:11,117 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [12, 5, 11], Scale -1
2023-12-08 04:06:11,156 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [24259, 24234, 24041, 0, 0, 0, 0], Scale -2
2023-12-08 04:06:11,195 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4999], Scale -2
2023-12-08 04:06:11,215 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7200, 1710, 3910], Scale -2
2023-12-08 04:06:11,235 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4870433, 1797042, 2153375, 1456453, 6125868, 2531528, 1862789, 2267988], Scale 0
2023-12-08 04:06:11,236 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[1.2000000000000002, 0.5, 1.1], powers=[220.0, 21.0, 120.0], voltages=[242.59, 242.34, 240.41], power_factors=[0.72, 0.171, 0.391], imported=6125868.0, exported=4870433.0, power=363.0, frequency=49.99)
2023-12-08 04:06:11,238 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2023-12-08 04:06:11,284 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [0], Scale 0
2023-12-08 04:06:11,304 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7789710], Scale 0
2023-12-08 04:06:11,324 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [27, 30, 30], Scale -2
2023-12-08 04:06:11,344 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4118], Scale -2
2023-12-08 04:06:11,344 - {modules.common.component_state:100} - {DEBUG:device0} - currents sign wrong [0.27, 0.3, 0.3]
2023-12-08 04:06:11,345 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.27, 0.3, 0.3], power=-0.0, exported=7789710.0, dc_power=41.18)
2023-12-08 04:06:11,346 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2023-12-08 04:06:11,399 - {modules.common.simcount._simcount:38} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1702004761.0862114, power=0.0, imported=143333.37604219164, exported=116864.5215890633)
2023-12-08 04:06:11,400 - {modules.common.simcount._calculate:13} - {DEBUG:device0} - time passed: 0.00286472, power1: 0, power2: 0
2023-12-08 04:06:11,400 - {modules.common.simcount._calculate:29} - {DEBUG:device0} - power did not change sign. Total energy: 0
2023-12-08 04:06:11,401 - {modules.common.simcount._simcount:47} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702004771.3992195, power=0.0, imported=143333.37604219164, exported=116864.5215890633)
2023-12-08 04:06:11,402 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=143333.37604219164, exported=116864.5215890633, power=0.0, soc=19.0)
2023-12-08 04:06:11,420 - {modules.common.component_context:24} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2023-12-08 04:06:11,420 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=143333.37604219164, exported=116864.5215890633, power=0.0, soc=19.0)
2023-12-08 04:06:11,451 - {modules.common.component_context:24} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:06:11,453 - {modules.common.component_context:24} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2023-12-08 04:06:11,454 - {modules.common.component_context:24} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2023-12-08 04:06:11,457 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-0.0, exported=7816178.86, dc_power=None)
2023-12-08 04:06:11,458 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:06:11,459 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-0.0, exported=7816178.86, dc_power=None)
2023-12-08 04:06:11,459 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:06:11,502 - {modules.common.component_context:24} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2023-12-08 04:06:11,503 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[1.2000000000000002, 0.5, 1.1], powers=[220.0, 21.0, 120.0], voltages=[242.59, 242.34, 240.41], power_factors=[0.72, 0.171, 0.391], imported=6125868.0, exported=4870433.0, power=363.0, frequency=49.99)
2023-12-08 04:06:11,687 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2023-12-08 04:06:11,689 - {control.bat_all:173} - {INFO:MainThread} - -50W verbleibende Speicher-Leistung
2023-12-08 04:06:11,692 - {control.counter:138} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [61.8, 62.6, 61.9]A
2023-12-08 04:06:11,693 - {control.counter:161} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 42637.0W
2023-12-08 04:06:11,695 - {control.chargepoint.chargepoint:699} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2023-12-08 04:06:11,696 - {control.chargepoint.chargepoint:682} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2023-12-08 04:06:11,702 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 656.869838s, Dauer 1.380952380952381h, Termin heute verpasst: False
2023-12-08 04:06:11,703 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 91379.849772s, Dauer 0.18012422360248448h, Termin heute verpasst: False
2023-12-08 04:06:11,704 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -9285.990058s, Dauer 4.142857142857143h, Termin heute verpasst: False
2023-12-08 04:06:11,706 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 90082.952728s, Dauer 0.5403726708074534h, Termin heute verpasst: False
2023-12-08 04:06:11,709 - {control.ev:762} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2023-12-08 04:06:11,712 - {control.chargepoint.chargepoint:898} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.PV_CHARGING, Phasen: 1, Priorität: False, max. Ist-Strom: 0.1
2023-12-08 04:06:11,713 - {control.chargepoint.chargepoint:277} - {INFO:MainThread} - LP 1: Kein Sofortladen, da noch Zeit bis zum Zieltermin ist. Falls vorhanden, wird mit EVU-Überschuss geladen.
2023-12-08 04:06:11,718 - {modules.common.simcount._simcount:38} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1702004761.5427127, power=349.0, imported=2374337.267620942, exported=0)
2023-12-08 04:06:11,721 - {modules.common.simcount._calculate:13} - {DEBUG:MainThread} - time passed: 0.0028267, power1: 349, power2: 363
2023-12-08 04:06:11,723 - {modules.common.simcount._calculate:29} - {DEBUG:MainThread} - power did not change sign. Total energy: 1.0063
2023-12-08 04:06:11,734 - {modules.common.simcount._simcount:47} - {DEBUG:MainThread} - imported: 1.0063 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702004771.7188191, power=363.0, imported=2374338.2739248024, exported=0)
2023-12-08 04:06:11,760 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=19, daily_exported=0.0, daily_imported=0.0, imported=143333.38, exported=116864.52, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2023-12-08 04:06:11,770 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=19, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=143333.38, exported=116864.52, power=0.0), set=Set(charging_power_left=-50, switch_on_soc_reached=False))
2023-12-08 04:06:11,771 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=97.16, daily_exported=0, power=0, imported=6926458.98, exported=0))
2023-12-08 04:06:11,772 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 95%, 06:00 Uhr', imported_at_plan_start=6926377.93, imported_instant_charging=None, limit=None, phases=1, prio=False, required_current=6, required_currents=[0.0, 6, 0.0], state=0, submode=<Chargemode.PV_CHARGING: 'pv_charging'>, 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=72), currents=[0.1, 0.0, 0.0], daily_imported=97.16, daily_exported=0, evse_current=0, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=6926458.98, phases_in_use=1, plug_state=True, power=0, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Kein Sofortladen, da noch Zeit bis zum Zieltermin ist. Falls vorhanden, wird mit EVU-Überschuss geladen.', voltages=[242.84, 240.83, 243.09]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=0, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='_', imported_at_mode_switch=6926377.93, imported_at_plugtime=6926377.93, imported_since_mode_switch=0, imported_since_plugged=81.05000000074506, range_charged=0, time_charged='00:00', timestamp_start_charging=None), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time='12/07/2023, 13:07:31', required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x715bf0b8>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB Carport', type='internal_openwb', template=1, connected_phases=3, phase_1=2, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=1))
2023-12-08 04:06:11,774 - {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-12-08 04:06:11,775 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=1, max_current_multi_phases=16, max_current_single_phase=20, name='RFID, 20A, 11kW', rfid_enabling=True, valid_tags=['0003134583', '0003526747', '1655332554', '2585022212', '2585087748'])
2023-12-08 04:06:11,778 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[63, 63, 63], max_total_power=43000), get=Get(powers=[220.0, 21.0, 120.0], currents=[1.2, 0.5, 1.1], voltages=[242.59, 242.34, 240.41], power_factors=[0.72, 0.17, 0.39], unbalanced_load=0, frequency=49.99, daily_exported=0.0, daily_imported=4100.0, imported=6125868.0, exported=4870433.0, fault_state=0, fault_str='Kein Fehler.', power=363.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=42637.0, raw_currents_left=[61.8, 62.6, 61.9], surplus_power_left=0, state_str=''))
2023-12-08 04:06:11,791 - {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': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=363.0, invalid_home_consumption=0, daily_yield_home_consumption=5516.1283940876, imported_home_consumption=2374338.2739248024, disengageable_smarthome_power=0))
2023-12-08 04:06:11,792 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2023-12-08 04:06:11,796 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Ladeprofil ***AUTO1***', disable_after_unplug=False, prio=False, load_default=True, time_charging=TimeCharging(active=True, plans={'0': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[True, True, True, True, False, False, True]), time=['22:00', '06:00'], name='Zeitladen 95%, So-Do 22:00-06:00 Uhr', current=16, limit=Limit(selected='soc', amount=1000, soc=95)), '1': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, True, True, False]), time=['22:00', '06:00'], name='Zeitladen 80%, Fr-Sa 22:00-06:00 Uhr', current=16, limit=Limit(selected='soc', amount=1000, soc=80))}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2023-12-08 04:06:11,800 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, time_charging=TimeCharging(active=True, plans={'2': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), time=['06:45', '07:00'], name='Klima 06:45-07:00 Uhr', current=6, limit=Limit(selected='none', amount=1000, soc=50)), '3': TimeChargingPlan(active=True, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, False, False, False]), time=['00:00', '23:55'], name='Immer 35%', current=10, limit=Limit(selected='soc', amount=1000, soc=35))}), chargemode=Chargemode(selected='scheduled_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={'0': ScheduledChargingPlan(active=False, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, True, False, False, False, False, False]), current=14, name='Zielladen 80%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '1': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), current=14, name='Zielladen 95%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=95), time='05:40'), '2': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once='2023-09-26', weekly=[True, False, False, True, False, True, True]), current=14, name='Zielladen 75%, 7:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=75), time='05:40')}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=80))))
2023-12-08 04:06:11,801 - {control.data:266} - {INFO:MainThread} - ev0
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=['0003134583'], get=Get(soc=0, soc_timestamp=None, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:06:11,802 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Tesla Model Y (2022)', 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=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212', '2585087748'], get=Get(soc=49.0, soc_timestamp='12/08/2023, 01:29:15', force_soc_update=False, range=220.74, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:06:11,804 - {control.data:266} - {INFO:MainThread} - ev2
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Cupra Born 58kW', 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=18000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=2, ev_template=2, name='***AUTO2***', tag_id=['1655332554'], get=Get(soc=72, soc_timestamp='12/08/2023, 02:47:32', force_soc_update=False, range=205, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:06:11,807 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40)
2023-12-08 04:06:11,809 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', 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=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40)
2023-12-08 04:06:11,810 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', 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=18000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40)
2023-12-08 04:06:11,813 - {control.data:245} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=3), pv_charging=PvCharging(bat_prio=True, charging_power_reserve=200, control_range=[-230, 230], feed_in_yield=15000, phase_switch_delay=15, phases_to_use=0, rundown_power=1000, rundown_soc=25, switch_off_delay=60, switch_off_soc=25, switch_off_threshold=50, switch_on_delay=30, switch_on_soc=50, switch_on_threshold=1400), scheduled_charging=ScheduledCharging(phases_to_use=0), time_charging=TimeCharging(phases_to_use=3), unbalanced_load_limit=20, unbalanced_load=True), control_interval=10, extern_display_mode='local', extern=False, external_buttons_hw=False, grid_protection_active=False, grid_protection_configured=True, grid_protection_random_stop=0, grid_protection_timestamp='', mqtt_bridge=False, price_kwh=0.3528, range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=True, r1_active=False, r2_active=False))
2023-12-08 04:06:11,814 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2023-12-08 04:06:11,815 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2023-12-08 04:06:11,816 - {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 0x70b62910>), led=Led(active=False), rfid=Rfid(active=True))
2023-12-08 04:06:11,817 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=0), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=293628.595, fault_state=0, fault_str='Kein Fehler.', power=0))
2023-12-08 04:06:11,818 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=9500), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=7816178.86, fault_state=0, fault_str='Kein Fehler.', power=-0.0))
2023-12-08 04:06:11,821 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=8109807.455, power=0.0))
2023-12-08 04:06:11,822 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2023-11-30 12:30:45 +0100 [285f5a5fb]', 'current_branch': 'Release', 'current_branch_commit': '2023-11-30 12:30:45 +0100 [285f5a5fb]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.2-Patch.1', 'datastore_version': 29, 'lastlivevaluesJson': {'timestamp': 1702004761, 'time': '04:06:01', 'grid': 0.349, 'house-power': 0.349, 'charging-all': 0.0, 'pv-all': -0.0, 'cp1-power': 0.0, 'ev1-soc': 49.0, 'ev2-soc': 72, 'bat-all-power': 0.0, 'bat-all-soc': 19}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2023-12-08 04:06:11,824 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2023-12-08 04:06:11,825 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2023-12-08 04:06:11,826 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2023-12-08 04:06:11,827 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2023-12-08 04:06:11,829 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2023-12-08 04:06:11,832 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2023-12-08 04:06:11,834 - {control.data:253} - {INFO:MainThread} - 

2023-12-08 04:06:11,835 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2023-12-08 04:06:11,836 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2023-12-08 04:06:11,839 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2023-12-08 04:06:11,844 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2023-12-08 04:06:11,847 - {control.counter:211} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: 0W
2023-12-08 04:06:11,850 - {control.counter:457} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf 0W
2023-12-08 04:06:11,851 - {control.chargepoint.chargepoint:277} - {INFO:MainThread} - LP 1: Die Ladung kann nicht gestartet werden, da die Einschaltschwelle nicht erreicht wird.
2023-12-08 04:06:11,852 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2023-12-08 04:06:11,855 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2023-12-08 04:06:11,860 - {control.process:111} - {INFO:MainThread} - LP1: set current 0 A, state NO_CHARGING_ALLOWED
2023-12-08 04:06:11,865 - {modules.common.component_context:24} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:06:11,896 - {control.counter:186} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2023-12-08 04:06:12,121 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2023-12-08 04:06:12,123 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2023-12-08 04:06:15,132 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2023-12-08 04:06:15,133 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2023-12-08 04:06:20,144 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2023-12-08 04:06:20,145 - {root:74} - {INFO:MainThread} - # ***Start*** 
2023-12-08 04:06:20,183 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x715cf340>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x7155e4a8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x715c75f8>}
2023-12-08 04:06:20,185 - {modules.common.component_context:24} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2023-12-08 04:06:20,185 - {modules.common.component_context:24} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:06:20,192 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2023-12-08 04:06:20,195 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2023-12-08 04:06:20,236 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 750
2023-12-08 04:06:20,238 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"cloud":{"connected":false},"input:0":{"id":0,"state":false},"mqtt":{"connected":false},"switch:0":{"id":0, "source":"loopback", "output":false, "apower":0.0, "voltage":242.8, "current":0.000, "aenergy":{"total":1505.625,"by_minute":[0.000,0.000,0.000],"minute_ts":1702004779},"temperature":{"tC":28.8, "tF":83.8}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:06","unixtime":1702004781,"uptime":1364108,"ram_size":248996,"ram_free":145268,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"beta":{"version":"1.1.0-beta2"},"stable":{"version":"1.0.8"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-68},"ws":{"connected":false}}

2023-12-08 04:06:20,239 - {modules.common.simcount._simcount:38} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1702004771.0172193, power=0, imported=0.0, exported=293628.5948715257)
2023-12-08 04:06:20,240 - {modules.common.simcount._calculate:13} - {DEBUG:device1} - time passed: 0.00256185, power1: 0, power2: 0
2023-12-08 04:06:20,241 - {modules.common.simcount._calculate:29} - {DEBUG:device1} - power did not change sign. Total energy: 0
2023-12-08 04:06:20,241 - {modules.common.simcount._simcount:47} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702004780.2398965, power=0, imported=0.0, exported=293628.5948715257)
2023-12-08 04:06:20,242 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:06:20,283 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-389, -221, -20, -147], Scale 0
2023-12-08 04:06:20,303 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [12, 5, 12], Scale -1
2023-12-08 04:06:20,323 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [24264, 24251, 24043, 0, 0, 0, 0], Scale -2
2023-12-08 04:06:20,343 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4999], Scale -2
2023-12-08 04:06:20,387 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7200, 1669, 4939], Scale -2
2023-12-08 04:06:20,425 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4870433, 1797042, 2153375, 1456453, 6125869, 2531529, 1862789, 2267989], Scale 0
2023-12-08 04:06:20,425 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[1.2000000000000002, 0.5, 1.2000000000000002], powers=[221.0, 20.0, 147.0], voltages=[242.64000000000001, 242.51, 240.43], power_factors=[0.72, 0.16690000000000002, 0.4939], imported=6125869.0, exported=4870433.0, power=389.0, frequency=49.99)
2023-12-08 04:06:20,427 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2023-12-08 04:06:20,442 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [0], Scale 0
2023-12-08 04:06:20,483 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7789710], Scale 0
2023-12-08 04:06:20,514 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [28, 31, 32], Scale -2
2023-12-08 04:06:20,543 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4902], Scale -2
2023-12-08 04:06:20,544 - {modules.common.component_state:100} - {DEBUG:device0} - currents sign wrong [0.28, 0.31, 0.32]
2023-12-08 04:06:20,544 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.28, 0.31, 0.32], power=-0.0, exported=7789710.0, dc_power=49.02)
2023-12-08 04:06:20,546 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2023-12-08 04:06:20,645 - {modules.common.simcount._simcount:38} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1702004771.3992195, power=0.0, imported=143333.37604219164, exported=116864.5215890633)
2023-12-08 04:06:20,646 - {modules.common.simcount._calculate:13} - {DEBUG:device0} - time passed: 0.00256834, power1: 0, power2: 0
2023-12-08 04:06:20,646 - {modules.common.simcount._calculate:29} - {DEBUG:device0} - power did not change sign. Total energy: 0
2023-12-08 04:06:20,647 - {modules.common.simcount._simcount:47} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702004780.645261, power=0.0, imported=143333.37604219164, exported=116864.5215890633)
2023-12-08 04:06:20,648 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=143333.37604219164, exported=116864.5215890633, power=0.0, soc=19.0)
2023-12-08 04:06:20,656 - {modules.common.component_context:24} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2023-12-08 04:06:20,657 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=143333.37604219164, exported=116864.5215890633, power=0.0, soc=19.0)
2023-12-08 04:06:20,714 - {modules.common.component_context:24} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:06:20,715 - {modules.common.component_context:24} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2023-12-08 04:06:20,716 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-0.0, exported=7816178.86, dc_power=None)
2023-12-08 04:06:20,717 - {modules.common.component_context:24} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2023-12-08 04:06:20,718 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-0.0, exported=7816178.86, dc_power=None)
2023-12-08 04:06:20,718 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:06:20,721 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:06:20,773 - {modules.common.component_context:24} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2023-12-08 04:06:20,774 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[1.2000000000000002, 0.5, 1.2000000000000002], powers=[221.0, 20.0, 147.0], voltages=[242.64000000000001, 242.51, 240.43], power_factors=[0.72, 0.16690000000000002, 0.4939], imported=6125869.0, exported=4870433.0, power=389.0, frequency=49.99)
2023-12-08 04:06:20,976 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2023-12-08 04:06:20,982 - {control.bat_all:173} - {INFO:MainThread} - -50W verbleibende Speicher-Leistung
2023-12-08 04:06:20,993 - {control.counter:138} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [61.8, 62.6, 61.8]A
2023-12-08 04:06:20,994 - {control.counter:161} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 42611.0W
2023-12-08 04:06:20,997 - {control.chargepoint.chargepoint:699} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2023-12-08 04:06:21,004 - {control.chargepoint.chargepoint:682} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2023-12-08 04:06:21,008 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 647.563503s, Dauer 1.380952380952381h, Termin heute verpasst: False
2023-12-08 04:06:21,010 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 91370.543139s, Dauer 0.18012422360248448h, Termin heute verpasst: False
2023-12-08 04:06:21,012 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -9295.297437s, Dauer 4.142857142857143h, Termin heute verpasst: False
2023-12-08 04:06:21,014 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 90073.644667s, Dauer 0.5403726708074534h, Termin heute verpasst: False
2023-12-08 04:06:21,015 - {control.ev:762} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2023-12-08 04:06:21,018 - {control.chargepoint.chargepoint:898} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.PV_CHARGING, Phasen: 1, Priorität: False, max. Ist-Strom: 0.1
2023-12-08 04:06:21,019 - {control.chargepoint.chargepoint:277} - {INFO:MainThread} - LP 1: Kein Sofortladen, da noch Zeit bis zum Zieltermin ist. Falls vorhanden, wird mit EVU-Überschuss geladen.
2023-12-08 04:06:21,037 - {modules.common.simcount._simcount:38} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1702004771.7188191, power=363.0, imported=2374338.2739248024, exported=0)
2023-12-08 04:06:21,039 - {modules.common.simcount._calculate:13} - {DEBUG:MainThread} - time passed: 0.00258863, power1: 363, power2: 389
2023-12-08 04:06:21,041 - {modules.common.simcount._calculate:29} - {DEBUG:MainThread} - power did not change sign. Total energy: 0.973324
2023-12-08 04:06:21,042 - {modules.common.simcount._simcount:47} - {DEBUG:MainThread} - imported: 0.973324 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702004781.0378745, power=389.0, imported=2374339.247248358, exported=0)
2023-12-08 04:06:21,047 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=19, daily_exported=0.0, daily_imported=0.0, imported=143333.38, exported=116864.52, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2023-12-08 04:06:21,049 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=19, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=143333.38, exported=116864.52, power=0.0), set=Set(charging_power_left=-50, switch_on_soc_reached=False))
2023-12-08 04:06:21,050 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=97.16, daily_exported=0, power=0, imported=6926458.98, exported=0))
2023-12-08 04:06:21,052 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 95%, 06:00 Uhr', imported_at_plan_start=6926377.93, imported_instant_charging=None, limit=None, phases=1, prio=False, required_current=6, required_currents=[0.0, 6, 0.0], state=0, submode=<Chargemode.PV_CHARGING: 'pv_charging'>, 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=72), currents=[0.1, 0.0, 0.0], daily_imported=97.16, daily_exported=0, evse_current=0, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=6926458.98, phases_in_use=1, plug_state=True, power=0, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Kein Sofortladen, da noch Zeit bis zum Zieltermin ist. Falls vorhanden, wird mit EVU-Überschuss geladen.', voltages=[242.81, 240.82, 243.13]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=0, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='_', imported_at_mode_switch=6926377.93, imported_at_plugtime=6926377.93, imported_since_mode_switch=0, imported_since_plugged=81.05000000074506, range_charged=0, time_charged='00:00', timestamp_start_charging=None), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time='12/07/2023, 13:07:31', required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x7157b3d0>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB Carport', type='internal_openwb', template=1, connected_phases=3, phase_1=2, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=1))
2023-12-08 04:06:21,055 - {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-12-08 04:06:21,056 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=1, max_current_multi_phases=16, max_current_single_phase=20, name='RFID, 20A, 11kW', rfid_enabling=True, valid_tags=['0003134583', '0003526747', '1655332554', '2585022212', '2585087748'])
2023-12-08 04:06:21,057 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[63, 63, 63], max_total_power=43000), get=Get(powers=[221.0, 20.0, 147.0], currents=[1.2, 0.5, 1.2], voltages=[242.64, 242.51, 240.43], power_factors=[0.72, 0.17, 0.49], unbalanced_load=0, frequency=49.99, daily_exported=0.0, daily_imported=4100.0, imported=6125869.0, exported=4870433.0, fault_state=0, fault_str='Kein Fehler.', power=389.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=42611.0, raw_currents_left=[61.8, 62.6, 61.8], surplus_power_left=0, state_str=''))
2023-12-08 04:06:21,058 - {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': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=389.0, invalid_home_consumption=0, daily_yield_home_consumption=5516.1283940876, imported_home_consumption=2374339.247248358, disengageable_smarthome_power=0))
2023-12-08 04:06:21,059 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2023-12-08 04:06:21,060 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Ladeprofil ***AUTO1***', disable_after_unplug=False, prio=False, load_default=True, time_charging=TimeCharging(active=True, plans={'0': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[True, True, True, True, False, False, True]), time=['22:00', '06:00'], name='Zeitladen 95%, So-Do 22:00-06:00 Uhr', current=16, limit=Limit(selected='soc', amount=1000, soc=95)), '1': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, True, True, False]), time=['22:00', '06:00'], name='Zeitladen 80%, Fr-Sa 22:00-06:00 Uhr', current=16, limit=Limit(selected='soc', amount=1000, soc=80))}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2023-12-08 04:06:21,061 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, time_charging=TimeCharging(active=True, plans={'2': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), time=['06:45', '07:00'], name='Klima 06:45-07:00 Uhr', current=6, limit=Limit(selected='none', amount=1000, soc=50)), '3': TimeChargingPlan(active=True, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, False, False, False]), time=['00:00', '23:55'], name='Immer 35%', current=10, limit=Limit(selected='soc', amount=1000, soc=35))}), chargemode=Chargemode(selected='scheduled_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={'0': ScheduledChargingPlan(active=False, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, True, False, False, False, False, False]), current=14, name='Zielladen 80%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '1': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), current=14, name='Zielladen 95%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=95), time='05:40'), '2': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once='2023-09-26', weekly=[True, False, False, True, False, True, True]), current=14, name='Zielladen 75%, 7:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=75), time='05:40')}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=80))))
2023-12-08 04:06:21,062 - {control.data:266} - {INFO:MainThread} - ev0
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=['0003134583'], get=Get(soc=0, soc_timestamp=None, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:06:21,063 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Tesla Model Y (2022)', 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=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212', '2585087748'], get=Get(soc=49.0, soc_timestamp='12/08/2023, 01:29:15', force_soc_update=False, range=220.74, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:06:21,064 - {control.data:266} - {INFO:MainThread} - ev2
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Cupra Born 58kW', 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=18000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=2, ev_template=2, name='***AUTO2***', tag_id=['1655332554'], get=Get(soc=72, soc_timestamp='12/08/2023, 02:47:32', force_soc_update=False, range=205, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:06:21,065 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40)
2023-12-08 04:06:21,067 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', 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=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40)
2023-12-08 04:06:21,070 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', 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=18000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40)
2023-12-08 04:06:21,072 - {control.data:245} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=3), pv_charging=PvCharging(bat_prio=True, charging_power_reserve=200, control_range=[-230, 230], feed_in_yield=15000, phase_switch_delay=15, phases_to_use=0, rundown_power=1000, rundown_soc=25, switch_off_delay=60, switch_off_soc=25, switch_off_threshold=50, switch_on_delay=30, switch_on_soc=50, switch_on_threshold=1400), scheduled_charging=ScheduledCharging(phases_to_use=0), time_charging=TimeCharging(phases_to_use=3), unbalanced_load_limit=20, unbalanced_load=True), control_interval=10, extern_display_mode='local', extern=False, external_buttons_hw=False, grid_protection_active=False, grid_protection_configured=True, grid_protection_random_stop=0, grid_protection_timestamp='', mqtt_bridge=False, price_kwh=0.3528, range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=True, r1_active=False, r2_active=False))
2023-12-08 04:06:21,073 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2023-12-08 04:06:21,074 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2023-12-08 04:06:21,075 - {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 0x70bceb80>), led=Led(active=False), rfid=Rfid(active=True))
2023-12-08 04:06:21,078 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=0), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=293628.595, fault_state=0, fault_str='Kein Fehler.', power=0))
2023-12-08 04:06:21,079 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=9500), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=7816178.86, fault_state=0, fault_str='Kein Fehler.', power=-0.0))
2023-12-08 04:06:21,080 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=8109807.455, power=0.0))
2023-12-08 04:06:21,082 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2023-11-30 12:30:45 +0100 [285f5a5fb]', 'current_branch': 'Release', 'current_branch_commit': '2023-11-30 12:30:45 +0100 [285f5a5fb]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.2-Patch.1', 'datastore_version': 29, 'lastlivevaluesJson': {'timestamp': 1702004771, 'time': '04:06:11', 'grid': 0.363, 'house-power': 0.363, 'charging-all': 0.0, 'pv-all': -0.0, 'cp1-power': 0.0, 'ev1-soc': 49.0, 'ev2-soc': 72, 'bat-all-power': 0.0, 'bat-all-soc': 19}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2023-12-08 04:06:21,083 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2023-12-08 04:06:21,084 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2023-12-08 04:06:21,085 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2023-12-08 04:06:21,087 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2023-12-08 04:06:21,090 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2023-12-08 04:06:21,091 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2023-12-08 04:06:21,092 - {control.data:253} - {INFO:MainThread} - 

2023-12-08 04:06:21,093 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2023-12-08 04:06:21,094 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2023-12-08 04:06:21,096 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2023-12-08 04:06:21,098 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2023-12-08 04:06:21,101 - {control.counter:211} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: 0W
2023-12-08 04:06:21,104 - {control.counter:457} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf 0W
2023-12-08 04:06:21,105 - {control.chargepoint.chargepoint:277} - {INFO:MainThread} - LP 1: Die Ladung kann nicht gestartet werden, da die Einschaltschwelle nicht erreicht wird.
2023-12-08 04:06:21,106 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2023-12-08 04:06:21,108 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2023-12-08 04:06:21,110 - {control.process:111} - {INFO:MainThread} - LP1: set current 0 A, state NO_CHARGING_ALLOWED
2023-12-08 04:06:21,113 - {modules.common.component_context:24} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:06:21,145 - {control.counter:186} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2023-12-08 04:06:21,343 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2023-12-08 04:06:25,369 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2023-12-08 04:06:25,371 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2023-12-08 04:06:30,381 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2023-12-08 04:06:30,382 - {root:74} - {INFO:MainThread} - # ***Start*** 
2023-12-08 04:06:30,429 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x715cf340>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x7155e4a8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x715c75f8>}
2023-12-08 04:06:30,430 - {modules.common.component_context:24} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2023-12-08 04:06:30,438 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2023-12-08 04:06:30,440 - {modules.common.component_context:24} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:06:30,444 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2023-12-08 04:06:30,481 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 750
2023-12-08 04:06:30,483 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"cloud":{"connected":false},"input:0":{"id":0,"state":false},"mqtt":{"connected":false},"switch:0":{"id":0, "source":"loopback", "output":false, "apower":0.0, "voltage":242.9, "current":0.000, "aenergy":{"total":1505.625,"by_minute":[0.000,0.000,0.000],"minute_ts":1702004789},"temperature":{"tC":28.8, "tF":83.9}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:06","unixtime":1702004791,"uptime":1364118,"ram_size":248996,"ram_free":145268,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"beta":{"version":"1.1.0-beta2"},"stable":{"version":"1.0.8"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-68},"ws":{"connected":false}}

2023-12-08 04:06:30,487 - {modules.common.simcount._simcount:38} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1702004780.2398965, power=0, imported=0.0, exported=293628.5948715257)
2023-12-08 04:06:30,488 - {modules.common.simcount._calculate:13} - {DEBUG:device1} - time passed: 0.00284643, power1: 0, power2: 0
2023-12-08 04:06:30,489 - {modules.common.simcount._calculate:29} - {DEBUG:device1} - power did not change sign. Total energy: 0
2023-12-08 04:06:30,490 - {modules.common.simcount._simcount:47} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702004790.4870365, power=0, imported=0.0, exported=293628.5948715257)
2023-12-08 04:06:30,491 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:06:30,525 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-393, -217, -22, -154], Scale 0
2023-12-08 04:06:30,546 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [12, 5, 12], Scale -1
2023-12-08 04:06:30,564 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [24273, 24244, 24037, 0, 0, 0, 0], Scale -2
2023-12-08 04:06:30,687 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4999], Scale -2
2023-12-08 04:06:30,715 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7149, 1710, 5090], Scale -2
2023-12-08 04:06:30,744 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4870433, 1797042, 2153375, 1456453, 6125870, 2531530, 1862789, 2267989], Scale 0
2023-12-08 04:06:30,745 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[1.2000000000000002, 0.5, 1.2000000000000002], powers=[217.0, 22.0, 154.0], voltages=[242.73000000000002, 242.44, 240.37], power_factors=[0.7149, 0.171, 0.509], imported=6125870.0, exported=4870433.0, power=393.0, frequency=49.99)
2023-12-08 04:06:30,755 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2023-12-08 04:06:30,794 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [0], Scale 0
2023-12-08 04:06:30,813 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7789710], Scale 0
2023-12-08 04:06:30,869 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [27, 30, 31], Scale -2
2023-12-08 04:06:30,939 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4100], Scale -2
2023-12-08 04:06:30,940 - {modules.common.component_state:100} - {DEBUG:device0} - currents sign wrong [0.27, 0.3, 0.31]
2023-12-08 04:06:30,941 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.27, 0.3, 0.31], power=-0.0, exported=7789710.0, dc_power=41.0)
2023-12-08 04:06:30,943 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2023-12-08 04:06:30,984 - {modules.common.simcount._simcount:38} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1702004780.645261, power=0.0, imported=143333.37604219164, exported=116864.5215890633)
2023-12-08 04:06:30,985 - {modules.common.simcount._calculate:13} - {DEBUG:device0} - time passed: 0.00287208, power1: 0, power2: 0
2023-12-08 04:06:30,986 - {modules.common.simcount._calculate:29} - {DEBUG:device0} - power did not change sign. Total energy: 0
2023-12-08 04:06:30,987 - {modules.common.simcount._simcount:47} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702004790.9847612, power=0.0, imported=143333.37604219164, exported=116864.5215890633)
2023-12-08 04:06:30,991 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=143333.37604219164, exported=116864.5215890633, power=0.0, soc=19.0)
2023-12-08 04:06:30,997 - {modules.common.component_context:24} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2023-12-08 04:06:31,011 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=143333.37604219164, exported=116864.5215890633, power=0.0, soc=19.0)
2023-12-08 04:06:31,133 - {modules.common.component_context:24} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:06:31,134 - {modules.common.component_context:24} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2023-12-08 04:06:31,135 - {modules.common.component_context:24} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2023-12-08 04:06:31,135 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-0.0, exported=7816178.86, dc_power=None)
2023-12-08 04:06:31,136 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:06:31,136 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-0.0, exported=7816178.86, dc_power=None)
2023-12-08 04:06:31,137 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:06:31,178 - {modules.common.component_context:24} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2023-12-08 04:06:31,179 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[1.2000000000000002, 0.5, 1.2000000000000002], powers=[217.0, 22.0, 154.0], voltages=[242.73000000000002, 242.44, 240.37], power_factors=[0.7149, 0.171, 0.509], imported=6125870.0, exported=4870433.0, power=393.0, frequency=49.99)
2023-12-08 04:06:31,342 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2023-12-08 04:06:31,345 - {control.bat_all:173} - {INFO:MainThread} - -50W verbleibende Speicher-Leistung
2023-12-08 04:06:31,350 - {control.counter:138} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [61.8, 62.6, 61.8]A
2023-12-08 04:06:31,352 - {control.counter:161} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 42607.0W
2023-12-08 04:06:31,356 - {control.chargepoint.chargepoint:699} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2023-12-08 04:06:31,360 - {control.chargepoint.chargepoint:682} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2023-12-08 04:06:31,362 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 637.209762s, Dauer 1.380952380952381h, Termin heute verpasst: False
2023-12-08 04:06:31,363 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 91360.189418s, Dauer 0.18012422360248448h, Termin heute verpasst: False
2023-12-08 04:06:31,365 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -9305.650845s, Dauer 4.142857142857143h, Termin heute verpasst: False
2023-12-08 04:06:31,367 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 90063.29124s, Dauer 0.5403726708074534h, Termin heute verpasst: False
2023-12-08 04:06:31,372 - {control.ev:762} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2023-12-08 04:06:31,377 - {control.chargepoint.chargepoint:898} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.PV_CHARGING, Phasen: 1, Priorität: False, max. Ist-Strom: 0.1
2023-12-08 04:06:31,379 - {control.chargepoint.chargepoint:277} - {INFO:MainThread} - LP 1: Kein Sofortladen, da noch Zeit bis zum Zieltermin ist. Falls vorhanden, wird mit EVU-Überschuss geladen.
2023-12-08 04:06:31,422 - {modules.common.simcount._simcount:38} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1702004781.0378745, power=389.0, imported=2374339.247248358, exported=0)
2023-12-08 04:06:31,434 - {modules.common.simcount._calculate:13} - {DEBUG:MainThread} - time passed: 0.00288468, power1: 389, power2: 393
2023-12-08 04:06:31,440 - {modules.common.simcount._calculate:29} - {DEBUG:MainThread} - power did not change sign. Total energy: 1.12791
2023-12-08 04:06:31,441 - {modules.common.simcount._simcount:47} - {DEBUG:MainThread} - imported: 1.12791 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702004791.4227383, power=393.0, imported=2374340.37515996, exported=0)
2023-12-08 04:06:31,444 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=19, daily_exported=0.0, daily_imported=0.0, imported=143333.38, exported=116864.52, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2023-12-08 04:06:31,446 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=19, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=143333.38, exported=116864.52, power=0.0), set=Set(charging_power_left=-50, switch_on_soc_reached=False))
2023-12-08 04:06:31,447 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=97.16, daily_exported=0, power=0, imported=6926458.98, exported=0))
2023-12-08 04:06:31,455 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 95%, 06:00 Uhr', imported_at_plan_start=6926377.93, imported_instant_charging=None, limit=None, phases=1, prio=False, required_current=6, required_currents=[0.0, 6, 0.0], state=0, submode=<Chargemode.PV_CHARGING: 'pv_charging'>, 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=72), currents=[0.1, 0.0, 0.0], daily_imported=97.16, daily_exported=0, evse_current=0, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=6926458.98, phases_in_use=1, plug_state=True, power=0, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Kein Sofortladen, da noch Zeit bis zum Zieltermin ist. Falls vorhanden, wird mit EVU-Überschuss geladen.', voltages=[242.93, 240.95, 243.2]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=0, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='_', imported_at_mode_switch=6926377.93, imported_at_plugtime=6926377.93, imported_since_mode_switch=0, imported_since_plugged=81.05000000074506, range_charged=0, time_charged='00:00', timestamp_start_charging=None), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time='12/07/2023, 13:07:31', required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x70befec8>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB Carport', type='internal_openwb', template=1, connected_phases=3, phase_1=2, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=1))
2023-12-08 04:06:31,461 - {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-12-08 04:06:31,463 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=1, max_current_multi_phases=16, max_current_single_phase=20, name='RFID, 20A, 11kW', rfid_enabling=True, valid_tags=['0003134583', '0003526747', '1655332554', '2585022212', '2585087748'])
2023-12-08 04:06:31,469 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[63, 63, 63], max_total_power=43000), get=Get(powers=[217.0, 22.0, 154.0], currents=[1.2, 0.5, 1.2], voltages=[242.73, 242.44, 240.37], power_factors=[0.71, 0.17, 0.51], unbalanced_load=0, frequency=49.99, daily_exported=0.0, daily_imported=4100.0, imported=6125870.0, exported=4870433.0, fault_state=0, fault_str='Kein Fehler.', power=393.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=42607.0, raw_currents_left=[61.8, 62.6, 61.8], surplus_power_left=0, state_str=''))
2023-12-08 04:06:31,472 - {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': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=393.0, invalid_home_consumption=0, daily_yield_home_consumption=5516.1283940876, imported_home_consumption=2374340.37515996, disengageable_smarthome_power=0))
2023-12-08 04:06:31,473 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2023-12-08 04:06:31,474 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Ladeprofil ***AUTO1***', disable_after_unplug=False, prio=False, load_default=True, time_charging=TimeCharging(active=True, plans={'0': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[True, True, True, True, False, False, True]), time=['22:00', '06:00'], name='Zeitladen 95%, So-Do 22:00-06:00 Uhr', current=16, limit=Limit(selected='soc', amount=1000, soc=95)), '1': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, True, True, False]), time=['22:00', '06:00'], name='Zeitladen 80%, Fr-Sa 22:00-06:00 Uhr', current=16, limit=Limit(selected='soc', amount=1000, soc=80))}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2023-12-08 04:06:31,476 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, time_charging=TimeCharging(active=True, plans={'2': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), time=['06:45', '07:00'], name='Klima 06:45-07:00 Uhr', current=6, limit=Limit(selected='none', amount=1000, soc=50)), '3': TimeChargingPlan(active=True, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, False, False, False]), time=['00:00', '23:55'], name='Immer 35%', current=10, limit=Limit(selected='soc', amount=1000, soc=35))}), chargemode=Chargemode(selected='scheduled_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={'0': ScheduledChargingPlan(active=False, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, True, False, False, False, False, False]), current=14, name='Zielladen 80%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '1': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), current=14, name='Zielladen 95%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=95), time='05:40'), '2': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once='2023-09-26', weekly=[True, False, False, True, False, True, True]), current=14, name='Zielladen 75%, 7:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=75), time='05:40')}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=80))))
2023-12-08 04:06:31,478 - {control.data:266} - {INFO:MainThread} - ev0
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=['0003134583'], get=Get(soc=0, soc_timestamp=None, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:06:31,479 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Tesla Model Y (2022)', 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=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212', '2585087748'], get=Get(soc=49.0, soc_timestamp='12/08/2023, 01:29:15', force_soc_update=False, range=220.74, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:06:31,480 - {control.data:266} - {INFO:MainThread} - ev2
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Cupra Born 58kW', 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=18000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=2, ev_template=2, name='***AUTO2***', tag_id=['1655332554'], get=Get(soc=72, soc_timestamp='12/08/2023, 02:47:32', force_soc_update=False, range=205, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:06:31,483 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40)
2023-12-08 04:06:31,488 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', 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=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40)
2023-12-08 04:06:31,497 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', 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=18000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40)
2023-12-08 04:06:31,499 - {control.data:245} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=3), pv_charging=PvCharging(bat_prio=True, charging_power_reserve=200, control_range=[-230, 230], feed_in_yield=15000, phase_switch_delay=15, phases_to_use=0, rundown_power=1000, rundown_soc=25, switch_off_delay=60, switch_off_soc=25, switch_off_threshold=50, switch_on_delay=30, switch_on_soc=50, switch_on_threshold=1400), scheduled_charging=ScheduledCharging(phases_to_use=0), time_charging=TimeCharging(phases_to_use=3), unbalanced_load_limit=20, unbalanced_load=True), control_interval=10, extern_display_mode='local', extern=False, external_buttons_hw=False, grid_protection_active=False, grid_protection_configured=True, grid_protection_random_stop=0, grid_protection_timestamp='', mqtt_bridge=False, price_kwh=0.3528, range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=True, r1_active=False, r2_active=False))
2023-12-08 04:06:31,500 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2023-12-08 04:06:31,502 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2023-12-08 04:06:31,503 - {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 0x70bda928>), led=Led(active=False), rfid=Rfid(active=True))
2023-12-08 04:06:31,504 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=0), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=293628.595, fault_state=0, fault_str='Kein Fehler.', power=0))
2023-12-08 04:06:31,506 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=9500), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=7816178.86, fault_state=0, fault_str='Kein Fehler.', power=-0.0))
2023-12-08 04:06:31,514 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=8109807.455, power=0.0))
2023-12-08 04:06:31,522 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2023-11-30 12:30:45 +0100 [285f5a5fb]', 'current_branch': 'Release', 'current_branch_commit': '2023-11-30 12:30:45 +0100 [285f5a5fb]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.2-Patch.1', 'datastore_version': 29, 'lastlivevaluesJson': {'timestamp': 1702004781, 'time': '04:06:21', 'grid': 0.389, 'house-power': 0.389, 'charging-all': 0.0, 'pv-all': -0.0, 'cp1-power': 0.0, 'ev1-soc': 49.0, 'ev2-soc': 72, 'bat-all-power': 0.0, 'bat-all-soc': 19}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2023-12-08 04:06:31,523 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2023-12-08 04:06:31,525 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2023-12-08 04:06:31,526 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2023-12-08 04:06:31,527 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2023-12-08 04:06:31,529 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2023-12-08 04:06:31,531 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2023-12-08 04:06:31,532 - {control.data:253} - {INFO:MainThread} - 

2023-12-08 04:06:31,538 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2023-12-08 04:06:31,539 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2023-12-08 04:06:31,541 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2023-12-08 04:06:31,543 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2023-12-08 04:06:31,546 - {control.counter:211} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: 0W
2023-12-08 04:06:31,547 - {control.counter:457} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf 0W
2023-12-08 04:06:31,547 - {control.chargepoint.chargepoint:277} - {INFO:MainThread} - LP 1: Die Ladung kann nicht gestartet werden, da die Einschaltschwelle nicht erreicht wird.
2023-12-08 04:06:31,548 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2023-12-08 04:06:31,548 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2023-12-08 04:06:31,553 - {control.process:111} - {INFO:MainThread} - LP1: set current 0 A, state NO_CHARGING_ALLOWED
2023-12-08 04:06:31,555 - {modules.common.component_context:24} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:06:31,600 - {control.counter:186} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2023-12-08 04:06:31,807 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2023-12-08 04:06:31,809 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2023-12-08 04:06:35,818 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2023-12-08 04:06:40,830 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2023-12-08 04:06:40,831 - {root:74} - {INFO:MainThread} - # ***Start*** 
2023-12-08 04:06:40,877 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x715cf340>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x7155e4a8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x715c75f8>}
2023-12-08 04:06:40,879 - {modules.common.component_context:24} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2023-12-08 04:06:40,885 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2023-12-08 04:06:40,887 - {modules.common.component_context:24} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:06:40,888 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2023-12-08 04:06:40,929 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 750
2023-12-08 04:06:40,931 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"cloud":{"connected":false},"input:0":{"id":0,"state":false},"mqtt":{"connected":false},"switch:0":{"id":0, "source":"loopback", "output":false, "apower":0.0, "voltage":242.6, "current":0.000, "aenergy":{"total":1505.625,"by_minute":[0.000,0.000,0.000],"minute_ts":1702004800},"temperature":{"tC":28.9, "tF":84.1}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:06","unixtime":1702004801,"uptime":1364129,"ram_size":248996,"ram_free":145268,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"beta":{"version":"1.1.0-beta2"},"stable":{"version":"1.0.8"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-68},"ws":{"connected":false}}

2023-12-08 04:06:40,934 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-386, -218, -21, -145], Scale 0
2023-12-08 04:06:40,935 - {modules.common.simcount._simcount:38} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1702004790.4870365, power=0, imported=0.0, exported=293628.5948715257)
2023-12-08 04:06:40,936 - {modules.common.simcount._calculate:13} - {DEBUG:device1} - time passed: 0.00290232, power1: 0, power2: 0
2023-12-08 04:06:40,936 - {modules.common.simcount._calculate:29} - {DEBUG:device1} - power did not change sign. Total energy: 0
2023-12-08 04:06:40,937 - {modules.common.simcount._simcount:47} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702004800.935395, power=0, imported=0.0, exported=293628.5948715257)
2023-12-08 04:06:40,938 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:06:40,964 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [12, 5, 12], Scale -1
2023-12-08 04:06:41,011 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [24271, 24239, 24044, 0, 0, 0, 0], Scale -2
2023-12-08 04:06:41,053 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4999], Scale -2
2023-12-08 04:06:41,103 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7149, 1749, 5019], Scale -2
2023-12-08 04:06:41,123 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4870433, 1797042, 2153375, 1456453, 6125871, 2531530, 1862789, 2267990], Scale 0
2023-12-08 04:06:41,123 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[1.2000000000000002, 0.5, 1.2000000000000002], powers=[218.0, 21.0, 145.0], voltages=[242.71, 242.39000000000001, 240.44], power_factors=[0.7149, 0.17490000000000003, 0.5019], imported=6125871.0, exported=4870433.0, power=386.0, frequency=49.99)
2023-12-08 04:06:41,125 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2023-12-08 04:06:41,245 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [0], Scale 0
2023-12-08 04:06:41,263 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7789710], Scale 0
2023-12-08 04:06:41,284 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [28, 31, 32], Scale -2
2023-12-08 04:06:41,305 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4858], Scale -2
2023-12-08 04:06:41,306 - {modules.common.component_state:100} - {DEBUG:device0} - currents sign wrong [0.28, 0.31, 0.32]
2023-12-08 04:06:41,306 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.28, 0.31, 0.32], power=-0.0, exported=7789710.0, dc_power=48.58)
2023-12-08 04:06:41,308 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2023-12-08 04:06:41,354 - {modules.common.simcount._simcount:38} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1702004790.9847612, power=0.0, imported=143333.37604219164, exported=116864.5215890633)
2023-12-08 04:06:41,355 - {modules.common.simcount._calculate:13} - {DEBUG:device0} - time passed: 0.0028804, power1: 0, power2: 0
2023-12-08 04:06:41,355 - {modules.common.simcount._calculate:29} - {DEBUG:device0} - power did not change sign. Total energy: 0
2023-12-08 04:06:41,355 - {modules.common.simcount._simcount:47} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702004801.3542123, power=0.0, imported=143333.37604219164, exported=116864.5215890633)
2023-12-08 04:06:41,357 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=143333.37604219164, exported=116864.5215890633, power=0.0, soc=19.0)
2023-12-08 04:06:41,368 - {modules.common.component_context:24} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2023-12-08 04:06:41,370 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=143333.37604219164, exported=116864.5215890633, power=0.0, soc=19.0)
2023-12-08 04:06:41,409 - {modules.common.component_context:24} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:06:41,410 - {modules.common.component_context:24} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2023-12-08 04:06:41,411 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-0.0, exported=7816178.86, dc_power=None)
2023-12-08 04:06:41,411 - {modules.common.component_context:24} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2023-12-08 04:06:41,412 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-0.0, exported=7816178.86, dc_power=None)
2023-12-08 04:06:41,413 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:06:41,417 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:06:41,459 - {modules.common.component_context:24} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2023-12-08 04:06:41,460 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[1.2000000000000002, 0.5, 1.2000000000000002], powers=[218.0, 21.0, 145.0], voltages=[242.71, 242.39000000000001, 240.44], power_factors=[0.7149, 0.17490000000000003, 0.5019], imported=6125871.0, exported=4870433.0, power=386.0, frequency=49.99)
2023-12-08 04:06:41,658 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2023-12-08 04:06:41,661 - {control.bat_all:173} - {INFO:MainThread} - -50W verbleibende Speicher-Leistung
2023-12-08 04:06:41,663 - {control.counter:138} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [61.8, 62.6, 61.8]A
2023-12-08 04:06:41,665 - {control.counter:161} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 42614.0W
2023-12-08 04:06:41,667 - {control.chargepoint.chargepoint:699} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2023-12-08 04:06:41,669 - {control.chargepoint.chargepoint:682} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2023-12-08 04:06:41,672 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 626.899576s, Dauer 1.380952380952381h, Termin heute verpasst: False
2023-12-08 04:06:41,674 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 91349.878781s, Dauer 0.18012422360248448h, Termin heute verpasst: False
2023-12-08 04:06:41,677 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -9315.962269s, Dauer 4.142857142857143h, Termin heute verpasst: False
2023-12-08 04:06:41,679 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 90052.979797s, Dauer 0.5403726708074534h, Termin heute verpasst: False
2023-12-08 04:06:41,680 - {control.ev:762} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2023-12-08 04:06:41,684 - {control.chargepoint.chargepoint:898} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.PV_CHARGING, Phasen: 1, Priorität: False, max. Ist-Strom: 0.1
2023-12-08 04:06:41,686 - {control.chargepoint.chargepoint:277} - {INFO:MainThread} - LP 1: Kein Sofortladen, da noch Zeit bis zum Zieltermin ist. Falls vorhanden, wird mit EVU-Überschuss geladen.
2023-12-08 04:06:41,726 - {modules.common.simcount._simcount:38} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1702004791.4227383, power=393.0, imported=2374340.37515996, exported=0)
2023-12-08 04:06:41,738 - {modules.common.simcount._calculate:13} - {DEBUG:MainThread} - time passed: 0.00286208, power1: 393, power2: 386
2023-12-08 04:06:41,739 - {modules.common.simcount._calculate:29} - {DEBUG:MainThread} - power did not change sign. Total energy: 1.11478
2023-12-08 04:06:41,740 - {modules.common.simcount._simcount:47} - {DEBUG:MainThread} - imported: 1.11478 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702004801.7262423, power=386.0, imported=2374341.48994185, exported=0)
2023-12-08 04:06:41,742 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=19, daily_exported=0.0, daily_imported=0.0, imported=143333.38, exported=116864.52, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2023-12-08 04:06:41,743 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=19, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=143333.38, exported=116864.52, power=0.0), set=Set(charging_power_left=-50, switch_on_soc_reached=False))
2023-12-08 04:06:41,745 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=97.16, daily_exported=0, power=0, imported=6926458.98, exported=0))
2023-12-08 04:06:41,749 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 95%, 06:00 Uhr', imported_at_plan_start=6926377.93, imported_instant_charging=None, limit=None, phases=1, prio=False, required_current=6, required_currents=[0.0, 6, 0.0], state=0, submode=<Chargemode.PV_CHARGING: 'pv_charging'>, 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=72), currents=[0.1, 0.0, 0.0], daily_imported=97.16, daily_exported=0, evse_current=0, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=6926458.98, phases_in_use=1, plug_state=True, power=0, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Kein Sofortladen, da noch Zeit bis zum Zieltermin ist. Falls vorhanden, wird mit EVU-Überschuss geladen.', voltages=[242.76, 240.79, 243.06]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=0, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='_', imported_at_mode_switch=6926377.93, imported_at_plugtime=6926377.93, imported_since_mode_switch=0, imported_since_plugged=81.05000000074506, range_charged=0, time_charged='00:00', timestamp_start_charging=None), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time='12/07/2023, 13:07:31', required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x70ba3a78>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB Carport', type='internal_openwb', template=1, connected_phases=3, phase_1=2, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=1))
2023-12-08 04:06:41,750 - {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-12-08 04:06:41,752 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=1, max_current_multi_phases=16, max_current_single_phase=20, name='RFID, 20A, 11kW', rfid_enabling=True, valid_tags=['0003134583', '0003526747', '1655332554', '2585022212', '2585087748'])
2023-12-08 04:06:41,754 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[63, 63, 63], max_total_power=43000), get=Get(powers=[218.0, 21.0, 145.0], currents=[1.2, 0.5, 1.2], voltages=[242.71, 242.39, 240.44], power_factors=[0.71, 0.17, 0.5], unbalanced_load=0, frequency=49.99, daily_exported=0.0, daily_imported=4100.0, imported=6125871.0, exported=4870433.0, fault_state=0, fault_str='Kein Fehler.', power=386.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=42614.0, raw_currents_left=[61.8, 62.6, 61.8], surplus_power_left=0, state_str=''))
2023-12-08 04:06:41,759 - {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': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=386.0, invalid_home_consumption=0, daily_yield_home_consumption=5516.1283940876, imported_home_consumption=2374341.48994185, disengageable_smarthome_power=0))
2023-12-08 04:06:41,762 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2023-12-08 04:06:41,767 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Ladeprofil ***AUTO1***', disable_after_unplug=False, prio=False, load_default=True, time_charging=TimeCharging(active=True, plans={'0': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[True, True, True, True, False, False, True]), time=['22:00', '06:00'], name='Zeitladen 95%, So-Do 22:00-06:00 Uhr', current=16, limit=Limit(selected='soc', amount=1000, soc=95)), '1': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, True, True, False]), time=['22:00', '06:00'], name='Zeitladen 80%, Fr-Sa 22:00-06:00 Uhr', current=16, limit=Limit(selected='soc', amount=1000, soc=80))}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2023-12-08 04:06:41,769 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, time_charging=TimeCharging(active=True, plans={'2': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), time=['06:45', '07:00'], name='Klima 06:45-07:00 Uhr', current=6, limit=Limit(selected='none', amount=1000, soc=50)), '3': TimeChargingPlan(active=True, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, False, False, False]), time=['00:00', '23:55'], name='Immer 35%', current=10, limit=Limit(selected='soc', amount=1000, soc=35))}), chargemode=Chargemode(selected='scheduled_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={'0': ScheduledChargingPlan(active=False, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, True, False, False, False, False, False]), current=14, name='Zielladen 80%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '1': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), current=14, name='Zielladen 95%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=95), time='05:40'), '2': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once='2023-09-26', weekly=[True, False, False, True, False, True, True]), current=14, name='Zielladen 75%, 7:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=75), time='05:40')}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=80))))
2023-12-08 04:06:41,770 - {control.data:266} - {INFO:MainThread} - ev0
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=['0003134583'], get=Get(soc=0, soc_timestamp=None, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:06:41,772 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Tesla Model Y (2022)', 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=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212', '2585087748'], get=Get(soc=49.0, soc_timestamp='12/08/2023, 01:29:15', force_soc_update=False, range=220.74, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:06:41,773 - {control.data:266} - {INFO:MainThread} - ev2
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Cupra Born 58kW', 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=18000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=2, ev_template=2, name='***AUTO2***', tag_id=['1655332554'], get=Get(soc=72, soc_timestamp='12/08/2023, 02:47:32', force_soc_update=False, range=205, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:06:41,774 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40)
2023-12-08 04:06:41,776 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', 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=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40)
2023-12-08 04:06:41,777 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', 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=18000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40)
2023-12-08 04:06:41,781 - {control.data:245} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=3), pv_charging=PvCharging(bat_prio=True, charging_power_reserve=200, control_range=[-230, 230], feed_in_yield=15000, phase_switch_delay=15, phases_to_use=0, rundown_power=1000, rundown_soc=25, switch_off_delay=60, switch_off_soc=25, switch_off_threshold=50, switch_on_delay=30, switch_on_soc=50, switch_on_threshold=1400), scheduled_charging=ScheduledCharging(phases_to_use=0), time_charging=TimeCharging(phases_to_use=3), unbalanced_load_limit=20, unbalanced_load=True), control_interval=10, extern_display_mode='local', extern=False, external_buttons_hw=False, grid_protection_active=False, grid_protection_configured=True, grid_protection_random_stop=0, grid_protection_timestamp='', mqtt_bridge=False, price_kwh=0.3528, range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=True, r1_active=False, r2_active=False))
2023-12-08 04:06:41,782 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2023-12-08 04:06:41,783 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2023-12-08 04:06:41,786 - {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 0x70b629d0>), led=Led(active=False), rfid=Rfid(active=True))
2023-12-08 04:06:41,787 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=0), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=293628.595, fault_state=0, fault_str='Kein Fehler.', power=0))
2023-12-08 04:06:41,788 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=9500), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=7816178.86, fault_state=0, fault_str='Kein Fehler.', power=-0.0))
2023-12-08 04:06:41,788 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=8109807.455, power=0.0))
2023-12-08 04:06:41,789 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2023-11-30 12:30:45 +0100 [285f5a5fb]', 'current_branch': 'Release', 'current_branch_commit': '2023-11-30 12:30:45 +0100 [285f5a5fb]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.2-Patch.1', 'datastore_version': 29, 'lastlivevaluesJson': {'timestamp': 1702004791, 'time': '04:06:31', 'grid': 0.393, 'house-power': 0.393, 'charging-all': 0.0, 'pv-all': -0.0, 'cp1-power': 0.0, 'ev1-soc': 49.0, 'ev2-soc': 72, 'bat-all-power': 0.0, 'bat-all-soc': 19}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2023-12-08 04:06:41,792 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2023-12-08 04:06:41,793 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2023-12-08 04:06:41,794 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2023-12-08 04:06:41,796 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2023-12-08 04:06:41,797 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2023-12-08 04:06:41,798 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2023-12-08 04:06:41,799 - {control.data:253} - {INFO:MainThread} - 

2023-12-08 04:06:41,800 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2023-12-08 04:06:41,802 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2023-12-08 04:06:41,806 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2023-12-08 04:06:41,809 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2023-12-08 04:06:41,812 - {control.counter:211} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: 0W
2023-12-08 04:06:41,813 - {control.counter:457} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf 0W
2023-12-08 04:06:41,814 - {control.chargepoint.chargepoint:277} - {INFO:MainThread} - LP 1: Die Ladung kann nicht gestartet werden, da die Einschaltschwelle nicht erreicht wird.
2023-12-08 04:06:41,815 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2023-12-08 04:06:41,817 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2023-12-08 04:06:41,822 - {control.process:111} - {INFO:MainThread} - LP1: set current 0 A, state NO_CHARGING_ALLOWED
2023-12-08 04:06:41,837 - {modules.common.component_context:24} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:06:41,896 - {control.counter:186} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2023-12-08 04:06:42,262 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2023-12-08 04:06:42,264 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2023-12-08 04:06:45,275 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2023-12-08 04:06:45,276 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2023-12-08 04:06:50,285 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2023-12-08 04:06:50,287 - {root:74} - {INFO:MainThread} - # ***Start*** 
2023-12-08 04:06:50,356 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x715cf340>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x7155e4a8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x715c75f8>}
2023-12-08 04:06:50,357 - {modules.common.component_context:24} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2023-12-08 04:06:50,358 - {modules.common.component_context:24} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:06:50,368 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2023-12-08 04:06:50,372 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2023-12-08 04:06:50,416 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-386, -219, -22, -144], Scale 0
2023-12-08 04:06:50,419 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 750
2023-12-08 04:06:50,422 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"cloud":{"connected":false},"input:0":{"id":0,"state":false},"mqtt":{"connected":false},"switch:0":{"id":0, "source":"loopback", "output":false, "apower":0.0, "voltage":242.7, "current":0.000, "aenergy":{"total":1505.625,"by_minute":[0.000,0.000,0.000],"minute_ts":1702004809},"temperature":{"tC":28.9, "tF":84.0}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:06","unixtime":1702004811,"uptime":1364138,"ram_size":248996,"ram_free":145268,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"beta":{"version":"1.1.0-beta2"},"stable":{"version":"1.0.8"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-70},"ws":{"connected":false}}

2023-12-08 04:06:50,424 - {modules.common.simcount._simcount:38} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1702004800.935395, power=0, imported=0.0, exported=293628.5948715257)
2023-12-08 04:06:50,425 - {modules.common.simcount._calculate:13} - {DEBUG:device1} - time passed: 0.00263595, power1: 0, power2: 0
2023-12-08 04:06:50,426 - {modules.common.simcount._calculate:29} - {DEBUG:device1} - power did not change sign. Total energy: 0
2023-12-08 04:06:50,427 - {modules.common.simcount._simcount:47} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702004810.4248056, power=0, imported=0.0, exported=293628.5948715257)
2023-12-08 04:06:50,428 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:06:50,474 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [12, 5, 12], Scale -1
2023-12-08 04:06:50,494 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [24266, 24236, 24043, 0, 0, 0, 0], Scale -2
2023-12-08 04:06:50,513 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4999], Scale -2
2023-12-08 04:06:50,585 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7129, 1790, 4979], Scale -2
2023-12-08 04:06:50,625 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4870433, 1797042, 2153375, 1456453, 6125873, 2531531, 1862789, 2267990], Scale 0
2023-12-08 04:06:50,626 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[1.2000000000000002, 0.5, 1.2000000000000002], powers=[219.0, 22.0, 144.0], voltages=[242.66, 242.36, 240.43], power_factors=[0.7129000000000001, 0.17900000000000002, 0.4979], imported=6125873.0, exported=4870433.0, power=386.0, frequency=49.99)
2023-12-08 04:06:50,633 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2023-12-08 04:06:50,666 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [0], Scale 0
2023-12-08 04:06:50,700 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7789710], Scale 0
2023-12-08 04:06:50,724 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [26, 29, 31], Scale -2
2023-12-08 04:06:50,758 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4778], Scale -2
2023-12-08 04:06:50,759 - {modules.common.component_state:100} - {DEBUG:device0} - currents sign wrong [0.26, 0.29, 0.31]
2023-12-08 04:06:50,760 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.26, 0.29, 0.31], power=-0.0, exported=7789710.0, dc_power=47.78)
2023-12-08 04:06:50,765 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2023-12-08 04:06:50,843 - {modules.common.simcount._simcount:38} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1702004801.3542123, power=0.0, imported=143333.37604219164, exported=116864.5215890633)
2023-12-08 04:06:50,844 - {modules.common.simcount._calculate:13} - {DEBUG:device0} - time passed: 0.002636, power1: 0, power2: 0
2023-12-08 04:06:50,844 - {modules.common.simcount._calculate:29} - {DEBUG:device0} - power did not change sign. Total energy: 0
2023-12-08 04:06:50,845 - {modules.common.simcount._simcount:47} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702004810.843821, power=0.0, imported=143333.37604219164, exported=116864.5215890633)
2023-12-08 04:06:50,846 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=143333.37604219164, exported=116864.5215890633, power=0.0, soc=19.0)
2023-12-08 04:06:50,855 - {modules.common.component_context:24} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2023-12-08 04:06:50,856 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=143333.37604219164, exported=116864.5215890633, power=0.0, soc=19.0)
2023-12-08 04:06:50,917 - {modules.common.component_context:24} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:06:50,921 - {modules.common.component_context:24} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2023-12-08 04:06:50,922 - {modules.common.component_context:24} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2023-12-08 04:06:50,923 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-0.0, exported=7816178.86, dc_power=None)
2023-12-08 04:06:50,923 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:06:50,924 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-0.0, exported=7816178.86, dc_power=None)
2023-12-08 04:06:50,924 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:06:50,962 - {modules.common.component_context:24} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2023-12-08 04:06:50,963 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[1.2000000000000002, 0.5, 1.2000000000000002], powers=[219.0, 22.0, 144.0], voltages=[242.66, 242.36, 240.43], power_factors=[0.7129000000000001, 0.17900000000000002, 0.4979], imported=6125873.0, exported=4870433.0, power=386.0, frequency=49.99)
2023-12-08 04:06:51,140 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2023-12-08 04:06:51,143 - {control.bat_all:173} - {INFO:MainThread} - -50W verbleibende Speicher-Leistung
2023-12-08 04:06:51,145 - {control.counter:138} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [61.8, 62.6, 61.8]A
2023-12-08 04:06:51,148 - {control.counter:161} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 42614.0W
2023-12-08 04:06:51,152 - {control.chargepoint.chargepoint:699} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2023-12-08 04:06:51,153 - {control.chargepoint.chargepoint:682} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2023-12-08 04:06:51,155 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 617.416096s, Dauer 1.380952380952381h, Termin heute verpasst: False
2023-12-08 04:06:51,157 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 91340.396217s, Dauer 0.18012422360248448h, Termin heute verpasst: False
2023-12-08 04:06:51,160 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -9325.445456s, Dauer 4.142857142857143h, Termin heute verpasst: False
2023-12-08 04:06:51,162 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 90043.496764s, Dauer 0.5403726708074534h, Termin heute verpasst: False
2023-12-08 04:06:51,163 - {control.ev:762} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2023-12-08 04:06:51,165 - {control.chargepoint.chargepoint:898} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.PV_CHARGING, Phasen: 1, Priorität: False, max. Ist-Strom: 0.1
2023-12-08 04:06:51,167 - {control.chargepoint.chargepoint:277} - {INFO:MainThread} - LP 1: Kein Sofortladen, da noch Zeit bis zum Zieltermin ist. Falls vorhanden, wird mit EVU-Überschuss geladen.
2023-12-08 04:06:51,174 - {modules.common.simcount._simcount:38} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1702004801.7262423, power=386.0, imported=2374341.48994185, exported=0)
2023-12-08 04:06:51,179 - {modules.common.simcount._calculate:13} - {DEBUG:MainThread} - time passed: 0.00262457, power1: 386, power2: 386
2023-12-08 04:06:51,180 - {modules.common.simcount._calculate:29} - {DEBUG:MainThread} - power did not change sign. Total energy: 1.01309
2023-12-08 04:06:51,181 - {modules.common.simcount._simcount:47} - {DEBUG:MainThread} - imported: 1.01309 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702004811.174709, power=386.0, imported=2374342.5030274545, exported=0)
2023-12-08 04:06:51,184 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=19, daily_exported=0.0, daily_imported=0.0, imported=143333.38, exported=116864.52, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2023-12-08 04:06:51,188 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=19, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=143333.38, exported=116864.52, power=0.0), set=Set(charging_power_left=-50, switch_on_soc_reached=False))
2023-12-08 04:06:51,190 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=97.16, daily_exported=0, power=0, imported=6926458.98, exported=0))
2023-12-08 04:06:51,192 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 95%, 06:00 Uhr', imported_at_plan_start=6926377.93, imported_instant_charging=None, limit=None, phases=1, prio=False, required_current=6, required_currents=[0.0, 6, 0.0], state=0, submode=<Chargemode.PV_CHARGING: 'pv_charging'>, 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=72), currents=[0.1, 0.0, 0.0], daily_imported=97.16, daily_exported=0, evse_current=0, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=6926458.98, phases_in_use=1, plug_state=True, power=0, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Kein Sofortladen, da noch Zeit bis zum Zieltermin ist. Falls vorhanden, wird mit EVU-Überschuss geladen.', voltages=[242.69, 240.85, 243.03]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=0, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='_', imported_at_mode_switch=6926377.93, imported_at_plugtime=6926377.93, imported_since_mode_switch=0, imported_since_plugged=81.05000000074506, range_charged=0, time_charged='00:00', timestamp_start_charging=None), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time='12/07/2023, 13:07:31', required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x70b94ec8>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB Carport', type='internal_openwb', template=1, connected_phases=3, phase_1=2, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=1))
2023-12-08 04:06:51,195 - {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-12-08 04:06:51,199 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=1, max_current_multi_phases=16, max_current_single_phase=20, name='RFID, 20A, 11kW', rfid_enabling=True, valid_tags=['0003134583', '0003526747', '1655332554', '2585022212', '2585087748'])
2023-12-08 04:06:51,200 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[63, 63, 63], max_total_power=43000), get=Get(powers=[219.0, 22.0, 144.0], currents=[1.2, 0.5, 1.2], voltages=[242.66, 242.36, 240.43], power_factors=[0.71, 0.18, 0.5], unbalanced_load=0, frequency=49.99, daily_exported=0.0, daily_imported=4100.0, imported=6125873.0, exported=4870433.0, fault_state=0, fault_str='Kein Fehler.', power=386.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=42614.0, raw_currents_left=[61.8, 62.6, 61.8], surplus_power_left=0, state_str=''))
2023-12-08 04:06:51,203 - {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': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=386.0, invalid_home_consumption=0, daily_yield_home_consumption=5516.1283940876, imported_home_consumption=2374342.5030274545, disengageable_smarthome_power=0))
2023-12-08 04:06:51,204 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2023-12-08 04:06:51,204 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Ladeprofil ***AUTO1***', disable_after_unplug=False, prio=False, load_default=True, time_charging=TimeCharging(active=True, plans={'0': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[True, True, True, True, False, False, True]), time=['22:00', '06:00'], name='Zeitladen 95%, So-Do 22:00-06:00 Uhr', current=16, limit=Limit(selected='soc', amount=1000, soc=95)), '1': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, True, True, False]), time=['22:00', '06:00'], name='Zeitladen 80%, Fr-Sa 22:00-06:00 Uhr', current=16, limit=Limit(selected='soc', amount=1000, soc=80))}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2023-12-08 04:06:51,207 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, time_charging=TimeCharging(active=True, plans={'2': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), time=['06:45', '07:00'], name='Klima 06:45-07:00 Uhr', current=6, limit=Limit(selected='none', amount=1000, soc=50)), '3': TimeChargingPlan(active=True, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, False, False, False]), time=['00:00', '23:55'], name='Immer 35%', current=10, limit=Limit(selected='soc', amount=1000, soc=35))}), chargemode=Chargemode(selected='scheduled_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={'0': ScheduledChargingPlan(active=False, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, True, False, False, False, False, False]), current=14, name='Zielladen 80%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '1': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), current=14, name='Zielladen 95%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=95), time='05:40'), '2': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once='2023-09-26', weekly=[True, False, False, True, False, True, True]), current=14, name='Zielladen 75%, 7:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=75), time='05:40')}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=80))))
2023-12-08 04:06:51,209 - {control.data:266} - {INFO:MainThread} - ev0
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=['0003134583'], get=Get(soc=0, soc_timestamp=None, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:06:51,211 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Tesla Model Y (2022)', 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=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212', '2585087748'], get=Get(soc=49.0, soc_timestamp='12/08/2023, 01:29:15', force_soc_update=False, range=220.74, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:06:51,213 - {control.data:266} - {INFO:MainThread} - ev2
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Cupra Born 58kW', 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=18000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=2, ev_template=2, name='***AUTO2***', tag_id=['1655332554'], get=Get(soc=72, soc_timestamp='12/08/2023, 02:47:32', force_soc_update=False, range=205, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:06:51,214 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40)
2023-12-08 04:06:51,217 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', 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=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40)
2023-12-08 04:06:51,219 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', 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=18000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40)
2023-12-08 04:06:51,220 - {control.data:245} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=3), pv_charging=PvCharging(bat_prio=True, charging_power_reserve=200, control_range=[-230, 230], feed_in_yield=15000, phase_switch_delay=15, phases_to_use=0, rundown_power=1000, rundown_soc=25, switch_off_delay=60, switch_off_soc=25, switch_off_threshold=50, switch_on_delay=30, switch_on_soc=50, switch_on_threshold=1400), scheduled_charging=ScheduledCharging(phases_to_use=0), time_charging=TimeCharging(phases_to_use=3), unbalanced_load_limit=20, unbalanced_load=True), control_interval=10, extern_display_mode='local', extern=False, external_buttons_hw=False, grid_protection_active=False, grid_protection_configured=True, grid_protection_random_stop=0, grid_protection_timestamp='', mqtt_bridge=False, price_kwh=0.3528, range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=True, r1_active=False, r2_active=False))
2023-12-08 04:06:51,221 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2023-12-08 04:06:51,223 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2023-12-08 04:06:51,224 - {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 0x70b62b98>), led=Led(active=False), rfid=Rfid(active=True))
2023-12-08 04:06:51,225 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=0), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=293628.595, fault_state=0, fault_str='Kein Fehler.', power=0))
2023-12-08 04:06:51,227 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=9500), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=7816178.86, fault_state=0, fault_str='Kein Fehler.', power=-0.0))
2023-12-08 04:06:51,228 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=8109807.455, power=0.0))
2023-12-08 04:06:51,229 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2023-11-30 12:30:45 +0100 [285f5a5fb]', 'current_branch': 'Release', 'current_branch_commit': '2023-11-30 12:30:45 +0100 [285f5a5fb]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.2-Patch.1', 'datastore_version': 29, 'lastlivevaluesJson': {'timestamp': 1702004801, 'time': '04:06:41', 'grid': 0.386, 'house-power': 0.386, 'charging-all': 0.0, 'pv-all': -0.0, 'cp1-power': 0.0, 'ev1-soc': 49.0, 'ev2-soc': 72, 'bat-all-power': 0.0, 'bat-all-soc': 19}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2023-12-08 04:06:51,230 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2023-12-08 04:06:51,231 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2023-12-08 04:06:51,232 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2023-12-08 04:06:51,232 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2023-12-08 04:06:51,233 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2023-12-08 04:06:51,238 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2023-12-08 04:06:51,238 - {control.data:253} - {INFO:MainThread} - 

2023-12-08 04:06:51,239 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2023-12-08 04:06:51,241 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2023-12-08 04:06:51,244 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2023-12-08 04:06:51,247 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2023-12-08 04:06:51,251 - {control.counter:211} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: 0W
2023-12-08 04:06:51,254 - {control.counter:457} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf 0W
2023-12-08 04:06:51,259 - {control.chargepoint.chargepoint:277} - {INFO:MainThread} - LP 1: Die Ladung kann nicht gestartet werden, da die Einschaltschwelle nicht erreicht wird.
2023-12-08 04:06:51,260 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2023-12-08 04:06:51,261 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2023-12-08 04:06:51,263 - {control.process:111} - {INFO:MainThread} - LP1: set current 0 A, state NO_CHARGING_ALLOWED
2023-12-08 04:06:51,268 - {modules.common.component_context:24} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:06:51,304 - {control.counter:186} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2023-12-08 04:06:51,510 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2023-12-08 04:06:55,530 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2023-12-08 04:06:55,531 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2023-12-08 04:07:00,545 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2023-12-08 04:07:00,546 - {root:74} - {INFO:MainThread} - # ***Start*** 
2023-12-08 04:07:00,591 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x715cf340>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x7155e4a8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x715c75f8>}
2023-12-08 04:07:00,592 - {modules.common.component_context:24} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2023-12-08 04:07:00,601 - {modules.common.component_context:24} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:07:00,600 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2023-12-08 04:07:00,604 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2023-12-08 04:07:00,644 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 750
2023-12-08 04:07:00,646 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"cloud":{"connected":false},"input:0":{"id":0,"state":false},"mqtt":{"connected":false},"switch:0":{"id":0, "source":"loopback", "output":false, "apower":0.0, "voltage":242.7, "current":0.000, "aenergy":{"total":1505.625,"by_minute":[0.000,0.000,0.000],"minute_ts":1702004820},"temperature":{"tC":28.8, "tF":83.9}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:07","unixtime":1702004821,"uptime":1364148,"ram_size":248944,"ram_free":144672,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"beta":{"version":"1.1.0-beta2"},"stable":{"version":"1.0.8"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-69},"ws":{"connected":false}}

2023-12-08 04:07:00,649 - {modules.common.simcount._simcount:38} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1702004810.4248056, power=0, imported=0.0, exported=293628.5948715257)
2023-12-08 04:07:00,650 - {modules.common.simcount._calculate:13} - {DEBUG:device1} - time passed: 0.00284002, power1: 0, power2: 0
2023-12-08 04:07:00,652 - {modules.common.simcount._calculate:29} - {DEBUG:device1} - power did not change sign. Total energy: 0
2023-12-08 04:07:00,653 - {modules.common.simcount._simcount:47} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702004820.6488864, power=0, imported=0.0, exported=293628.5948715257)
2023-12-08 04:07:00,655 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-353, -185, -21, -145], Scale 0
2023-12-08 04:07:00,657 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:07:00,676 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [10, 5, 12], Scale -1
2023-12-08 04:07:00,693 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [24265, 24227, 24043, 0, 0, 0, 0], Scale -2
2023-12-08 04:07:00,731 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4999], Scale -2
2023-12-08 04:07:00,753 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7110, 1800, 4939], Scale -2
2023-12-08 04:07:00,775 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4870433, 1797042, 2153375, 1456453, 6125874, 2531532, 1862789, 2267991], Scale 0
2023-12-08 04:07:00,776 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[1.0, 0.5, 1.2000000000000002], powers=[185.0, 21.0, 145.0], voltages=[242.65, 242.27, 240.43], power_factors=[0.7110000000000001, 0.18, 0.4939], imported=6125874.0, exported=4870433.0, power=353.0, frequency=49.99)
2023-12-08 04:07:00,781 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2023-12-08 04:07:00,804 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [0], Scale 0
2023-12-08 04:07:00,853 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7789710], Scale 0
2023-12-08 04:07:00,888 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [27, 30, 30], Scale -2
2023-12-08 04:07:00,923 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-5035], Scale -2
2023-12-08 04:07:00,924 - {modules.common.component_state:100} - {DEBUG:device0} - currents sign wrong [0.27, 0.3, 0.3]
2023-12-08 04:07:00,924 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.27, 0.3, 0.3], power=-0.0, exported=7789710.0, dc_power=50.35)
2023-12-08 04:07:00,928 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2023-12-08 04:07:01,023 - {modules.common.simcount._simcount:38} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1702004810.843821, power=0.0, imported=143333.37604219164, exported=116864.5215890633)
2023-12-08 04:07:01,024 - {modules.common.simcount._calculate:13} - {DEBUG:device0} - time passed: 0.00282775, power1: 0, power2: 0
2023-12-08 04:07:01,025 - {modules.common.simcount._calculate:29} - {DEBUG:device0} - power did not change sign. Total energy: 0
2023-12-08 04:07:01,025 - {modules.common.simcount._simcount:47} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702004821.023707, power=0.0, imported=143333.37604219164, exported=116864.5215890633)
2023-12-08 04:07:01,027 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=143333.37604219164, exported=116864.5215890633, power=0.0, soc=19.0)
2023-12-08 04:07:01,046 - {modules.common.component_context:24} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2023-12-08 04:07:01,049 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=143333.37604219164, exported=116864.5215890633, power=0.0, soc=19.0)
2023-12-08 04:07:01,081 - {modules.common.component_context:24} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:07:01,083 - {modules.common.component_context:24} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2023-12-08 04:07:01,084 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-0.0, exported=7816178.86, dc_power=None)
2023-12-08 04:07:01,085 - {modules.common.component_context:24} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2023-12-08 04:07:01,086 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-0.0, exported=7816178.86, dc_power=None)
2023-12-08 04:07:01,086 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:07:01,088 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:07:01,127 - {modules.common.component_context:24} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2023-12-08 04:07:01,127 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[1.0, 0.5, 1.2000000000000002], powers=[185.0, 21.0, 145.0], voltages=[242.65, 242.27, 240.43], power_factors=[0.7110000000000001, 0.18, 0.4939], imported=6125874.0, exported=4870433.0, power=353.0, frequency=49.99)
2023-12-08 04:07:01,284 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2023-12-08 04:07:01,289 - {control.bat_all:173} - {INFO:MainThread} - -50W verbleibende Speicher-Leistung
2023-12-08 04:07:01,305 - {control.counter:138} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [62.0, 62.6, 61.8]A
2023-12-08 04:07:01,308 - {control.counter:161} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 42647.0W
2023-12-08 04:07:01,323 - {control.chargepoint.chargepoint:699} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2023-12-08 04:07:01,330 - {control.chargepoint.chargepoint:682} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2023-12-08 04:07:01,339 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 607.233171s, Dauer 1.380952380952381h, Termin heute verpasst: False
2023-12-08 04:07:01,340 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 91330.212821s, Dauer 0.18012422360248448h, Termin heute verpasst: False
2023-12-08 04:07:01,341 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -9335.626691s, Dauer 4.142857142857143h, Termin heute verpasst: False
2023-12-08 04:07:01,342 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 90033.316549s, Dauer 0.5403726708074534h, Termin heute verpasst: False
2023-12-08 04:07:01,342 - {control.ev:762} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2023-12-08 04:07:01,352 - {control.chargepoint.chargepoint:898} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.PV_CHARGING, Phasen: 1, Priorität: False, max. Ist-Strom: 0.1
2023-12-08 04:07:01,354 - {control.chargepoint.chargepoint:277} - {INFO:MainThread} - LP 1: Kein Sofortladen, da noch Zeit bis zum Zieltermin ist. Falls vorhanden, wird mit EVU-Überschuss geladen.
2023-12-08 04:07:01,397 - {modules.common.simcount._simcount:38} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1702004811.174709, power=386.0, imported=2374342.5030274545, exported=0)
2023-12-08 04:07:01,405 - {modules.common.simcount._calculate:13} - {DEBUG:MainThread} - time passed: 0.00283951, power1: 386, power2: 353
2023-12-08 04:07:01,411 - {modules.common.simcount._calculate:29} - {DEBUG:MainThread} - power did not change sign. Total energy: 1.0492
2023-12-08 04:07:01,420 - {modules.common.simcount._simcount:47} - {DEBUG:MainThread} - imported: 1.0492 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702004821.396957, power=353.0, imported=2374343.5522276144, exported=0)
2023-12-08 04:07:01,427 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=19, daily_exported=0.0, daily_imported=0.0, imported=143333.38, exported=116864.52, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2023-12-08 04:07:01,429 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=19, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=143333.38, exported=116864.52, power=0.0), set=Set(charging_power_left=-50, switch_on_soc_reached=False))
2023-12-08 04:07:01,432 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=97.16, daily_exported=0, power=0, imported=6926458.98, exported=0))
2023-12-08 04:07:01,436 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 95%, 06:00 Uhr', imported_at_plan_start=6926377.93, imported_instant_charging=None, limit=None, phases=1, prio=False, required_current=6, required_currents=[0.0, 6, 0.0], state=0, submode=<Chargemode.PV_CHARGING: 'pv_charging'>, 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=72), currents=[0.1, 0.0, 0.0], daily_imported=97.16, daily_exported=0, evse_current=0, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=6926458.98, phases_in_use=1, plug_state=True, power=0, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Kein Sofortladen, da noch Zeit bis zum Zieltermin ist. Falls vorhanden, wird mit EVU-Überschuss geladen.', voltages=[242.73, 240.8, 243.07]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=0, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='_', imported_at_mode_switch=6926377.93, imported_at_plugtime=6926377.93, imported_since_mode_switch=0, imported_since_plugged=81.05000000074506, range_charged=0, time_charged='00:00', timestamp_start_charging=None), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time='12/07/2023, 13:07:31', required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x70b62a60>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB Carport', type='internal_openwb', template=1, connected_phases=3, phase_1=2, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=1))
2023-12-08 04:07:01,443 - {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-12-08 04:07:01,445 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=1, max_current_multi_phases=16, max_current_single_phase=20, name='RFID, 20A, 11kW', rfid_enabling=True, valid_tags=['0003134583', '0003526747', '1655332554', '2585022212', '2585087748'])
2023-12-08 04:07:01,449 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[63, 63, 63], max_total_power=43000), get=Get(powers=[185.0, 21.0, 145.0], currents=[1.0, 0.5, 1.2], voltages=[242.65, 242.27, 240.43], power_factors=[0.71, 0.18, 0.49], unbalanced_load=0, frequency=49.99, daily_exported=0.0, daily_imported=4100.0, imported=6125874.0, exported=4870433.0, fault_state=0, fault_str='Kein Fehler.', power=353.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=42647.0, raw_currents_left=[62.0, 62.6, 61.8], surplus_power_left=0, state_str=''))
2023-12-08 04:07:01,460 - {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': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=353.0, invalid_home_consumption=0, daily_yield_home_consumption=5516.1283940876, imported_home_consumption=2374343.5522276144, disengageable_smarthome_power=0))
2023-12-08 04:07:01,462 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2023-12-08 04:07:01,464 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Ladeprofil ***AUTO1***', disable_after_unplug=False, prio=False, load_default=True, time_charging=TimeCharging(active=True, plans={'0': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[True, True, True, True, False, False, True]), time=['22:00', '06:00'], name='Zeitladen 95%, So-Do 22:00-06:00 Uhr', current=16, limit=Limit(selected='soc', amount=1000, soc=95)), '1': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, True, True, False]), time=['22:00', '06:00'], name='Zeitladen 80%, Fr-Sa 22:00-06:00 Uhr', current=16, limit=Limit(selected='soc', amount=1000, soc=80))}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2023-12-08 04:07:01,470 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, time_charging=TimeCharging(active=True, plans={'2': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), time=['06:45', '07:00'], name='Klima 06:45-07:00 Uhr', current=6, limit=Limit(selected='none', amount=1000, soc=50)), '3': TimeChargingPlan(active=True, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, False, False, False]), time=['00:00', '23:55'], name='Immer 35%', current=10, limit=Limit(selected='soc', amount=1000, soc=35))}), chargemode=Chargemode(selected='scheduled_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={'0': ScheduledChargingPlan(active=False, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, True, False, False, False, False, False]), current=14, name='Zielladen 80%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '1': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), current=14, name='Zielladen 95%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=95), time='05:40'), '2': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once='2023-09-26', weekly=[True, False, False, True, False, True, True]), current=14, name='Zielladen 75%, 7:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=75), time='05:40')}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=80))))
2023-12-08 04:07:01,475 - {control.data:266} - {INFO:MainThread} - ev0
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=['0003134583'], get=Get(soc=0, soc_timestamp=None, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:07:01,476 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Tesla Model Y (2022)', 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=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212', '2585087748'], get=Get(soc=49.0, soc_timestamp='12/08/2023, 01:29:15', force_soc_update=False, range=220.74, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:07:01,482 - {control.data:266} - {INFO:MainThread} - ev2
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Cupra Born 58kW', 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=18000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=2, ev_template=2, name='***AUTO2***', tag_id=['1655332554'], get=Get(soc=72, soc_timestamp='12/08/2023, 02:47:32', force_soc_update=False, range=205, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:07:01,493 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40)
2023-12-08 04:07:01,496 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', 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=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40)
2023-12-08 04:07:01,502 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', 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=18000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40)
2023-12-08 04:07:01,513 - {control.data:245} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=3), pv_charging=PvCharging(bat_prio=True, charging_power_reserve=200, control_range=[-230, 230], feed_in_yield=15000, phase_switch_delay=15, phases_to_use=0, rundown_power=1000, rundown_soc=25, switch_off_delay=60, switch_off_soc=25, switch_off_threshold=50, switch_on_delay=30, switch_on_soc=50, switch_on_threshold=1400), scheduled_charging=ScheduledCharging(phases_to_use=0), time_charging=TimeCharging(phases_to_use=3), unbalanced_load_limit=20, unbalanced_load=True), control_interval=10, extern_display_mode='local', extern=False, external_buttons_hw=False, grid_protection_active=False, grid_protection_configured=True, grid_protection_random_stop=0, grid_protection_timestamp='', mqtt_bridge=False, price_kwh=0.3528, range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=True, r1_active=False, r2_active=False))
2023-12-08 04:07:01,526 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2023-12-08 04:07:01,535 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2023-12-08 04:07:01,541 - {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 0x715cfdc0>), led=Led(active=False), rfid=Rfid(active=True))
2023-12-08 04:07:01,552 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=0), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=293628.595, fault_state=0, fault_str='Kein Fehler.', power=0))
2023-12-08 04:07:01,557 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=9500), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=7816178.86, fault_state=0, fault_str='Kein Fehler.', power=-0.0))
2023-12-08 04:07:01,568 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=8109807.455, power=0.0))
2023-12-08 04:07:01,574 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2023-11-30 12:30:45 +0100 [285f5a5fb]', 'current_branch': 'Release', 'current_branch_commit': '2023-11-30 12:30:45 +0100 [285f5a5fb]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.2-Patch.1', 'datastore_version': 29, 'lastlivevaluesJson': {'timestamp': 1702004811, 'time': '04:06:51', 'grid': 0.386, 'house-power': 0.386, 'charging-all': 0.0, 'pv-all': -0.0, 'cp1-power': 0.0, 'ev1-soc': 49.0, 'ev2-soc': 72, 'bat-all-power': 0.0, 'bat-all-soc': 19}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2023-12-08 04:07:01,578 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2023-12-08 04:07:01,583 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2023-12-08 04:07:01,592 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2023-12-08 04:07:01,594 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2023-12-08 04:07:01,595 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2023-12-08 04:07:01,602 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2023-12-08 04:07:01,613 - {control.data:253} - {INFO:MainThread} - 

2023-12-08 04:07:01,619 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2023-12-08 04:07:01,624 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2023-12-08 04:07:01,627 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2023-12-08 04:07:01,632 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2023-12-08 04:07:01,635 - {control.counter:211} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: 0W
2023-12-08 04:07:01,645 - {control.counter:457} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf 0W
2023-12-08 04:07:01,646 - {control.chargepoint.chargepoint:277} - {INFO:MainThread} - LP 1: Die Ladung kann nicht gestartet werden, da die Einschaltschwelle nicht erreicht wird.
2023-12-08 04:07:01,646 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2023-12-08 04:07:01,647 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2023-12-08 04:07:01,652 - {control.process:111} - {INFO:MainThread} - LP1: set current 0 A, state NO_CHARGING_ALLOWED
2023-12-08 04:07:01,660 - {modules.common.component_context:24} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:07:01,697 - {control.counter:186} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2023-12-08 04:07:01,925 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2023-12-08 04:07:01,926 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2023-12-08 04:07:05,953 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2023-12-08 04:07:10,966 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2023-12-08 04:07:10,968 - {root:74} - {INFO:MainThread} - # ***Start*** 
2023-12-08 04:07:11,012 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x715cf340>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x7155e4a8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x715c75f8>}
2023-12-08 04:07:11,013 - {modules.common.component_context:24} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2023-12-08 04:07:11,014 - {modules.common.component_context:24} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:07:11,021 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2023-12-08 04:07:11,053 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2023-12-08 04:07:11,078 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 750
2023-12-08 04:07:11,081 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"cloud":{"connected":false},"input:0":{"id":0,"state":false},"mqtt":{"connected":false},"switch:0":{"id":0, "source":"loopback", "output":false, "apower":0.0, "voltage":242.8, "current":0.000, "aenergy":{"total":1505.625,"by_minute":[0.000,0.000,0.000],"minute_ts":1702004830},"temperature":{"tC":28.8, "tF":83.8}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:07","unixtime":1702004832,"uptime":1364159,"ram_size":248932,"ram_free":144540,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"beta":{"version":"1.1.0-beta2"},"stable":{"version":"1.0.8"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-68},"ws":{"connected":false}}

2023-12-08 04:07:11,083 - {modules.common.simcount._simcount:38} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1702004820.6488864, power=0, imported=0.0, exported=293628.5948715257)
2023-12-08 04:07:11,084 - {modules.common.simcount._calculate:13} - {DEBUG:device1} - time passed: 0.00289852, power1: 0, power2: 0
2023-12-08 04:07:11,085 - {modules.common.simcount._calculate:29} - {DEBUG:device1} - power did not change sign. Total energy: 0
2023-12-08 04:07:11,085 - {modules.common.simcount._simcount:47} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702004831.0835488, power=0, imported=0.0, exported=293628.5948715257)
2023-12-08 04:07:11,089 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:07:11,135 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-351, -185, -21, -143], Scale 0
2023-12-08 04:07:11,175 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [10, 5, 12], Scale -1
2023-12-08 04:07:11,194 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [24260, 24237, 24035, 0, 0, 0, 0], Scale -2
2023-12-08 04:07:11,213 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [5000], Scale -2
2023-12-08 04:07:11,233 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7149, 1729, 4979], Scale -2
2023-12-08 04:07:11,323 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4870433, 1797042, 2153375, 1456453, 6125875, 2531532, 1862789, 2267991], Scale 0
2023-12-08 04:07:11,324 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[1.0, 0.5, 1.2000000000000002], powers=[185.0, 21.0, 143.0], voltages=[242.6, 242.37, 240.35], power_factors=[0.7149, 0.1729, 0.4979], imported=6125875.0, exported=4870433.0, power=351.0, frequency=50.0)
2023-12-08 04:07:11,326 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2023-12-08 04:07:11,366 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [0], Scale 0
2023-12-08 04:07:11,395 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7789710], Scale 0
2023-12-08 04:07:11,544 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [28, 31, 31], Scale -2
2023-12-08 04:07:11,648 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-5284], Scale -2
2023-12-08 04:07:11,649 - {modules.common.component_state:100} - {DEBUG:device0} - currents sign wrong [0.28, 0.31, 0.31]
2023-12-08 04:07:11,649 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.28, 0.31, 0.31], power=-0.0, exported=7789710.0, dc_power=52.84)
2023-12-08 04:07:11,651 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2023-12-08 04:07:11,744 - {modules.common.simcount._simcount:38} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1702004821.023707, power=0.0, imported=143333.37604219164, exported=116864.5215890633)
2023-12-08 04:07:11,744 - {modules.common.simcount._calculate:13} - {DEBUG:device0} - time passed: 0.00297789, power1: 0, power2: 0
2023-12-08 04:07:11,745 - {modules.common.simcount._calculate:29} - {DEBUG:device0} - power did not change sign. Total energy: 0
2023-12-08 04:07:11,745 - {modules.common.simcount._simcount:47} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702004831.7440963, power=0.0, imported=143333.37604219164, exported=116864.5215890633)
2023-12-08 04:07:11,746 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=143333.37604219164, exported=116864.5215890633, power=0.0, soc=19.0)
2023-12-08 04:07:11,761 - {modules.common.component_context:24} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2023-12-08 04:07:11,766 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=143333.37604219164, exported=116864.5215890633, power=0.0, soc=19.0)
2023-12-08 04:07:11,799 - {modules.common.component_context:24} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:07:11,801 - {modules.common.component_context:24} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2023-12-08 04:07:11,801 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-0.0, exported=7816178.86, dc_power=None)
2023-12-08 04:07:11,802 - {modules.common.component_context:24} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2023-12-08 04:07:11,802 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-0.0, exported=7816178.86, dc_power=None)
2023-12-08 04:07:11,803 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:07:11,808 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:07:11,849 - {modules.common.component_context:24} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2023-12-08 04:07:11,850 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[1.0, 0.5, 1.2000000000000002], powers=[185.0, 21.0, 143.0], voltages=[242.6, 242.37, 240.35], power_factors=[0.7149, 0.1729, 0.4979], imported=6125875.0, exported=4870433.0, power=351.0, frequency=50.0)
2023-12-08 04:07:12,014 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2023-12-08 04:07:12,017 - {control.bat_all:173} - {INFO:MainThread} - -50W verbleibende Speicher-Leistung
2023-12-08 04:07:12,021 - {control.counter:138} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [62.0, 62.6, 61.8]A
2023-12-08 04:07:12,022 - {control.counter:161} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 42649.0W
2023-12-08 04:07:12,024 - {control.chargepoint.chargepoint:699} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2023-12-08 04:07:12,026 - {control.chargepoint.chargepoint:682} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2023-12-08 04:07:12,028 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 596.543987s, Dauer 1.380952380952381h, Termin heute verpasst: False
2023-12-08 04:07:12,029 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 91319.523977s, Dauer 0.18012422360248448h, Termin heute verpasst: False
2023-12-08 04:07:12,031 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -9346.316739s, Dauer 4.142857142857143h, Termin heute verpasst: False
2023-12-08 04:07:12,033 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 90022.625216s, Dauer 0.5403726708074534h, Termin heute verpasst: False
2023-12-08 04:07:12,035 - {control.ev:762} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2023-12-08 04:07:12,039 - {control.chargepoint.chargepoint:898} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.PV_CHARGING, Phasen: 1, Priorität: False, max. Ist-Strom: 0.1
2023-12-08 04:07:12,040 - {control.chargepoint.chargepoint:277} - {INFO:MainThread} - LP 1: Kein Sofortladen, da noch Zeit bis zum Zieltermin ist. Falls vorhanden, wird mit EVU-Überschuss geladen.
2023-12-08 04:07:12,045 - {modules.common.simcount._simcount:38} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1702004821.396957, power=353.0, imported=2374343.5522276144, exported=0)
2023-12-08 04:07:12,047 - {modules.common.simcount._calculate:13} - {DEBUG:MainThread} - time passed: 0.00295788, power1: 353, power2: 351
2023-12-08 04:07:12,048 - {modules.common.simcount._calculate:29} - {DEBUG:MainThread} - power did not change sign. Total energy: 1.04117
2023-12-08 04:07:12,050 - {modules.common.simcount._simcount:47} - {DEBUG:MainThread} - imported: 1.04117 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702004832.045336, power=351.0, imported=2374344.5934024584, exported=0)
2023-12-08 04:07:12,060 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=19, daily_exported=0.0, daily_imported=0.0, imported=143333.38, exported=116864.52, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2023-12-08 04:07:12,071 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=19, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=143333.38, exported=116864.52, power=0.0), set=Set(charging_power_left=-50, switch_on_soc_reached=False))
2023-12-08 04:07:12,076 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=97.16, daily_exported=0, power=0, imported=6926459.96, exported=0))
2023-12-08 04:07:12,089 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 95%, 06:00 Uhr', imported_at_plan_start=6926377.93, imported_instant_charging=None, limit=None, phases=1, prio=False, required_current=6, required_currents=[0.0, 6, 0.0], state=0, submode=<Chargemode.PV_CHARGING: 'pv_charging'>, 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=72), currents=[0.1, 0.0, 0.0], daily_imported=97.16, daily_exported=0, evse_current=0, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=6926459.96, phases_in_use=1, plug_state=True, power=0, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Kein Sofortladen, da noch Zeit bis zum Zieltermin ist. Falls vorhanden, wird mit EVU-Überschuss geladen.', voltages=[242.8, 240.83, 243.05]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=0, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='_', imported_at_mode_switch=6926377.93, imported_at_plugtime=6926377.93, imported_since_mode_switch=0, imported_since_plugged=81.05000000074506, range_charged=0, time_charged='00:00', timestamp_start_charging=None), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time='12/07/2023, 13:07:31', required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x70b5f628>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB Carport', type='internal_openwb', template=1, connected_phases=3, phase_1=2, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=1))
2023-12-08 04:07:12,101 - {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-12-08 04:07:12,102 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=1, max_current_multi_phases=16, max_current_single_phase=20, name='RFID, 20A, 11kW', rfid_enabling=True, valid_tags=['0003134583', '0003526747', '1655332554', '2585022212', '2585087748'])
2023-12-08 04:07:12,103 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[63, 63, 63], max_total_power=43000), get=Get(powers=[185.0, 21.0, 143.0], currents=[1.0, 0.5, 1.2], voltages=[242.6, 242.37, 240.35], power_factors=[0.71, 0.17, 0.5], unbalanced_load=0, frequency=50.0, daily_exported=0.0, daily_imported=4100.0, imported=6125875.0, exported=4870433.0, fault_state=0, fault_str='Kein Fehler.', power=351.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=42649.0, raw_currents_left=[62.0, 62.6, 61.8], surplus_power_left=0, state_str=''))
2023-12-08 04:07:12,105 - {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': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=351.0, invalid_home_consumption=0, daily_yield_home_consumption=5516.1283940876, imported_home_consumption=2374344.5934024584, disengageable_smarthome_power=0))
2023-12-08 04:07:12,107 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2023-12-08 04:07:12,109 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Ladeprofil ***AUTO1***', disable_after_unplug=False, prio=False, load_default=True, time_charging=TimeCharging(active=True, plans={'0': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[True, True, True, True, False, False, True]), time=['22:00', '06:00'], name='Zeitladen 95%, So-Do 22:00-06:00 Uhr', current=16, limit=Limit(selected='soc', amount=1000, soc=95)), '1': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, True, True, False]), time=['22:00', '06:00'], name='Zeitladen 80%, Fr-Sa 22:00-06:00 Uhr', current=16, limit=Limit(selected='soc', amount=1000, soc=80))}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2023-12-08 04:07:12,111 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, time_charging=TimeCharging(active=True, plans={'2': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), time=['06:45', '07:00'], name='Klima 06:45-07:00 Uhr', current=6, limit=Limit(selected='none', amount=1000, soc=50)), '3': TimeChargingPlan(active=True, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, False, False, False]), time=['00:00', '23:55'], name='Immer 35%', current=10, limit=Limit(selected='soc', amount=1000, soc=35))}), chargemode=Chargemode(selected='scheduled_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={'0': ScheduledChargingPlan(active=False, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, True, False, False, False, False, False]), current=14, name='Zielladen 80%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '1': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), current=14, name='Zielladen 95%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=95), time='05:40'), '2': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once='2023-09-26', weekly=[True, False, False, True, False, True, True]), current=14, name='Zielladen 75%, 7:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=75), time='05:40')}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=80))))
2023-12-08 04:07:12,116 - {control.data:266} - {INFO:MainThread} - ev0
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=['0003134583'], get=Get(soc=0, soc_timestamp=None, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:07:12,118 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Tesla Model Y (2022)', 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=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212', '2585087748'], get=Get(soc=49.0, soc_timestamp='12/08/2023, 01:29:15', force_soc_update=False, range=220.74, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:07:12,129 - {control.data:266} - {INFO:MainThread} - ev2
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Cupra Born 58kW', 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=18000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=2, ev_template=2, name='***AUTO2***', tag_id=['1655332554'], get=Get(soc=72, soc_timestamp='12/08/2023, 02:47:32', force_soc_update=False, range=205, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:07:12,130 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40)
2023-12-08 04:07:12,131 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', 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=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40)
2023-12-08 04:07:12,136 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', 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=18000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40)
2023-12-08 04:07:12,140 - {control.data:245} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=3), pv_charging=PvCharging(bat_prio=True, charging_power_reserve=200, control_range=[-230, 230], feed_in_yield=15000, phase_switch_delay=15, phases_to_use=0, rundown_power=1000, rundown_soc=25, switch_off_delay=60, switch_off_soc=25, switch_off_threshold=50, switch_on_delay=30, switch_on_soc=50, switch_on_threshold=1400), scheduled_charging=ScheduledCharging(phases_to_use=0), time_charging=TimeCharging(phases_to_use=3), unbalanced_load_limit=20, unbalanced_load=True), control_interval=10, extern_display_mode='local', extern=False, external_buttons_hw=False, grid_protection_active=False, grid_protection_configured=True, grid_protection_random_stop=0, grid_protection_timestamp='', mqtt_bridge=False, price_kwh=0.3528, range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=True, r1_active=False, r2_active=False))
2023-12-08 04:07:12,141 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2023-12-08 04:07:12,143 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2023-12-08 04:07:12,146 - {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 0x70bef7f0>), led=Led(active=False), rfid=Rfid(active=True))
2023-12-08 04:07:12,150 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=0), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=293628.595, fault_state=0, fault_str='Kein Fehler.', power=0))
2023-12-08 04:07:12,160 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=9500), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=7816178.86, fault_state=0, fault_str='Kein Fehler.', power=-0.0))
2023-12-08 04:07:12,161 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=8109807.455, power=0.0))
2023-12-08 04:07:12,163 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2023-11-30 12:30:45 +0100 [285f5a5fb]', 'current_branch': 'Release', 'current_branch_commit': '2023-11-30 12:30:45 +0100 [285f5a5fb]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.2-Patch.1', 'datastore_version': 29, 'lastlivevaluesJson': {'timestamp': 1702004821, 'time': '04:07:01', 'grid': 0.353, 'house-power': 0.353, 'charging-all': 0.0, 'pv-all': -0.0, 'cp1-power': 0.0, 'ev1-soc': 49.0, 'ev2-soc': 72, 'bat-all-power': 0.0, 'bat-all-soc': 19}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2023-12-08 04:07:12,171 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2023-12-08 04:07:12,175 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2023-12-08 04:07:12,177 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2023-12-08 04:07:12,179 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2023-12-08 04:07:12,191 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2023-12-08 04:07:12,193 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2023-12-08 04:07:12,195 - {control.data:253} - {INFO:MainThread} - 

2023-12-08 04:07:12,197 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2023-12-08 04:07:12,201 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2023-12-08 04:07:12,205 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2023-12-08 04:07:12,212 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2023-12-08 04:07:12,216 - {control.counter:211} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: 0W
2023-12-08 04:07:12,217 - {control.counter:457} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf 0W
2023-12-08 04:07:12,220 - {control.chargepoint.chargepoint:277} - {INFO:MainThread} - LP 1: Die Ladung kann nicht gestartet werden, da die Einschaltschwelle nicht erreicht wird.
2023-12-08 04:07:12,224 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2023-12-08 04:07:12,225 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2023-12-08 04:07:12,232 - {control.process:111} - {INFO:MainThread} - LP1: set current 0 A, state NO_CHARGING_ALLOWED
2023-12-08 04:07:12,241 - {modules.common.component_context:24} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:07:12,304 - {control.counter:186} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2023-12-08 04:07:12,654 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2023-12-08 04:07:12,655 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2023-12-08 04:07:15,662 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2023-12-08 04:07:15,663 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2023-12-08 04:07:20,674 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2023-12-08 04:07:20,675 - {root:74} - {INFO:MainThread} - # ***Start*** 
2023-12-08 04:07:20,739 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x715cf340>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x7155e4a8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x715c75f8>}
2023-12-08 04:07:20,741 - {modules.common.component_context:24} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2023-12-08 04:07:20,744 - {modules.common.component_context:24} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:07:20,751 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2023-12-08 04:07:20,753 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2023-12-08 04:07:20,780 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-355, -186, -21, -148], Scale 0
2023-12-08 04:07:20,805 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 750
2023-12-08 04:07:20,807 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"cloud":{"connected":false},"input:0":{"id":0,"state":false},"mqtt":{"connected":false},"switch:0":{"id":0, "source":"loopback", "output":false, "apower":0.0, "voltage":242.8, "current":0.000, "aenergy":{"total":1505.625,"by_minute":[0.000,0.000,0.000],"minute_ts":1702004840},"temperature":{"tC":28.8, "tF":83.9}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:07","unixtime":1702004841,"uptime":1364169,"ram_size":248996,"ram_free":145268,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"beta":{"version":"1.1.0-beta2"},"stable":{"version":"1.0.8"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-70},"ws":{"connected":false}}

2023-12-08 04:07:20,809 - {modules.common.simcount._simcount:38} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1702004831.0835488, power=0, imported=0.0, exported=293628.5948715257)
2023-12-08 04:07:20,810 - {modules.common.simcount._calculate:13} - {DEBUG:device1} - time passed: 0.00270174, power1: 0, power2: 0
2023-12-08 04:07:20,811 - {modules.common.simcount._calculate:29} - {DEBUG:device1} - power did not change sign. Total energy: 0
2023-12-08 04:07:20,811 - {modules.common.simcount._simcount:47} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702004840.8098283, power=0, imported=0.0, exported=293628.5948715257)
2023-12-08 04:07:20,813 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:07:20,834 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [10, 5, 12], Scale -1
2023-12-08 04:07:20,866 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [24275, 24246, 24051, 0, 0, 0, 0], Scale -2
2023-12-08 04:07:20,893 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [5000], Scale -2
2023-12-08 04:07:20,913 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7129, 1790, 4950], Scale -2
2023-12-08 04:07:21,004 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4870433, 1797042, 2153375, 1456453, 6125875, 2531533, 1862789, 2267992], Scale 0
2023-12-08 04:07:21,005 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[1.0, 0.5, 1.2000000000000002], powers=[186.0, 21.0, 148.0], voltages=[242.75, 242.46, 240.51], power_factors=[0.7129000000000001, 0.17900000000000002, 0.495], imported=6125875.0, exported=4870433.0, power=355.0, frequency=50.0)
2023-12-08 04:07:21,010 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2023-12-08 04:07:21,037 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [0], Scale 0
2023-12-08 04:07:21,064 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7789710], Scale 0
2023-12-08 04:07:21,106 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [27, 31, 32], Scale -2
2023-12-08 04:07:21,133 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-5081], Scale -2
2023-12-08 04:07:21,134 - {modules.common.component_state:100} - {DEBUG:device0} - currents sign wrong [0.27, 0.31, 0.32]
2023-12-08 04:07:21,135 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.27, 0.31, 0.32], power=-0.0, exported=7789710.0, dc_power=50.81)
2023-12-08 04:07:21,137 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2023-12-08 04:07:21,195 - {modules.common.simcount._simcount:38} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1702004831.7440963, power=0.0, imported=143333.37604219164, exported=116864.5215890633)
2023-12-08 04:07:21,196 - {modules.common.simcount._calculate:13} - {DEBUG:device0} - time passed: 0.00262524, power1: 0, power2: 0
2023-12-08 04:07:21,196 - {modules.common.simcount._calculate:29} - {DEBUG:device0} - power did not change sign. Total energy: 0
2023-12-08 04:07:21,197 - {modules.common.simcount._simcount:47} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702004841.1949556, power=0.0, imported=143333.37604219164, exported=116864.5215890633)
2023-12-08 04:07:21,198 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=143333.37604219164, exported=116864.5215890633, power=0.0, soc=19.0)
2023-12-08 04:07:21,207 - {modules.common.component_context:24} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2023-12-08 04:07:21,211 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=143333.37604219164, exported=116864.5215890633, power=0.0, soc=19.0)
2023-12-08 04:07:21,267 - {modules.common.component_context:24} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:07:21,270 - {modules.common.component_context:24} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2023-12-08 04:07:21,272 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-0.0, exported=7816178.86, dc_power=None)
2023-12-08 04:07:21,272 - {modules.common.component_context:24} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2023-12-08 04:07:21,273 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-0.0, exported=7816178.86, dc_power=None)
2023-12-08 04:07:21,274 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:07:21,276 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:07:21,328 - {modules.common.component_context:24} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2023-12-08 04:07:21,329 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[1.0, 0.5, 1.2000000000000002], powers=[186.0, 21.0, 148.0], voltages=[242.75, 242.46, 240.51], power_factors=[0.7129000000000001, 0.17900000000000002, 0.495], imported=6125875.0, exported=4870433.0, power=355.0, frequency=50.0)
2023-12-08 04:07:21,661 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2023-12-08 04:07:21,664 - {control.bat_all:173} - {INFO:MainThread} - -50W verbleibende Speicher-Leistung
2023-12-08 04:07:21,666 - {control.counter:138} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [62.0, 62.6, 61.8]A
2023-12-08 04:07:21,667 - {control.counter:161} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 42645.0W
2023-12-08 04:07:21,670 - {control.chargepoint.chargepoint:699} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2023-12-08 04:07:21,673 - {control.chargepoint.chargepoint:682} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2023-12-08 04:07:21,674 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 586.897617s, Dauer 1.380952380952381h, Termin heute verpasst: False
2023-12-08 04:07:21,676 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 91309.877188s, Dauer 0.18012422360248448h, Termin heute verpasst: False
2023-12-08 04:07:21,677 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -9355.962692s, Dauer 4.142857142857143h, Termin heute verpasst: False
2023-12-08 04:07:21,678 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 90012.980097s, Dauer 0.5403726708074534h, Termin heute verpasst: False
2023-12-08 04:07:21,679 - {control.ev:762} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2023-12-08 04:07:21,684 - {control.chargepoint.chargepoint:898} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.PV_CHARGING, Phasen: 1, Priorität: False, max. Ist-Strom: 0.1
2023-12-08 04:07:21,690 - {control.chargepoint.chargepoint:277} - {INFO:MainThread} - LP 1: Kein Sofortladen, da noch Zeit bis zum Zieltermin ist. Falls vorhanden, wird mit EVU-Überschuss geladen.
2023-12-08 04:07:21,696 - {modules.common.simcount._simcount:38} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1702004832.045336, power=351.0, imported=2374344.5934024584, exported=0)
2023-12-08 04:07:21,698 - {modules.common.simcount._calculate:13} - {DEBUG:MainThread} - time passed: 0.002681, power1: 351, power2: 355
2023-12-08 04:07:21,699 - {modules.common.simcount._calculate:29} - {DEBUG:MainThread} - power did not change sign. Total energy: 0.946394
2023-12-08 04:07:21,706 - {modules.common.simcount._simcount:47} - {DEBUG:MainThread} - imported: 0.946394 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702004841.6969442, power=355.0, imported=2374345.5397962653, exported=0)
2023-12-08 04:07:21,708 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=19, daily_exported=0.0, daily_imported=0.0, imported=143333.38, exported=116864.52, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2023-12-08 04:07:21,711 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=19, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=143333.38, exported=116864.52, power=0.0), set=Set(charging_power_left=-50, switch_on_soc_reached=False))
2023-12-08 04:07:21,712 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=97.16, daily_exported=0, power=0, imported=6926459.96, exported=0))
2023-12-08 04:07:21,713 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 95%, 06:00 Uhr', imported_at_plan_start=6926377.93, imported_instant_charging=None, limit=None, phases=1, prio=False, required_current=6, required_currents=[0.0, 6, 0.0], state=0, submode=<Chargemode.PV_CHARGING: 'pv_charging'>, 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=72), currents=[0.1, 0.0, 0.0], daily_imported=97.16, daily_exported=0, evse_current=0, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=6926459.96, phases_in_use=1, plug_state=True, power=0, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Kein Sofortladen, da noch Zeit bis zum Zieltermin ist. Falls vorhanden, wird mit EVU-Überschuss geladen.', voltages=[242.82, 240.97, 243.11]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=0, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='_', imported_at_mode_switch=6926377.93, imported_at_plugtime=6926377.93, imported_since_mode_switch=0, imported_since_plugged=82.03000000026077, range_charged=0, time_charged='00:00', timestamp_start_charging=None), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time='12/07/2023, 13:07:31', required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x70bf00b8>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB Carport', type='internal_openwb', template=1, connected_phases=3, phase_1=2, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=1))
2023-12-08 04:07:21,718 - {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-12-08 04:07:21,719 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=1, max_current_multi_phases=16, max_current_single_phase=20, name='RFID, 20A, 11kW', rfid_enabling=True, valid_tags=['0003134583', '0003526747', '1655332554', '2585022212', '2585087748'])
2023-12-08 04:07:21,723 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[63, 63, 63], max_total_power=43000), get=Get(powers=[186.0, 21.0, 148.0], currents=[1.0, 0.5, 1.2], voltages=[242.75, 242.46, 240.51], power_factors=[0.71, 0.18, 0.49], unbalanced_load=0, frequency=50.0, daily_exported=0.0, daily_imported=4100.0, imported=6125875.0, exported=4870433.0, fault_state=0, fault_str='Kein Fehler.', power=355.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=42645.0, raw_currents_left=[62.0, 62.6, 61.8], surplus_power_left=0, state_str=''))
2023-12-08 04:07:21,725 - {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': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=355.0, invalid_home_consumption=0, daily_yield_home_consumption=5516.1283940876, imported_home_consumption=2374345.5397962653, disengageable_smarthome_power=0))
2023-12-08 04:07:21,727 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2023-12-08 04:07:21,728 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Ladeprofil ***AUTO1***', disable_after_unplug=False, prio=False, load_default=True, time_charging=TimeCharging(active=True, plans={'0': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[True, True, True, True, False, False, True]), time=['22:00', '06:00'], name='Zeitladen 95%, So-Do 22:00-06:00 Uhr', current=16, limit=Limit(selected='soc', amount=1000, soc=95)), '1': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, True, True, False]), time=['22:00', '06:00'], name='Zeitladen 80%, Fr-Sa 22:00-06:00 Uhr', current=16, limit=Limit(selected='soc', amount=1000, soc=80))}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2023-12-08 04:07:21,730 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, time_charging=TimeCharging(active=True, plans={'2': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), time=['06:45', '07:00'], name='Klima 06:45-07:00 Uhr', current=6, limit=Limit(selected='none', amount=1000, soc=50)), '3': TimeChargingPlan(active=True, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, False, False, False]), time=['00:00', '23:55'], name='Immer 35%', current=10, limit=Limit(selected='soc', amount=1000, soc=35))}), chargemode=Chargemode(selected='scheduled_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={'0': ScheduledChargingPlan(active=False, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, True, False, False, False, False, False]), current=14, name='Zielladen 80%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '1': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), current=14, name='Zielladen 95%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=95), time='05:40'), '2': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once='2023-09-26', weekly=[True, False, False, True, False, True, True]), current=14, name='Zielladen 75%, 7:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=75), time='05:40')}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=80))))
2023-12-08 04:07:21,732 - {control.data:266} - {INFO:MainThread} - ev0
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=['0003134583'], get=Get(soc=0, soc_timestamp=None, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:07:21,732 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Tesla Model Y (2022)', 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=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212', '2585087748'], get=Get(soc=49.0, soc_timestamp='12/08/2023, 01:29:15', force_soc_update=False, range=220.74, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:07:21,734 - {control.data:266} - {INFO:MainThread} - ev2
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Cupra Born 58kW', 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=18000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=2, ev_template=2, name='***AUTO2***', tag_id=['1655332554'], get=Get(soc=72, soc_timestamp='12/08/2023, 02:47:32', force_soc_update=False, range=205, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:07:21,736 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40)
2023-12-08 04:07:21,737 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', 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=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40)
2023-12-08 04:07:21,742 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', 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=18000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40)
2023-12-08 04:07:21,744 - {control.data:245} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=3), pv_charging=PvCharging(bat_prio=True, charging_power_reserve=200, control_range=[-230, 230], feed_in_yield=15000, phase_switch_delay=15, phases_to_use=0, rundown_power=1000, rundown_soc=25, switch_off_delay=60, switch_off_soc=25, switch_off_threshold=50, switch_on_delay=30, switch_on_soc=50, switch_on_threshold=1400), scheduled_charging=ScheduledCharging(phases_to_use=0), time_charging=TimeCharging(phases_to_use=3), unbalanced_load_limit=20, unbalanced_load=True), control_interval=10, extern_display_mode='local', extern=False, external_buttons_hw=False, grid_protection_active=False, grid_protection_configured=True, grid_protection_random_stop=0, grid_protection_timestamp='', mqtt_bridge=False, price_kwh=0.3528, range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=True, r1_active=False, r2_active=False))
2023-12-08 04:07:21,746 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2023-12-08 04:07:21,747 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2023-12-08 04:07:21,748 - {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 0x71594b50>), led=Led(active=False), rfid=Rfid(active=True))
2023-12-08 04:07:21,749 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=0), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=293628.595, fault_state=0, fault_str='Kein Fehler.', power=0))
2023-12-08 04:07:21,750 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=9500), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=7816178.86, fault_state=0, fault_str='Kein Fehler.', power=-0.0))
2023-12-08 04:07:21,758 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=8109807.455, power=0.0))
2023-12-08 04:07:21,759 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2023-11-30 12:30:45 +0100 [285f5a5fb]', 'current_branch': 'Release', 'current_branch_commit': '2023-11-30 12:30:45 +0100 [285f5a5fb]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.2-Patch.1', 'datastore_version': 29, 'lastlivevaluesJson': {'timestamp': 1702004832, 'time': '04:07:12', 'grid': 0.351, 'house-power': 0.351, 'charging-all': 0.0, 'pv-all': -0.0, 'cp1-power': 0.0, 'ev1-soc': 49.0, 'ev2-soc': 72, 'bat-all-power': 0.0, 'bat-all-soc': 19}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2023-12-08 04:07:21,760 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2023-12-08 04:07:21,767 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2023-12-08 04:07:21,770 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2023-12-08 04:07:21,772 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2023-12-08 04:07:21,777 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2023-12-08 04:07:21,778 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2023-12-08 04:07:21,780 - {control.data:253} - {INFO:MainThread} - 

2023-12-08 04:07:21,780 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2023-12-08 04:07:21,782 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2023-12-08 04:07:21,784 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2023-12-08 04:07:21,790 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2023-12-08 04:07:21,793 - {control.counter:211} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: 0W
2023-12-08 04:07:21,793 - {control.counter:457} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf 0W
2023-12-08 04:07:21,795 - {control.chargepoint.chargepoint:277} - {INFO:MainThread} - LP 1: Die Ladung kann nicht gestartet werden, da die Einschaltschwelle nicht erreicht wird.
2023-12-08 04:07:21,796 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2023-12-08 04:07:21,797 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2023-12-08 04:07:21,800 - {control.process:111} - {INFO:MainThread} - LP1: set current 0 A, state NO_CHARGING_ALLOWED
2023-12-08 04:07:21,803 - {modules.common.component_context:24} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:07:21,822 - {control.counter:186} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2023-12-08 04:07:22,022 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2023-12-08 04:07:25,039 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2023-12-08 04:07:25,041 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2023-12-08 04:07:30,053 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2023-12-08 04:07:30,054 - {root:74} - {INFO:MainThread} - # ***Start*** 
2023-12-08 04:07:30,101 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x715cf340>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x7155e4a8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x715c75f8>}
2023-12-08 04:07:30,104 - {modules.common.component_context:24} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2023-12-08 04:07:30,111 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2023-12-08 04:07:30,113 - {modules.common.component_context:24} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:07:30,116 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2023-12-08 04:07:30,142 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-350, -185, -20, -144], Scale 0
2023-12-08 04:07:30,153 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 750
2023-12-08 04:07:30,155 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"cloud":{"connected":false},"input:0":{"id":0,"state":false},"mqtt":{"connected":false},"switch:0":{"id":0, "source":"loopback", "output":false, "apower":0.0, "voltage":242.6, "current":0.000, "aenergy":{"total":1505.625,"by_minute":[0.000,0.000,0.000],"minute_ts":1702004849},"temperature":{"tC":28.8, "tF":83.9}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:07","unixtime":1702004851,"uptime":1364178,"ram_size":248996,"ram_free":145268,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"beta":{"version":"1.1.0-beta2"},"stable":{"version":"1.0.8"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-68},"ws":{"connected":false}}

2023-12-08 04:07:30,157 - {modules.common.simcount._simcount:38} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1702004840.8098283, power=0, imported=0.0, exported=293628.5948715257)
2023-12-08 04:07:30,158 - {modules.common.simcount._calculate:13} - {DEBUG:device1} - time passed: 0.0025966, power1: 0, power2: 0
2023-12-08 04:07:30,159 - {modules.common.simcount._calculate:29} - {DEBUG:device1} - power did not change sign. Total energy: 0
2023-12-08 04:07:30,159 - {modules.common.simcount._simcount:47} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702004850.1575894, power=0, imported=0.0, exported=293628.5948715257)
2023-12-08 04:07:30,160 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:07:30,232 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [10, 5, 12], Scale -1
2023-12-08 04:07:30,252 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [24266, 24234, 24053, 0, 0, 0, 0], Scale -2
2023-12-08 04:07:30,271 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [5000], Scale -2
2023-12-08 04:07:30,363 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7099, 1759, 5009], Scale -2
2023-12-08 04:07:30,406 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4870433, 1797042, 2153375, 1456453, 6125876, 2531533, 1862789, 2267992], Scale 0
2023-12-08 04:07:30,407 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[1.0, 0.5, 1.2000000000000002], powers=[185.0, 20.0, 144.0], voltages=[242.66, 242.34, 240.53], power_factors=[0.7099, 0.1759, 0.5009], imported=6125876.0, exported=4870433.0, power=350.0, frequency=50.0)
2023-12-08 04:07:30,411 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2023-12-08 04:07:30,432 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [0], Scale 0
2023-12-08 04:07:30,452 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7789710], Scale 0
2023-12-08 04:07:30,472 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [28, 32, 32], Scale -2
2023-12-08 04:07:30,494 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4986], Scale -2
2023-12-08 04:07:30,495 - {modules.common.component_state:100} - {DEBUG:device0} - currents sign wrong [0.28, 0.32, 0.32]
2023-12-08 04:07:30,495 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.28, 0.32, 0.32], power=-0.0, exported=7789710.0, dc_power=49.86)
2023-12-08 04:07:30,501 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2023-12-08 04:07:30,616 - {modules.common.simcount._simcount:38} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1702004841.1949556, power=0.0, imported=143333.37604219164, exported=116864.5215890633)
2023-12-08 04:07:30,617 - {modules.common.simcount._calculate:13} - {DEBUG:device0} - time passed: 0.00261705, power1: 0, power2: 0
2023-12-08 04:07:30,618 - {modules.common.simcount._calculate:29} - {DEBUG:device0} - power did not change sign. Total energy: 0
2023-12-08 04:07:30,618 - {modules.common.simcount._simcount:47} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702004850.6163192, power=0.0, imported=143333.37604219164, exported=116864.5215890633)
2023-12-08 04:07:30,622 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=143333.37604219164, exported=116864.5215890633, power=0.0, soc=19.0)
2023-12-08 04:07:30,630 - {modules.common.component_context:24} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2023-12-08 04:07:30,632 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=143333.37604219164, exported=116864.5215890633, power=0.0, soc=19.0)
2023-12-08 04:07:30,755 - {modules.common.component_context:24} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:07:30,758 - {modules.common.component_context:24} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2023-12-08 04:07:30,759 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-0.0, exported=7816178.86, dc_power=None)
2023-12-08 04:07:30,761 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-0.0, exported=7816178.86, dc_power=None)
2023-12-08 04:07:30,764 - {modules.common.component_context:24} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2023-12-08 04:07:30,765 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:07:30,768 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:07:30,831 - {modules.common.component_context:24} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2023-12-08 04:07:30,832 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[1.0, 0.5, 1.2000000000000002], powers=[185.0, 20.0, 144.0], voltages=[242.66, 242.34, 240.53], power_factors=[0.7099, 0.1759, 0.5009], imported=6125876.0, exported=4870433.0, power=350.0, frequency=50.0)
2023-12-08 04:07:31,002 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2023-12-08 04:07:31,005 - {control.bat_all:173} - {INFO:MainThread} - -50W verbleibende Speicher-Leistung
2023-12-08 04:07:31,008 - {control.counter:138} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [62.0, 62.6, 61.8]A
2023-12-08 04:07:31,009 - {control.counter:161} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 42650.0W
2023-12-08 04:07:31,011 - {control.chargepoint.chargepoint:699} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2023-12-08 04:07:31,012 - {control.chargepoint.chargepoint:682} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2023-12-08 04:07:31,014 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 577.557503s, Dauer 1.380952380952381h, Termin heute verpasst: False
2023-12-08 04:07:31,015 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 91300.537426s, Dauer 0.18012422360248448h, Termin heute verpasst: False
2023-12-08 04:07:31,017 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -9365.303121s, Dauer 4.142857142857143h, Termin heute verpasst: False
2023-12-08 04:07:31,019 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 90003.639457s, Dauer 0.5403726708074534h, Termin heute verpasst: False
2023-12-08 04:07:31,020 - {control.ev:762} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2023-12-08 04:07:31,023 - {control.chargepoint.chargepoint:898} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.PV_CHARGING, Phasen: 1, Priorität: False, max. Ist-Strom: 0.1
2023-12-08 04:07:31,026 - {control.chargepoint.chargepoint:277} - {INFO:MainThread} - LP 1: Kein Sofortladen, da noch Zeit bis zum Zieltermin ist. Falls vorhanden, wird mit EVU-Überschuss geladen.
2023-12-08 04:07:31,058 - {modules.common.simcount._simcount:38} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1702004841.6969442, power=355.0, imported=2374345.5397962653, exported=0)
2023-12-08 04:07:31,061 - {modules.common.simcount._calculate:13} - {DEBUG:MainThread} - time passed: 0.00260042, power1: 355, power2: 350
2023-12-08 04:07:31,062 - {modules.common.simcount._calculate:29} - {DEBUG:MainThread} - power did not change sign. Total energy: 0.916649
2023-12-08 04:07:31,063 - {modules.common.simcount._simcount:47} - {DEBUG:MainThread} - imported: 0.916649 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702004851.0584648, power=350.0, imported=2374346.4564451505, exported=0)
2023-12-08 04:07:31,066 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=19, daily_exported=0.0, daily_imported=0.0, imported=143333.38, exported=116864.52, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2023-12-08 04:07:31,067 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=19, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=143333.38, exported=116864.52, power=0.0), set=Set(charging_power_left=-50, switch_on_soc_reached=False))
2023-12-08 04:07:31,067 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=97.16, daily_exported=0, power=0, imported=6926459.96, exported=0))
2023-12-08 04:07:31,069 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 95%, 06:00 Uhr', imported_at_plan_start=6926377.93, imported_instant_charging=None, limit=None, phases=1, prio=False, required_current=6, required_currents=[0.0, 6, 0.0], state=0, submode=<Chargemode.PV_CHARGING: 'pv_charging'>, 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=72), currents=[0.1, 0.0, 0.0], daily_imported=97.16, daily_exported=0, evse_current=0, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=6926459.96, phases_in_use=1, plug_state=True, power=0, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Kein Sofortladen, da noch Zeit bis zum Zieltermin ist. Falls vorhanden, wird mit EVU-Überschuss geladen.', voltages=[242.71, 240.86, 243.01]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=0, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='_', imported_at_mode_switch=6926377.93, imported_at_plugtime=6926377.93, imported_since_mode_switch=0, imported_since_plugged=82.03000000026077, range_charged=0, time_charged='00:00', timestamp_start_charging=None), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time='12/07/2023, 13:07:31', required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x70b92cd0>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB Carport', type='internal_openwb', template=1, connected_phases=3, phase_1=2, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=1))
2023-12-08 04:07:31,071 - {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-12-08 04:07:31,072 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=1, max_current_multi_phases=16, max_current_single_phase=20, name='RFID, 20A, 11kW', rfid_enabling=True, valid_tags=['0003134583', '0003526747', '1655332554', '2585022212', '2585087748'])
2023-12-08 04:07:31,073 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[63, 63, 63], max_total_power=43000), get=Get(powers=[185.0, 20.0, 144.0], currents=[1.0, 0.5, 1.2], voltages=[242.66, 242.34, 240.53], power_factors=[0.71, 0.18, 0.5], unbalanced_load=0, frequency=50.0, daily_exported=0.0, daily_imported=4100.0, imported=6125876.0, exported=4870433.0, fault_state=0, fault_str='Kein Fehler.', power=350.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=42650.0, raw_currents_left=[62.0, 62.6, 61.8], surplus_power_left=0, state_str=''))
2023-12-08 04:07:31,074 - {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': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=350.0, invalid_home_consumption=0, daily_yield_home_consumption=5516.1283940876, imported_home_consumption=2374346.4564451505, disengageable_smarthome_power=0))
2023-12-08 04:07:31,075 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2023-12-08 04:07:31,077 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Ladeprofil ***AUTO1***', disable_after_unplug=False, prio=False, load_default=True, time_charging=TimeCharging(active=True, plans={'0': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[True, True, True, True, False, False, True]), time=['22:00', '06:00'], name='Zeitladen 95%, So-Do 22:00-06:00 Uhr', current=16, limit=Limit(selected='soc', amount=1000, soc=95)), '1': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, True, True, False]), time=['22:00', '06:00'], name='Zeitladen 80%, Fr-Sa 22:00-06:00 Uhr', current=16, limit=Limit(selected='soc', amount=1000, soc=80))}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2023-12-08 04:07:31,078 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, time_charging=TimeCharging(active=True, plans={'2': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), time=['06:45', '07:00'], name='Klima 06:45-07:00 Uhr', current=6, limit=Limit(selected='none', amount=1000, soc=50)), '3': TimeChargingPlan(active=True, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, False, False, False]), time=['00:00', '23:55'], name='Immer 35%', current=10, limit=Limit(selected='soc', amount=1000, soc=35))}), chargemode=Chargemode(selected='scheduled_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={'0': ScheduledChargingPlan(active=False, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, True, False, False, False, False, False]), current=14, name='Zielladen 80%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '1': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), current=14, name='Zielladen 95%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=95), time='05:40'), '2': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once='2023-09-26', weekly=[True, False, False, True, False, True, True]), current=14, name='Zielladen 75%, 7:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=75), time='05:40')}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=80))))
2023-12-08 04:07:31,080 - {control.data:266} - {INFO:MainThread} - ev0
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=['0003134583'], get=Get(soc=0, soc_timestamp=None, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:07:31,081 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Tesla Model Y (2022)', 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=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212', '2585087748'], get=Get(soc=49.0, soc_timestamp='12/08/2023, 01:29:15', force_soc_update=False, range=220.74, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:07:31,082 - {control.data:266} - {INFO:MainThread} - ev2
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Cupra Born 58kW', 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=18000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=2, ev_template=2, name='***AUTO2***', tag_id=['1655332554'], get=Get(soc=72, soc_timestamp='12/08/2023, 02:47:32', force_soc_update=False, range=205, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:07:31,084 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40)
2023-12-08 04:07:31,084 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', 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=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40)
2023-12-08 04:07:31,085 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', 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=18000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40)
2023-12-08 04:07:31,086 - {control.data:245} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=3), pv_charging=PvCharging(bat_prio=True, charging_power_reserve=200, control_range=[-230, 230], feed_in_yield=15000, phase_switch_delay=15, phases_to_use=0, rundown_power=1000, rundown_soc=25, switch_off_delay=60, switch_off_soc=25, switch_off_threshold=50, switch_on_delay=30, switch_on_soc=50, switch_on_threshold=1400), scheduled_charging=ScheduledCharging(phases_to_use=0), time_charging=TimeCharging(phases_to_use=3), unbalanced_load_limit=20, unbalanced_load=True), control_interval=10, extern_display_mode='local', extern=False, external_buttons_hw=False, grid_protection_active=False, grid_protection_configured=True, grid_protection_random_stop=0, grid_protection_timestamp='', mqtt_bridge=False, price_kwh=0.3528, range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=True, r1_active=False, r2_active=False))
2023-12-08 04:07:31,087 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2023-12-08 04:07:31,089 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2023-12-08 04:07:31,091 - {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 0x70ba73b8>), led=Led(active=False), rfid=Rfid(active=True))
2023-12-08 04:07:31,092 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=0), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=293628.595, fault_state=0, fault_str='Kein Fehler.', power=0))
2023-12-08 04:07:31,093 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=9500), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=7816178.86, fault_state=0, fault_str='Kein Fehler.', power=-0.0))
2023-12-08 04:07:31,095 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=8109807.455, power=0.0))
2023-12-08 04:07:31,097 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2023-11-30 12:30:45 +0100 [285f5a5fb]', 'current_branch': 'Release', 'current_branch_commit': '2023-11-30 12:30:45 +0100 [285f5a5fb]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.2-Patch.1', 'datastore_version': 29, 'lastlivevaluesJson': {'timestamp': 1702004841, 'time': '04:07:21', 'grid': 0.355, 'house-power': 0.355, 'charging-all': 0.0, 'pv-all': -0.0, 'cp1-power': 0.0, 'ev1-soc': 49.0, 'ev2-soc': 72, 'bat-all-power': 0.0, 'bat-all-soc': 19}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2023-12-08 04:07:31,098 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2023-12-08 04:07:31,099 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2023-12-08 04:07:31,101 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2023-12-08 04:07:31,102 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2023-12-08 04:07:31,103 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2023-12-08 04:07:31,104 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2023-12-08 04:07:31,104 - {control.data:253} - {INFO:MainThread} - 

2023-12-08 04:07:31,106 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2023-12-08 04:07:31,107 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2023-12-08 04:07:31,110 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2023-12-08 04:07:31,113 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2023-12-08 04:07:31,115 - {control.counter:211} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: 0W
2023-12-08 04:07:31,116 - {control.counter:457} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf 0W
2023-12-08 04:07:31,117 - {control.chargepoint.chargepoint:277} - {INFO:MainThread} - LP 1: Die Ladung kann nicht gestartet werden, da die Einschaltschwelle nicht erreicht wird.
2023-12-08 04:07:31,118 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2023-12-08 04:07:31,119 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2023-12-08 04:07:31,122 - {control.process:111} - {INFO:MainThread} - LP1: set current 0 A, state NO_CHARGING_ALLOWED
2023-12-08 04:07:31,124 - {modules.common.component_context:24} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:07:31,158 - {control.counter:186} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2023-12-08 04:07:31,415 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2023-12-08 04:07:31,417 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2023-12-08 04:07:35,427 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2023-12-08 04:07:35,428 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2023-12-08 04:07:40,438 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2023-12-08 04:07:40,438 - {root:74} - {INFO:MainThread} - # ***Start*** 
2023-12-08 04:07:40,477 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x715cf340>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x7155e4a8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x715c75f8>}
2023-12-08 04:07:40,478 - {modules.common.component_context:24} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2023-12-08 04:07:40,479 - {modules.common.component_context:24} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:07:40,484 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2023-12-08 04:07:40,487 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2023-12-08 04:07:40,530 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 750
2023-12-08 04:07:40,533 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"cloud":{"connected":false},"input:0":{"id":0,"state":false},"mqtt":{"connected":false},"switch:0":{"id":0, "source":"loopback", "output":false, "apower":0.0, "voltage":242.8, "current":0.000, "aenergy":{"total":1505.625,"by_minute":[0.000,0.000,0.000],"minute_ts":1702004860},"temperature":{"tC":28.9, "tF":84.0}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:07","unixtime":1702004861,"uptime":1364188,"ram_size":248996,"ram_free":145268,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"beta":{"version":"1.1.0-beta2"},"stable":{"version":"1.0.8"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-69},"ws":{"connected":false}}

2023-12-08 04:07:40,535 - {modules.common.simcount._simcount:38} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1702004850.1575894, power=0, imported=0.0, exported=293628.5948715257)
2023-12-08 04:07:40,536 - {modules.common.simcount._calculate:13} - {DEBUG:device1} - time passed: 0.00288283, power1: 0, power2: 0
2023-12-08 04:07:40,537 - {modules.common.simcount._calculate:29} - {DEBUG:device1} - power did not change sign. Total energy: 0
2023-12-08 04:07:40,538 - {modules.common.simcount._simcount:47} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702004860.5357814, power=0, imported=0.0, exported=293628.5948715257)
2023-12-08 04:07:40,539 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:07:40,554 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-390, -207, -20, -162], Scale 0
2023-12-08 04:07:40,582 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [10, 5, 12], Scale -1
2023-12-08 04:07:40,706 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [24265, 24225, 24043, 0, 0, 0, 0], Scale -2
2023-12-08 04:07:40,733 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [5000], Scale -2
2023-12-08 04:07:40,755 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7139, 1749, 4950], Scale -2
2023-12-08 04:07:40,785 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4870433, 1797042, 2153375, 1456453, 6125877, 2531534, 1862789, 2267992], Scale 0
2023-12-08 04:07:40,786 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[1.0, 0.5, 1.2000000000000002], powers=[207.0, 20.0, 162.0], voltages=[242.65, 242.25, 240.43], power_factors=[0.7139, 0.17490000000000003, 0.495], imported=6125877.0, exported=4870433.0, power=390.0, frequency=50.0)
2023-12-08 04:07:40,789 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2023-12-08 04:07:40,813 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [0], Scale 0
2023-12-08 04:07:40,833 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7789710], Scale 0
2023-12-08 04:07:40,864 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [27, 31, 31], Scale -2
2023-12-08 04:07:40,895 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4421], Scale -2
2023-12-08 04:07:40,896 - {modules.common.component_state:100} - {DEBUG:device0} - currents sign wrong [0.27, 0.31, 0.31]
2023-12-08 04:07:40,896 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.27, 0.31, 0.31], power=-0.0, exported=7789710.0, dc_power=44.21)
2023-12-08 04:07:40,898 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2023-12-08 04:07:40,964 - {modules.common.simcount._simcount:38} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1702004850.6163192, power=0.0, imported=143333.37604219164, exported=116864.5215890633)
2023-12-08 04:07:40,965 - {modules.common.simcount._calculate:13} - {DEBUG:device0} - time passed: 0.00287433, power1: 0, power2: 0
2023-12-08 04:07:40,965 - {modules.common.simcount._calculate:29} - {DEBUG:device0} - power did not change sign. Total energy: 0
2023-12-08 04:07:40,966 - {modules.common.simcount._simcount:47} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702004860.9638927, power=0.0, imported=143333.37604219164, exported=116864.5215890633)
2023-12-08 04:07:40,967 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=143333.37604219164, exported=116864.5215890633, power=0.0, soc=19.0)
2023-12-08 04:07:40,975 - {modules.common.component_context:24} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2023-12-08 04:07:40,978 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=143333.37604219164, exported=116864.5215890633, power=0.0, soc=19.0)
2023-12-08 04:07:41,066 - {modules.common.component_context:24} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:07:41,067 - {modules.common.component_context:24} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2023-12-08 04:07:41,068 - {modules.common.component_context:24} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2023-12-08 04:07:41,071 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-0.0, exported=7816178.86, dc_power=None)
2023-12-08 04:07:41,072 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:07:41,073 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-0.0, exported=7816178.86, dc_power=None)
2023-12-08 04:07:41,073 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:07:41,126 - {modules.common.component_context:24} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2023-12-08 04:07:41,127 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[1.0, 0.5, 1.2000000000000002], powers=[207.0, 20.0, 162.0], voltages=[242.65, 242.25, 240.43], power_factors=[0.7139, 0.17490000000000003, 0.495], imported=6125877.0, exported=4870433.0, power=390.0, frequency=50.0)
2023-12-08 04:07:41,321 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2023-12-08 04:07:41,323 - {control.bat_all:173} - {INFO:MainThread} - -50W verbleibende Speicher-Leistung
2023-12-08 04:07:41,325 - {control.counter:138} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [62.0, 62.6, 61.8]A
2023-12-08 04:07:41,326 - {control.counter:161} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 42610.0W
2023-12-08 04:07:41,330 - {control.chargepoint.chargepoint:699} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2023-12-08 04:07:41,332 - {control.chargepoint.chargepoint:682} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2023-12-08 04:07:41,335 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 567.236737s, Dauer 1.380952380952381h, Termin heute verpasst: False
2023-12-08 04:07:41,343 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 91290.209854s, Dauer 0.18012422360248448h, Termin heute verpasst: False
2023-12-08 04:07:41,349 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -9375.634569s, Dauer 4.142857142857143h, Termin heute verpasst: False
2023-12-08 04:07:41,351 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 89993.307181s, Dauer 0.5403726708074534h, Termin heute verpasst: False
2023-12-08 04:07:41,353 - {control.ev:762} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2023-12-08 04:07:41,356 - {control.chargepoint.chargepoint:898} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.PV_CHARGING, Phasen: 1, Priorität: False, max. Ist-Strom: 0.1
2023-12-08 04:07:41,357 - {control.chargepoint.chargepoint:277} - {INFO:MainThread} - LP 1: Kein Sofortladen, da noch Zeit bis zum Zieltermin ist. Falls vorhanden, wird mit EVU-Überschuss geladen.
2023-12-08 04:07:41,363 - {modules.common.simcount._simcount:38} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1702004851.0584648, power=350.0, imported=2374346.4564451505, exported=0)
2023-12-08 04:07:41,364 - {modules.common.simcount._calculate:13} - {DEBUG:MainThread} - time passed: 0.00286241, power1: 350, power2: 390
2023-12-08 04:07:41,366 - {modules.common.simcount._calculate:29} - {DEBUG:MainThread} - power did not change sign. Total energy: 1.05909
2023-12-08 04:07:41,368 - {modules.common.simcount._simcount:47} - {DEBUG:MainThread} - imported: 1.05909 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702004861.3631513, power=390.0, imported=2374347.5155379344, exported=0)
2023-12-08 04:07:41,370 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=19, daily_exported=0.0, daily_imported=0.0, imported=143333.38, exported=116864.52, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2023-12-08 04:07:41,375 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=19, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=143333.38, exported=116864.52, power=0.0), set=Set(charging_power_left=-50, switch_on_soc_reached=False))
2023-12-08 04:07:41,378 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=97.16, daily_exported=0, power=0, imported=6926459.96, exported=0))
2023-12-08 04:07:41,380 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 95%, 06:00 Uhr', imported_at_plan_start=6926377.93, imported_instant_charging=None, limit=None, phases=1, prio=False, required_current=6, required_currents=[0.0, 6, 0.0], state=0, submode=<Chargemode.PV_CHARGING: 'pv_charging'>, 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=72), currents=[0.1, 0.0, 0.0], daily_imported=97.16, daily_exported=0, evse_current=0, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=6926459.96, phases_in_use=1, plug_state=True, power=0, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Kein Sofortladen, da noch Zeit bis zum Zieltermin ist. Falls vorhanden, wird mit EVU-Überschuss geladen.', voltages=[242.88, 240.97, 243.22]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=0, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='_', imported_at_mode_switch=6926377.93, imported_at_plugtime=6926377.93, imported_since_mode_switch=0, imported_since_plugged=82.03000000026077, range_charged=0, time_charged='00:00', timestamp_start_charging=None), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time='12/07/2023, 13:07:31', required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x7158a1a8>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB Carport', type='internal_openwb', template=1, connected_phases=3, phase_1=2, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=1))
2023-12-08 04:07:41,381 - {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-12-08 04:07:41,382 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=1, max_current_multi_phases=16, max_current_single_phase=20, name='RFID, 20A, 11kW', rfid_enabling=True, valid_tags=['0003134583', '0003526747', '1655332554', '2585022212', '2585087748'])
2023-12-08 04:07:41,386 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[63, 63, 63], max_total_power=43000), get=Get(powers=[207.0, 20.0, 162.0], currents=[1.0, 0.5, 1.2], voltages=[242.65, 242.25, 240.43], power_factors=[0.71, 0.17, 0.49], unbalanced_load=0, frequency=50.0, daily_exported=0.0, daily_imported=4100.0, imported=6125877.0, exported=4870433.0, fault_state=0, fault_str='Kein Fehler.', power=390.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=42610.0, raw_currents_left=[62.0, 62.6, 61.8], surplus_power_left=0, state_str=''))
2023-12-08 04:07:41,387 - {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': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=390.0, invalid_home_consumption=0, daily_yield_home_consumption=5516.1283940876, imported_home_consumption=2374347.5155379344, disengageable_smarthome_power=0))
2023-12-08 04:07:41,389 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2023-12-08 04:07:41,390 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Ladeprofil ***AUTO1***', disable_after_unplug=False, prio=False, load_default=True, time_charging=TimeCharging(active=True, plans={'0': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[True, True, True, True, False, False, True]), time=['22:00', '06:00'], name='Zeitladen 95%, So-Do 22:00-06:00 Uhr', current=16, limit=Limit(selected='soc', amount=1000, soc=95)), '1': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, True, True, False]), time=['22:00', '06:00'], name='Zeitladen 80%, Fr-Sa 22:00-06:00 Uhr', current=16, limit=Limit(selected='soc', amount=1000, soc=80))}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2023-12-08 04:07:41,394 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, time_charging=TimeCharging(active=True, plans={'2': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), time=['06:45', '07:00'], name='Klima 06:45-07:00 Uhr', current=6, limit=Limit(selected='none', amount=1000, soc=50)), '3': TimeChargingPlan(active=True, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, False, False, False]), time=['00:00', '23:55'], name='Immer 35%', current=10, limit=Limit(selected='soc', amount=1000, soc=35))}), chargemode=Chargemode(selected='scheduled_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={'0': ScheduledChargingPlan(active=False, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, True, False, False, False, False, False]), current=14, name='Zielladen 80%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '1': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), current=14, name='Zielladen 95%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=95), time='05:40'), '2': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once='2023-09-26', weekly=[True, False, False, True, False, True, True]), current=14, name='Zielladen 75%, 7:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=75), time='05:40')}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=80))))
2023-12-08 04:07:41,395 - {control.data:266} - {INFO:MainThread} - ev0
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=['0003134583'], get=Get(soc=0, soc_timestamp=None, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:07:41,398 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Tesla Model Y (2022)', 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=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212', '2585087748'], get=Get(soc=49.0, soc_timestamp='12/08/2023, 01:29:15', force_soc_update=False, range=220.74, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:07:41,399 - {control.data:266} - {INFO:MainThread} - ev2
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Cupra Born 58kW', 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=18000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=2, ev_template=2, name='***AUTO2***', tag_id=['1655332554'], get=Get(soc=72, soc_timestamp='12/08/2023, 02:47:32', force_soc_update=False, range=205, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:07:41,400 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40)
2023-12-08 04:07:41,402 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', 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=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40)
2023-12-08 04:07:41,404 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', 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=18000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40)
2023-12-08 04:07:41,406 - {control.data:245} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=3), pv_charging=PvCharging(bat_prio=True, charging_power_reserve=200, control_range=[-230, 230], feed_in_yield=15000, phase_switch_delay=15, phases_to_use=0, rundown_power=1000, rundown_soc=25, switch_off_delay=60, switch_off_soc=25, switch_off_threshold=50, switch_on_delay=30, switch_on_soc=50, switch_on_threshold=1400), scheduled_charging=ScheduledCharging(phases_to_use=0), time_charging=TimeCharging(phases_to_use=3), unbalanced_load_limit=20, unbalanced_load=True), control_interval=10, extern_display_mode='local', extern=False, external_buttons_hw=False, grid_protection_active=False, grid_protection_configured=True, grid_protection_random_stop=0, grid_protection_timestamp='', mqtt_bridge=False, price_kwh=0.3528, range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=True, r1_active=False, r2_active=False))
2023-12-08 04:07:41,406 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2023-12-08 04:07:41,407 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2023-12-08 04:07:41,408 - {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 0x70ba7970>), led=Led(active=False), rfid=Rfid(active=True))
2023-12-08 04:07:41,408 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=0), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=293628.595, fault_state=0, fault_str='Kein Fehler.', power=0))
2023-12-08 04:07:41,409 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=9500), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=7816178.86, fault_state=0, fault_str='Kein Fehler.', power=-0.0))
2023-12-08 04:07:41,410 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=8109807.455, power=0.0))
2023-12-08 04:07:41,412 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2023-11-30 12:30:45 +0100 [285f5a5fb]', 'current_branch': 'Release', 'current_branch_commit': '2023-11-30 12:30:45 +0100 [285f5a5fb]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.2-Patch.1', 'datastore_version': 29, 'lastlivevaluesJson': {'timestamp': 1702004851, 'time': '04:07:31', 'grid': 0.35, 'house-power': 0.35, 'charging-all': 0.0, 'pv-all': -0.0, 'cp1-power': 0.0, 'ev1-soc': 49.0, 'ev2-soc': 72, 'bat-all-power': 0.0, 'bat-all-soc': 19}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2023-12-08 04:07:41,412 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2023-12-08 04:07:41,414 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2023-12-08 04:07:41,415 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2023-12-08 04:07:41,416 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2023-12-08 04:07:41,416 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2023-12-08 04:07:41,417 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2023-12-08 04:07:41,418 - {control.data:253} - {INFO:MainThread} - 

2023-12-08 04:07:41,420 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2023-12-08 04:07:41,421 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2023-12-08 04:07:41,423 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2023-12-08 04:07:41,424 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2023-12-08 04:07:41,427 - {control.counter:211} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: 0W
2023-12-08 04:07:41,428 - {control.counter:457} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf 0W
2023-12-08 04:07:41,429 - {control.chargepoint.chargepoint:277} - {INFO:MainThread} - LP 1: Die Ladung kann nicht gestartet werden, da die Einschaltschwelle nicht erreicht wird.
2023-12-08 04:07:41,434 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2023-12-08 04:07:41,434 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2023-12-08 04:07:41,438 - {control.process:111} - {INFO:MainThread} - LP1: set current 0 A, state NO_CHARGING_ALLOWED
2023-12-08 04:07:41,440 - {modules.common.component_context:24} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:07:41,456 - {control.counter:186} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2023-12-08 04:07:41,726 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2023-12-08 04:07:45,806 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2023-12-08 04:07:45,807 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2023-12-08 04:07:50,827 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2023-12-08 04:07:50,830 - {root:74} - {INFO:MainThread} - # ***Start*** 
2023-12-08 04:07:50,872 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x715cf340>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x7155e4a8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x715c75f8>}
2023-12-08 04:07:50,878 - {modules.common.component_context:24} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2023-12-08 04:07:50,888 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2023-12-08 04:07:50,881 - {modules.common.component_context:24} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:07:50,891 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2023-12-08 04:07:50,926 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-391, -205, -21, -164], Scale 0
2023-12-08 04:07:50,947 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 750
2023-12-08 04:07:50,949 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"cloud":{"connected":false},"input:0":{"id":0,"state":false},"mqtt":{"connected":false},"switch:0":{"id":0, "source":"loopback", "output":false, "apower":0.0, "voltage":242.7, "current":0.000, "aenergy":{"total":1505.625,"by_minute":[0.000,0.000,0.000],"minute_ts":1702004870},"temperature":{"tC":28.8, "tF":83.9}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:07","unixtime":1702004871,"uptime":1364199,"ram_size":248996,"ram_free":145268,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"beta":{"version":"1.1.0-beta2"},"stable":{"version":"1.0.8"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-68},"ws":{"connected":false}}

2023-12-08 04:07:50,951 - {modules.common.simcount._simcount:38} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1702004860.5357814, power=0, imported=0.0, exported=293628.5948715257)
2023-12-08 04:07:50,952 - {modules.common.simcount._calculate:13} - {DEBUG:device1} - time passed: 0.00289322, power1: 0, power2: 0
2023-12-08 04:07:50,952 - {modules.common.simcount._calculate:29} - {DEBUG:device1} - power did not change sign. Total energy: 0
2023-12-08 04:07:50,953 - {modules.common.simcount._simcount:47} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702004870.951379, power=0, imported=0.0, exported=293628.5948715257)
2023-12-08 04:07:50,954 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:07:50,958 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [11, 5, 13], Scale -1
2023-12-08 04:07:50,976 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [24279, 24247, 24050, 0, 0, 0, 0], Scale -2
2023-12-08 04:07:50,993 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [5000], Scale -2
2023-12-08 04:07:51,023 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7500, 1700, 5130], Scale -2
2023-12-08 04:07:51,065 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4870433, 1797042, 2153375, 1456453, 6125878, 2531534, 1862789, 2267993], Scale 0
2023-12-08 04:07:51,065 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[1.1, 0.5, 1.3], powers=[205.0, 21.0, 164.0], voltages=[242.79, 242.47, 240.5], power_factors=[0.75, 0.17, 0.513], imported=6125878.0, exported=4870433.0, power=391.0, frequency=50.0)
2023-12-08 04:07:51,067 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2023-12-08 04:07:51,093 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [0], Scale 0
2023-12-08 04:07:51,127 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7789710], Scale 0
2023-12-08 04:07:51,163 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [27, 30, 31], Scale -2
2023-12-08 04:07:51,234 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-5039], Scale -2
2023-12-08 04:07:51,235 - {modules.common.component_state:100} - {DEBUG:device0} - currents sign wrong [0.27, 0.3, 0.31]
2023-12-08 04:07:51,235 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.27, 0.3, 0.31], power=-0.0, exported=7789710.0, dc_power=50.39)
2023-12-08 04:07:51,237 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2023-12-08 04:07:51,274 - {modules.common.simcount._simcount:38} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1702004860.9638927, power=0.0, imported=143333.37604219164, exported=116864.5215890633)
2023-12-08 04:07:51,275 - {modules.common.simcount._calculate:13} - {DEBUG:device0} - time passed: 0.00286407, power1: 0, power2: 0
2023-12-08 04:07:51,275 - {modules.common.simcount._calculate:29} - {DEBUG:device0} - power did not change sign. Total energy: 0
2023-12-08 04:07:51,276 - {modules.common.simcount._simcount:47} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702004871.2745497, power=0.0, imported=143333.37604219164, exported=116864.5215890633)
2023-12-08 04:07:51,277 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=143333.37604219164, exported=116864.5215890633, power=0.0, soc=19.0)
2023-12-08 04:07:51,284 - {modules.common.component_context:24} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2023-12-08 04:07:51,286 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=143333.37604219164, exported=116864.5215890633, power=0.0, soc=19.0)
2023-12-08 04:07:51,326 - {modules.common.component_context:24} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:07:51,327 - {modules.common.component_context:24} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2023-12-08 04:07:51,328 - {modules.common.component_context:24} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2023-12-08 04:07:51,328 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-0.0, exported=7816178.86, dc_power=None)
2023-12-08 04:07:51,329 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:07:51,330 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-0.0, exported=7816178.86, dc_power=None)
2023-12-08 04:07:51,330 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:07:51,371 - {modules.common.component_context:24} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2023-12-08 04:07:51,372 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[1.1, 0.5, 1.3], powers=[205.0, 21.0, 164.0], voltages=[242.79, 242.47, 240.5], power_factors=[0.75, 0.17, 0.513], imported=6125878.0, exported=4870433.0, power=391.0, frequency=50.0)
2023-12-08 04:07:51,536 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2023-12-08 04:07:51,541 - {control.bat_all:173} - {INFO:MainThread} - -50W verbleibende Speicher-Leistung
2023-12-08 04:07:51,545 - {control.counter:138} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [61.9, 62.6, 61.7]A
2023-12-08 04:07:51,545 - {control.counter:161} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 42609.0W
2023-12-08 04:07:51,551 - {control.chargepoint.chargepoint:699} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2023-12-08 04:07:51,552 - {control.chargepoint.chargepoint:682} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2023-12-08 04:07:51,553 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 557.018316s, Dauer 1.380952380952381h, Termin heute verpasst: False
2023-12-08 04:07:51,555 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 91279.997789s, Dauer 0.18012422360248448h, Termin heute verpasst: False
2023-12-08 04:07:51,557 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -9385.842445s, Dauer 4.142857142857143h, Termin heute verpasst: False
2023-12-08 04:07:51,558 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 89983.100499s, Dauer 0.5403726708074534h, Termin heute verpasst: False
2023-12-08 04:07:51,559 - {control.ev:762} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2023-12-08 04:07:51,562 - {control.chargepoint.chargepoint:898} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.PV_CHARGING, Phasen: 1, Priorität: False, max. Ist-Strom: 0.1
2023-12-08 04:07:51,564 - {control.chargepoint.chargepoint:277} - {INFO:MainThread} - LP 1: Kein Sofortladen, da noch Zeit bis zum Zieltermin ist. Falls vorhanden, wird mit EVU-Überschuss geladen.
2023-12-08 04:07:51,570 - {modules.common.simcount._simcount:38} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1702004861.3631513, power=390.0, imported=2374347.5155379344, exported=0)
2023-12-08 04:07:51,571 - {modules.common.simcount._calculate:13} - {DEBUG:MainThread} - time passed: 0.00283526, power1: 390, power2: 391
2023-12-08 04:07:51,573 - {modules.common.simcount._calculate:29} - {DEBUG:MainThread} - power did not change sign. Total energy: 1.10717
2023-12-08 04:07:51,575 - {modules.common.simcount._simcount:47} - {DEBUG:MainThread} - imported: 1.10717 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702004871.5700731, power=391.0, imported=2374348.6227054256, exported=0)
2023-12-08 04:07:51,579 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=19, daily_exported=0.0, daily_imported=0.0, imported=143333.38, exported=116864.52, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2023-12-08 04:07:51,580 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=19, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=143333.38, exported=116864.52, power=0.0), set=Set(charging_power_left=-50, switch_on_soc_reached=False))
2023-12-08 04:07:51,582 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=97.16, daily_exported=0, power=0, imported=6926459.96, exported=0))
2023-12-08 04:07:51,583 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 95%, 06:00 Uhr', imported_at_plan_start=6926377.93, imported_instant_charging=None, limit=None, phases=1, prio=False, required_current=6, required_currents=[0.0, 6, 0.0], state=0, submode=<Chargemode.PV_CHARGING: 'pv_charging'>, 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=72), currents=[0.1, 0.0, 0.0], daily_imported=97.16, daily_exported=0, evse_current=0, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=6926459.96, phases_in_use=1, plug_state=True, power=0, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Kein Sofortladen, da noch Zeit bis zum Zieltermin ist. Falls vorhanden, wird mit EVU-Überschuss geladen.', voltages=[242.7, 240.77, 243.02]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=0, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='_', imported_at_mode_switch=6926377.93, imported_at_plugtime=6926377.93, imported_since_mode_switch=0, imported_since_plugged=82.03000000026077, range_charged=0, time_charged='00:00', timestamp_start_charging=None), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time='12/07/2023, 13:07:31', required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x75610d90>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB Carport', type='internal_openwb', template=1, connected_phases=3, phase_1=2, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=1))
2023-12-08 04:07:51,584 - {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-12-08 04:07:51,585 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=1, max_current_multi_phases=16, max_current_single_phase=20, name='RFID, 20A, 11kW', rfid_enabling=True, valid_tags=['0003134583', '0003526747', '1655332554', '2585022212', '2585087748'])
2023-12-08 04:07:51,595 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[63, 63, 63], max_total_power=43000), get=Get(powers=[205.0, 21.0, 164.0], currents=[1.1, 0.5, 1.3], voltages=[242.79, 242.47, 240.5], power_factors=[0.75, 0.17, 0.51], unbalanced_load=0, frequency=50.0, daily_exported=0.0, daily_imported=4100.0, imported=6125878.0, exported=4870433.0, fault_state=0, fault_str='Kein Fehler.', power=391.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=42609.0, raw_currents_left=[61.9, 62.6, 61.7], surplus_power_left=0, state_str=''))
2023-12-08 04:07:51,596 - {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': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=391.0, invalid_home_consumption=0, daily_yield_home_consumption=5516.1283940876, imported_home_consumption=2374348.6227054256, disengageable_smarthome_power=0))
2023-12-08 04:07:51,610 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2023-12-08 04:07:51,612 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Ladeprofil ***AUTO1***', disable_after_unplug=False, prio=False, load_default=True, time_charging=TimeCharging(active=True, plans={'0': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[True, True, True, True, False, False, True]), time=['22:00', '06:00'], name='Zeitladen 95%, So-Do 22:00-06:00 Uhr', current=16, limit=Limit(selected='soc', amount=1000, soc=95)), '1': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, True, True, False]), time=['22:00', '06:00'], name='Zeitladen 80%, Fr-Sa 22:00-06:00 Uhr', current=16, limit=Limit(selected='soc', amount=1000, soc=80))}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2023-12-08 04:07:51,615 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, time_charging=TimeCharging(active=True, plans={'2': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), time=['06:45', '07:00'], name='Klima 06:45-07:00 Uhr', current=6, limit=Limit(selected='none', amount=1000, soc=50)), '3': TimeChargingPlan(active=True, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, False, False, False]), time=['00:00', '23:55'], name='Immer 35%', current=10, limit=Limit(selected='soc', amount=1000, soc=35))}), chargemode=Chargemode(selected='scheduled_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={'0': ScheduledChargingPlan(active=False, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, True, False, False, False, False, False]), current=14, name='Zielladen 80%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '1': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), current=14, name='Zielladen 95%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=95), time='05:40'), '2': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once='2023-09-26', weekly=[True, False, False, True, False, True, True]), current=14, name='Zielladen 75%, 7:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=75), time='05:40')}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=80))))
2023-12-08 04:07:51,617 - {control.data:266} - {INFO:MainThread} - ev0
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=['0003134583'], get=Get(soc=0, soc_timestamp=None, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:07:51,619 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Tesla Model Y (2022)', 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=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212', '2585087748'], get=Get(soc=49.0, soc_timestamp='12/08/2023, 01:29:15', force_soc_update=False, range=220.74, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:07:51,622 - {control.data:266} - {INFO:MainThread} - ev2
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Cupra Born 58kW', 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=18000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=2, ev_template=2, name='***AUTO2***', tag_id=['1655332554'], get=Get(soc=72, soc_timestamp='12/08/2023, 02:47:32', force_soc_update=False, range=205, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:07:51,623 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40)
2023-12-08 04:07:51,626 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', 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=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40)
2023-12-08 04:07:51,627 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', 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=18000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40)
2023-12-08 04:07:51,629 - {control.data:245} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=3), pv_charging=PvCharging(bat_prio=True, charging_power_reserve=200, control_range=[-230, 230], feed_in_yield=15000, phase_switch_delay=15, phases_to_use=0, rundown_power=1000, rundown_soc=25, switch_off_delay=60, switch_off_soc=25, switch_off_threshold=50, switch_on_delay=30, switch_on_soc=50, switch_on_threshold=1400), scheduled_charging=ScheduledCharging(phases_to_use=0), time_charging=TimeCharging(phases_to_use=3), unbalanced_load_limit=20, unbalanced_load=True), control_interval=10, extern_display_mode='local', extern=False, external_buttons_hw=False, grid_protection_active=False, grid_protection_configured=True, grid_protection_random_stop=0, grid_protection_timestamp='', mqtt_bridge=False, price_kwh=0.3528, range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=True, r1_active=False, r2_active=False))
2023-12-08 04:07:51,635 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2023-12-08 04:07:51,636 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2023-12-08 04:07:51,638 - {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 0x70bf0328>), led=Led(active=False), rfid=Rfid(active=True))
2023-12-08 04:07:51,639 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=0), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=293628.595, fault_state=0, fault_str='Kein Fehler.', power=0))
2023-12-08 04:07:51,641 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=9500), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=7816178.86, fault_state=0, fault_str='Kein Fehler.', power=-0.0))
2023-12-08 04:07:51,643 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=8109807.455, power=0.0))
2023-12-08 04:07:51,645 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2023-11-30 12:30:45 +0100 [285f5a5fb]', 'current_branch': 'Release', 'current_branch_commit': '2023-11-30 12:30:45 +0100 [285f5a5fb]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.2-Patch.1', 'datastore_version': 29, 'lastlivevaluesJson': {'timestamp': 1702004861, 'time': '04:07:41', 'grid': 0.39, 'house-power': 0.39, 'charging-all': 0.0, 'pv-all': -0.0, 'cp1-power': 0.0, 'ev1-soc': 49.0, 'ev2-soc': 72, 'bat-all-power': 0.0, 'bat-all-soc': 19}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2023-12-08 04:07:51,646 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2023-12-08 04:07:51,648 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2023-12-08 04:07:51,650 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2023-12-08 04:07:51,651 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2023-12-08 04:07:51,653 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2023-12-08 04:07:51,657 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2023-12-08 04:07:51,660 - {control.data:253} - {INFO:MainThread} - 

2023-12-08 04:07:51,661 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2023-12-08 04:07:51,663 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2023-12-08 04:07:51,667 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2023-12-08 04:07:51,669 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2023-12-08 04:07:51,672 - {control.counter:211} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: 0W
2023-12-08 04:07:51,673 - {control.counter:457} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf 0W
2023-12-08 04:07:51,675 - {control.chargepoint.chargepoint:277} - {INFO:MainThread} - LP 1: Die Ladung kann nicht gestartet werden, da die Einschaltschwelle nicht erreicht wird.
2023-12-08 04:07:51,676 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2023-12-08 04:07:51,677 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2023-12-08 04:07:51,680 - {control.process:111} - {INFO:MainThread} - LP1: set current 0 A, state NO_CHARGING_ALLOWED
2023-12-08 04:07:51,690 - {modules.common.component_context:24} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:07:51,719 - {control.counter:186} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2023-12-08 04:07:51,965 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2023-12-08 04:07:51,967 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2023-12-08 04:07:55,975 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2023-12-08 04:08:00,987 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2023-12-08 04:08:00,988 - {root:74} - {INFO:MainThread} - # ***Start*** 
2023-12-08 04:08:01,027 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x715cf340>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x7155e4a8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x715c75f8>}
2023-12-08 04:08:01,029 - {modules.common.component_context:24} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2023-12-08 04:08:01,044 - {modules.common.component_context:24} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:08:01,048 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2023-12-08 04:08:01,046 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2023-12-08 04:08:01,091 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 750
2023-12-08 04:08:01,094 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"cloud":{"connected":false},"input:0":{"id":0,"state":false},"mqtt":{"connected":false},"switch:0":{"id":0, "source":"loopback", "output":false, "apower":0.0, "voltage":242.8, "current":0.000, "aenergy":{"total":1505.625,"by_minute":[0.000,0.000,0.000],"minute_ts":1702004880},"temperature":{"tC":28.7, "tF":83.7}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:08","unixtime":1702004882,"uptime":1364209,"ram_size":248944,"ram_free":144684,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"beta":{"version":"1.1.0-beta2"},"stable":{"version":"1.0.8"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-67},"ws":{"connected":false}}

2023-12-08 04:08:01,096 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-400, -203, -21, -174], Scale 0
2023-12-08 04:08:01,098 - {modules.common.simcount._simcount:38} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1702004870.951379, power=0, imported=0.0, exported=293628.5948715257)
2023-12-08 04:08:01,101 - {modules.common.simcount._calculate:13} - {DEBUG:device1} - time passed: 0.00281849, power1: 0, power2: 0
2023-12-08 04:08:01,101 - {modules.common.simcount._calculate:29} - {DEBUG:device1} - power did not change sign. Total energy: 0
2023-12-08 04:08:01,102 - {modules.common.simcount._simcount:47} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702004881.0979302, power=0, imported=0.0, exported=293628.5948715257)
2023-12-08 04:08:01,103 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:08:01,126 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [11, 5, 13], Scale -1
2023-12-08 04:08:01,147 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [24269, 24249, 24045, 0, 0, 0, 0], Scale -2
2023-12-08 04:08:01,163 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4997], Scale -2
2023-12-08 04:08:01,194 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7419, 1679, 5299], Scale -2
2023-12-08 04:08:01,239 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4870433, 1797042, 2153375, 1456453, 6125880, 2531535, 1862789, 2267993], Scale 0
2023-12-08 04:08:01,239 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[1.1, 0.5, 1.3], powers=[203.0, 21.0, 174.0], voltages=[242.69, 242.49, 240.45000000000002], power_factors=[0.7419, 0.1679, 0.5299], imported=6125880.0, exported=4870433.0, power=400.0, frequency=49.97)
2023-12-08 04:08:01,241 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2023-12-08 04:08:01,297 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [0], Scale 0
2023-12-08 04:08:01,323 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7789710], Scale 0
2023-12-08 04:08:01,343 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [27, 31, 31], Scale -2
2023-12-08 04:08:01,373 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4853], Scale -2
2023-12-08 04:08:01,374 - {modules.common.component_state:100} - {DEBUG:device0} - currents sign wrong [0.27, 0.31, 0.31]
2023-12-08 04:08:01,375 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.27, 0.31, 0.31], power=-0.0, exported=7789710.0, dc_power=48.53)
2023-12-08 04:08:01,378 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2023-12-08 04:08:01,527 - {modules.common.simcount._simcount:38} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1702004871.2745497, power=0.0, imported=143333.37604219164, exported=116864.5215890633)
2023-12-08 04:08:01,528 - {modules.common.simcount._calculate:13} - {DEBUG:device0} - time passed: 0.00284809, power1: 0, power2: 0
2023-12-08 04:08:01,528 - {modules.common.simcount._calculate:29} - {DEBUG:device0} - power did not change sign. Total energy: 0
2023-12-08 04:08:01,529 - {modules.common.simcount._simcount:47} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702004881.5276859, power=0.0, imported=143333.37604219164, exported=116864.5215890633)
2023-12-08 04:08:01,532 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=143333.37604219164, exported=116864.5215890633, power=0.0, soc=19.0)
2023-12-08 04:08:01,546 - {modules.common.component_context:24} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2023-12-08 04:08:01,548 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=143333.37604219164, exported=116864.5215890633, power=0.0, soc=19.0)
2023-12-08 04:08:01,616 - {modules.common.component_context:24} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:08:01,617 - {modules.common.component_context:24} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2023-12-08 04:08:01,623 - {modules.common.component_context:24} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2023-12-08 04:08:01,625 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-0.0, exported=7816178.86, dc_power=None)
2023-12-08 04:08:01,636 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:08:01,659 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-0.0, exported=7816178.86, dc_power=None)
2023-12-08 04:08:01,660 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:08:01,814 - {modules.common.component_context:24} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2023-12-08 04:08:01,815 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[1.1, 0.5, 1.3], powers=[203.0, 21.0, 174.0], voltages=[242.69, 242.49, 240.45000000000002], power_factors=[0.7419, 0.1679, 0.5299], imported=6125880.0, exported=4870433.0, power=400.0, frequency=49.97)
2023-12-08 04:08:01,996 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2023-12-08 04:08:02,004 - {control.bat_all:173} - {INFO:MainThread} - -50W verbleibende Speicher-Leistung
2023-12-08 04:08:02,009 - {control.counter:138} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [61.9, 62.6, 61.7]A
2023-12-08 04:08:02,015 - {control.counter:161} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 42600.0W
2023-12-08 04:08:02,021 - {control.chargepoint.chargepoint:699} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2023-12-08 04:08:02,027 - {control.chargepoint.chargepoint:682} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2023-12-08 04:08:02,028 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 546.543204s, Dauer 1.380952380952381h, Termin heute verpasst: False
2023-12-08 04:08:02,029 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 91269.523303s, Dauer 0.18012422360248448h, Termin heute verpasst: False
2023-12-08 04:08:02,031 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -9396.316889s, Dauer 4.142857142857143h, Termin heute verpasst: False
2023-12-08 04:08:02,035 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 89972.62343s, Dauer 0.5403726708074534h, Termin heute verpasst: False
2023-12-08 04:08:02,036 - {control.ev:762} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2023-12-08 04:08:02,061 - {control.chargepoint.chargepoint:898} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.PV_CHARGING, Phasen: 1, Priorität: False, max. Ist-Strom: 0.1
2023-12-08 04:08:02,070 - {control.chargepoint.chargepoint:277} - {INFO:MainThread} - LP 1: Kein Sofortladen, da noch Zeit bis zum Zieltermin ist. Falls vorhanden, wird mit EVU-Überschuss geladen.
2023-12-08 04:08:02,104 - {modules.common.simcount._simcount:38} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1702004871.5700731, power=391.0, imported=2374348.6227054256, exported=0)
2023-12-08 04:08:02,107 - {modules.common.simcount._calculate:13} - {DEBUG:MainThread} - time passed: 0.00292614, power1: 391, power2: 400
2023-12-08 04:08:02,109 - {modules.common.simcount._calculate:29} - {DEBUG:MainThread} - power did not change sign. Total energy: 1.15729
2023-12-08 04:08:02,115 - {modules.common.simcount._simcount:47} - {DEBUG:MainThread} - imported: 1.15729 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702004882.1041667, power=400.0, imported=2374349.779992655, exported=0)
2023-12-08 04:08:02,123 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=19, daily_exported=0.0, daily_imported=0.0, imported=143333.38, exported=116864.52, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2023-12-08 04:08:02,128 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=19, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=143333.38, exported=116864.52, power=0.0), set=Set(charging_power_left=-50, switch_on_soc_reached=False))
2023-12-08 04:08:02,130 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=97.16, daily_exported=0, power=0, imported=6926459.96, exported=0))
2023-12-08 04:08:02,132 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 95%, 06:00 Uhr', imported_at_plan_start=6926377.93, imported_instant_charging=None, limit=None, phases=1, prio=False, required_current=6, required_currents=[0.0, 6, 0.0], state=0, submode=<Chargemode.PV_CHARGING: 'pv_charging'>, 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=72), currents=[0.1, 0.0, 0.0], daily_imported=97.16, daily_exported=0, evse_current=0, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=6926459.96, phases_in_use=1, plug_state=True, power=0, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Kein Sofortladen, da noch Zeit bis zum Zieltermin ist. Falls vorhanden, wird mit EVU-Überschuss geladen.', voltages=[242.84, 240.89, 243.08]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=0, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='_', imported_at_mode_switch=6926377.93, imported_at_plugtime=6926377.93, imported_since_mode_switch=0, imported_since_plugged=82.03000000026077, range_charged=0, time_charged='00:00', timestamp_start_charging=None), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time='12/07/2023, 13:07:31', required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x70bda1d8>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB Carport', type='internal_openwb', template=1, connected_phases=3, phase_1=2, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=1))
2023-12-08 04:08:02,135 - {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-12-08 04:08:02,137 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=1, max_current_multi_phases=16, max_current_single_phase=20, name='RFID, 20A, 11kW', rfid_enabling=True, valid_tags=['0003134583', '0003526747', '1655332554', '2585022212', '2585087748'])
2023-12-08 04:08:02,139 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[63, 63, 63], max_total_power=43000), get=Get(powers=[203.0, 21.0, 174.0], currents=[1.1, 0.5, 1.3], voltages=[242.69, 242.49, 240.45], power_factors=[0.74, 0.17, 0.53], unbalanced_load=0, frequency=49.97, daily_exported=0.0, daily_imported=4100.0, imported=6125880.0, exported=4870433.0, fault_state=0, fault_str='Kein Fehler.', power=400.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=42600.0, raw_currents_left=[61.9, 62.6, 61.7], surplus_power_left=0, state_str=''))
2023-12-08 04:08:02,140 - {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': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=400.0, invalid_home_consumption=0, daily_yield_home_consumption=5516.1283940876, imported_home_consumption=2374349.779992655, disengageable_smarthome_power=0))
2023-12-08 04:08:02,142 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2023-12-08 04:08:02,143 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Ladeprofil ***AUTO1***', disable_after_unplug=False, prio=False, load_default=True, time_charging=TimeCharging(active=True, plans={'0': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[True, True, True, True, False, False, True]), time=['22:00', '06:00'], name='Zeitladen 95%, So-Do 22:00-06:00 Uhr', current=16, limit=Limit(selected='soc', amount=1000, soc=95)), '1': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, True, True, False]), time=['22:00', '06:00'], name='Zeitladen 80%, Fr-Sa 22:00-06:00 Uhr', current=16, limit=Limit(selected='soc', amount=1000, soc=80))}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2023-12-08 04:08:02,144 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, time_charging=TimeCharging(active=True, plans={'2': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), time=['06:45', '07:00'], name='Klima 06:45-07:00 Uhr', current=6, limit=Limit(selected='none', amount=1000, soc=50)), '3': TimeChargingPlan(active=True, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, False, False, False]), time=['00:00', '23:55'], name='Immer 35%', current=10, limit=Limit(selected='soc', amount=1000, soc=35))}), chargemode=Chargemode(selected='scheduled_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={'0': ScheduledChargingPlan(active=False, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, True, False, False, False, False, False]), current=14, name='Zielladen 80%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '1': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), current=14, name='Zielladen 95%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=95), time='05:40'), '2': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once='2023-09-26', weekly=[True, False, False, True, False, True, True]), current=14, name='Zielladen 75%, 7:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=75), time='05:40')}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=80))))
2023-12-08 04:08:02,145 - {control.data:266} - {INFO:MainThread} - ev0
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=['0003134583'], get=Get(soc=0, soc_timestamp=None, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:08:02,146 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Tesla Model Y (2022)', 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=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212', '2585087748'], get=Get(soc=49.0, soc_timestamp='12/08/2023, 01:29:15', force_soc_update=False, range=220.74, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:08:02,148 - {control.data:266} - {INFO:MainThread} - ev2
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Cupra Born 58kW', 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=18000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=2, ev_template=2, name='***AUTO2***', tag_id=['1655332554'], get=Get(soc=72, soc_timestamp='12/08/2023, 02:47:32', force_soc_update=False, range=205, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:08:02,149 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40)
2023-12-08 04:08:02,152 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', 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=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40)
2023-12-08 04:08:02,159 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', 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=18000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40)
2023-12-08 04:08:02,160 - {control.data:245} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=3), pv_charging=PvCharging(bat_prio=True, charging_power_reserve=200, control_range=[-230, 230], feed_in_yield=15000, phase_switch_delay=15, phases_to_use=0, rundown_power=1000, rundown_soc=25, switch_off_delay=60, switch_off_soc=25, switch_off_threshold=50, switch_on_delay=30, switch_on_soc=50, switch_on_threshold=1400), scheduled_charging=ScheduledCharging(phases_to_use=0), time_charging=TimeCharging(phases_to_use=3), unbalanced_load_limit=20, unbalanced_load=True), control_interval=10, extern_display_mode='local', extern=False, external_buttons_hw=False, grid_protection_active=False, grid_protection_configured=True, grid_protection_random_stop=0, grid_protection_timestamp='', mqtt_bridge=False, price_kwh=0.3528, range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=True, r1_active=False, r2_active=False))
2023-12-08 04:08:02,161 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2023-12-08 04:08:02,161 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2023-12-08 04:08:02,162 - {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 0x715cf4c0>), led=Led(active=False), rfid=Rfid(active=True))
2023-12-08 04:08:02,163 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=0), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=293628.595, fault_state=0, fault_str='Kein Fehler.', power=0))
2023-12-08 04:08:02,163 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=9500), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=7816178.86, fault_state=0, fault_str='Kein Fehler.', power=-0.0))
2023-12-08 04:08:02,163 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=8109807.455, power=0.0))
2023-12-08 04:08:02,164 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2023-11-30 12:30:45 +0100 [285f5a5fb]', 'current_branch': 'Release', 'current_branch_commit': '2023-11-30 12:30:45 +0100 [285f5a5fb]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.2-Patch.1', 'datastore_version': 29, 'lastlivevaluesJson': {'timestamp': 1702004871, 'time': '04:07:51', 'grid': 0.391, 'house-power': 0.391, 'charging-all': 0.0, 'pv-all': -0.0, 'cp1-power': 0.0, 'ev1-soc': 49.0, 'ev2-soc': 72, 'bat-all-power': 0.0, 'bat-all-soc': 19}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2023-12-08 04:08:02,164 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2023-12-08 04:08:02,165 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2023-12-08 04:08:02,165 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2023-12-08 04:08:02,166 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2023-12-08 04:08:02,166 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2023-12-08 04:08:02,167 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2023-12-08 04:08:02,167 - {control.data:253} - {INFO:MainThread} - 

2023-12-08 04:08:02,167 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2023-12-08 04:08:02,168 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2023-12-08 04:08:02,170 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2023-12-08 04:08:02,172 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2023-12-08 04:08:02,174 - {control.counter:211} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: 0W
2023-12-08 04:08:02,174 - {control.counter:457} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf 0W
2023-12-08 04:08:02,175 - {control.chargepoint.chargepoint:277} - {INFO:MainThread} - LP 1: Die Ladung kann nicht gestartet werden, da die Einschaltschwelle nicht erreicht wird.
2023-12-08 04:08:02,176 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2023-12-08 04:08:02,176 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2023-12-08 04:08:02,182 - {control.process:111} - {INFO:MainThread} - LP1: set current 0 A, state NO_CHARGING_ALLOWED
2023-12-08 04:08:02,188 - {modules.common.component_context:24} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:08:02,226 - {control.counter:186} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2023-12-08 04:08:02,448 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2023-12-08 04:08:02,450 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2023-12-08 04:08:05,466 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2023-12-08 04:08:05,466 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2023-12-08 04:08:10,476 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2023-12-08 04:08:10,478 - {root:74} - {INFO:MainThread} - # ***Start*** 
2023-12-08 04:08:10,577 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x715cf340>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x7155e4a8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x715c75f8>}
2023-12-08 04:08:10,578 - {modules.common.component_context:24} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2023-12-08 04:08:10,586 - {modules.common.component_context:24} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:08:10,587 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2023-12-08 04:08:10,595 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2023-12-08 04:08:10,635 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 750
2023-12-08 04:08:10,637 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"cloud":{"connected":false},"input:0":{"id":0,"state":false},"mqtt":{"connected":false},"switch:0":{"id":0, "source":"loopback", "output":false, "apower":0.0, "voltage":242.7, "current":0.000, "aenergy":{"total":1505.625,"by_minute":[0.000,0.000,0.000],"minute_ts":1702004890},"temperature":{"tC":28.9, "tF":84.0}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:08","unixtime":1702004891,"uptime":1364218,"ram_size":248944,"ram_free":144684,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"beta":{"version":"1.1.0-beta2"},"stable":{"version":"1.0.8"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-67},"ws":{"connected":false}}

2023-12-08 04:08:10,639 - {modules.common.simcount._simcount:38} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1702004881.0979302, power=0, imported=0.0, exported=293628.5948715257)
2023-12-08 04:08:10,639 - {modules.common.simcount._calculate:13} - {DEBUG:device1} - time passed: 0.00265026, power1: 0, power2: 0
2023-12-08 04:08:10,640 - {modules.common.simcount._calculate:29} - {DEBUG:device1} - power did not change sign. Total energy: 0
2023-12-08 04:08:10,640 - {modules.common.simcount._simcount:47} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702004890.63887, power=0, imported=0.0, exported=293628.5948715257)
2023-12-08 04:08:10,641 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:08:10,645 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-366, -203, -19, -143], Scale 0
2023-12-08 04:08:10,692 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [11, 5, 13], Scale -1
2023-12-08 04:08:10,712 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [24262, 24229, 24035, 0, 0, 0, 0], Scale -2
2023-12-08 04:08:10,732 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4999], Scale -2
2023-12-08 04:08:10,755 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7400, 1729, 5230], Scale -2
2023-12-08 04:08:10,776 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4870433, 1797042, 2153375, 1456453, 6125881, 2531536, 1862789, 2267994], Scale 0
2023-12-08 04:08:10,777 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[1.1, 0.5, 1.3], powers=[203.0, 19.0, 143.0], voltages=[242.62, 242.29, 240.35], power_factors=[0.74, 0.1729, 0.523], imported=6125881.0, exported=4870433.0, power=366.0, frequency=49.99)
2023-12-08 04:08:10,780 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2023-12-08 04:08:10,833 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [0], Scale 0
2023-12-08 04:08:10,858 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7789710], Scale 0
2023-12-08 04:08:10,882 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [27, 30, 31], Scale -2
2023-12-08 04:08:10,953 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-5033], Scale -2
2023-12-08 04:08:10,954 - {modules.common.component_state:100} - {DEBUG:device0} - currents sign wrong [0.27, 0.3, 0.31]
2023-12-08 04:08:10,954 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.27, 0.3, 0.31], power=-0.0, exported=7789710.0, dc_power=50.33)
2023-12-08 04:08:10,958 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2023-12-08 04:08:11,035 - {modules.common.simcount._simcount:38} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1702004881.5276859, power=0.0, imported=143333.37604219164, exported=116864.5215890633)
2023-12-08 04:08:11,036 - {modules.common.simcount._calculate:13} - {DEBUG:device0} - time passed: 0.00264109, power1: 0, power2: 0
2023-12-08 04:08:11,036 - {modules.common.simcount._calculate:29} - {DEBUG:device0} - power did not change sign. Total energy: 0
2023-12-08 04:08:11,037 - {modules.common.simcount._simcount:47} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702004891.0356205, power=0.0, imported=143333.37604219164, exported=116864.5215890633)
2023-12-08 04:08:11,037 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=143333.37604219164, exported=116864.5215890633, power=0.0, soc=19.0)
2023-12-08 04:08:11,043 - {modules.common.component_context:24} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2023-12-08 04:08:11,044 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=143333.37604219164, exported=116864.5215890633, power=0.0, soc=19.0)
2023-12-08 04:08:11,080 - {modules.common.component_context:24} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:08:11,081 - {modules.common.component_context:24} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2023-12-08 04:08:11,082 - {modules.common.component_context:24} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2023-12-08 04:08:11,082 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-0.0, exported=7816178.86, dc_power=None)
2023-12-08 04:08:11,082 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:08:11,083 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-0.0, exported=7816178.86, dc_power=None)
2023-12-08 04:08:11,084 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:08:11,120 - {modules.common.component_context:24} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2023-12-08 04:08:11,121 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[1.1, 0.5, 1.3], powers=[203.0, 19.0, 143.0], voltages=[242.62, 242.29, 240.35], power_factors=[0.74, 0.1729, 0.523], imported=6125881.0, exported=4870433.0, power=366.0, frequency=49.99)
2023-12-08 04:08:11,265 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2023-12-08 04:08:11,271 - {control.bat_all:173} - {INFO:MainThread} - -50W verbleibende Speicher-Leistung
2023-12-08 04:08:11,280 - {control.counter:138} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [61.9, 62.6, 61.7]A
2023-12-08 04:08:11,282 - {control.counter:161} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 42634.0W
2023-12-08 04:08:11,286 - {control.chargepoint.chargepoint:699} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2023-12-08 04:08:11,287 - {control.chargepoint.chargepoint:682} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2023-12-08 04:08:11,289 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 537.282656s, Dauer 1.380952380952381h, Termin heute verpasst: False
2023-12-08 04:08:11,292 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 91260.260874s, Dauer 0.18012422360248448h, Termin heute verpasst: False
2023-12-08 04:08:11,294 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -9405.579876s, Dauer 4.142857142857143h, Termin heute verpasst: False
2023-12-08 04:08:11,296 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 89963.362498s, Dauer 0.5403726708074534h, Termin heute verpasst: False
2023-12-08 04:08:11,297 - {control.ev:762} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2023-12-08 04:08:11,301 - {control.chargepoint.chargepoint:898} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.PV_CHARGING, Phasen: 1, Priorität: False, max. Ist-Strom: 0.1
2023-12-08 04:08:11,303 - {control.chargepoint.chargepoint:277} - {INFO:MainThread} - LP 1: Kein Sofortladen, da noch Zeit bis zum Zieltermin ist. Falls vorhanden, wird mit EVU-Überschuss geladen.
2023-12-08 04:08:11,323 - {modules.common.simcount._simcount:38} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1702004882.1041667, power=400.0, imported=2374349.779992655, exported=0)
2023-12-08 04:08:11,324 - {modules.common.simcount._calculate:13} - {DEBUG:MainThread} - time passed: 0.00256086, power1: 400, power2: 366
2023-12-08 04:08:11,325 - {modules.common.simcount._calculate:29} - {DEBUG:MainThread} - power did not change sign. Total energy: 0.98081
2023-12-08 04:08:11,326 - {modules.common.simcount._simcount:47} - {DEBUG:MainThread} - imported: 0.98081 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702004891.3232644, power=366.0, imported=2374350.7608022066, exported=0)
2023-12-08 04:08:11,335 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=19, daily_exported=0.0, daily_imported=0.0, imported=143333.38, exported=116864.52, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2023-12-08 04:08:11,336 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=19, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=143333.38, exported=116864.52, power=0.0), set=Set(charging_power_left=-50, switch_on_soc_reached=False))
2023-12-08 04:08:11,337 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=97.16, daily_exported=0, power=0, imported=6926459.96, exported=0))
2023-12-08 04:08:11,339 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 95%, 06:00 Uhr', imported_at_plan_start=6926377.93, imported_instant_charging=None, limit=None, phases=1, prio=False, required_current=6, required_currents=[0.0, 6, 0.0], state=0, submode=<Chargemode.PV_CHARGING: 'pv_charging'>, 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=72), currents=[0.1, 0.0, 0.0], daily_imported=97.16, daily_exported=0, evse_current=0, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=6926459.96, phases_in_use=1, plug_state=True, power=0, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Kein Sofortladen, da noch Zeit bis zum Zieltermin ist. Falls vorhanden, wird mit EVU-Überschuss geladen.', voltages=[242.75, 240.83, 243.0]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=0, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='_', imported_at_mode_switch=6926377.93, imported_at_plugtime=6926377.93, imported_since_mode_switch=0, imported_since_plugged=82.03000000026077, range_charged=0, time_charged='00:00', timestamp_start_charging=None), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time='12/07/2023, 13:07:31', required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x715949d0>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB Carport', type='internal_openwb', template=1, connected_phases=3, phase_1=2, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=1))
2023-12-08 04:08:11,340 - {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-12-08 04:08:11,342 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=1, max_current_multi_phases=16, max_current_single_phase=20, name='RFID, 20A, 11kW', rfid_enabling=True, valid_tags=['0003134583', '0003526747', '1655332554', '2585022212', '2585087748'])
2023-12-08 04:08:11,356 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[63, 63, 63], max_total_power=43000), get=Get(powers=[203.0, 19.0, 143.0], currents=[1.1, 0.5, 1.3], voltages=[242.62, 242.29, 240.35], power_factors=[0.74, 0.17, 0.52], unbalanced_load=0, frequency=49.99, daily_exported=0.0, daily_imported=4100.0, imported=6125881.0, exported=4870433.0, fault_state=0, fault_str='Kein Fehler.', power=366.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=42634.0, raw_currents_left=[61.9, 62.6, 61.7], surplus_power_left=0, state_str=''))
2023-12-08 04:08:11,357 - {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': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=366.0, invalid_home_consumption=0, daily_yield_home_consumption=5516.1283940876, imported_home_consumption=2374350.7608022066, disengageable_smarthome_power=0))
2023-12-08 04:08:11,359 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2023-12-08 04:08:11,362 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Ladeprofil ***AUTO1***', disable_after_unplug=False, prio=False, load_default=True, time_charging=TimeCharging(active=True, plans={'0': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[True, True, True, True, False, False, True]), time=['22:00', '06:00'], name='Zeitladen 95%, So-Do 22:00-06:00 Uhr', current=16, limit=Limit(selected='soc', amount=1000, soc=95)), '1': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, True, True, False]), time=['22:00', '06:00'], name='Zeitladen 80%, Fr-Sa 22:00-06:00 Uhr', current=16, limit=Limit(selected='soc', amount=1000, soc=80))}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2023-12-08 04:08:11,365 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, time_charging=TimeCharging(active=True, plans={'2': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), time=['06:45', '07:00'], name='Klima 06:45-07:00 Uhr', current=6, limit=Limit(selected='none', amount=1000, soc=50)), '3': TimeChargingPlan(active=True, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, False, False, False]), time=['00:00', '23:55'], name='Immer 35%', current=10, limit=Limit(selected='soc', amount=1000, soc=35))}), chargemode=Chargemode(selected='scheduled_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={'0': ScheduledChargingPlan(active=False, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, True, False, False, False, False, False]), current=14, name='Zielladen 80%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '1': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), current=14, name='Zielladen 95%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=95), time='05:40'), '2': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once='2023-09-26', weekly=[True, False, False, True, False, True, True]), current=14, name='Zielladen 75%, 7:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=75), time='05:40')}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=80))))
2023-12-08 04:08:11,367 - {control.data:266} - {INFO:MainThread} - ev0
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=['0003134583'], get=Get(soc=0, soc_timestamp=None, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:08:11,370 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Tesla Model Y (2022)', 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=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212', '2585087748'], get=Get(soc=49.0, soc_timestamp='12/08/2023, 01:29:15', force_soc_update=False, range=220.74, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:08:11,372 - {control.data:266} - {INFO:MainThread} - ev2
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Cupra Born 58kW', 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=18000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=2, ev_template=2, name='***AUTO2***', tag_id=['1655332554'], get=Get(soc=72, soc_timestamp='12/08/2023, 02:47:32', force_soc_update=False, range=205, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:08:11,374 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40)
2023-12-08 04:08:11,376 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', 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=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40)
2023-12-08 04:08:11,378 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', 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=18000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40)
2023-12-08 04:08:11,383 - {control.data:245} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=3), pv_charging=PvCharging(bat_prio=True, charging_power_reserve=200, control_range=[-230, 230], feed_in_yield=15000, phase_switch_delay=15, phases_to_use=0, rundown_power=1000, rundown_soc=25, switch_off_delay=60, switch_off_soc=25, switch_off_threshold=50, switch_on_delay=30, switch_on_soc=50, switch_on_threshold=1400), scheduled_charging=ScheduledCharging(phases_to_use=0), time_charging=TimeCharging(phases_to_use=3), unbalanced_load_limit=20, unbalanced_load=True), control_interval=10, extern_display_mode='local', extern=False, external_buttons_hw=False, grid_protection_active=False, grid_protection_configured=True, grid_protection_random_stop=0, grid_protection_timestamp='', mqtt_bridge=False, price_kwh=0.3528, range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=True, r1_active=False, r2_active=False))
2023-12-08 04:08:11,385 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2023-12-08 04:08:11,386 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2023-12-08 04:08:11,387 - {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 0x71e120e8>), led=Led(active=False), rfid=Rfid(active=True))
2023-12-08 04:08:11,388 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=0), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=293628.595, fault_state=0, fault_str='Kein Fehler.', power=0))
2023-12-08 04:08:11,391 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=9500), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=7816178.86, fault_state=0, fault_str='Kein Fehler.', power=-0.0))
2023-12-08 04:08:11,392 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=8109807.455, power=0.0))
2023-12-08 04:08:11,393 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2023-11-30 12:30:45 +0100 [285f5a5fb]', 'current_branch': 'Release', 'current_branch_commit': '2023-11-30 12:30:45 +0100 [285f5a5fb]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.2-Patch.1', 'datastore_version': 29, 'lastlivevaluesJson': {'timestamp': 1702004882, 'time': '04:08:02', 'grid': 0.4, 'house-power': 0.4, 'charging-all': 0.0, 'pv-all': -0.0, 'cp1-power': 0.0, 'ev1-soc': 49.0, 'ev2-soc': 72, 'bat-all-power': 0.0, 'bat-all-soc': 19}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2023-12-08 04:08:11,395 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2023-12-08 04:08:11,396 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2023-12-08 04:08:11,397 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2023-12-08 04:08:11,399 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2023-12-08 04:08:11,400 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2023-12-08 04:08:11,402 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2023-12-08 04:08:11,403 - {control.data:253} - {INFO:MainThread} - 

2023-12-08 04:08:11,405 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2023-12-08 04:08:11,407 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2023-12-08 04:08:11,411 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2023-12-08 04:08:11,420 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2023-12-08 04:08:11,425 - {control.counter:211} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: 0W
2023-12-08 04:08:11,428 - {control.counter:457} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf 0W
2023-12-08 04:08:11,431 - {control.chargepoint.chargepoint:277} - {INFO:MainThread} - LP 1: Die Ladung kann nicht gestartet werden, da die Einschaltschwelle nicht erreicht wird.
2023-12-08 04:08:11,431 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2023-12-08 04:08:11,432 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2023-12-08 04:08:11,435 - {control.process:111} - {INFO:MainThread} - LP1: set current 0 A, state NO_CHARGING_ALLOWED
2023-12-08 04:08:11,438 - {modules.common.component_context:24} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:08:11,460 - {control.counter:186} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2023-12-08 04:08:11,654 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2023-12-08 04:08:15,675 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2023-12-08 04:08:15,676 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2023-12-08 04:08:20,690 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2023-12-08 04:08:20,693 - {root:74} - {INFO:MainThread} - # ***Start*** 
2023-12-08 04:08:20,739 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x715cf340>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x7155e4a8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x715c75f8>}
2023-12-08 04:08:20,741 - {modules.common.component_context:24} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2023-12-08 04:08:20,748 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2023-12-08 04:08:20,750 - {modules.common.component_context:24} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:08:20,751 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2023-12-08 04:08:20,793 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 750
2023-12-08 04:08:20,795 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"cloud":{"connected":false},"input:0":{"id":0,"state":false},"mqtt":{"connected":false},"switch:0":{"id":0, "source":"loopback", "output":false, "apower":0.0, "voltage":242.8, "current":0.000, "aenergy":{"total":1505.625,"by_minute":[0.000,0.000,0.000],"minute_ts":1702004900},"temperature":{"tC":28.8, "tF":83.8}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:08","unixtime":1702004901,"uptime":1364229,"ram_size":248996,"ram_free":145264,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"beta":{"version":"1.1.0-beta2"},"stable":{"version":"1.0.8"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-68},"ws":{"connected":false}}

2023-12-08 04:08:20,797 - {modules.common.simcount._simcount:38} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1702004890.63887, power=0, imported=0.0, exported=293628.5948715257)
2023-12-08 04:08:20,798 - {modules.common.simcount._calculate:13} - {DEBUG:device1} - time passed: 0.00282194, power1: 0, power2: 0
2023-12-08 04:08:20,799 - {modules.common.simcount._calculate:29} - {DEBUG:device1} - power did not change sign. Total energy: 0
2023-12-08 04:08:20,799 - {modules.common.simcount._simcount:47} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702004900.7978613, power=0, imported=0.0, exported=293628.5948715257)
2023-12-08 04:08:20,800 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:08:20,824 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-365, -202, -21, -141], Scale 0
2023-12-08 04:08:20,844 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [11, 5, 12], Scale -1
2023-12-08 04:08:20,863 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [24256, 24238, 24045, 0, 0, 0, 0], Scale -2
2023-12-08 04:08:20,943 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4999], Scale -2
2023-12-08 04:08:20,984 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7379, 1770, 4900], Scale -2
2023-12-08 04:08:21,006 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4870433, 1797042, 2153375, 1456453, 6125881, 2531536, 1862789, 2267994], Scale 0
2023-12-08 04:08:21,007 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[1.1, 0.5, 1.2000000000000002], powers=[202.0, 21.0, 141.0], voltages=[242.56, 242.38, 240.45000000000002], power_factors=[0.7379000000000001, 0.177, 0.49], imported=6125881.0, exported=4870433.0, power=365.0, frequency=49.99)
2023-12-08 04:08:21,019 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2023-12-08 04:08:21,036 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [0], Scale 0
2023-12-08 04:08:21,063 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7789710], Scale 0
2023-12-08 04:08:21,093 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [27, 31, 31], Scale -2
2023-12-08 04:08:21,152 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-5432], Scale -2
2023-12-08 04:08:21,153 - {modules.common.component_state:100} - {DEBUG:device0} - currents sign wrong [0.27, 0.31, 0.31]
2023-12-08 04:08:21,153 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.27, 0.31, 0.31], power=-0.0, exported=7789710.0, dc_power=54.32)
2023-12-08 04:08:21,158 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2023-12-08 04:08:21,224 - {modules.common.simcount._simcount:38} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1702004891.0356205, power=0.0, imported=143333.37604219164, exported=116864.5215890633)
2023-12-08 04:08:21,225 - {modules.common.simcount._calculate:13} - {DEBUG:device0} - time passed: 0.00283018, power1: 0, power2: 0
2023-12-08 04:08:21,225 - {modules.common.simcount._calculate:29} - {DEBUG:device0} - power did not change sign. Total energy: 0
2023-12-08 04:08:21,225 - {modules.common.simcount._simcount:47} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702004901.2242768, power=0.0, imported=143333.37604219164, exported=116864.5215890633)
2023-12-08 04:08:21,226 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=143333.37604219164, exported=116864.5215890633, power=0.0, soc=19.0)
2023-12-08 04:08:21,233 - {modules.common.component_context:24} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2023-12-08 04:08:21,237 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=143333.37604219164, exported=116864.5215890633, power=0.0, soc=19.0)
2023-12-08 04:08:21,277 - {modules.common.component_context:24} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:08:21,279 - {modules.common.component_context:24} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2023-12-08 04:08:21,280 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-0.0, exported=7816178.86, dc_power=None)
2023-12-08 04:08:21,281 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-0.0, exported=7816178.86, dc_power=None)
2023-12-08 04:08:21,282 - {modules.common.component_context:24} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2023-12-08 04:08:21,285 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:08:21,286 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:08:21,330 - {modules.common.component_context:24} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2023-12-08 04:08:21,331 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[1.1, 0.5, 1.2000000000000002], powers=[202.0, 21.0, 141.0], voltages=[242.56, 242.38, 240.45000000000002], power_factors=[0.7379000000000001, 0.177, 0.49], imported=6125881.0, exported=4870433.0, power=365.0, frequency=49.99)
2023-12-08 04:08:21,487 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2023-12-08 04:08:21,489 - {control.bat_all:173} - {INFO:MainThread} - -50W verbleibende Speicher-Leistung
2023-12-08 04:08:21,491 - {control.counter:138} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [61.9, 62.6, 61.8]A
2023-12-08 04:08:21,492 - {control.counter:161} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 42635.0W
2023-12-08 04:08:21,494 - {control.chargepoint.chargepoint:699} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2023-12-08 04:08:21,496 - {control.chargepoint.chargepoint:682} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2023-12-08 04:08:21,498 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 527.073665s, Dauer 1.380952380952381h, Termin heute verpasst: False
2023-12-08 04:08:21,500 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 91250.053232s, Dauer 0.18012422360248448h, Termin heute verpasst: False
2023-12-08 04:08:21,501 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -9415.786871s, Dauer 4.142857142857143h, Termin heute verpasst: False
2023-12-08 04:08:21,503 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 89953.155801s, Dauer 0.5403726708074534h, Termin heute verpasst: False
2023-12-08 04:08:21,504 - {control.ev:762} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2023-12-08 04:08:21,522 - {control.chargepoint.chargepoint:898} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.PV_CHARGING, Phasen: 1, Priorität: False, max. Ist-Strom: 0.1
2023-12-08 04:08:21,565 - {control.chargepoint.chargepoint:277} - {INFO:MainThread} - LP 1: Kein Sofortladen, da noch Zeit bis zum Zieltermin ist. Falls vorhanden, wird mit EVU-Überschuss geladen.
2023-12-08 04:08:21,571 - {modules.common.simcount._simcount:38} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1702004891.3232644, power=366.0, imported=2374350.7608022066, exported=0)
2023-12-08 04:08:21,576 - {modules.common.simcount._calculate:13} - {DEBUG:MainThread} - time passed: 0.00284659, power1: 366, power2: 365
2023-12-08 04:08:21,577 - {modules.common.simcount._calculate:29} - {DEBUG:MainThread} - power did not change sign. Total energy: 1.04043
2023-12-08 04:08:21,578 - {modules.common.simcount._simcount:47} - {DEBUG:MainThread} - imported: 1.04043 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702004901.5710015, power=365.0, imported=2374351.8012321885, exported=0)
2023-12-08 04:08:21,581 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=19, daily_exported=0.0, daily_imported=0.0, imported=143333.38, exported=116864.52, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2023-12-08 04:08:21,583 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=19, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=143333.38, exported=116864.52, power=0.0), set=Set(charging_power_left=-50, switch_on_soc_reached=False))
2023-12-08 04:08:21,593 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=97.16, daily_exported=0, power=0, imported=6926459.96, exported=0))
2023-12-08 04:08:21,597 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 95%, 06:00 Uhr', imported_at_plan_start=6926377.93, imported_instant_charging=None, limit=None, phases=1, prio=False, required_current=6, required_currents=[0.0, 6, 0.0], state=0, submode=<Chargemode.PV_CHARGING: 'pv_charging'>, 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=72), currents=[0.1, 0.0, 0.0], daily_imported=97.16, daily_exported=0, evse_current=0, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=6926459.96, phases_in_use=1, plug_state=True, power=0, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Kein Sofortladen, da noch Zeit bis zum Zieltermin ist. Falls vorhanden, wird mit EVU-Überschuss geladen.', voltages=[242.83, 241.0, 243.09]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=0, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='_', imported_at_mode_switch=6926377.93, imported_at_plugtime=6926377.93, imported_since_mode_switch=0, imported_since_plugged=82.03000000026077, range_charged=0, time_charged='00:00', timestamp_start_charging=None), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time='12/07/2023, 13:07:31', required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x75610c40>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB Carport', type='internal_openwb', template=1, connected_phases=3, phase_1=2, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=1))
2023-12-08 04:08:21,599 - {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-12-08 04:08:21,601 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=1, max_current_multi_phases=16, max_current_single_phase=20, name='RFID, 20A, 11kW', rfid_enabling=True, valid_tags=['0003134583', '0003526747', '1655332554', '2585022212', '2585087748'])
2023-12-08 04:08:21,604 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[63, 63, 63], max_total_power=43000), get=Get(powers=[202.0, 21.0, 141.0], currents=[1.1, 0.5, 1.2], voltages=[242.56, 242.38, 240.45], power_factors=[0.74, 0.18, 0.49], unbalanced_load=0, frequency=49.99, daily_exported=0.0, daily_imported=4100.0, imported=6125881.0, exported=4870433.0, fault_state=0, fault_str='Kein Fehler.', power=365.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=42635.0, raw_currents_left=[61.9, 62.6, 61.8], surplus_power_left=0, state_str=''))
2023-12-08 04:08:21,605 - {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': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=365.0, invalid_home_consumption=0, daily_yield_home_consumption=5516.1283940876, imported_home_consumption=2374351.8012321885, disengageable_smarthome_power=0))
2023-12-08 04:08:21,617 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2023-12-08 04:08:21,619 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Ladeprofil ***AUTO1***', disable_after_unplug=False, prio=False, load_default=True, time_charging=TimeCharging(active=True, plans={'0': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[True, True, True, True, False, False, True]), time=['22:00', '06:00'], name='Zeitladen 95%, So-Do 22:00-06:00 Uhr', current=16, limit=Limit(selected='soc', amount=1000, soc=95)), '1': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, True, True, False]), time=['22:00', '06:00'], name='Zeitladen 80%, Fr-Sa 22:00-06:00 Uhr', current=16, limit=Limit(selected='soc', amount=1000, soc=80))}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2023-12-08 04:08:21,621 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, time_charging=TimeCharging(active=True, plans={'2': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), time=['06:45', '07:00'], name='Klima 06:45-07:00 Uhr', current=6, limit=Limit(selected='none', amount=1000, soc=50)), '3': TimeChargingPlan(active=True, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, False, False, False]), time=['00:00', '23:55'], name='Immer 35%', current=10, limit=Limit(selected='soc', amount=1000, soc=35))}), chargemode=Chargemode(selected='scheduled_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={'0': ScheduledChargingPlan(active=False, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, True, False, False, False, False, False]), current=14, name='Zielladen 80%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '1': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), current=14, name='Zielladen 95%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=95), time='05:40'), '2': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once='2023-09-26', weekly=[True, False, False, True, False, True, True]), current=14, name='Zielladen 75%, 7:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=75), time='05:40')}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=80))))
2023-12-08 04:08:21,626 - {control.data:266} - {INFO:MainThread} - ev0
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=['0003134583'], get=Get(soc=0, soc_timestamp=None, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:08:21,634 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Tesla Model Y (2022)', 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=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212', '2585087748'], get=Get(soc=49.0, soc_timestamp='12/08/2023, 01:29:15', force_soc_update=False, range=220.74, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:08:21,636 - {control.data:266} - {INFO:MainThread} - ev2
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Cupra Born 58kW', 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=18000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=2, ev_template=2, name='***AUTO2***', tag_id=['1655332554'], get=Get(soc=72, soc_timestamp='12/08/2023, 02:47:32', force_soc_update=False, range=205, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:08:21,645 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40)
2023-12-08 04:08:21,648 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', 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=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40)
2023-12-08 04:08:21,653 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', 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=18000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40)
2023-12-08 04:08:21,657 - {control.data:245} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=3), pv_charging=PvCharging(bat_prio=True, charging_power_reserve=200, control_range=[-230, 230], feed_in_yield=15000, phase_switch_delay=15, phases_to_use=0, rundown_power=1000, rundown_soc=25, switch_off_delay=60, switch_off_soc=25, switch_off_threshold=50, switch_on_delay=30, switch_on_soc=50, switch_on_threshold=1400), scheduled_charging=ScheduledCharging(phases_to_use=0), time_charging=TimeCharging(phases_to_use=3), unbalanced_load_limit=20, unbalanced_load=True), control_interval=10, extern_display_mode='local', extern=False, external_buttons_hw=False, grid_protection_active=False, grid_protection_configured=True, grid_protection_random_stop=0, grid_protection_timestamp='', mqtt_bridge=False, price_kwh=0.3528, range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=True, r1_active=False, r2_active=False))
2023-12-08 04:08:21,663 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2023-12-08 04:08:21,664 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2023-12-08 04:08:21,668 - {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 0x70b62508>), led=Led(active=False), rfid=Rfid(active=True))
2023-12-08 04:08:21,671 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=0), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=293628.595, fault_state=0, fault_str='Kein Fehler.', power=0))
2023-12-08 04:08:21,677 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=9500), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=7816178.86, fault_state=0, fault_str='Kein Fehler.', power=-0.0))
2023-12-08 04:08:21,695 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=8109807.455, power=0.0))
2023-12-08 04:08:21,696 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2023-11-30 12:30:45 +0100 [285f5a5fb]', 'current_branch': 'Release', 'current_branch_commit': '2023-11-30 12:30:45 +0100 [285f5a5fb]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.2-Patch.1', 'datastore_version': 29, 'lastlivevaluesJson': {'timestamp': 1702004891, 'time': '04:08:11', 'grid': 0.366, 'house-power': 0.366, 'charging-all': 0.0, 'pv-all': -0.0, 'cp1-power': 0.0, 'ev1-soc': 49.0, 'ev2-soc': 72, 'bat-all-power': 0.0, 'bat-all-soc': 19}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2023-12-08 04:08:21,697 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2023-12-08 04:08:21,698 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2023-12-08 04:08:21,701 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2023-12-08 04:08:21,703 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2023-12-08 04:08:21,704 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2023-12-08 04:08:21,706 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2023-12-08 04:08:21,715 - {control.data:253} - {INFO:MainThread} - 

2023-12-08 04:08:21,721 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2023-12-08 04:08:21,722 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2023-12-08 04:08:21,725 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2023-12-08 04:08:21,732 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2023-12-08 04:08:21,734 - {control.counter:211} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: 0W
2023-12-08 04:08:21,736 - {control.counter:457} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf 0W
2023-12-08 04:08:21,737 - {control.chargepoint.chargepoint:277} - {INFO:MainThread} - LP 1: Die Ladung kann nicht gestartet werden, da die Einschaltschwelle nicht erreicht wird.
2023-12-08 04:08:21,740 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2023-12-08 04:08:21,741 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2023-12-08 04:08:21,746 - {control.process:111} - {INFO:MainThread} - LP1: set current 0 A, state NO_CHARGING_ALLOWED
2023-12-08 04:08:21,751 - {modules.common.component_context:24} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:08:21,791 - {control.counter:186} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2023-12-08 04:08:22,117 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2023-12-08 04:08:22,118 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2023-12-08 04:08:25,135 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2023-12-08 04:08:30,147 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2023-12-08 04:08:30,148 - {root:74} - {INFO:MainThread} - # ***Start*** 
2023-12-08 04:08:30,192 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x715cf340>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x7155e4a8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x715c75f8>}
2023-12-08 04:08:30,195 - {modules.common.component_context:24} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2023-12-08 04:08:30,196 - {modules.common.component_context:24} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:08:30,202 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2023-12-08 04:08:30,204 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2023-12-08 04:08:30,274 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 750
2023-12-08 04:08:30,276 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"cloud":{"connected":false},"input:0":{"id":0,"state":false},"mqtt":{"connected":false},"switch:0":{"id":0, "source":"loopback", "output":false, "apower":0.0, "voltage":242.6, "current":0.000, "aenergy":{"total":1505.625,"by_minute":[0.000,0.000,0.000],"minute_ts":1702004909},"temperature":{"tC":28.9, "tF":84.0}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:08","unixtime":1702004911,"uptime":1364238,"ram_size":248996,"ram_free":145264,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"beta":{"version":"1.1.0-beta2"},"stable":{"version":"1.0.8"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-68},"ws":{"connected":false}}

2023-12-08 04:08:30,278 - {modules.common.simcount._simcount:38} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1702004900.7978613, power=0, imported=0.0, exported=293628.5948715257)
2023-12-08 04:08:30,278 - {modules.common.simcount._calculate:13} - {DEBUG:device1} - time passed: 0.00263338, power1: 0, power2: 0
2023-12-08 04:08:30,280 - {modules.common.simcount._calculate:29} - {DEBUG:device1} - power did not change sign. Total energy: 0
2023-12-08 04:08:30,282 - {modules.common.simcount._simcount:47} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702004910.278038, power=0, imported=0.0, exported=293628.5948715257)
2023-12-08 04:08:30,293 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-364, -201, -21, -141], Scale 0
2023-12-08 04:08:30,303 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:08:30,341 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [11, 5, 12], Scale -1
2023-12-08 04:08:30,372 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [24268, 24248, 24067, 0, 0, 0, 0], Scale -2
2023-12-08 04:08:30,391 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [5000], Scale -2
2023-12-08 04:08:30,412 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7400, 1720, 4850], Scale -2
2023-12-08 04:08:30,433 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4870433, 1797042, 2153375, 1456453, 6125882, 2531536, 1862789, 2267994], Scale 0
2023-12-08 04:08:30,434 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[1.1, 0.5, 1.2000000000000002], powers=[201.0, 21.0, 141.0], voltages=[242.68, 242.48000000000002, 240.67000000000002], power_factors=[0.74, 0.172, 0.485], imported=6125882.0, exported=4870433.0, power=364.0, frequency=50.0)
2023-12-08 04:08:30,435 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2023-12-08 04:08:30,502 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [0], Scale 0
2023-12-08 04:08:30,523 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7789710], Scale 0
2023-12-08 04:08:30,542 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [27, 30, 30], Scale -2
2023-12-08 04:08:30,562 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4841], Scale -2
2023-12-08 04:08:30,563 - {modules.common.component_state:100} - {DEBUG:device0} - currents sign wrong [0.27, 0.3, 0.3]
2023-12-08 04:08:30,563 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.27, 0.3, 0.3], power=-0.0, exported=7789710.0, dc_power=48.410000000000004)
2023-12-08 04:08:30,565 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2023-12-08 04:08:30,668 - {modules.common.simcount._simcount:38} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1702004901.2242768, power=0.0, imported=143333.37604219164, exported=116864.5215890633)
2023-12-08 04:08:30,678 - {modules.common.simcount._calculate:13} - {DEBUG:device0} - time passed: 0.00262325, power1: 0, power2: 0
2023-12-08 04:08:30,679 - {modules.common.simcount._calculate:29} - {DEBUG:device0} - power did not change sign. Total energy: 0
2023-12-08 04:08:30,681 - {modules.common.simcount._simcount:47} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702004910.6679645, power=0.0, imported=143333.37604219164, exported=116864.5215890633)
2023-12-08 04:08:30,683 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=143333.37604219164, exported=116864.5215890633, power=0.0, soc=19.0)
2023-12-08 04:08:30,704 - {modules.common.component_context:24} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2023-12-08 04:08:30,711 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=143333.37604219164, exported=116864.5215890633, power=0.0, soc=19.0)
2023-12-08 04:08:30,871 - {modules.common.component_context:24} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:08:30,876 - {modules.common.component_context:24} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2023-12-08 04:08:30,883 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-0.0, exported=7816178.86, dc_power=None)
2023-12-08 04:08:30,884 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-0.0, exported=7816178.86, dc_power=None)
2023-12-08 04:08:30,886 - {modules.common.component_context:24} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2023-12-08 04:08:30,892 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:08:30,894 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:08:30,956 - {modules.common.component_context:24} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2023-12-08 04:08:30,957 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[1.1, 0.5, 1.2000000000000002], powers=[201.0, 21.0, 141.0], voltages=[242.68, 242.48000000000002, 240.67000000000002], power_factors=[0.74, 0.172, 0.485], imported=6125882.0, exported=4870433.0, power=364.0, frequency=50.0)
2023-12-08 04:08:31,115 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2023-12-08 04:08:31,117 - {control.bat_all:173} - {INFO:MainThread} - -50W verbleibende Speicher-Leistung
2023-12-08 04:08:31,120 - {control.counter:138} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [61.9, 62.6, 61.8]A
2023-12-08 04:08:31,122 - {control.counter:161} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 42636.0W
2023-12-08 04:08:31,125 - {control.chargepoint.chargepoint:699} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2023-12-08 04:08:31,127 - {control.chargepoint.chargepoint:682} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2023-12-08 04:08:31,129 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 517.443005s, Dauer 1.380952380952381h, Termin heute verpasst: False
2023-12-08 04:08:31,131 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 91240.421541s, Dauer 0.18012422360248448h, Termin heute verpasst: False
2023-12-08 04:08:31,134 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -9425.419409s, Dauer 4.142857142857143h, Termin heute verpasst: False
2023-12-08 04:08:31,136 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 89943.521993s, Dauer 0.5403726708074534h, Termin heute verpasst: False
2023-12-08 04:08:31,139 - {control.ev:762} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2023-12-08 04:08:31,160 - {control.chargepoint.chargepoint:898} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.PV_CHARGING, Phasen: 1, Priorität: False, max. Ist-Strom: 0.1
2023-12-08 04:08:31,162 - {control.chargepoint.chargepoint:277} - {INFO:MainThread} - LP 1: Kein Sofortladen, da noch Zeit bis zum Zieltermin ist. Falls vorhanden, wird mit EVU-Überschuss geladen.
2023-12-08 04:08:31,182 - {modules.common.simcount._simcount:38} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1702004901.5710015, power=365.0, imported=2374351.8012321885, exported=0)
2023-12-08 04:08:31,185 - {modules.common.simcount._calculate:13} - {DEBUG:MainThread} - time passed: 0.00266987, power1: 365, power2: 364
2023-12-08 04:08:31,187 - {modules.common.simcount._calculate:29} - {DEBUG:MainThread} - power did not change sign. Total energy: 0.973167
2023-12-08 04:08:31,189 - {modules.common.simcount._simcount:47} - {DEBUG:MainThread} - imported: 0.973167 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702004911.182525, power=364.0, imported=2374352.774398932, exported=0)
2023-12-08 04:08:31,191 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=19, daily_exported=0.0, daily_imported=0.0, imported=143333.38, exported=116864.52, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2023-12-08 04:08:31,193 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=19, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=143333.38, exported=116864.52, power=0.0), set=Set(charging_power_left=-50, switch_on_soc_reached=False))
2023-12-08 04:08:31,195 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=97.16, daily_exported=0, power=0, imported=6926459.96, exported=0))
2023-12-08 04:08:31,198 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 95%, 06:00 Uhr', imported_at_plan_start=6926377.93, imported_instant_charging=None, limit=None, phases=1, prio=False, required_current=6, required_currents=[0.0, 6, 0.0], state=0, submode=<Chargemode.PV_CHARGING: 'pv_charging'>, 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=72), currents=[0.1, 0.0, 0.0], daily_imported=97.16, daily_exported=0, evse_current=0, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=6926459.96, phases_in_use=1, plug_state=True, power=0, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Kein Sofortladen, da noch Zeit bis zum Zieltermin ist. Falls vorhanden, wird mit EVU-Überschuss geladen.', voltages=[242.65, 240.77, 242.81]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=0, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='_', imported_at_mode_switch=6926377.93, imported_at_plugtime=6926377.93, imported_since_mode_switch=0, imported_since_plugged=82.03000000026077, range_charged=0, time_charged='00:00', timestamp_start_charging=None), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time='12/07/2023, 13:07:31', required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x70b5fb20>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB Carport', type='internal_openwb', template=1, connected_phases=3, phase_1=2, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=1))
2023-12-08 04:08:31,200 - {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-12-08 04:08:31,202 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=1, max_current_multi_phases=16, max_current_single_phase=20, name='RFID, 20A, 11kW', rfid_enabling=True, valid_tags=['0003134583', '0003526747', '1655332554', '2585022212', '2585087748'])
2023-12-08 04:08:31,203 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[63, 63, 63], max_total_power=43000), get=Get(powers=[201.0, 21.0, 141.0], currents=[1.1, 0.5, 1.2], voltages=[242.68, 242.48, 240.67], power_factors=[0.74, 0.17, 0.48], unbalanced_load=0, frequency=50.0, daily_exported=0.0, daily_imported=4100.0, imported=6125882.0, exported=4870433.0, fault_state=0, fault_str='Kein Fehler.', power=364.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=42636.0, raw_currents_left=[61.9, 62.6, 61.8], surplus_power_left=0, state_str=''))
2023-12-08 04:08:31,205 - {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': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=364.0, invalid_home_consumption=0, daily_yield_home_consumption=5516.1283940876, imported_home_consumption=2374352.774398932, disengageable_smarthome_power=0))
2023-12-08 04:08:31,207 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2023-12-08 04:08:31,208 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Ladeprofil ***AUTO1***', disable_after_unplug=False, prio=False, load_default=True, time_charging=TimeCharging(active=True, plans={'0': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[True, True, True, True, False, False, True]), time=['22:00', '06:00'], name='Zeitladen 95%, So-Do 22:00-06:00 Uhr', current=16, limit=Limit(selected='soc', amount=1000, soc=95)), '1': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, True, True, False]), time=['22:00', '06:00'], name='Zeitladen 80%, Fr-Sa 22:00-06:00 Uhr', current=16, limit=Limit(selected='soc', amount=1000, soc=80))}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2023-12-08 04:08:31,210 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, time_charging=TimeCharging(active=True, plans={'2': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), time=['06:45', '07:00'], name='Klima 06:45-07:00 Uhr', current=6, limit=Limit(selected='none', amount=1000, soc=50)), '3': TimeChargingPlan(active=True, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, False, False, False]), time=['00:00', '23:55'], name='Immer 35%', current=10, limit=Limit(selected='soc', amount=1000, soc=35))}), chargemode=Chargemode(selected='scheduled_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={'0': ScheduledChargingPlan(active=False, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, True, False, False, False, False, False]), current=14, name='Zielladen 80%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '1': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), current=14, name='Zielladen 95%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=95), time='05:40'), '2': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once='2023-09-26', weekly=[True, False, False, True, False, True, True]), current=14, name='Zielladen 75%, 7:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=75), time='05:40')}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=80))))
2023-12-08 04:08:31,213 - {control.data:266} - {INFO:MainThread} - ev0
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=['0003134583'], get=Get(soc=0, soc_timestamp=None, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:08:31,214 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Tesla Model Y (2022)', 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=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212', '2585087748'], get=Get(soc=49.0, soc_timestamp='12/08/2023, 01:29:15', force_soc_update=False, range=220.74, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:08:31,216 - {control.data:266} - {INFO:MainThread} - ev2
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Cupra Born 58kW', 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=18000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=2, ev_template=2, name='***AUTO2***', tag_id=['1655332554'], get=Get(soc=72, soc_timestamp='12/08/2023, 02:47:32', force_soc_update=False, range=205, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:08:31,218 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40)
2023-12-08 04:08:31,219 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', 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=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40)
2023-12-08 04:08:31,221 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', 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=18000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40)
2023-12-08 04:08:31,223 - {control.data:245} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=3), pv_charging=PvCharging(bat_prio=True, charging_power_reserve=200, control_range=[-230, 230], feed_in_yield=15000, phase_switch_delay=15, phases_to_use=0, rundown_power=1000, rundown_soc=25, switch_off_delay=60, switch_off_soc=25, switch_off_threshold=50, switch_on_delay=30, switch_on_soc=50, switch_on_threshold=1400), scheduled_charging=ScheduledCharging(phases_to_use=0), time_charging=TimeCharging(phases_to_use=3), unbalanced_load_limit=20, unbalanced_load=True), control_interval=10, extern_display_mode='local', extern=False, external_buttons_hw=False, grid_protection_active=False, grid_protection_configured=True, grid_protection_random_stop=0, grid_protection_timestamp='', mqtt_bridge=False, price_kwh=0.3528, range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=True, r1_active=False, r2_active=False))
2023-12-08 04:08:31,225 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2023-12-08 04:08:31,230 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2023-12-08 04:08:31,231 - {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 0x70b62058>), led=Led(active=False), rfid=Rfid(active=True))
2023-12-08 04:08:31,232 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=0), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=293628.595, fault_state=0, fault_str='Kein Fehler.', power=0))
2023-12-08 04:08:31,233 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=9500), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=7816178.86, fault_state=0, fault_str='Kein Fehler.', power=-0.0))
2023-12-08 04:08:31,235 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=8109807.455, power=0.0))
2023-12-08 04:08:31,237 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2023-11-30 12:30:45 +0100 [285f5a5fb]', 'current_branch': 'Release', 'current_branch_commit': '2023-11-30 12:30:45 +0100 [285f5a5fb]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.2-Patch.1', 'datastore_version': 29, 'lastlivevaluesJson': {'timestamp': 1702004901, 'time': '04:08:21', 'grid': 0.365, 'house-power': 0.365, 'charging-all': 0.0, 'pv-all': -0.0, 'cp1-power': 0.0, 'ev1-soc': 49.0, 'ev2-soc': 72, 'bat-all-power': 0.0, 'bat-all-soc': 19}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2023-12-08 04:08:31,239 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2023-12-08 04:08:31,245 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2023-12-08 04:08:31,247 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2023-12-08 04:08:31,249 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2023-12-08 04:08:31,252 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2023-12-08 04:08:31,253 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2023-12-08 04:08:31,255 - {control.data:253} - {INFO:MainThread} - 

2023-12-08 04:08:31,256 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2023-12-08 04:08:31,258 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2023-12-08 04:08:31,262 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2023-12-08 04:08:31,265 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2023-12-08 04:08:31,269 - {control.counter:211} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: 0W
2023-12-08 04:08:31,271 - {control.counter:457} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf 0W
2023-12-08 04:08:31,272 - {control.chargepoint.chargepoint:277} - {INFO:MainThread} - LP 1: Die Ladung kann nicht gestartet werden, da die Einschaltschwelle nicht erreicht wird.
2023-12-08 04:08:31,273 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2023-12-08 04:08:31,274 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2023-12-08 04:08:31,280 - {control.process:111} - {INFO:MainThread} - LP1: set current 0 A, state NO_CHARGING_ALLOWED
2023-12-08 04:08:31,285 - {modules.common.component_context:24} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:08:31,321 - {control.counter:186} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2023-12-08 04:08:31,575 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2023-12-08 04:08:31,577 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2023-12-08 04:08:35,586 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2023-12-08 04:08:35,587 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2023-12-08 04:08:40,598 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2023-12-08 04:08:40,599 - {root:74} - {INFO:MainThread} - # ***Start*** 
2023-12-08 04:08:40,671 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x715cf340>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x7155e4a8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x715c75f8>}
2023-12-08 04:08:40,672 - {modules.common.component_context:24} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2023-12-08 04:08:40,674 - {modules.common.component_context:24} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:08:40,685 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2023-12-08 04:08:40,688 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2023-12-08 04:08:40,730 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 750
2023-12-08 04:08:40,733 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"cloud":{"connected":false},"input:0":{"id":0,"state":false},"mqtt":{"connected":false},"switch:0":{"id":0, "source":"loopback", "output":false, "apower":0.0, "voltage":242.7, "current":0.000, "aenergy":{"total":1505.625,"by_minute":[0.000,0.000,0.000],"minute_ts":1702004920},"temperature":{"tC":28.8, "tF":83.8}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:08","unixtime":1702004921,"uptime":1364248,"ram_size":248996,"ram_free":145264,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"beta":{"version":"1.1.0-beta2"},"stable":{"version":"1.0.8"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-68},"ws":{"connected":false}}

2023-12-08 04:08:40,736 - {modules.common.simcount._simcount:38} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1702004910.278038, power=0, imported=0.0, exported=293628.5948715257)
2023-12-08 04:08:40,737 - {modules.common.simcount._calculate:13} - {DEBUG:device1} - time passed: 0.00290502, power1: 0, power2: 0
2023-12-08 04:08:40,737 - {modules.common.simcount._calculate:29} - {DEBUG:device1} - power did not change sign. Total energy: 0
2023-12-08 04:08:40,738 - {modules.common.simcount._simcount:47} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702004920.7361252, power=0, imported=0.0, exported=293628.5948715257)
2023-12-08 04:08:40,740 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:08:40,744 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-365, -200, -21, -144], Scale 0
2023-12-08 04:08:40,803 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [11, 5, 12], Scale -1
2023-12-08 04:08:40,822 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [24243, 24230, 24037, 0, 0, 0, 0], Scale -2
2023-12-08 04:08:40,842 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [5000], Scale -2
2023-12-08 04:08:40,965 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7340, 1800, 4930], Scale -2
2023-12-08 04:08:40,984 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4870433, 1797042, 2153375, 1456453, 6125884, 2531537, 1862790, 2267995], Scale 0
2023-12-08 04:08:40,985 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[1.1, 0.5, 1.2000000000000002], powers=[200.0, 21.0, 144.0], voltages=[242.43, 242.3, 240.37], power_factors=[0.7340000000000001, 0.18, 0.49300000000000005], imported=6125884.0, exported=4870433.0, power=365.0, frequency=50.0)
2023-12-08 04:08:40,986 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2023-12-08 04:08:41,013 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [0], Scale 0
2023-12-08 04:08:41,032 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7789710], Scale 0
2023-12-08 04:08:41,053 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [28, 30, 31], Scale -2
2023-12-08 04:08:41,073 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4962], Scale -2
2023-12-08 04:08:41,074 - {modules.common.component_state:100} - {DEBUG:device0} - currents sign wrong [0.28, 0.3, 0.31]
2023-12-08 04:08:41,074 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.28, 0.3, 0.31], power=-0.0, exported=7789710.0, dc_power=49.620000000000005)
2023-12-08 04:08:41,075 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2023-12-08 04:08:41,153 - {modules.common.simcount._simcount:38} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1702004910.6679645, power=0.0, imported=143333.37604219164, exported=116864.5215890633)
2023-12-08 04:08:41,154 - {modules.common.simcount._calculate:13} - {DEBUG:device0} - time passed: 0.0029127, power1: 0, power2: 0
2023-12-08 04:08:41,154 - {modules.common.simcount._calculate:29} - {DEBUG:device0} - power did not change sign. Total energy: 0
2023-12-08 04:08:41,155 - {modules.common.simcount._simcount:47} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702004921.1536667, power=0.0, imported=143333.37604219164, exported=116864.5215890633)
2023-12-08 04:08:41,157 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=143333.37604219164, exported=116864.5215890633, power=0.0, soc=19.0)
2023-12-08 04:08:41,166 - {modules.common.component_context:24} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2023-12-08 04:08:41,169 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=143333.37604219164, exported=116864.5215890633, power=0.0, soc=19.0)
2023-12-08 04:08:41,202 - {modules.common.component_context:24} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:08:41,203 - {modules.common.component_context:24} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2023-12-08 04:08:41,205 - {modules.common.component_context:24} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2023-12-08 04:08:41,205 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-0.0, exported=7816178.86, dc_power=None)
2023-12-08 04:08:41,207 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:08:41,207 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-0.0, exported=7816178.86, dc_power=None)
2023-12-08 04:08:41,208 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:08:41,244 - {modules.common.component_context:24} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2023-12-08 04:08:41,245 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[1.1, 0.5, 1.2000000000000002], powers=[200.0, 21.0, 144.0], voltages=[242.43, 242.3, 240.37], power_factors=[0.7340000000000001, 0.18, 0.49300000000000005], imported=6125884.0, exported=4870433.0, power=365.0, frequency=50.0)
2023-12-08 04:08:41,385 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2023-12-08 04:08:41,387 - {control.bat_all:173} - {INFO:MainThread} - -50W verbleibende Speicher-Leistung
2023-12-08 04:08:41,389 - {control.counter:138} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [61.9, 62.6, 61.8]A
2023-12-08 04:08:41,390 - {control.counter:161} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 42635.0W
2023-12-08 04:08:41,392 - {control.chargepoint.chargepoint:699} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2023-12-08 04:08:41,393 - {control.chargepoint.chargepoint:682} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2023-12-08 04:08:41,395 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 507.176957s, Dauer 1.380952380952381h, Termin heute verpasst: False
2023-12-08 04:08:41,396 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 91230.15644s, Dauer 0.18012422360248448h, Termin heute verpasst: False
2023-12-08 04:08:41,399 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -9435.684224s, Dauer 4.142857142857143h, Termin heute verpasst: False
2023-12-08 04:08:41,400 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 89933.258615s, Dauer 0.5403726708074534h, Termin heute verpasst: False
2023-12-08 04:08:41,401 - {control.ev:762} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2023-12-08 04:08:41,404 - {control.chargepoint.chargepoint:898} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.PV_CHARGING, Phasen: 1, Priorität: False, max. Ist-Strom: 0.1
2023-12-08 04:08:41,405 - {control.chargepoint.chargepoint:277} - {INFO:MainThread} - LP 1: Kein Sofortladen, da noch Zeit bis zum Zieltermin ist. Falls vorhanden, wird mit EVU-Überschuss geladen.
2023-12-08 04:08:41,420 - {modules.common.simcount._simcount:38} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1702004911.182525, power=364.0, imported=2374352.774398932, exported=0)
2023-12-08 04:08:41,423 - {modules.common.simcount._calculate:13} - {DEBUG:MainThread} - time passed: 0.00284384, power1: 364, power2: 365
2023-12-08 04:08:41,425 - {modules.common.simcount._calculate:29} - {DEBUG:MainThread} - power did not change sign. Total energy: 1.03658
2023-12-08 04:08:41,427 - {modules.common.simcount._simcount:47} - {DEBUG:MainThread} - imported: 1.03658 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702004921.4203615, power=365.0, imported=2374353.8109798874, exported=0)
2023-12-08 04:08:41,432 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=19, daily_exported=0.0, daily_imported=0.0, imported=143333.38, exported=116864.52, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2023-12-08 04:08:41,435 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=19, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=143333.38, exported=116864.52, power=0.0), set=Set(charging_power_left=-50, switch_on_soc_reached=False))
2023-12-08 04:08:41,435 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=97.16, daily_exported=0, power=0, imported=6926459.96, exported=0))
2023-12-08 04:08:41,438 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 95%, 06:00 Uhr', imported_at_plan_start=6926377.93, imported_instant_charging=None, limit=None, phases=1, prio=False, required_current=6, required_currents=[0.0, 6, 0.0], state=0, submode=<Chargemode.PV_CHARGING: 'pv_charging'>, 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=72), currents=[0.1, 0.0, 0.0], daily_imported=97.16, daily_exported=0, evse_current=0, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=6926459.96, phases_in_use=1, plug_state=True, power=0, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Kein Sofortladen, da noch Zeit bis zum Zieltermin ist. Falls vorhanden, wird mit EVU-Überschuss geladen.', voltages=[242.73, 240.75, 242.88]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=0, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='_', imported_at_mode_switch=6926377.93, imported_at_plugtime=6926377.93, imported_since_mode_switch=0, imported_since_plugged=82.03000000026077, range_charged=0, time_charged='00:00', timestamp_start_charging=None), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time='12/07/2023, 13:07:31', required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x7157be68>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB Carport', type='internal_openwb', template=1, connected_phases=3, phase_1=2, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=1))
2023-12-08 04:08:41,440 - {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-12-08 04:08:41,441 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=1, max_current_multi_phases=16, max_current_single_phase=20, name='RFID, 20A, 11kW', rfid_enabling=True, valid_tags=['0003134583', '0003526747', '1655332554', '2585022212', '2585087748'])
2023-12-08 04:08:41,442 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[63, 63, 63], max_total_power=43000), get=Get(powers=[200.0, 21.0, 144.0], currents=[1.1, 0.5, 1.2], voltages=[242.43, 242.3, 240.37], power_factors=[0.73, 0.18, 0.49], unbalanced_load=0, frequency=50.0, daily_exported=0.0, daily_imported=4100.0, imported=6125884.0, exported=4870433.0, fault_state=0, fault_str='Kein Fehler.', power=365.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=42635.0, raw_currents_left=[61.9, 62.6, 61.8], surplus_power_left=0, state_str=''))
2023-12-08 04:08:41,445 - {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': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=365.0, invalid_home_consumption=0, daily_yield_home_consumption=5516.1283940876, imported_home_consumption=2374353.8109798874, disengageable_smarthome_power=0))
2023-12-08 04:08:41,456 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2023-12-08 04:08:41,461 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Ladeprofil ***AUTO1***', disable_after_unplug=False, prio=False, load_default=True, time_charging=TimeCharging(active=True, plans={'0': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[True, True, True, True, False, False, True]), time=['22:00', '06:00'], name='Zeitladen 95%, So-Do 22:00-06:00 Uhr', current=16, limit=Limit(selected='soc', amount=1000, soc=95)), '1': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, True, True, False]), time=['22:00', '06:00'], name='Zeitladen 80%, Fr-Sa 22:00-06:00 Uhr', current=16, limit=Limit(selected='soc', amount=1000, soc=80))}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2023-12-08 04:08:41,464 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, time_charging=TimeCharging(active=True, plans={'2': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), time=['06:45', '07:00'], name='Klima 06:45-07:00 Uhr', current=6, limit=Limit(selected='none', amount=1000, soc=50)), '3': TimeChargingPlan(active=True, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, False, False, False]), time=['00:00', '23:55'], name='Immer 35%', current=10, limit=Limit(selected='soc', amount=1000, soc=35))}), chargemode=Chargemode(selected='scheduled_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={'0': ScheduledChargingPlan(active=False, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, True, False, False, False, False, False]), current=14, name='Zielladen 80%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '1': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), current=14, name='Zielladen 95%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=95), time='05:40'), '2': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once='2023-09-26', weekly=[True, False, False, True, False, True, True]), current=14, name='Zielladen 75%, 7:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=75), time='05:40')}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=80))))
2023-12-08 04:08:41,465 - {control.data:266} - {INFO:MainThread} - ev0
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=['0003134583'], get=Get(soc=0, soc_timestamp=None, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:08:41,466 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Tesla Model Y (2022)', 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=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212', '2585087748'], get=Get(soc=49.0, soc_timestamp='12/08/2023, 01:29:15', force_soc_update=False, range=220.74, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:08:41,468 - {control.data:266} - {INFO:MainThread} - ev2
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Cupra Born 58kW', 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=18000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=2, ev_template=2, name='***AUTO2***', tag_id=['1655332554'], get=Get(soc=72, soc_timestamp='12/08/2023, 02:47:32', force_soc_update=False, range=205, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:08:41,469 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40)
2023-12-08 04:08:41,474 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', 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=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40)
2023-12-08 04:08:41,476 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', 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=18000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40)
2023-12-08 04:08:41,478 - {control.data:245} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=3), pv_charging=PvCharging(bat_prio=True, charging_power_reserve=200, control_range=[-230, 230], feed_in_yield=15000, phase_switch_delay=15, phases_to_use=0, rundown_power=1000, rundown_soc=25, switch_off_delay=60, switch_off_soc=25, switch_off_threshold=50, switch_on_delay=30, switch_on_soc=50, switch_on_threshold=1400), scheduled_charging=ScheduledCharging(phases_to_use=0), time_charging=TimeCharging(phases_to_use=3), unbalanced_load_limit=20, unbalanced_load=True), control_interval=10, extern_display_mode='local', extern=False, external_buttons_hw=False, grid_protection_active=False, grid_protection_configured=True, grid_protection_random_stop=0, grid_protection_timestamp='', mqtt_bridge=False, price_kwh=0.3528, range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=True, r1_active=False, r2_active=False))
2023-12-08 04:08:41,480 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2023-12-08 04:08:41,483 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2023-12-08 04:08:41,485 - {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 0x7157b850>), led=Led(active=False), rfid=Rfid(active=True))
2023-12-08 04:08:41,488 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=0), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=293628.595, fault_state=0, fault_str='Kein Fehler.', power=0))
2023-12-08 04:08:41,491 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=9500), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=7816178.86, fault_state=0, fault_str='Kein Fehler.', power=-0.0))
2023-12-08 04:08:41,496 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=8109807.455, power=0.0))
2023-12-08 04:08:41,498 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2023-11-30 12:30:45 +0100 [285f5a5fb]', 'current_branch': 'Release', 'current_branch_commit': '2023-11-30 12:30:45 +0100 [285f5a5fb]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.2-Patch.1', 'datastore_version': 29, 'lastlivevaluesJson': {'timestamp': 1702004911, 'time': '04:08:31', 'grid': 0.364, 'house-power': 0.364, 'charging-all': 0.0, 'pv-all': -0.0, 'cp1-power': 0.0, 'ev1-soc': 49.0, 'ev2-soc': 72, 'bat-all-power': 0.0, 'bat-all-soc': 19}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2023-12-08 04:08:41,499 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2023-12-08 04:08:41,503 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2023-12-08 04:08:41,504 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2023-12-08 04:08:41,506 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2023-12-08 04:08:41,508 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2023-12-08 04:08:41,509 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2023-12-08 04:08:41,511 - {control.data:253} - {INFO:MainThread} - 

2023-12-08 04:08:41,513 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2023-12-08 04:08:41,516 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2023-12-08 04:08:41,521 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2023-12-08 04:08:41,528 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2023-12-08 04:08:41,535 - {control.counter:211} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: 0W
2023-12-08 04:08:41,537 - {control.counter:457} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf 0W
2023-12-08 04:08:41,539 - {control.chargepoint.chargepoint:277} - {INFO:MainThread} - LP 1: Die Ladung kann nicht gestartet werden, da die Einschaltschwelle nicht erreicht wird.
2023-12-08 04:08:41,546 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2023-12-08 04:08:41,550 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2023-12-08 04:08:41,562 - {control.process:111} - {INFO:MainThread} - LP1: set current 0 A, state NO_CHARGING_ALLOWED
2023-12-08 04:08:41,565 - {modules.common.component_context:24} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:08:41,587 - {control.counter:186} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2023-12-08 04:08:41,871 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2023-12-08 04:08:45,927 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2023-12-08 04:08:45,928 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2023-12-08 04:08:50,938 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2023-12-08 04:08:50,939 - {root:74} - {INFO:MainThread} - # ***Start*** 
2023-12-08 04:08:50,982 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x715cf340>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x7155e4a8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x715c75f8>}
2023-12-08 04:08:50,984 - {modules.common.component_context:24} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2023-12-08 04:08:50,985 - {modules.common.component_context:24} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:08:50,993 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2023-12-08 04:08:51,006 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2023-12-08 04:08:51,038 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 750
2023-12-08 04:08:51,041 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"cloud":{"connected":false},"input:0":{"id":0,"state":false},"mqtt":{"connected":false},"switch:0":{"id":0, "source":"loopback", "output":false, "apower":0.0, "voltage":242.7, "current":0.000, "aenergy":{"total":1505.625,"by_minute":[0.000,0.000,0.000],"minute_ts":1702004930},"temperature":{"tC":29.0, "tF":84.1}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:08","unixtime":1702004931,"uptime":1364259,"ram_size":248996,"ram_free":145264,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"beta":{"version":"1.1.0-beta2"},"stable":{"version":"1.0.8"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-68},"ws":{"connected":false}}

2023-12-08 04:08:51,044 - {modules.common.simcount._simcount:38} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1702004920.7361252, power=0, imported=0.0, exported=293628.5948715257)
2023-12-08 04:08:51,046 - {modules.common.simcount._calculate:13} - {DEBUG:device1} - time passed: 0.00286354, power1: 0, power2: 0
2023-12-08 04:08:51,047 - {modules.common.simcount._calculate:29} - {DEBUG:device1} - power did not change sign. Total energy: 0
2023-12-08 04:08:51,049 - {modules.common.simcount._simcount:47} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702004931.0448618, power=0, imported=0.0, exported=293628.5948715257)
2023-12-08 04:08:51,060 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:08:51,069 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-365, -198, -21, -144], Scale 0
2023-12-08 04:08:51,094 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [11, 5, 12], Scale -1
2023-12-08 04:08:51,114 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [24234, 24222, 24033, 0, 0, 0, 0], Scale -2
2023-12-08 04:08:51,131 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [5000], Scale -2
2023-12-08 04:08:51,151 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7350, 1749, 4930], Scale -2
2023-12-08 04:08:51,173 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4870433, 1797042, 2153375, 1456453, 6125885, 2531538, 1862790, 2267995], Scale 0
2023-12-08 04:08:51,174 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[1.1, 0.5, 1.2000000000000002], powers=[198.0, 21.0, 144.0], voltages=[242.34, 242.22, 240.33], power_factors=[0.735, 0.17490000000000003, 0.49300000000000005], imported=6125885.0, exported=4870433.0, power=365.0, frequency=50.0)
2023-12-08 04:08:51,177 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2023-12-08 04:08:51,194 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [0], Scale 0
2023-12-08 04:08:51,244 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7789710], Scale 0
2023-12-08 04:08:51,263 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [26, 28, 29], Scale -2
2023-12-08 04:08:51,292 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4618], Scale -2
2023-12-08 04:08:51,293 - {modules.common.component_state:100} - {DEBUG:device0} - currents sign wrong [0.26, 0.28, 0.29]
2023-12-08 04:08:51,294 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.26, 0.28, 0.29], power=-0.0, exported=7789710.0, dc_power=46.18)
2023-12-08 04:08:51,298 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2023-12-08 04:08:51,404 - {modules.common.simcount._simcount:38} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1702004921.1536667, power=0.0, imported=143333.37604219164, exported=116864.5215890633)
2023-12-08 04:08:51,405 - {modules.common.simcount._calculate:13} - {DEBUG:device0} - time passed: 0.00284746, power1: 0, power2: 0
2023-12-08 04:08:51,405 - {modules.common.simcount._calculate:29} - {DEBUG:device0} - power did not change sign. Total energy: 0
2023-12-08 04:08:51,405 - {modules.common.simcount._simcount:47} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702004931.4045284, power=0.0, imported=143333.37604219164, exported=116864.5215890633)
2023-12-08 04:08:51,407 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=143333.37604219164, exported=116864.5215890633, power=0.0, soc=19.0)
2023-12-08 04:08:51,414 - {modules.common.component_context:24} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2023-12-08 04:08:51,414 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=143333.37604219164, exported=116864.5215890633, power=0.0, soc=19.0)
2023-12-08 04:08:51,447 - {modules.common.component_context:24} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:08:51,448 - {modules.common.component_context:24} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2023-12-08 04:08:51,449 - {modules.common.component_context:24} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2023-12-08 04:08:51,450 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-0.0, exported=7816178.86, dc_power=None)
2023-12-08 04:08:51,452 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:08:51,453 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-0.0, exported=7816178.86, dc_power=None)
2023-12-08 04:08:51,454 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:08:51,495 - {modules.common.component_context:24} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2023-12-08 04:08:51,498 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[1.1, 0.5, 1.2000000000000002], powers=[198.0, 21.0, 144.0], voltages=[242.34, 242.22, 240.33], power_factors=[0.735, 0.17490000000000003, 0.49300000000000005], imported=6125885.0, exported=4870433.0, power=365.0, frequency=50.0)
2023-12-08 04:08:51,659 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2023-12-08 04:08:51,661 - {control.bat_all:173} - {INFO:MainThread} - -50W verbleibende Speicher-Leistung
2023-12-08 04:08:51,670 - {control.counter:138} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [61.9, 62.6, 61.8]A
2023-12-08 04:08:51,673 - {control.counter:161} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 42635.0W
2023-12-08 04:08:51,675 - {control.chargepoint.chargepoint:699} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2023-12-08 04:08:51,680 - {control.chargepoint.chargepoint:682} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2023-12-08 04:08:51,691 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 496.880912s, Dauer 1.380952380952381h, Termin heute verpasst: False
2023-12-08 04:08:51,692 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 91219.860622s, Dauer 0.18012422360248448h, Termin heute verpasst: False
2023-12-08 04:08:51,693 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -9445.979041s, Dauer 4.142857142857143h, Termin heute verpasst: False
2023-12-08 04:08:51,695 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 89922.96359s, Dauer 0.5403726708074534h, Termin heute verpasst: False
2023-12-08 04:08:51,698 - {control.ev:762} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2023-12-08 04:08:51,702 - {control.chargepoint.chargepoint:898} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.PV_CHARGING, Phasen: 1, Priorität: False, max. Ist-Strom: 0.1
2023-12-08 04:08:51,705 - {control.chargepoint.chargepoint:277} - {INFO:MainThread} - LP 1: Kein Sofortladen, da noch Zeit bis zum Zieltermin ist. Falls vorhanden, wird mit EVU-Überschuss geladen.
2023-12-08 04:08:51,735 - {modules.common.simcount._simcount:38} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1702004921.4203615, power=365.0, imported=2374353.8109798874, exported=0)
2023-12-08 04:08:51,749 - {modules.common.simcount._calculate:13} - {DEBUG:MainThread} - time passed: 0.00286521, power1: 365, power2: 365
2023-12-08 04:08:51,756 - {modules.common.simcount._calculate:29} - {DEBUG:MainThread} - power did not change sign. Total energy: 1.0458
2023-12-08 04:08:51,757 - {modules.common.simcount._simcount:47} - {DEBUG:MainThread} - imported: 1.0458 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702004931.7351213, power=365.0, imported=2374354.8567819158, exported=0)
2023-12-08 04:08:51,780 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=19, daily_exported=0.0, daily_imported=0.0, imported=143333.38, exported=116864.52, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2023-12-08 04:08:51,781 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=19, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=143333.38, exported=116864.52, power=0.0), set=Set(charging_power_left=-50, switch_on_soc_reached=False))
2023-12-08 04:08:51,785 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=97.16, daily_exported=0, power=0, imported=6926459.96, exported=0))
2023-12-08 04:08:51,789 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 95%, 06:00 Uhr', imported_at_plan_start=6926377.93, imported_instant_charging=None, limit=None, phases=1, prio=False, required_current=6, required_currents=[0.0, 6, 0.0], state=0, submode=<Chargemode.PV_CHARGING: 'pv_charging'>, 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=72), currents=[0.1, 0.0, 0.0], daily_imported=97.16, daily_exported=0, evse_current=0, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=6926459.96, phases_in_use=1, plug_state=True, power=0, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Kein Sofortladen, da noch Zeit bis zum Zieltermin ist. Falls vorhanden, wird mit EVU-Überschuss geladen.', voltages=[242.68, 240.81, 242.75]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=0, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='_', imported_at_mode_switch=6926377.93, imported_at_plugtime=6926377.93, imported_since_mode_switch=0, imported_since_plugged=82.03000000026077, range_charged=0, time_charged='00:00', timestamp_start_charging=None), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time='12/07/2023, 13:07:31', required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x7157b730>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB Carport', type='internal_openwb', template=1, connected_phases=3, phase_1=2, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=1))
2023-12-08 04:08:51,790 - {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-12-08 04:08:51,798 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=1, max_current_multi_phases=16, max_current_single_phase=20, name='RFID, 20A, 11kW', rfid_enabling=True, valid_tags=['0003134583', '0003526747', '1655332554', '2585022212', '2585087748'])
2023-12-08 04:08:51,800 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[63, 63, 63], max_total_power=43000), get=Get(powers=[198.0, 21.0, 144.0], currents=[1.1, 0.5, 1.2], voltages=[242.34, 242.22, 240.33], power_factors=[0.73, 0.17, 0.49], unbalanced_load=0, frequency=50.0, daily_exported=0.0, daily_imported=4100.0, imported=6125885.0, exported=4870433.0, fault_state=0, fault_str='Kein Fehler.', power=365.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=42635.0, raw_currents_left=[61.9, 62.6, 61.8], surplus_power_left=0, state_str=''))
2023-12-08 04:08:51,801 - {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': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=365.0, invalid_home_consumption=0, daily_yield_home_consumption=5516.1283940876, imported_home_consumption=2374354.8567819158, disengageable_smarthome_power=0))
2023-12-08 04:08:51,805 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2023-12-08 04:08:51,808 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Ladeprofil ***AUTO1***', disable_after_unplug=False, prio=False, load_default=True, time_charging=TimeCharging(active=True, plans={'0': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[True, True, True, True, False, False, True]), time=['22:00', '06:00'], name='Zeitladen 95%, So-Do 22:00-06:00 Uhr', current=16, limit=Limit(selected='soc', amount=1000, soc=95)), '1': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, True, True, False]), time=['22:00', '06:00'], name='Zeitladen 80%, Fr-Sa 22:00-06:00 Uhr', current=16, limit=Limit(selected='soc', amount=1000, soc=80))}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2023-12-08 04:08:51,811 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, time_charging=TimeCharging(active=True, plans={'2': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), time=['06:45', '07:00'], name='Klima 06:45-07:00 Uhr', current=6, limit=Limit(selected='none', amount=1000, soc=50)), '3': TimeChargingPlan(active=True, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, False, False, False]), time=['00:00', '23:55'], name='Immer 35%', current=10, limit=Limit(selected='soc', amount=1000, soc=35))}), chargemode=Chargemode(selected='scheduled_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={'0': ScheduledChargingPlan(active=False, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, True, False, False, False, False, False]), current=14, name='Zielladen 80%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '1': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), current=14, name='Zielladen 95%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=95), time='05:40'), '2': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once='2023-09-26', weekly=[True, False, False, True, False, True, True]), current=14, name='Zielladen 75%, 7:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=75), time='05:40')}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=80))))
2023-12-08 04:08:51,814 - {control.data:266} - {INFO:MainThread} - ev0
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=['0003134583'], get=Get(soc=0, soc_timestamp=None, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:08:51,815 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Tesla Model Y (2022)', 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=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212', '2585087748'], get=Get(soc=49.0, soc_timestamp='12/08/2023, 01:29:15', force_soc_update=False, range=220.74, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:08:51,817 - {control.data:266} - {INFO:MainThread} - ev2
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Cupra Born 58kW', 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=18000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=2, ev_template=2, name='***AUTO2***', tag_id=['1655332554'], get=Get(soc=72, soc_timestamp='12/08/2023, 02:47:32', force_soc_update=False, range=205, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:08:51,818 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40)
2023-12-08 04:08:51,819 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', 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=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40)
2023-12-08 04:08:51,820 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', 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=18000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40)
2023-12-08 04:08:51,821 - {control.data:245} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=3), pv_charging=PvCharging(bat_prio=True, charging_power_reserve=200, control_range=[-230, 230], feed_in_yield=15000, phase_switch_delay=15, phases_to_use=0, rundown_power=1000, rundown_soc=25, switch_off_delay=60, switch_off_soc=25, switch_off_threshold=50, switch_on_delay=30, switch_on_soc=50, switch_on_threshold=1400), scheduled_charging=ScheduledCharging(phases_to_use=0), time_charging=TimeCharging(phases_to_use=3), unbalanced_load_limit=20, unbalanced_load=True), control_interval=10, extern_display_mode='local', extern=False, external_buttons_hw=False, grid_protection_active=False, grid_protection_configured=True, grid_protection_random_stop=0, grid_protection_timestamp='', mqtt_bridge=False, price_kwh=0.3528, range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=True, r1_active=False, r2_active=False))
2023-12-08 04:08:51,824 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2023-12-08 04:08:51,825 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2023-12-08 04:08:51,826 - {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 0x715bf748>), led=Led(active=False), rfid=Rfid(active=True))
2023-12-08 04:08:51,828 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=0), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=293628.595, fault_state=0, fault_str='Kein Fehler.', power=0))
2023-12-08 04:08:51,829 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=9500), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=7816178.86, fault_state=0, fault_str='Kein Fehler.', power=-0.0))
2023-12-08 04:08:51,830 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=8109807.455, power=0.0))
2023-12-08 04:08:51,831 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2023-11-30 12:30:45 +0100 [285f5a5fb]', 'current_branch': 'Release', 'current_branch_commit': '2023-11-30 12:30:45 +0100 [285f5a5fb]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.2-Patch.1', 'datastore_version': 29, 'lastlivevaluesJson': {'timestamp': 1702004921, 'time': '04:08:41', 'grid': 0.365, 'house-power': 0.365, 'charging-all': 0.0, 'pv-all': -0.0, 'cp1-power': 0.0, 'ev1-soc': 49.0, 'ev2-soc': 72, 'bat-all-power': 0.0, 'bat-all-soc': 19}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2023-12-08 04:08:51,831 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2023-12-08 04:08:51,832 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2023-12-08 04:08:51,832 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2023-12-08 04:08:51,833 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2023-12-08 04:08:51,833 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2023-12-08 04:08:51,834 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2023-12-08 04:08:51,834 - {control.data:253} - {INFO:MainThread} - 

2023-12-08 04:08:51,834 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2023-12-08 04:08:51,835 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2023-12-08 04:08:51,837 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2023-12-08 04:08:51,839 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2023-12-08 04:08:51,841 - {control.counter:211} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: 0W
2023-12-08 04:08:51,841 - {control.counter:457} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf 0W
2023-12-08 04:08:51,842 - {control.chargepoint.chargepoint:277} - {INFO:MainThread} - LP 1: Die Ladung kann nicht gestartet werden, da die Einschaltschwelle nicht erreicht wird.
2023-12-08 04:08:51,843 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2023-12-08 04:08:51,843 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2023-12-08 04:08:51,848 - {control.process:111} - {INFO:MainThread} - LP1: set current 0 A, state NO_CHARGING_ALLOWED
2023-12-08 04:08:51,864 - {modules.common.component_context:24} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:08:51,894 - {control.counter:186} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2023-12-08 04:08:52,105 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2023-12-08 04:08:52,106 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2023-12-08 04:08:55,113 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2023-12-08 04:08:55,113 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2023-12-08 04:09:00,124 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2023-12-08 04:09:00,125 - {root:74} - {INFO:MainThread} - # ***Start*** 
2023-12-08 04:09:00,159 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x715cf340>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x7155e4a8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x715c75f8>}
2023-12-08 04:09:00,164 - {modules.common.component_context:24} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2023-12-08 04:09:00,170 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2023-12-08 04:09:00,172 - {modules.common.component_context:24} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:09:00,176 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2023-12-08 04:09:00,217 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 750
2023-12-08 04:09:00,219 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"cloud":{"connected":false},"input:0":{"id":0,"state":false},"mqtt":{"connected":false},"switch:0":{"id":0, "source":"loopback", "output":false, "apower":0.0, "voltage":242.7, "current":0.000, "aenergy":{"total":1505.625,"by_minute":[0.000,0.000,0.000],"minute_ts":1702004939},"temperature":{"tC":28.8, "tF":83.9}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:09","unixtime":1702004941,"uptime":1364268,"ram_size":248928,"ram_free":144488,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"beta":{"version":"1.1.0-beta2"},"stable":{"version":"1.0.8"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-68},"ws":{"connected":false}}

2023-12-08 04:09:00,221 - {modules.common.simcount._simcount:38} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1702004931.0448618, power=0, imported=0.0, exported=293628.5948715257)
2023-12-08 04:09:00,222 - {modules.common.simcount._calculate:13} - {DEBUG:device1} - time passed: 0.00254905, power1: 0, power2: 0
2023-12-08 04:09:00,222 - {modules.common.simcount._calculate:29} - {DEBUG:device1} - power did not change sign. Total energy: 0
2023-12-08 04:09:00,222 - {modules.common.simcount._simcount:47} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702004940.221449, power=0, imported=0.0, exported=293628.5948715257)
2023-12-08 04:09:00,223 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:09:00,275 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-362, -200, -20, -141], Scale 0
2023-12-08 04:09:00,303 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [11, 5, 12], Scale -1
2023-12-08 04:09:00,323 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [24231, 24226, 24030, 0, 0, 0, 0], Scale -2
2023-12-08 04:09:00,342 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [5000], Scale -2
2023-12-08 04:09:00,362 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7319, 1800, 4889], Scale -2
2023-12-08 04:09:00,393 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4870433, 1797042, 2153375, 1456453, 6125886, 2531538, 1862790, 2267995], Scale 0
2023-12-08 04:09:00,393 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[1.1, 0.5, 1.2000000000000002], powers=[200.0, 20.0, 141.0], voltages=[242.31, 242.26, 240.3], power_factors=[0.7319, 0.18, 0.4889], imported=6125886.0, exported=4870433.0, power=362.0, frequency=50.0)
2023-12-08 04:09:00,395 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2023-12-08 04:09:00,422 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [0], Scale 0
2023-12-08 04:09:00,486 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7789710], Scale 0
2023-12-08 04:09:00,514 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [27, 31, 31], Scale -2
2023-12-08 04:09:00,531 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4896], Scale -2
2023-12-08 04:09:00,532 - {modules.common.component_state:100} - {DEBUG:device0} - currents sign wrong [0.27, 0.31, 0.31]
2023-12-08 04:09:00,533 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.27, 0.31, 0.31], power=-0.0, exported=7789710.0, dc_power=48.96)
2023-12-08 04:09:00,535 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2023-12-08 04:09:00,572 - {modules.common.simcount._simcount:38} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1702004931.4045284, power=0.0, imported=143333.37604219164, exported=116864.5215890633)
2023-12-08 04:09:00,573 - {modules.common.simcount._calculate:13} - {DEBUG:device0} - time passed: 0.00254669, power1: 0, power2: 0
2023-12-08 04:09:00,574 - {modules.common.simcount._calculate:29} - {DEBUG:device0} - power did not change sign. Total energy: 0
2023-12-08 04:09:00,575 - {modules.common.simcount._simcount:47} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702004940.5726295, power=0.0, imported=143333.37604219164, exported=116864.5215890633)
2023-12-08 04:09:00,576 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=143333.37604219164, exported=116864.5215890633, power=0.0, soc=19.0)
2023-12-08 04:09:00,586 - {modules.common.component_context:24} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2023-12-08 04:09:00,590 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=143333.37604219164, exported=116864.5215890633, power=0.0, soc=19.0)
2023-12-08 04:09:00,640 - {modules.common.component_context:24} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:09:00,641 - {modules.common.component_context:24} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2023-12-08 04:09:00,642 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-0.0, exported=7816178.86, dc_power=None)
2023-12-08 04:09:00,642 - {modules.common.component_context:24} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2023-12-08 04:09:00,643 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-0.0, exported=7816178.86, dc_power=None)
2023-12-08 04:09:00,644 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:09:00,645 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:09:00,691 - {modules.common.component_context:24} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2023-12-08 04:09:00,692 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[1.1, 0.5, 1.2000000000000002], powers=[200.0, 20.0, 141.0], voltages=[242.31, 242.26, 240.3], power_factors=[0.7319, 0.18, 0.4889], imported=6125886.0, exported=4870433.0, power=362.0, frequency=50.0)
2023-12-08 04:09:00,865 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2023-12-08 04:09:00,869 - {control.bat_all:173} - {INFO:MainThread} - -50W verbleibende Speicher-Leistung
2023-12-08 04:09:00,882 - {control.counter:138} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [61.9, 62.6, 61.8]A
2023-12-08 04:09:00,885 - {control.counter:161} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 42638.0W
2023-12-08 04:09:00,895 - {control.chargepoint.chargepoint:699} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2023-12-08 04:09:00,900 - {control.chargepoint.chargepoint:682} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2023-12-08 04:09:00,913 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 487.658014s, Dauer 1.380952380952381h, Termin heute verpasst: False
2023-12-08 04:09:00,915 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 91210.637793s, Dauer 0.18012422360248448h, Termin heute verpasst: False
2023-12-08 04:09:00,916 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -9455.201749s, Dauer 4.142857142857143h, Termin heute verpasst: False
2023-12-08 04:09:00,917 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 89913.74085s, Dauer 0.5403726708074534h, Termin heute verpasst: False
2023-12-08 04:09:00,919 - {control.ev:762} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2023-12-08 04:09:00,922 - {control.chargepoint.chargepoint:898} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.PV_CHARGING, Phasen: 1, Priorität: False, max. Ist-Strom: 0.1
2023-12-08 04:09:00,923 - {control.chargepoint.chargepoint:277} - {INFO:MainThread} - LP 1: Kein Sofortladen, da noch Zeit bis zum Zieltermin ist. Falls vorhanden, wird mit EVU-Überschuss geladen.
2023-12-08 04:09:00,952 - {modules.common.simcount._simcount:38} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1702004931.7351213, power=365.0, imported=2374354.8567819158, exported=0)
2023-12-08 04:09:00,959 - {modules.common.simcount._calculate:13} - {DEBUG:MainThread} - time passed: 0.00256014, power1: 365, power2: 362
2023-12-08 04:09:00,961 - {modules.common.simcount._calculate:29} - {DEBUG:MainThread} - power did not change sign. Total energy: 0.930611
2023-12-08 04:09:00,962 - {modules.common.simcount._simcount:47} - {DEBUG:MainThread} - imported: 0.930611 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702004940.9516277, power=362.0, imported=2374355.7873930563, exported=0)
2023-12-08 04:09:00,968 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=19, daily_exported=0.0, daily_imported=0.0, imported=143333.38, exported=116864.52, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2023-12-08 04:09:00,974 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=19, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=143333.38, exported=116864.52, power=0.0), set=Set(charging_power_left=-50, switch_on_soc_reached=False))
2023-12-08 04:09:00,974 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=97.16, daily_exported=0, power=0, imported=6926459.96, exported=0))
2023-12-08 04:09:00,975 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 95%, 06:00 Uhr', imported_at_plan_start=6926377.93, imported_instant_charging=None, limit=None, phases=1, prio=False, required_current=6, required_currents=[0.0, 6, 0.0], state=0, submode=<Chargemode.PV_CHARGING: 'pv_charging'>, 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=72), currents=[0.1, 0.0, 0.0], daily_imported=97.16, daily_exported=0, evse_current=0, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=6926459.96, phases_in_use=1, plug_state=True, power=0, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Kein Sofortladen, da noch Zeit bis zum Zieltermin ist. Falls vorhanden, wird mit EVU-Überschuss geladen.', voltages=[242.6, 240.68, 242.68]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=0, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='_', imported_at_mode_switch=6926377.93, imported_at_plugtime=6926377.93, imported_since_mode_switch=0, imported_since_plugged=82.03000000026077, range_charged=0, time_charged='00:00', timestamp_start_charging=None), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time='12/07/2023, 13:07:31', required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x70bf3298>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB Carport', type='internal_openwb', template=1, connected_phases=3, phase_1=2, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=1))
2023-12-08 04:09:00,975 - {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-12-08 04:09:00,976 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=1, max_current_multi_phases=16, max_current_single_phase=20, name='RFID, 20A, 11kW', rfid_enabling=True, valid_tags=['0003134583', '0003526747', '1655332554', '2585022212', '2585087748'])
2023-12-08 04:09:00,976 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[63, 63, 63], max_total_power=43000), get=Get(powers=[200.0, 20.0, 141.0], currents=[1.1, 0.5, 1.2], voltages=[242.31, 242.26, 240.3], power_factors=[0.73, 0.18, 0.49], unbalanced_load=0, frequency=50.0, daily_exported=0.0, daily_imported=4100.0, imported=6125886.0, exported=4870433.0, fault_state=0, fault_str='Kein Fehler.', power=362.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=42638.0, raw_currents_left=[61.9, 62.6, 61.8], surplus_power_left=0, state_str=''))
2023-12-08 04:09:00,977 - {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': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=362.0, invalid_home_consumption=0, daily_yield_home_consumption=5516.1283940876, imported_home_consumption=2374355.7873930563, disengageable_smarthome_power=0))
2023-12-08 04:09:00,977 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2023-12-08 04:09:00,978 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Ladeprofil ***AUTO1***', disable_after_unplug=False, prio=False, load_default=True, time_charging=TimeCharging(active=True, plans={'0': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[True, True, True, True, False, False, True]), time=['22:00', '06:00'], name='Zeitladen 95%, So-Do 22:00-06:00 Uhr', current=16, limit=Limit(selected='soc', amount=1000, soc=95)), '1': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, True, True, False]), time=['22:00', '06:00'], name='Zeitladen 80%, Fr-Sa 22:00-06:00 Uhr', current=16, limit=Limit(selected='soc', amount=1000, soc=80))}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2023-12-08 04:09:00,979 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, time_charging=TimeCharging(active=True, plans={'2': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), time=['06:45', '07:00'], name='Klima 06:45-07:00 Uhr', current=6, limit=Limit(selected='none', amount=1000, soc=50)), '3': TimeChargingPlan(active=True, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, False, False, False]), time=['00:00', '23:55'], name='Immer 35%', current=10, limit=Limit(selected='soc', amount=1000, soc=35))}), chargemode=Chargemode(selected='scheduled_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={'0': ScheduledChargingPlan(active=False, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, True, False, False, False, False, False]), current=14, name='Zielladen 80%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '1': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), current=14, name='Zielladen 95%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=95), time='05:40'), '2': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once='2023-09-26', weekly=[True, False, False, True, False, True, True]), current=14, name='Zielladen 75%, 7:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=75), time='05:40')}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=80))))
2023-12-08 04:09:00,979 - {control.data:266} - {INFO:MainThread} - ev0
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=['0003134583'], get=Get(soc=0, soc_timestamp=None, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:09:00,981 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Tesla Model Y (2022)', 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=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212', '2585087748'], get=Get(soc=49.0, soc_timestamp='12/08/2023, 01:29:15', force_soc_update=False, range=220.74, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:09:00,985 - {control.data:266} - {INFO:MainThread} - ev2
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Cupra Born 58kW', 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=18000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=2, ev_template=2, name='***AUTO2***', tag_id=['1655332554'], get=Get(soc=72, soc_timestamp='12/08/2023, 02:47:32', force_soc_update=False, range=205, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:09:00,993 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40)
2023-12-08 04:09:00,993 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', 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=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40)
2023-12-08 04:09:00,994 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', 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=18000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40)
2023-12-08 04:09:00,994 - {control.data:245} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=3), pv_charging=PvCharging(bat_prio=True, charging_power_reserve=200, control_range=[-230, 230], feed_in_yield=15000, phase_switch_delay=15, phases_to_use=0, rundown_power=1000, rundown_soc=25, switch_off_delay=60, switch_off_soc=25, switch_off_threshold=50, switch_on_delay=30, switch_on_soc=50, switch_on_threshold=1400), scheduled_charging=ScheduledCharging(phases_to_use=0), time_charging=TimeCharging(phases_to_use=3), unbalanced_load_limit=20, unbalanced_load=True), control_interval=10, extern_display_mode='local', extern=False, external_buttons_hw=False, grid_protection_active=False, grid_protection_configured=True, grid_protection_random_stop=0, grid_protection_timestamp='', mqtt_bridge=False, price_kwh=0.3528, range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=True, r1_active=False, r2_active=False))
2023-12-08 04:09:00,995 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2023-12-08 04:09:00,995 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2023-12-08 04:09:00,995 - {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 0x70b62b50>), led=Led(active=False), rfid=Rfid(active=True))
2023-12-08 04:09:00,996 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=0), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=293628.595, fault_state=0, fault_str='Kein Fehler.', power=0))
2023-12-08 04:09:00,996 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=9500), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=7816178.86, fault_state=0, fault_str='Kein Fehler.', power=-0.0))
2023-12-08 04:09:00,997 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=8109807.455, power=0.0))
2023-12-08 04:09:00,997 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2023-11-30 12:30:45 +0100 [285f5a5fb]', 'current_branch': 'Release', 'current_branch_commit': '2023-11-30 12:30:45 +0100 [285f5a5fb]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.2-Patch.1', 'datastore_version': 29, 'lastlivevaluesJson': {'timestamp': 1702004931, 'time': '04:08:51', 'grid': 0.365, 'house-power': 0.365, 'charging-all': 0.0, 'pv-all': -0.0, 'cp1-power': 0.0, 'ev1-soc': 49.0, 'ev2-soc': 72, 'bat-all-power': 0.0, 'bat-all-soc': 19}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2023-12-08 04:09:00,997 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2023-12-08 04:09:00,998 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2023-12-08 04:09:00,998 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2023-12-08 04:09:00,999 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2023-12-08 04:09:01,000 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2023-12-08 04:09:01,000 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2023-12-08 04:09:01,001 - {control.data:253} - {INFO:MainThread} - 

2023-12-08 04:09:01,001 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2023-12-08 04:09:01,003 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2023-12-08 04:09:01,008 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2023-12-08 04:09:01,010 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2023-12-08 04:09:01,013 - {control.counter:211} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: 0W
2023-12-08 04:09:01,018 - {control.counter:457} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf 0W
2023-12-08 04:09:01,021 - {control.chargepoint.chargepoint:277} - {INFO:MainThread} - LP 1: Die Ladung kann nicht gestartet werden, da die Einschaltschwelle nicht erreicht wird.
2023-12-08 04:09:01,022 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2023-12-08 04:09:01,022 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2023-12-08 04:09:01,024 - {control.process:111} - {INFO:MainThread} - LP1: set current 0 A, state NO_CHARGING_ALLOWED
2023-12-08 04:09:01,025 - {modules.common.component_context:24} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:09:01,050 - {control.counter:186} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2023-12-08 04:09:01,258 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2023-12-08 04:09:05,301 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2023-12-08 04:09:05,304 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2023-12-08 04:09:10,315 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2023-12-08 04:09:10,316 - {root:74} - {INFO:MainThread} - # ***Start*** 
2023-12-08 04:09:10,361 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x715cf340>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x7155e4a8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x715c75f8>}
2023-12-08 04:09:10,362 - {modules.common.component_context:24} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2023-12-08 04:09:10,364 - {modules.common.component_context:24} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:09:10,371 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2023-12-08 04:09:10,373 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2023-12-08 04:09:10,405 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-360, -198, -22, -140], Scale 0
2023-12-08 04:09:10,420 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 750
2023-12-08 04:09:10,422 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"cloud":{"connected":false},"input:0":{"id":0,"state":false},"mqtt":{"connected":false},"switch:0":{"id":0, "source":"loopback", "output":false, "apower":0.0, "voltage":242.6, "current":0.000, "aenergy":{"total":1505.625,"by_minute":[0.000,0.000,0.000],"minute_ts":1702004949},"temperature":{"tC":28.8, "tF":83.9}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:09","unixtime":1702004951,"uptime":1364278,"ram_size":248944,"ram_free":144708,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"beta":{"version":"1.1.0-beta2"},"stable":{"version":"1.0.8"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-67},"ws":{"connected":false}}

2023-12-08 04:09:10,425 - {modules.common.simcount._simcount:38} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1702004940.221449, power=0, imported=0.0, exported=293628.5948715257)
2023-12-08 04:09:10,426 - {modules.common.simcount._calculate:13} - {DEBUG:device1} - time passed: 0.00283443, power1: 0, power2: 0
2023-12-08 04:09:10,427 - {modules.common.simcount._calculate:29} - {DEBUG:device1} - power did not change sign. Total energy: 0
2023-12-08 04:09:10,428 - {modules.common.simcount._simcount:47} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702004950.4253862, power=0, imported=0.0, exported=293628.5948715257)
2023-12-08 04:09:10,430 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:09:10,447 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [11, 5, 12], Scale -1
2023-12-08 04:09:10,503 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [24223, 24217, 24020, 0, 0, 0, 0], Scale -2
2023-12-08 04:09:10,521 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [5000], Scale -2
2023-12-08 04:09:10,543 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7310, 1800, 4880], Scale -2
2023-12-08 04:09:10,563 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4870433, 1797042, 2153375, 1456453, 6125887, 2531539, 1862790, 2267996], Scale 0
2023-12-08 04:09:10,565 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[1.1, 0.5, 1.2000000000000002], powers=[198.0, 22.0, 140.0], voltages=[242.23000000000002, 242.17000000000002, 240.20000000000002], power_factors=[0.7310000000000001, 0.18, 0.48800000000000004], imported=6125887.0, exported=4870433.0, power=360.0, frequency=50.0)
2023-12-08 04:09:10,572 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2023-12-08 04:09:10,643 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [0], Scale 0
2023-12-08 04:09:10,674 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7789710], Scale 0
2023-12-08 04:09:10,694 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [26, 28, 29], Scale -2
2023-12-08 04:09:10,715 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4199], Scale -2
2023-12-08 04:09:10,716 - {modules.common.component_state:100} - {DEBUG:device0} - currents sign wrong [0.26, 0.28, 0.29]
2023-12-08 04:09:10,718 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.26, 0.28, 0.29], power=-0.0, exported=7789710.0, dc_power=41.99)
2023-12-08 04:09:10,722 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2023-12-08 04:09:10,787 - {modules.common.simcount._simcount:38} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1702004940.5726295, power=0.0, imported=143333.37604219164, exported=116864.5215890633)
2023-12-08 04:09:10,788 - {modules.common.simcount._calculate:13} - {DEBUG:device0} - time passed: 0.00283742, power1: 0, power2: 0
2023-12-08 04:09:10,789 - {modules.common.simcount._calculate:29} - {DEBUG:device0} - power did not change sign. Total energy: 0
2023-12-08 04:09:10,791 - {modules.common.simcount._simcount:47} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702004950.7873306, power=0.0, imported=143333.37604219164, exported=116864.5215890633)
2023-12-08 04:09:10,793 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=143333.37604219164, exported=116864.5215890633, power=0.0, soc=19.0)
2023-12-08 04:09:10,801 - {modules.common.component_context:24} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2023-12-08 04:09:10,802 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=143333.37604219164, exported=116864.5215890633, power=0.0, soc=19.0)
2023-12-08 04:09:10,847 - {modules.common.component_context:24} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:09:10,848 - {modules.common.component_context:24} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2023-12-08 04:09:10,848 - {modules.common.component_context:24} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2023-12-08 04:09:10,849 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-0.0, exported=7816178.86, dc_power=None)
2023-12-08 04:09:10,850 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:09:10,851 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-0.0, exported=7816178.86, dc_power=None)
2023-12-08 04:09:10,851 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:09:10,892 - {modules.common.component_context:24} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2023-12-08 04:09:10,893 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[1.1, 0.5, 1.2000000000000002], powers=[198.0, 22.0, 140.0], voltages=[242.23000000000002, 242.17000000000002, 240.20000000000002], power_factors=[0.7310000000000001, 0.18, 0.48800000000000004], imported=6125887.0, exported=4870433.0, power=360.0, frequency=50.0)
2023-12-08 04:09:11,058 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2023-12-08 04:09:11,062 - {control.bat_all:173} - {INFO:MainThread} - -50W verbleibende Speicher-Leistung
2023-12-08 04:09:11,064 - {control.counter:138} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [61.9, 62.6, 61.8]A
2023-12-08 04:09:11,066 - {control.counter:161} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 42640.0W
2023-12-08 04:09:11,068 - {control.chargepoint.chargepoint:699} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2023-12-08 04:09:11,069 - {control.chargepoint.chargepoint:682} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2023-12-08 04:09:11,071 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 477.5009s, Dauer 1.380952380952381h, Termin heute verpasst: False
2023-12-08 04:09:11,073 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 91200.480256s, Dauer 0.18012422360248448h, Termin heute verpasst: False
2023-12-08 04:09:11,075 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -9465.360761s, Dauer 4.142857142857143h, Termin heute verpasst: False
2023-12-08 04:09:11,077 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 89903.581723s, Dauer 0.5403726708074534h, Termin heute verpasst: False
2023-12-08 04:09:11,078 - {control.ev:762} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2023-12-08 04:09:11,102 - {control.chargepoint.chargepoint:898} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.PV_CHARGING, Phasen: 1, Priorität: False, max. Ist-Strom: 0.1
2023-12-08 04:09:11,107 - {control.chargepoint.chargepoint:277} - {INFO:MainThread} - LP 1: Kein Sofortladen, da noch Zeit bis zum Zieltermin ist. Falls vorhanden, wird mit EVU-Überschuss geladen.
2023-12-08 04:09:11,114 - {modules.common.simcount._simcount:38} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1702004940.9516277, power=362.0, imported=2374355.7873930563, exported=0)
2023-12-08 04:09:11,116 - {modules.common.simcount._calculate:13} - {DEBUG:MainThread} - time passed: 0.00282301, power1: 362, power2: 360
2023-12-08 04:09:11,117 - {modules.common.simcount._calculate:29} - {DEBUG:MainThread} - power did not change sign. Total energy: 1.01911
2023-12-08 04:09:11,119 - {modules.common.simcount._simcount:47} - {DEBUG:MainThread} - imported: 1.01911 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702004951.1144516, power=360.0, imported=2374356.8064984544, exported=0)
2023-12-08 04:09:11,122 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=19, daily_exported=0.0, daily_imported=0.0, imported=143333.38, exported=116864.52, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2023-12-08 04:09:11,124 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=19, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=143333.38, exported=116864.52, power=0.0), set=Set(charging_power_left=-50, switch_on_soc_reached=False))
2023-12-08 04:09:11,126 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=97.16, daily_exported=0, power=0, imported=6926459.96, exported=0))
2023-12-08 04:09:11,127 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 95%, 06:00 Uhr', imported_at_plan_start=6926377.93, imported_instant_charging=None, limit=None, phases=1, prio=False, required_current=6, required_currents=[0.0, 6, 0.0], state=0, submode=<Chargemode.PV_CHARGING: 'pv_charging'>, 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=72), currents=[0.1, 0.0, 0.0], daily_imported=97.16, daily_exported=0, evse_current=0, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=6926459.96, phases_in_use=1, plug_state=True, power=0, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Kein Sofortladen, da noch Zeit bis zum Zieltermin ist. Falls vorhanden, wird mit EVU-Überschuss geladen.', voltages=[242.72, 240.79, 242.81]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=0, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='_', imported_at_mode_switch=6926377.93, imported_at_plugtime=6926377.93, imported_since_mode_switch=0, imported_since_plugged=82.03000000026077, range_charged=0, time_charged='00:00', timestamp_start_charging=None), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time='12/07/2023, 13:07:31', required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x7158a898>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB Carport', type='internal_openwb', template=1, connected_phases=3, phase_1=2, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=1))
2023-12-08 04:09:11,128 - {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-12-08 04:09:11,129 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=1, max_current_multi_phases=16, max_current_single_phase=20, name='RFID, 20A, 11kW', rfid_enabling=True, valid_tags=['0003134583', '0003526747', '1655332554', '2585022212', '2585087748'])
2023-12-08 04:09:11,130 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[63, 63, 63], max_total_power=43000), get=Get(powers=[198.0, 22.0, 140.0], currents=[1.1, 0.5, 1.2], voltages=[242.23, 242.17, 240.2], power_factors=[0.73, 0.18, 0.49], unbalanced_load=0, frequency=50.0, daily_exported=0.0, daily_imported=4100.0, imported=6125887.0, exported=4870433.0, fault_state=0, fault_str='Kein Fehler.', power=360.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=42640.0, raw_currents_left=[61.9, 62.6, 61.8], surplus_power_left=0, state_str=''))
2023-12-08 04:09:11,131 - {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': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=360.0, invalid_home_consumption=0, daily_yield_home_consumption=5516.1283940876, imported_home_consumption=2374356.8064984544, disengageable_smarthome_power=0))
2023-12-08 04:09:11,133 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2023-12-08 04:09:11,135 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Ladeprofil ***AUTO1***', disable_after_unplug=False, prio=False, load_default=True, time_charging=TimeCharging(active=True, plans={'0': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[True, True, True, True, False, False, True]), time=['22:00', '06:00'], name='Zeitladen 95%, So-Do 22:00-06:00 Uhr', current=16, limit=Limit(selected='soc', amount=1000, soc=95)), '1': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, True, True, False]), time=['22:00', '06:00'], name='Zeitladen 80%, Fr-Sa 22:00-06:00 Uhr', current=16, limit=Limit(selected='soc', amount=1000, soc=80))}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2023-12-08 04:09:11,137 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, time_charging=TimeCharging(active=True, plans={'2': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), time=['06:45', '07:00'], name='Klima 06:45-07:00 Uhr', current=6, limit=Limit(selected='none', amount=1000, soc=50)), '3': TimeChargingPlan(active=True, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, False, False, False]), time=['00:00', '23:55'], name='Immer 35%', current=10, limit=Limit(selected='soc', amount=1000, soc=35))}), chargemode=Chargemode(selected='scheduled_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={'0': ScheduledChargingPlan(active=False, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, True, False, False, False, False, False]), current=14, name='Zielladen 80%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '1': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), current=14, name='Zielladen 95%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=95), time='05:40'), '2': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once='2023-09-26', weekly=[True, False, False, True, False, True, True]), current=14, name='Zielladen 75%, 7:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=75), time='05:40')}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=80))))
2023-12-08 04:09:11,139 - {control.data:266} - {INFO:MainThread} - ev0
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=['0003134583'], get=Get(soc=0, soc_timestamp=None, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:09:11,141 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Tesla Model Y (2022)', 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=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212', '2585087748'], get=Get(soc=49.0, soc_timestamp='12/08/2023, 01:29:15', force_soc_update=False, range=220.74, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:09:11,143 - {control.data:266} - {INFO:MainThread} - ev2
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Cupra Born 58kW', 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=18000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=2, ev_template=2, name='***AUTO2***', tag_id=['1655332554'], get=Get(soc=72, soc_timestamp='12/08/2023, 02:47:32', force_soc_update=False, range=205, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:09:11,145 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40)
2023-12-08 04:09:11,146 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', 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=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40)
2023-12-08 04:09:11,147 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', 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=18000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40)
2023-12-08 04:09:11,149 - {control.data:245} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=3), pv_charging=PvCharging(bat_prio=True, charging_power_reserve=200, control_range=[-230, 230], feed_in_yield=15000, phase_switch_delay=15, phases_to_use=0, rundown_power=1000, rundown_soc=25, switch_off_delay=60, switch_off_soc=25, switch_off_threshold=50, switch_on_delay=30, switch_on_soc=50, switch_on_threshold=1400), scheduled_charging=ScheduledCharging(phases_to_use=0), time_charging=TimeCharging(phases_to_use=3), unbalanced_load_limit=20, unbalanced_load=True), control_interval=10, extern_display_mode='local', extern=False, external_buttons_hw=False, grid_protection_active=False, grid_protection_configured=True, grid_protection_random_stop=0, grid_protection_timestamp='', mqtt_bridge=False, price_kwh=0.3528, range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=True, r1_active=False, r2_active=False))
2023-12-08 04:09:11,150 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2023-12-08 04:09:11,152 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2023-12-08 04:09:11,153 - {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 0x70b62af0>), led=Led(active=False), rfid=Rfid(active=True))
2023-12-08 04:09:11,154 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=0), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=293628.595, fault_state=0, fault_str='Kein Fehler.', power=0))
2023-12-08 04:09:11,156 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=9500), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=7816178.86, fault_state=0, fault_str='Kein Fehler.', power=-0.0))
2023-12-08 04:09:11,157 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=8109807.455, power=0.0))
2023-12-08 04:09:11,159 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2023-11-30 12:30:45 +0100 [285f5a5fb]', 'current_branch': 'Release', 'current_branch_commit': '2023-11-30 12:30:45 +0100 [285f5a5fb]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.2-Patch.1', 'datastore_version': 29, 'lastlivevaluesJson': {'timestamp': 1702004941, 'time': '04:09:01', 'grid': 0.362, 'house-power': 0.362, 'charging-all': 0.0, 'pv-all': -0.0, 'cp1-power': 0.0, 'ev1-soc': 49.0, 'ev2-soc': 72, 'bat-all-power': 0.0, 'bat-all-soc': 19}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2023-12-08 04:09:11,160 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2023-12-08 04:09:11,161 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2023-12-08 04:09:11,163 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2023-12-08 04:09:11,165 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2023-12-08 04:09:11,167 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2023-12-08 04:09:11,168 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2023-12-08 04:09:11,172 - {control.data:253} - {INFO:MainThread} - 

2023-12-08 04:09:11,174 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2023-12-08 04:09:11,176 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2023-12-08 04:09:11,182 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2023-12-08 04:09:11,185 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2023-12-08 04:09:11,187 - {control.counter:211} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: 0W
2023-12-08 04:09:11,189 - {control.counter:457} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf 0W
2023-12-08 04:09:11,190 - {control.chargepoint.chargepoint:277} - {INFO:MainThread} - LP 1: Die Ladung kann nicht gestartet werden, da die Einschaltschwelle nicht erreicht wird.
2023-12-08 04:09:11,191 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2023-12-08 04:09:11,193 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2023-12-08 04:09:11,196 - {control.process:111} - {INFO:MainThread} - LP1: set current 0 A, state NO_CHARGING_ALLOWED
2023-12-08 04:09:11,206 - {modules.common.component_context:24} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:09:11,265 - {control.counter:186} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2023-12-08 04:09:11,526 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2023-12-08 04:09:11,546 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2023-12-08 04:09:15,556 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2023-12-08 04:09:15,557 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2023-12-08 04:09:20,571 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2023-12-08 04:09:20,572 - {root:74} - {INFO:MainThread} - # ***Start*** 
2023-12-08 04:09:20,635 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x715cf340>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x7155e4a8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x715c75f8>}
2023-12-08 04:09:20,636 - {modules.common.component_context:24} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2023-12-08 04:09:20,636 - {modules.common.component_context:24} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:09:20,643 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2023-12-08 04:09:20,646 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2023-12-08 04:09:20,673 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-362, -197, -20, -144], Scale 0
2023-12-08 04:09:20,686 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 750
2023-12-08 04:09:20,688 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"cloud":{"connected":false},"input:0":{"id":0,"state":false},"mqtt":{"connected":false},"switch:0":{"id":0, "source":"loopback", "output":false, "apower":0.0, "voltage":242.7, "current":0.000, "aenergy":{"total":1505.625,"by_minute":[0.000,0.000,0.000],"minute_ts":1702004960},"temperature":{"tC":28.9, "tF":84.0}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:09","unixtime":1702004961,"uptime":1364288,"ram_size":248996,"ram_free":145264,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"beta":{"version":"1.1.0-beta2"},"stable":{"version":"1.0.8"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-68},"ws":{"connected":false}}

2023-12-08 04:09:20,690 - {modules.common.simcount._simcount:38} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1702004950.4253862, power=0, imported=0.0, exported=293628.5948715257)
2023-12-08 04:09:20,691 - {modules.common.simcount._calculate:13} - {DEBUG:device1} - time passed: 0.00285135, power1: 0, power2: 0
2023-12-08 04:09:20,691 - {modules.common.simcount._calculate:29} - {DEBUG:device1} - power did not change sign. Total energy: 0
2023-12-08 04:09:20,691 - {modules.common.simcount._simcount:47} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702004960.6902559, power=0, imported=0.0, exported=293628.5948715257)
2023-12-08 04:09:20,694 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:09:20,713 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [11, 4, 11], Scale -1
2023-12-08 04:09:20,742 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [24248, 24229, 24038, 0, 0, 0, 0], Scale -2
2023-12-08 04:09:20,781 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [5000], Scale -2
2023-12-08 04:09:20,813 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7310, 1759, 4880], Scale -2
2023-12-08 04:09:20,943 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4870433, 1797042, 2153375, 1456453, 6125888, 2531539, 1862790, 2267996], Scale 0
2023-12-08 04:09:20,944 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[1.1, 0.4, 1.1], powers=[197.0, 20.0, 144.0], voltages=[242.48000000000002, 242.29, 240.38], power_factors=[0.7310000000000001, 0.1759, 0.48800000000000004], imported=6125888.0, exported=4870433.0, power=362.0, frequency=50.0)
2023-12-08 04:09:20,945 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2023-12-08 04:09:20,972 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [0], Scale 0
2023-12-08 04:09:20,992 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7789710], Scale 0
2023-12-08 04:09:21,012 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [29, 31, 31], Scale -2
2023-12-08 04:09:21,033 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4597], Scale -2
2023-12-08 04:09:21,033 - {modules.common.component_state:100} - {DEBUG:device0} - currents sign wrong [0.29, 0.31, 0.31]
2023-12-08 04:09:21,034 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.29, 0.31, 0.31], power=-0.0, exported=7789710.0, dc_power=45.97)
2023-12-08 04:09:21,035 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2023-12-08 04:09:21,096 - {modules.common.simcount._simcount:38} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1702004950.7873306, power=0.0, imported=143333.37604219164, exported=116864.5215890633)
2023-12-08 04:09:21,097 - {modules.common.simcount._calculate:13} - {DEBUG:device0} - time passed: 0.00286361, power1: 0, power2: 0
2023-12-08 04:09:21,097 - {modules.common.simcount._calculate:29} - {DEBUG:device0} - power did not change sign. Total energy: 0
2023-12-08 04:09:21,097 - {modules.common.simcount._simcount:47} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702004961.0963445, power=0.0, imported=143333.37604219164, exported=116864.5215890633)
2023-12-08 04:09:21,098 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=143333.37604219164, exported=116864.5215890633, power=0.0, soc=19.0)
2023-12-08 04:09:21,105 - {modules.common.component_context:24} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2023-12-08 04:09:21,111 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=143333.37604219164, exported=116864.5215890633, power=0.0, soc=19.0)
2023-12-08 04:09:21,143 - {modules.common.component_context:24} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:09:21,144 - {modules.common.component_context:24} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2023-12-08 04:09:21,145 - {modules.common.component_context:24} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2023-12-08 04:09:21,145 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-0.0, exported=7816178.86, dc_power=None)
2023-12-08 04:09:21,147 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:09:21,148 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-0.0, exported=7816178.86, dc_power=None)
2023-12-08 04:09:21,148 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:09:21,184 - {modules.common.component_context:24} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2023-12-08 04:09:21,185 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[1.1, 0.4, 1.1], powers=[197.0, 20.0, 144.0], voltages=[242.48000000000002, 242.29, 240.38], power_factors=[0.7310000000000001, 0.1759, 0.48800000000000004], imported=6125888.0, exported=4870433.0, power=362.0, frequency=50.0)
2023-12-08 04:09:21,336 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2023-12-08 04:09:21,341 - {control.bat_all:173} - {INFO:MainThread} - -50W verbleibende Speicher-Leistung
2023-12-08 04:09:21,345 - {control.counter:138} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [61.9, 62.7, 61.9]A
2023-12-08 04:09:21,347 - {control.counter:161} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 42638.0W
2023-12-08 04:09:21,363 - {control.chargepoint.chargepoint:699} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2023-12-08 04:09:21,365 - {control.chargepoint.chargepoint:682} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2023-12-08 04:09:21,367 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 467.204638s, Dauer 1.380952380952381h, Termin heute verpasst: False
2023-12-08 04:09:21,372 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 91190.181049s, Dauer 0.18012422360248448h, Termin heute verpasst: False
2023-12-08 04:09:21,375 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -9475.66062s, Dauer 4.142857142857143h, Termin heute verpasst: False
2023-12-08 04:09:21,377 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 89893.281327s, Dauer 0.5403726708074534h, Termin heute verpasst: False
2023-12-08 04:09:21,379 - {control.ev:762} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2023-12-08 04:09:21,385 - {control.chargepoint.chargepoint:898} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.PV_CHARGING, Phasen: 1, Priorität: False, max. Ist-Strom: 0.1
2023-12-08 04:09:21,390 - {control.chargepoint.chargepoint:277} - {INFO:MainThread} - LP 1: Kein Sofortladen, da noch Zeit bis zum Zieltermin ist. Falls vorhanden, wird mit EVU-Überschuss geladen.
2023-12-08 04:09:21,399 - {modules.common.simcount._simcount:38} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1702004951.1144516, power=360.0, imported=2374356.8064984544, exported=0)
2023-12-08 04:09:21,401 - {modules.common.simcount._calculate:13} - {DEBUG:MainThread} - time passed: 0.00285701, power1: 360, power2: 362
2023-12-08 04:09:21,402 - {modules.common.simcount._calculate:29} - {DEBUG:MainThread} - power did not change sign. Total energy: 1.03138
2023-12-08 04:09:21,403 - {modules.common.simcount._simcount:47} - {DEBUG:MainThread} - imported: 1.03138 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702004961.3996763, power=362.0, imported=2374357.8378779287, exported=0)
2023-12-08 04:09:21,407 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=19, daily_exported=0.0, daily_imported=0.0, imported=143333.38, exported=116864.52, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2023-12-08 04:09:21,415 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=19, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=143333.38, exported=116864.52, power=0.0), set=Set(charging_power_left=-50, switch_on_soc_reached=False))
2023-12-08 04:09:21,426 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=97.16, daily_exported=0, power=0, imported=6926459.96, exported=0))
2023-12-08 04:09:21,427 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 95%, 06:00 Uhr', imported_at_plan_start=6926377.93, imported_instant_charging=None, limit=None, phases=1, prio=False, required_current=6, required_currents=[0.0, 6, 0.0], state=0, submode=<Chargemode.PV_CHARGING: 'pv_charging'>, 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=72), currents=[0.1, 0.0, 0.0], daily_imported=97.16, daily_exported=0, evse_current=0, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=6926459.96, phases_in_use=1, plug_state=True, power=0, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Kein Sofortladen, da noch Zeit bis zum Zieltermin ist. Falls vorhanden, wird mit EVU-Überschuss geladen.', voltages=[242.71, 240.74, 242.89]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=0, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='_', imported_at_mode_switch=6926377.93, imported_at_plugtime=6926377.93, imported_since_mode_switch=0, imported_since_plugged=82.03000000026077, range_charged=0, time_charged='00:00', timestamp_start_charging=None), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time='12/07/2023, 13:07:31', required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x7158a118>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB Carport', type='internal_openwb', template=1, connected_phases=3, phase_1=2, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=1))
2023-12-08 04:09:21,448 - {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-12-08 04:09:21,458 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=1, max_current_multi_phases=16, max_current_single_phase=20, name='RFID, 20A, 11kW', rfid_enabling=True, valid_tags=['0003134583', '0003526747', '1655332554', '2585022212', '2585087748'])
2023-12-08 04:09:21,460 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[63, 63, 63], max_total_power=43000), get=Get(powers=[197.0, 20.0, 144.0], currents=[1.1, 0.4, 1.1], voltages=[242.48, 242.29, 240.38], power_factors=[0.73, 0.18, 0.49], unbalanced_load=0, frequency=50.0, daily_exported=0.0, daily_imported=4100.0, imported=6125888.0, exported=4870433.0, fault_state=0, fault_str='Kein Fehler.', power=362.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=42638.0, raw_currents_left=[61.9, 62.7, 61.9], surplus_power_left=0, state_str=''))
2023-12-08 04:09:21,463 - {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': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=362.0, invalid_home_consumption=0, daily_yield_home_consumption=5516.1283940876, imported_home_consumption=2374357.8378779287, disengageable_smarthome_power=0))
2023-12-08 04:09:21,466 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2023-12-08 04:09:21,467 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Ladeprofil ***AUTO1***', disable_after_unplug=False, prio=False, load_default=True, time_charging=TimeCharging(active=True, plans={'0': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[True, True, True, True, False, False, True]), time=['22:00', '06:00'], name='Zeitladen 95%, So-Do 22:00-06:00 Uhr', current=16, limit=Limit(selected='soc', amount=1000, soc=95)), '1': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, True, True, False]), time=['22:00', '06:00'], name='Zeitladen 80%, Fr-Sa 22:00-06:00 Uhr', current=16, limit=Limit(selected='soc', amount=1000, soc=80))}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2023-12-08 04:09:21,471 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, time_charging=TimeCharging(active=True, plans={'2': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), time=['06:45', '07:00'], name='Klima 06:45-07:00 Uhr', current=6, limit=Limit(selected='none', amount=1000, soc=50)), '3': TimeChargingPlan(active=True, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, False, False, False]), time=['00:00', '23:55'], name='Immer 35%', current=10, limit=Limit(selected='soc', amount=1000, soc=35))}), chargemode=Chargemode(selected='scheduled_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={'0': ScheduledChargingPlan(active=False, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, True, False, False, False, False, False]), current=14, name='Zielladen 80%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '1': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), current=14, name='Zielladen 95%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=95), time='05:40'), '2': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once='2023-09-26', weekly=[True, False, False, True, False, True, True]), current=14, name='Zielladen 75%, 7:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=75), time='05:40')}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=80))))
2023-12-08 04:09:21,474 - {control.data:266} - {INFO:MainThread} - ev0
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=['0003134583'], get=Get(soc=0, soc_timestamp=None, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:09:21,477 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Tesla Model Y (2022)', 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=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212', '2585087748'], get=Get(soc=49.0, soc_timestamp='12/08/2023, 01:29:15', force_soc_update=False, range=220.74, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:09:21,480 - {control.data:266} - {INFO:MainThread} - ev2
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Cupra Born 58kW', 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=18000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=2, ev_template=2, name='***AUTO2***', tag_id=['1655332554'], get=Get(soc=72, soc_timestamp='12/08/2023, 02:47:32', force_soc_update=False, range=205, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:09:21,481 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40)
2023-12-08 04:09:21,482 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', 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=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40)
2023-12-08 04:09:21,483 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', 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=18000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40)
2023-12-08 04:09:21,485 - {control.data:245} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=3), pv_charging=PvCharging(bat_prio=True, charging_power_reserve=200, control_range=[-230, 230], feed_in_yield=15000, phase_switch_delay=15, phases_to_use=0, rundown_power=1000, rundown_soc=25, switch_off_delay=60, switch_off_soc=25, switch_off_threshold=50, switch_on_delay=30, switch_on_soc=50, switch_on_threshold=1400), scheduled_charging=ScheduledCharging(phases_to_use=0), time_charging=TimeCharging(phases_to_use=3), unbalanced_load_limit=20, unbalanced_load=True), control_interval=10, extern_display_mode='local', extern=False, external_buttons_hw=False, grid_protection_active=False, grid_protection_configured=True, grid_protection_random_stop=0, grid_protection_timestamp='', mqtt_bridge=False, price_kwh=0.3528, range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=True, r1_active=False, r2_active=False))
2023-12-08 04:09:21,486 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2023-12-08 04:09:21,487 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2023-12-08 04:09:21,488 - {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 0x70bce550>), led=Led(active=False), rfid=Rfid(active=True))
2023-12-08 04:09:21,489 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=0), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=293628.595, fault_state=0, fault_str='Kein Fehler.', power=0))
2023-12-08 04:09:21,492 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=9500), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=7816178.86, fault_state=0, fault_str='Kein Fehler.', power=-0.0))
2023-12-08 04:09:21,494 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=8109807.455, power=0.0))
2023-12-08 04:09:21,498 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2023-11-30 12:30:45 +0100 [285f5a5fb]', 'current_branch': 'Release', 'current_branch_commit': '2023-11-30 12:30:45 +0100 [285f5a5fb]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.2-Patch.1', 'datastore_version': 29, 'lastlivevaluesJson': {'timestamp': 1702004951, 'time': '04:09:11', 'grid': 0.36, 'house-power': 0.36, 'charging-all': 0.0, 'pv-all': -0.0, 'cp1-power': 0.0, 'ev1-soc': 49.0, 'ev2-soc': 72, 'bat-all-power': 0.0, 'bat-all-soc': 19}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2023-12-08 04:09:21,500 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2023-12-08 04:09:21,503 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2023-12-08 04:09:21,507 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2023-12-08 04:09:21,508 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2023-12-08 04:09:21,514 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2023-12-08 04:09:21,522 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2023-12-08 04:09:21,523 - {control.data:253} - {INFO:MainThread} - 

2023-12-08 04:09:21,524 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2023-12-08 04:09:21,526 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2023-12-08 04:09:21,529 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2023-12-08 04:09:21,531 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2023-12-08 04:09:21,540 - {control.counter:211} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: 0W
2023-12-08 04:09:21,542 - {control.counter:457} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf 0W
2023-12-08 04:09:21,546 - {control.chargepoint.chargepoint:277} - {INFO:MainThread} - LP 1: Die Ladung kann nicht gestartet werden, da die Einschaltschwelle nicht erreicht wird.
2023-12-08 04:09:21,546 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2023-12-08 04:09:21,549 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2023-12-08 04:09:21,552 - {control.process:111} - {INFO:MainThread} - LP1: set current 0 A, state NO_CHARGING_ALLOWED
2023-12-08 04:09:21,557 - {modules.common.component_context:24} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:09:21,583 - {control.counter:186} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2023-12-08 04:09:21,858 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2023-12-08 04:09:25,930 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2023-12-08 04:09:25,931 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2023-12-08 04:09:30,943 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2023-12-08 04:09:30,944 - {root:74} - {INFO:MainThread} - # ***Start*** 
2023-12-08 04:09:30,984 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x715cf340>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x7155e4a8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x715c75f8>}
2023-12-08 04:09:30,987 - {modules.common.component_context:24} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2023-12-08 04:09:30,990 - {modules.common.component_context:24} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:09:30,996 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2023-12-08 04:09:30,999 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2023-12-08 04:09:31,033 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-363, -198, -21, -142], Scale 0
2023-12-08 04:09:31,041 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 750
2023-12-08 04:09:31,043 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"cloud":{"connected":false},"input:0":{"id":0,"state":false},"mqtt":{"connected":false},"switch:0":{"id":0, "source":"loopback", "output":false, "apower":0.0, "voltage":242.8, "current":0.000, "aenergy":{"total":1505.625,"by_minute":[0.000,0.000,0.000],"minute_ts":1702004970},"temperature":{"tC":28.8, "tF":83.9}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:09","unixtime":1702004971,"uptime":1364299,"ram_size":248980,"ram_free":145048,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"beta":{"version":"1.1.0-beta2"},"stable":{"version":"1.0.8"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-68},"ws":{"connected":false}}

2023-12-08 04:09:31,045 - {modules.common.simcount._simcount:38} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1702004960.6902559, power=0, imported=0.0, exported=293628.5948715257)
2023-12-08 04:09:31,046 - {modules.common.simcount._calculate:13} - {DEBUG:device1} - time passed: 0.00287645, power1: 0, power2: 0
2023-12-08 04:09:31,046 - {modules.common.simcount._calculate:29} - {DEBUG:device1} - power did not change sign. Total energy: 0
2023-12-08 04:09:31,047 - {modules.common.simcount._simcount:47} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702004971.0454888, power=0, imported=0.0, exported=293628.5948715257)
2023-12-08 04:09:31,048 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:09:31,057 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [11, 5, 12], Scale -1
2023-12-08 04:09:31,142 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [24262, 24247, 24052, 0, 0, 0, 0], Scale -2
2023-12-08 04:09:31,162 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [5000], Scale -2
2023-12-08 04:09:31,181 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7340, 1739, 4900], Scale -2
2023-12-08 04:09:31,204 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4870433, 1797042, 2153375, 1456453, 6125889, 2531540, 1862790, 2267997], Scale 0
2023-12-08 04:09:31,205 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[1.1, 0.5, 1.2000000000000002], powers=[198.0, 21.0, 142.0], voltages=[242.62, 242.47, 240.52], power_factors=[0.7340000000000001, 0.1739, 0.49], imported=6125889.0, exported=4870433.0, power=363.0, frequency=50.0)
2023-12-08 04:09:31,207 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2023-12-08 04:09:31,221 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [0], Scale 0
2023-12-08 04:09:31,254 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7789710], Scale 0
2023-12-08 04:09:31,302 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [28, 30, 31], Scale -2
2023-12-08 04:09:31,355 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4659], Scale -2
2023-12-08 04:09:31,356 - {modules.common.component_state:100} - {DEBUG:device0} - currents sign wrong [0.28, 0.3, 0.31]
2023-12-08 04:09:31,357 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.28, 0.3, 0.31], power=-0.0, exported=7789710.0, dc_power=46.59)
2023-12-08 04:09:31,368 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2023-12-08 04:09:31,422 - {modules.common.simcount._simcount:38} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1702004961.0963445, power=0.0, imported=143333.37604219164, exported=116864.5215890633)
2023-12-08 04:09:31,423 - {modules.common.simcount._calculate:13} - {DEBUG:device0} - time passed: 0.00286847, power1: 0, power2: 0
2023-12-08 04:09:31,424 - {modules.common.simcount._calculate:29} - {DEBUG:device0} - power did not change sign. Total energy: 0
2023-12-08 04:09:31,424 - {modules.common.simcount._simcount:47} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702004971.4228234, power=0.0, imported=143333.37604219164, exported=116864.5215890633)
2023-12-08 04:09:31,425 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=143333.37604219164, exported=116864.5215890633, power=0.0, soc=19.0)
2023-12-08 04:09:31,440 - {modules.common.component_context:24} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2023-12-08 04:09:31,441 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=143333.37604219164, exported=116864.5215890633, power=0.0, soc=19.0)
2023-12-08 04:09:31,476 - {modules.common.component_context:24} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:09:31,477 - {modules.common.component_context:24} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2023-12-08 04:09:31,478 - {modules.common.component_context:24} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2023-12-08 04:09:31,480 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-0.0, exported=7816178.86, dc_power=None)
2023-12-08 04:09:31,481 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:09:31,482 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-0.0, exported=7816178.86, dc_power=None)
2023-12-08 04:09:31,482 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:09:31,537 - {modules.common.component_context:24} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2023-12-08 04:09:31,538 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[1.1, 0.5, 1.2000000000000002], powers=[198.0, 21.0, 142.0], voltages=[242.62, 242.47, 240.52], power_factors=[0.7340000000000001, 0.1739, 0.49], imported=6125889.0, exported=4870433.0, power=363.0, frequency=50.0)
2023-12-08 04:09:31,705 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2023-12-08 04:09:31,710 - {control.bat_all:173} - {INFO:MainThread} - -50W verbleibende Speicher-Leistung
2023-12-08 04:09:31,712 - {control.counter:138} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [61.9, 62.6, 61.8]A
2023-12-08 04:09:31,713 - {control.counter:161} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 42637.0W
2023-12-08 04:09:31,716 - {control.chargepoint.chargepoint:699} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2023-12-08 04:09:31,717 - {control.chargepoint.chargepoint:682} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2023-12-08 04:09:31,719 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 456.852523s, Dauer 1.380952380952381h, Termin heute verpasst: False
2023-12-08 04:09:31,721 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 91179.832248s, Dauer 0.18012422360248448h, Termin heute verpasst: False
2023-12-08 04:09:31,722 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -9486.00804s, Dauer 4.142857142857143h, Termin heute verpasst: False
2023-12-08 04:09:31,725 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 89882.933107s, Dauer 0.5403726708074534h, Termin heute verpasst: False
2023-12-08 04:09:31,727 - {control.ev:762} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2023-12-08 04:09:31,731 - {control.chargepoint.chargepoint:898} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.PV_CHARGING, Phasen: 1, Priorität: False, max. Ist-Strom: 0.1
2023-12-08 04:09:31,733 - {control.chargepoint.chargepoint:277} - {INFO:MainThread} - LP 1: Kein Sofortladen, da noch Zeit bis zum Zieltermin ist. Falls vorhanden, wird mit EVU-Überschuss geladen.
2023-12-08 04:09:31,757 - {modules.common.simcount._simcount:38} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1702004961.3996763, power=362.0, imported=2374357.8378779287, exported=0)
2023-12-08 04:09:31,758 - {modules.common.simcount._calculate:13} - {DEBUG:MainThread} - time passed: 0.00287705, power1: 362, power2: 363
2023-12-08 04:09:31,759 - {modules.common.simcount._calculate:29} - {DEBUG:MainThread} - power did not change sign. Total energy: 1.04293
2023-12-08 04:09:31,767 - {modules.common.simcount._simcount:47} - {DEBUG:MainThread} - imported: 1.04293 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702004971.7570586, power=363.0, imported=2374358.880808785, exported=0)
2023-12-08 04:09:31,771 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=19, daily_exported=0.0, daily_imported=0.0, imported=143333.38, exported=116864.52, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2023-12-08 04:09:31,773 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=19, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=143333.38, exported=116864.52, power=0.0), set=Set(charging_power_left=-50, switch_on_soc_reached=False))
2023-12-08 04:09:31,775 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=97.16, daily_exported=0, power=0, imported=6926459.96, exported=0))
2023-12-08 04:09:31,776 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 95%, 06:00 Uhr', imported_at_plan_start=6926377.93, imported_instant_charging=None, limit=None, phases=1, prio=False, required_current=6, required_currents=[0.0, 6, 0.0], state=0, submode=<Chargemode.PV_CHARGING: 'pv_charging'>, 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=72), currents=[0.1, 0.0, 0.0], daily_imported=97.16, daily_exported=0, evse_current=0, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=6926459.96, phases_in_use=1, plug_state=True, power=0, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Kein Sofortladen, da noch Zeit bis zum Zieltermin ist. Falls vorhanden, wird mit EVU-Überschuss geladen.', voltages=[242.82, 240.94, 243.01]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=0, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='_', imported_at_mode_switch=6926377.93, imported_at_plugtime=6926377.93, imported_since_mode_switch=0, imported_since_plugged=82.03000000026077, range_charged=0, time_charged='00:00', timestamp_start_charging=None), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time='12/07/2023, 13:07:31', required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x70bf0208>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB Carport', type='internal_openwb', template=1, connected_phases=3, phase_1=2, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=1))
2023-12-08 04:09:31,780 - {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-12-08 04:09:31,787 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=1, max_current_multi_phases=16, max_current_single_phase=20, name='RFID, 20A, 11kW', rfid_enabling=True, valid_tags=['0003134583', '0003526747', '1655332554', '2585022212', '2585087748'])
2023-12-08 04:09:31,789 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[63, 63, 63], max_total_power=43000), get=Get(powers=[198.0, 21.0, 142.0], currents=[1.1, 0.5, 1.2], voltages=[242.62, 242.47, 240.52], power_factors=[0.73, 0.17, 0.49], unbalanced_load=0, frequency=50.0, daily_exported=0.0, daily_imported=4100.0, imported=6125889.0, exported=4870433.0, fault_state=0, fault_str='Kein Fehler.', power=363.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=42637.0, raw_currents_left=[61.9, 62.6, 61.8], surplus_power_left=0, state_str=''))
2023-12-08 04:09:31,794 - {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': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=363.0, invalid_home_consumption=0, daily_yield_home_consumption=5516.1283940876, imported_home_consumption=2374358.880808785, disengageable_smarthome_power=0))
2023-12-08 04:09:31,796 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2023-12-08 04:09:31,798 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Ladeprofil ***AUTO1***', disable_after_unplug=False, prio=False, load_default=True, time_charging=TimeCharging(active=True, plans={'0': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[True, True, True, True, False, False, True]), time=['22:00', '06:00'], name='Zeitladen 95%, So-Do 22:00-06:00 Uhr', current=16, limit=Limit(selected='soc', amount=1000, soc=95)), '1': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, True, True, False]), time=['22:00', '06:00'], name='Zeitladen 80%, Fr-Sa 22:00-06:00 Uhr', current=16, limit=Limit(selected='soc', amount=1000, soc=80))}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2023-12-08 04:09:31,800 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, time_charging=TimeCharging(active=True, plans={'2': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), time=['06:45', '07:00'], name='Klima 06:45-07:00 Uhr', current=6, limit=Limit(selected='none', amount=1000, soc=50)), '3': TimeChargingPlan(active=True, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, False, False, False]), time=['00:00', '23:55'], name='Immer 35%', current=10, limit=Limit(selected='soc', amount=1000, soc=35))}), chargemode=Chargemode(selected='scheduled_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={'0': ScheduledChargingPlan(active=False, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, True, False, False, False, False, False]), current=14, name='Zielladen 80%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '1': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), current=14, name='Zielladen 95%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=95), time='05:40'), '2': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once='2023-09-26', weekly=[True, False, False, True, False, True, True]), current=14, name='Zielladen 75%, 7:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=75), time='05:40')}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=80))))
2023-12-08 04:09:31,801 - {control.data:266} - {INFO:MainThread} - ev0
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=['0003134583'], get=Get(soc=0, soc_timestamp=None, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:09:31,803 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Tesla Model Y (2022)', 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=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212', '2585087748'], get=Get(soc=49.0, soc_timestamp='12/08/2023, 01:29:15', force_soc_update=False, range=220.74, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:09:31,805 - {control.data:266} - {INFO:MainThread} - ev2
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Cupra Born 58kW', 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=18000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=2, ev_template=2, name='***AUTO2***', tag_id=['1655332554'], get=Get(soc=72, soc_timestamp='12/08/2023, 02:47:32', force_soc_update=False, range=205, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:09:31,807 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40)
2023-12-08 04:09:31,807 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', 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=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40)
2023-12-08 04:09:31,810 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', 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=18000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40)
2023-12-08 04:09:31,813 - {control.data:245} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=3), pv_charging=PvCharging(bat_prio=True, charging_power_reserve=200, control_range=[-230, 230], feed_in_yield=15000, phase_switch_delay=15, phases_to_use=0, rundown_power=1000, rundown_soc=25, switch_off_delay=60, switch_off_soc=25, switch_off_threshold=50, switch_on_delay=30, switch_on_soc=50, switch_on_threshold=1400), scheduled_charging=ScheduledCharging(phases_to_use=0), time_charging=TimeCharging(phases_to_use=3), unbalanced_load_limit=20, unbalanced_load=True), control_interval=10, extern_display_mode='local', extern=False, external_buttons_hw=False, grid_protection_active=False, grid_protection_configured=True, grid_protection_random_stop=0, grid_protection_timestamp='', mqtt_bridge=False, price_kwh=0.3528, range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=True, r1_active=False, r2_active=False))
2023-12-08 04:09:31,815 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2023-12-08 04:09:31,818 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2023-12-08 04:09:31,824 - {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 0x70beb928>), led=Led(active=False), rfid=Rfid(active=True))
2023-12-08 04:09:31,825 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=0), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=293628.595, fault_state=0, fault_str='Kein Fehler.', power=0))
2023-12-08 04:09:31,827 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=9500), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=7816178.86, fault_state=0, fault_str='Kein Fehler.', power=-0.0))
2023-12-08 04:09:31,827 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=8109807.455, power=0.0))
2023-12-08 04:09:31,828 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2023-11-30 12:30:45 +0100 [285f5a5fb]', 'current_branch': 'Release', 'current_branch_commit': '2023-11-30 12:30:45 +0100 [285f5a5fb]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.2-Patch.1', 'datastore_version': 29, 'lastlivevaluesJson': {'timestamp': 1702004961, 'time': '04:09:21', 'grid': 0.362, 'house-power': 0.362, 'charging-all': 0.0, 'pv-all': -0.0, 'cp1-power': 0.0, 'ev1-soc': 49.0, 'ev2-soc': 72, 'bat-all-power': 0.0, 'bat-all-soc': 19}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2023-12-08 04:09:31,829 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2023-12-08 04:09:31,830 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2023-12-08 04:09:31,831 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2023-12-08 04:09:31,832 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2023-12-08 04:09:31,834 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2023-12-08 04:09:31,836 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2023-12-08 04:09:31,837 - {control.data:253} - {INFO:MainThread} - 

2023-12-08 04:09:31,838 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2023-12-08 04:09:31,839 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2023-12-08 04:09:31,842 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2023-12-08 04:09:31,844 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2023-12-08 04:09:31,847 - {control.counter:211} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: 0W
2023-12-08 04:09:31,851 - {control.counter:457} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf 0W
2023-12-08 04:09:31,854 - {control.chargepoint.chargepoint:277} - {INFO:MainThread} - LP 1: Die Ladung kann nicht gestartet werden, da die Einschaltschwelle nicht erreicht wird.
2023-12-08 04:09:31,857 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2023-12-08 04:09:31,862 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2023-12-08 04:09:31,866 - {control.process:111} - {INFO:MainThread} - LP1: set current 0 A, state NO_CHARGING_ALLOWED
2023-12-08 04:09:31,872 - {modules.common.component_context:24} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:09:31,906 - {control.counter:186} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2023-12-08 04:09:32,132 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2023-12-08 04:09:32,134 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2023-12-08 04:09:35,141 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2023-12-08 04:09:35,141 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2023-12-08 04:09:40,154 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2023-12-08 04:09:40,155 - {root:74} - {INFO:MainThread} - # ***Start*** 
2023-12-08 04:09:40,210 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x715cf340>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x7155e4a8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x715c75f8>}
2023-12-08 04:09:40,211 - {modules.common.component_context:24} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2023-12-08 04:09:40,214 - {modules.common.component_context:24} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:09:40,223 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2023-12-08 04:09:40,224 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2023-12-08 04:09:40,268 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 750
2023-12-08 04:09:40,271 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"cloud":{"connected":false},"input:0":{"id":0,"state":false},"mqtt":{"connected":false},"switch:0":{"id":0, "source":"loopback", "output":false, "apower":0.0, "voltage":242.7, "current":0.000, "aenergy":{"total":1505.625,"by_minute":[0.000,0.000,0.000],"minute_ts":1702004979},"temperature":{"tC":28.9, "tF":84.1}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:09","unixtime":1702004980,"uptime":1364308,"ram_size":248996,"ram_free":145264,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"beta":{"version":"1.1.0-beta2"},"stable":{"version":"1.0.8"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-68},"ws":{"connected":false}}

2023-12-08 04:09:40,274 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-361, -196, -21, -143], Scale 0
2023-12-08 04:09:40,275 - {modules.common.simcount._simcount:38} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1702004971.0454888, power=0, imported=0.0, exported=293628.5948715257)
2023-12-08 04:09:40,277 - {modules.common.simcount._calculate:13} - {DEBUG:device1} - time passed: 0.0025639, power1: 0, power2: 0
2023-12-08 04:09:40,278 - {modules.common.simcount._calculate:29} - {DEBUG:device1} - power did not change sign. Total energy: 0
2023-12-08 04:09:40,278 - {modules.common.simcount._simcount:47} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702004980.275518, power=0, imported=0.0, exported=293628.5948715257)
2023-12-08 04:09:40,280 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:09:40,303 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [11, 5, 12], Scale -1
2023-12-08 04:09:40,322 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [24255, 24237, 24046, 0, 0, 0, 0], Scale -2
2023-12-08 04:09:40,342 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [5000], Scale -2
2023-12-08 04:09:40,391 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7350, 1650, 4900], Scale -2
2023-12-08 04:09:40,432 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4870433, 1797042, 2153375, 1456453, 6125890, 2531541, 1862790, 2267997], Scale 0
2023-12-08 04:09:40,433 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[1.1, 0.5, 1.2000000000000002], powers=[196.0, 21.0, 143.0], voltages=[242.55, 242.37, 240.46], power_factors=[0.735, 0.165, 0.49], imported=6125890.0, exported=4870433.0, power=361.0, frequency=50.0)
2023-12-08 04:09:40,434 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2023-12-08 04:09:40,452 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [0], Scale 0
2023-12-08 04:09:40,522 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7789710], Scale 0
2023-12-08 04:09:40,553 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [28, 30, 32], Scale -2
2023-12-08 04:09:40,594 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4774], Scale -2
2023-12-08 04:09:40,595 - {modules.common.component_state:100} - {DEBUG:device0} - currents sign wrong [0.28, 0.3, 0.32]
2023-12-08 04:09:40,595 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.28, 0.3, 0.32], power=-0.0, exported=7789710.0, dc_power=47.74)
2023-12-08 04:09:40,597 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2023-12-08 04:09:40,661 - {modules.common.simcount._simcount:38} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1702004971.4228234, power=0.0, imported=143333.37604219164, exported=116864.5215890633)
2023-12-08 04:09:40,662 - {modules.common.simcount._calculate:13} - {DEBUG:device0} - time passed: 0.00256637, power1: 0, power2: 0
2023-12-08 04:09:40,662 - {modules.common.simcount._calculate:29} - {DEBUG:device0} - power did not change sign. Total energy: 0
2023-12-08 04:09:40,663 - {modules.common.simcount._simcount:47} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702004980.6617649, power=0.0, imported=143333.37604219164, exported=116864.5215890633)
2023-12-08 04:09:40,664 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=143333.37604219164, exported=116864.5215890633, power=0.0, soc=19.0)
2023-12-08 04:09:40,668 - {modules.common.component_context:24} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2023-12-08 04:09:40,670 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=143333.37604219164, exported=116864.5215890633, power=0.0, soc=19.0)
2023-12-08 04:09:40,705 - {modules.common.component_context:24} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:09:40,706 - {modules.common.component_context:24} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2023-12-08 04:09:40,707 - {modules.common.component_context:24} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2023-12-08 04:09:40,707 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-0.0, exported=7816178.86, dc_power=None)
2023-12-08 04:09:40,708 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:09:40,708 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-0.0, exported=7816178.86, dc_power=None)
2023-12-08 04:09:40,709 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:09:40,744 - {modules.common.component_context:24} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2023-12-08 04:09:40,745 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[1.1, 0.5, 1.2000000000000002], powers=[196.0, 21.0, 143.0], voltages=[242.55, 242.37, 240.46], power_factors=[0.735, 0.165, 0.49], imported=6125890.0, exported=4870433.0, power=361.0, frequency=50.0)
2023-12-08 04:09:40,889 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2023-12-08 04:09:40,891 - {control.bat_all:173} - {INFO:MainThread} - -50W verbleibende Speicher-Leistung
2023-12-08 04:09:40,893 - {control.counter:138} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [61.9, 62.6, 61.8]A
2023-12-08 04:09:40,894 - {control.counter:161} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 42639.0W
2023-12-08 04:09:40,896 - {control.chargepoint.chargepoint:699} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2023-12-08 04:09:40,897 - {control.chargepoint.chargepoint:682} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2023-12-08 04:09:40,899 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 447.672571s, Dauer 1.380952380952381h, Termin heute verpasst: False
2023-12-08 04:09:40,901 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 91170.652268s, Dauer 0.18012422360248448h, Termin heute verpasst: False
2023-12-08 04:09:40,902 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -9495.188042s, Dauer 4.142857142857143h, Termin heute verpasst: False
2023-12-08 04:09:40,904 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 89873.754882s, Dauer 0.5403726708074534h, Termin heute verpasst: False
2023-12-08 04:09:40,904 - {control.ev:762} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2023-12-08 04:09:40,909 - {control.chargepoint.chargepoint:898} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.PV_CHARGING, Phasen: 1, Priorität: False, max. Ist-Strom: 0.1
2023-12-08 04:09:40,911 - {control.chargepoint.chargepoint:277} - {INFO:MainThread} - LP 1: Kein Sofortladen, da noch Zeit bis zum Zieltermin ist. Falls vorhanden, wird mit EVU-Überschuss geladen.
2023-12-08 04:09:40,921 - {modules.common.simcount._simcount:38} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1702004971.7570586, power=363.0, imported=2374358.880808785, exported=0)
2023-12-08 04:09:40,923 - {modules.common.simcount._calculate:13} - {DEBUG:MainThread} - time passed: 0.00254575, power1: 363, power2: 361
2023-12-08 04:09:40,925 - {modules.common.simcount._calculate:29} - {DEBUG:MainThread} - power did not change sign. Total energy: 0.92156
2023-12-08 04:09:40,926 - {modules.common.simcount._simcount:47} - {DEBUG:MainThread} - imported: 0.92156 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702004980.9217443, power=361.0, imported=2374359.80236885, exported=0)
2023-12-08 04:09:40,932 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=19, daily_exported=0.0, daily_imported=0.0, imported=143333.38, exported=116864.52, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2023-12-08 04:09:40,933 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=19, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=143333.38, exported=116864.52, power=0.0), set=Set(charging_power_left=-50, switch_on_soc_reached=False))
2023-12-08 04:09:40,934 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=97.16, daily_exported=0, power=0, imported=6926459.96, exported=0))
2023-12-08 04:09:40,935 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 95%, 06:00 Uhr', imported_at_plan_start=6926377.93, imported_instant_charging=None, limit=None, phases=1, prio=False, required_current=6, required_currents=[0.0, 6, 0.0], state=0, submode=<Chargemode.PV_CHARGING: 'pv_charging'>, 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=72), currents=[0.1, 0.0, 0.0], daily_imported=97.16, daily_exported=0, evse_current=0, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=6926459.96, phases_in_use=1, plug_state=True, power=0, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Kein Sofortladen, da noch Zeit bis zum Zieltermin ist. Falls vorhanden, wird mit EVU-Überschuss geladen.', voltages=[242.79, 240.95, 242.96]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=0, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='_', imported_at_mode_switch=6926377.93, imported_at_plugtime=6926377.93, imported_since_mode_switch=0, imported_since_plugged=82.03000000026077, range_charged=0, time_charged='00:00', timestamp_start_charging=None), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time='12/07/2023, 13:07:31', required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x70bf35f8>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB Carport', type='internal_openwb', template=1, connected_phases=3, phase_1=2, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=1))
2023-12-08 04:09:40,936 - {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-12-08 04:09:40,941 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=1, max_current_multi_phases=16, max_current_single_phase=20, name='RFID, 20A, 11kW', rfid_enabling=True, valid_tags=['0003134583', '0003526747', '1655332554', '2585022212', '2585087748'])
2023-12-08 04:09:40,944 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[63, 63, 63], max_total_power=43000), get=Get(powers=[196.0, 21.0, 143.0], currents=[1.1, 0.5, 1.2], voltages=[242.55, 242.37, 240.46], power_factors=[0.73, 0.17, 0.49], unbalanced_load=0, frequency=50.0, daily_exported=0.0, daily_imported=4100.0, imported=6125890.0, exported=4870433.0, fault_state=0, fault_str='Kein Fehler.', power=361.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=42639.0, raw_currents_left=[61.9, 62.6, 61.8], surplus_power_left=0, state_str=''))
2023-12-08 04:09:40,947 - {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': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=361.0, invalid_home_consumption=0, daily_yield_home_consumption=5516.1283940876, imported_home_consumption=2374359.80236885, disengageable_smarthome_power=0))
2023-12-08 04:09:40,949 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2023-12-08 04:09:40,950 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Ladeprofil ***AUTO1***', disable_after_unplug=False, prio=False, load_default=True, time_charging=TimeCharging(active=True, plans={'0': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[True, True, True, True, False, False, True]), time=['22:00', '06:00'], name='Zeitladen 95%, So-Do 22:00-06:00 Uhr', current=16, limit=Limit(selected='soc', amount=1000, soc=95)), '1': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, True, True, False]), time=['22:00', '06:00'], name='Zeitladen 80%, Fr-Sa 22:00-06:00 Uhr', current=16, limit=Limit(selected='soc', amount=1000, soc=80))}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2023-12-08 04:09:40,951 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, time_charging=TimeCharging(active=True, plans={'2': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), time=['06:45', '07:00'], name='Klima 06:45-07:00 Uhr', current=6, limit=Limit(selected='none', amount=1000, soc=50)), '3': TimeChargingPlan(active=True, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, False, False, False]), time=['00:00', '23:55'], name='Immer 35%', current=10, limit=Limit(selected='soc', amount=1000, soc=35))}), chargemode=Chargemode(selected='scheduled_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={'0': ScheduledChargingPlan(active=False, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, True, False, False, False, False, False]), current=14, name='Zielladen 80%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '1': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), current=14, name='Zielladen 95%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=95), time='05:40'), '2': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once='2023-09-26', weekly=[True, False, False, True, False, True, True]), current=14, name='Zielladen 75%, 7:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=75), time='05:40')}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=80))))
2023-12-08 04:09:40,953 - {control.data:266} - {INFO:MainThread} - ev0
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=['0003134583'], get=Get(soc=0, soc_timestamp=None, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:09:40,955 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Tesla Model Y (2022)', 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=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212', '2585087748'], get=Get(soc=49.0, soc_timestamp='12/08/2023, 01:29:15', force_soc_update=False, range=220.74, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:09:40,956 - {control.data:266} - {INFO:MainThread} - ev2
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Cupra Born 58kW', 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=18000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=2, ev_template=2, name='***AUTO2***', tag_id=['1655332554'], get=Get(soc=72, soc_timestamp='12/08/2023, 02:47:32', force_soc_update=False, range=205, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:09:40,957 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40)
2023-12-08 04:09:40,958 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', 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=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40)
2023-12-08 04:09:40,960 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', 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=18000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40)
2023-12-08 04:09:40,962 - {control.data:245} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=3), pv_charging=PvCharging(bat_prio=True, charging_power_reserve=200, control_range=[-230, 230], feed_in_yield=15000, phase_switch_delay=15, phases_to_use=0, rundown_power=1000, rundown_soc=25, switch_off_delay=60, switch_off_soc=25, switch_off_threshold=50, switch_on_delay=30, switch_on_soc=50, switch_on_threshold=1400), scheduled_charging=ScheduledCharging(phases_to_use=0), time_charging=TimeCharging(phases_to_use=3), unbalanced_load_limit=20, unbalanced_load=True), control_interval=10, extern_display_mode='local', extern=False, external_buttons_hw=False, grid_protection_active=False, grid_protection_configured=True, grid_protection_random_stop=0, grid_protection_timestamp='', mqtt_bridge=False, price_kwh=0.3528, range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=True, r1_active=False, r2_active=False))
2023-12-08 04:09:40,963 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2023-12-08 04:09:40,964 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2023-12-08 04:09:40,966 - {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 0x70b62310>), led=Led(active=False), rfid=Rfid(active=True))
2023-12-08 04:09:40,967 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=0), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=293628.595, fault_state=0, fault_str='Kein Fehler.', power=0))
2023-12-08 04:09:40,969 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=9500), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=7816178.86, fault_state=0, fault_str='Kein Fehler.', power=-0.0))
2023-12-08 04:09:40,970 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=8109807.455, power=0.0))
2023-12-08 04:09:40,971 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2023-11-30 12:30:45 +0100 [285f5a5fb]', 'current_branch': 'Release', 'current_branch_commit': '2023-11-30 12:30:45 +0100 [285f5a5fb]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.2-Patch.1', 'datastore_version': 29, 'lastlivevaluesJson': {'timestamp': 1702004971, 'time': '04:09:31', 'grid': 0.363, 'house-power': 0.363, 'charging-all': 0.0, 'pv-all': -0.0, 'cp1-power': 0.0, 'ev1-soc': 49.0, 'ev2-soc': 72, 'bat-all-power': 0.0, 'bat-all-soc': 19}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2023-12-08 04:09:40,972 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2023-12-08 04:09:40,974 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2023-12-08 04:09:40,975 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2023-12-08 04:09:40,976 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2023-12-08 04:09:40,977 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2023-12-08 04:09:40,979 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2023-12-08 04:09:40,982 - {control.data:253} - {INFO:MainThread} - 

2023-12-08 04:09:40,983 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2023-12-08 04:09:40,989 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2023-12-08 04:09:40,997 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2023-12-08 04:09:41,001 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2023-12-08 04:09:41,006 - {control.counter:211} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: 0W
2023-12-08 04:09:41,013 - {control.counter:457} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf 0W
2023-12-08 04:09:41,014 - {control.chargepoint.chargepoint:277} - {INFO:MainThread} - LP 1: Die Ladung kann nicht gestartet werden, da die Einschaltschwelle nicht erreicht wird.
2023-12-08 04:09:41,016 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2023-12-08 04:09:41,017 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2023-12-08 04:09:41,026 - {control.process:111} - {INFO:MainThread} - LP1: set current 0 A, state NO_CHARGING_ALLOWED
2023-12-08 04:09:41,029 - {modules.common.component_context:24} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:09:41,046 - {control.counter:186} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2023-12-08 04:09:41,283 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2023-12-08 04:09:45,305 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2023-12-08 04:09:45,306 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2023-12-08 04:09:50,317 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2023-12-08 04:09:50,318 - {root:74} - {INFO:MainThread} - # ***Start*** 
2023-12-08 04:09:50,364 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x715cf340>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x7155e4a8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x715c75f8>}
2023-12-08 04:09:50,365 - {modules.common.component_context:24} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2023-12-08 04:09:50,373 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2023-12-08 04:09:50,376 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2023-12-08 04:09:50,374 - {modules.common.component_context:24} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:09:50,422 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-359, -195, -21, -141], Scale 0
2023-12-08 04:09:50,427 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 750
2023-12-08 04:09:50,429 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"cloud":{"connected":false},"input:0":{"id":0,"state":false},"mqtt":{"connected":false},"switch:0":{"id":0, "source":"loopback", "output":false, "apower":0.0, "voltage":242.8, "current":0.000, "aenergy":{"total":1505.625,"by_minute":[0.000,0.000,0.000],"minute_ts":1702004989},"temperature":{"tC":28.9, "tF":84.1}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:09","unixtime":1702004991,"uptime":1364318,"ram_size":248996,"ram_free":145264,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"beta":{"version":"1.1.0-beta2"},"stable":{"version":"1.0.8"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-70},"ws":{"connected":false}}

2023-12-08 04:09:50,431 - {modules.common.simcount._simcount:38} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1702004980.275518, power=0, imported=0.0, exported=293628.5948715257)
2023-12-08 04:09:50,432 - {modules.common.simcount._calculate:13} - {DEBUG:device1} - time passed: 0.0028211, power1: 0, power2: 0
2023-12-08 04:09:50,432 - {modules.common.simcount._calculate:29} - {DEBUG:device1} - power did not change sign. Total energy: 0
2023-12-08 04:09:50,433 - {modules.common.simcount._simcount:47} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702004990.4314795, power=0, imported=0.0, exported=293628.5948715257)
2023-12-08 04:09:50,435 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:09:50,452 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [11, 5, 12], Scale -1
2023-12-08 04:09:50,554 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [24252, 24234, 24039, 0, 0, 0, 0], Scale -2
2023-12-08 04:09:50,583 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4997], Scale -2
2023-12-08 04:09:50,603 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7300, 1729, 4889], Scale -2
2023-12-08 04:09:50,624 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4870433, 1797042, 2153375, 1456453, 6125891, 2531541, 1862790, 2267998], Scale 0
2023-12-08 04:09:50,624 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[1.1, 0.5, 1.2000000000000002], powers=[195.0, 21.0, 141.0], voltages=[242.52, 242.34, 240.39000000000001], power_factors=[0.73, 0.1729, 0.4889], imported=6125891.0, exported=4870433.0, power=359.0, frequency=49.97)
2023-12-08 04:09:50,627 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2023-12-08 04:09:50,643 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [0], Scale 0
2023-12-08 04:09:50,674 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7789710], Scale 0
2023-12-08 04:09:50,699 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [28, 31, 32], Scale -2
2023-12-08 04:09:50,727 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4614], Scale -2
2023-12-08 04:09:50,730 - {modules.common.component_state:100} - {DEBUG:device0} - currents sign wrong [0.28, 0.31, 0.32]
2023-12-08 04:09:50,731 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.28, 0.31, 0.32], power=-0.0, exported=7789710.0, dc_power=46.14)
2023-12-08 04:09:50,737 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2023-12-08 04:09:50,793 - {modules.common.simcount._simcount:38} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1702004980.6617649, power=0.0, imported=143333.37604219164, exported=116864.5215890633)
2023-12-08 04:09:50,793 - {modules.common.simcount._calculate:13} - {DEBUG:device0} - time passed: 0.00281422, power1: 0, power2: 0
2023-12-08 04:09:50,794 - {modules.common.simcount._calculate:29} - {DEBUG:device0} - power did not change sign. Total energy: 0
2023-12-08 04:09:50,794 - {modules.common.simcount._simcount:47} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702004990.7929626, power=0.0, imported=143333.37604219164, exported=116864.5215890633)
2023-12-08 04:09:50,796 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=143333.37604219164, exported=116864.5215890633, power=0.0, soc=19.0)
2023-12-08 04:09:50,799 - {modules.common.component_context:24} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2023-12-08 04:09:50,800 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=143333.37604219164, exported=116864.5215890633, power=0.0, soc=19.0)
2023-12-08 04:09:50,923 - {modules.common.component_context:24} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:09:50,925 - {modules.common.component_context:24} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2023-12-08 04:09:50,927 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-0.0, exported=7816178.86, dc_power=None)
2023-12-08 04:09:50,928 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-0.0, exported=7816178.86, dc_power=None)
2023-12-08 04:09:50,927 - {modules.common.component_context:24} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2023-12-08 04:09:50,933 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:09:50,935 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:09:50,980 - {modules.common.component_context:24} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2023-12-08 04:09:50,981 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[1.1, 0.5, 1.2000000000000002], powers=[195.0, 21.0, 141.0], voltages=[242.52, 242.34, 240.39000000000001], power_factors=[0.73, 0.1729, 0.4889], imported=6125891.0, exported=4870433.0, power=359.0, frequency=49.97)
2023-12-08 04:09:51,192 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2023-12-08 04:09:51,195 - {control.bat_all:173} - {INFO:MainThread} - -50W verbleibende Speicher-Leistung
2023-12-08 04:09:51,200 - {control.counter:138} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [61.9, 62.6, 61.8]A
2023-12-08 04:09:51,203 - {control.counter:161} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 42641.0W
2023-12-08 04:09:51,208 - {control.chargepoint.chargepoint:699} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2023-12-08 04:09:51,210 - {control.chargepoint.chargepoint:682} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2023-12-08 04:09:51,211 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 437.360193s, Dauer 1.380952380952381h, Termin heute verpasst: False
2023-12-08 04:09:51,213 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 91160.339499s, Dauer 0.18012422360248448h, Termin heute verpasst: False
2023-12-08 04:09:51,215 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -9505.500718s, Dauer 4.142857142857143h, Termin heute verpasst: False
2023-12-08 04:09:51,216 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 89863.441974s, Dauer 0.5403726708074534h, Termin heute verpasst: False
2023-12-08 04:09:51,217 - {control.ev:762} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2023-12-08 04:09:51,259 - {control.chargepoint.chargepoint:898} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.PV_CHARGING, Phasen: 1, Priorität: False, max. Ist-Strom: 0.1
2023-12-08 04:09:51,262 - {control.chargepoint.chargepoint:277} - {INFO:MainThread} - LP 1: Kein Sofortladen, da noch Zeit bis zum Zieltermin ist. Falls vorhanden, wird mit EVU-Überschuss geladen.
2023-12-08 04:09:51,270 - {modules.common.simcount._simcount:38} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1702004980.9217443, power=361.0, imported=2374359.80236885, exported=0)
2023-12-08 04:09:51,272 - {modules.common.simcount._calculate:13} - {DEBUG:MainThread} - time passed: 0.0028747, power1: 361, power2: 359
2023-12-08 04:09:51,274 - {modules.common.simcount._calculate:29} - {DEBUG:MainThread} - power did not change sign. Total energy: 1.03489
2023-12-08 04:09:51,276 - {modules.common.simcount._simcount:47} - {DEBUG:MainThread} - imported: 1.03489 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702004991.270682, power=359.0, imported=2374360.837262625, exported=0)
2023-12-08 04:09:51,281 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=19, daily_exported=0.0, daily_imported=0.0, imported=143333.38, exported=116864.52, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2023-12-08 04:09:51,286 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=19, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=143333.38, exported=116864.52, power=0.0), set=Set(charging_power_left=-50, switch_on_soc_reached=False))
2023-12-08 04:09:51,288 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=97.16, daily_exported=0, power=0, imported=6926459.96, exported=0))
2023-12-08 04:09:51,290 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 95%, 06:00 Uhr', imported_at_plan_start=6926377.93, imported_instant_charging=None, limit=None, phases=1, prio=False, required_current=6, required_currents=[0.0, 6, 0.0], state=0, submode=<Chargemode.PV_CHARGING: 'pv_charging'>, 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=72), currents=[0.1, 0.0, 0.0], daily_imported=97.16, daily_exported=0, evse_current=0, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=6926459.96, phases_in_use=1, plug_state=True, power=0, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Kein Sofortladen, da noch Zeit bis zum Zieltermin ist. Falls vorhanden, wird mit EVU-Überschuss geladen.', voltages=[242.79, 240.87, 242.94]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=0, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='_', imported_at_mode_switch=6926377.93, imported_at_plugtime=6926377.93, imported_since_mode_switch=0, imported_since_plugged=82.03000000026077, range_charged=0, time_charged='00:00', timestamp_start_charging=None), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time='12/07/2023, 13:07:31', required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x70bb3a30>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB Carport', type='internal_openwb', template=1, connected_phases=3, phase_1=2, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=1))
2023-12-08 04:09:51,291 - {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-12-08 04:09:51,294 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=1, max_current_multi_phases=16, max_current_single_phase=20, name='RFID, 20A, 11kW', rfid_enabling=True, valid_tags=['0003134583', '0003526747', '1655332554', '2585022212', '2585087748'])
2023-12-08 04:09:51,295 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[63, 63, 63], max_total_power=43000), get=Get(powers=[195.0, 21.0, 141.0], currents=[1.1, 0.5, 1.2], voltages=[242.52, 242.34, 240.39], power_factors=[0.73, 0.17, 0.49], unbalanced_load=0, frequency=49.97, daily_exported=0.0, daily_imported=4100.0, imported=6125891.0, exported=4870433.0, fault_state=0, fault_str='Kein Fehler.', power=359.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=42641.0, raw_currents_left=[61.9, 62.6, 61.8], surplus_power_left=0, state_str=''))
2023-12-08 04:09:51,297 - {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': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=359.0, invalid_home_consumption=0, daily_yield_home_consumption=5516.1283940876, imported_home_consumption=2374360.837262625, disengageable_smarthome_power=0))
2023-12-08 04:09:51,298 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2023-12-08 04:09:51,301 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Ladeprofil ***AUTO1***', disable_after_unplug=False, prio=False, load_default=True, time_charging=TimeCharging(active=True, plans={'0': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[True, True, True, True, False, False, True]), time=['22:00', '06:00'], name='Zeitladen 95%, So-Do 22:00-06:00 Uhr', current=16, limit=Limit(selected='soc', amount=1000, soc=95)), '1': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, True, True, False]), time=['22:00', '06:00'], name='Zeitladen 80%, Fr-Sa 22:00-06:00 Uhr', current=16, limit=Limit(selected='soc', amount=1000, soc=80))}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2023-12-08 04:09:51,303 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, time_charging=TimeCharging(active=True, plans={'2': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), time=['06:45', '07:00'], name='Klima 06:45-07:00 Uhr', current=6, limit=Limit(selected='none', amount=1000, soc=50)), '3': TimeChargingPlan(active=True, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, False, False, False]), time=['00:00', '23:55'], name='Immer 35%', current=10, limit=Limit(selected='soc', amount=1000, soc=35))}), chargemode=Chargemode(selected='scheduled_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={'0': ScheduledChargingPlan(active=False, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, True, False, False, False, False, False]), current=14, name='Zielladen 80%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '1': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), current=14, name='Zielladen 95%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=95), time='05:40'), '2': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once='2023-09-26', weekly=[True, False, False, True, False, True, True]), current=14, name='Zielladen 75%, 7:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=75), time='05:40')}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=80))))
2023-12-08 04:09:51,305 - {control.data:266} - {INFO:MainThread} - ev0
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=['0003134583'], get=Get(soc=0, soc_timestamp=None, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:09:51,307 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Tesla Model Y (2022)', 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=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212', '2585087748'], get=Get(soc=49.0, soc_timestamp='12/08/2023, 01:29:15', force_soc_update=False, range=220.74, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:09:51,309 - {control.data:266} - {INFO:MainThread} - ev2
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Cupra Born 58kW', 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=18000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=2, ev_template=2, name='***AUTO2***', tag_id=['1655332554'], get=Get(soc=72, soc_timestamp='12/08/2023, 02:47:32', force_soc_update=False, range=205, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:09:51,310 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40)
2023-12-08 04:09:51,313 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', 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=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40)
2023-12-08 04:09:51,314 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', 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=18000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40)
2023-12-08 04:09:51,315 - {control.data:245} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=3), pv_charging=PvCharging(bat_prio=True, charging_power_reserve=200, control_range=[-230, 230], feed_in_yield=15000, phase_switch_delay=15, phases_to_use=0, rundown_power=1000, rundown_soc=25, switch_off_delay=60, switch_off_soc=25, switch_off_threshold=50, switch_on_delay=30, switch_on_soc=50, switch_on_threshold=1400), scheduled_charging=ScheduledCharging(phases_to_use=0), time_charging=TimeCharging(phases_to_use=3), unbalanced_load_limit=20, unbalanced_load=True), control_interval=10, extern_display_mode='local', extern=False, external_buttons_hw=False, grid_protection_active=False, grid_protection_configured=True, grid_protection_random_stop=0, grid_protection_timestamp='', mqtt_bridge=False, price_kwh=0.3528, range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=True, r1_active=False, r2_active=False))
2023-12-08 04:09:51,316 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2023-12-08 04:09:51,317 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2023-12-08 04:09:51,318 - {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 0x7157bdd8>), led=Led(active=False), rfid=Rfid(active=True))
2023-12-08 04:09:51,320 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=0), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=293628.595, fault_state=0, fault_str='Kein Fehler.', power=0))
2023-12-08 04:09:51,320 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=9500), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=7816178.86, fault_state=0, fault_str='Kein Fehler.', power=-0.0))
2023-12-08 04:09:51,321 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=8109807.455, power=0.0))
2023-12-08 04:09:51,323 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2023-11-30 12:30:45 +0100 [285f5a5fb]', 'current_branch': 'Release', 'current_branch_commit': '2023-11-30 12:30:45 +0100 [285f5a5fb]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.2-Patch.1', 'datastore_version': 29, 'lastlivevaluesJson': {'timestamp': 1702004981, 'time': '04:09:41', 'grid': 0.361, 'house-power': 0.361, 'charging-all': 0.0, 'pv-all': -0.0, 'cp1-power': 0.0, 'ev1-soc': 49.0, 'ev2-soc': 72, 'bat-all-power': 0.0, 'bat-all-soc': 19}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2023-12-08 04:09:51,325 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2023-12-08 04:09:51,326 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2023-12-08 04:09:51,327 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2023-12-08 04:09:51,328 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2023-12-08 04:09:51,329 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2023-12-08 04:09:51,330 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2023-12-08 04:09:51,331 - {control.data:253} - {INFO:MainThread} - 

2023-12-08 04:09:51,332 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2023-12-08 04:09:51,335 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2023-12-08 04:09:51,337 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2023-12-08 04:09:51,341 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2023-12-08 04:09:51,344 - {control.counter:211} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: 0W
2023-12-08 04:09:51,345 - {control.counter:457} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf 0W
2023-12-08 04:09:51,347 - {control.chargepoint.chargepoint:277} - {INFO:MainThread} - LP 1: Die Ladung kann nicht gestartet werden, da die Einschaltschwelle nicht erreicht wird.
2023-12-08 04:09:51,348 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2023-12-08 04:09:51,351 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2023-12-08 04:09:51,359 - {control.process:111} - {INFO:MainThread} - LP1: set current 0 A, state NO_CHARGING_ALLOWED
2023-12-08 04:09:51,368 - {modules.common.component_context:24} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:09:51,409 - {control.counter:186} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2023-12-08 04:09:51,643 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2023-12-08 04:09:51,649 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2023-12-08 04:09:55,658 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2023-12-08 04:10:00,671 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2023-12-08 04:10:00,672 - {root:74} - {INFO:MainThread} - # ***Start*** 
2023-12-08 04:10:00,717 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x715cf340>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x7155e4a8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x715c75f8>}
2023-12-08 04:10:00,719 - {modules.common.component_context:24} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2023-12-08 04:10:00,720 - {modules.common.component_context:24} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:10:00,727 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2023-12-08 04:10:00,729 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2023-12-08 04:10:00,770 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 750
2023-12-08 04:10:00,772 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"cloud":{"connected":false},"input:0":{"id":0,"state":false},"mqtt":{"connected":false},"switch:0":{"id":0, "source":"loopback", "output":false, "apower":0.0, "voltage":242.8, "current":0.000, "aenergy":{"total":1505.625,"by_minute":[0.000,0.000,0.000],"minute_ts":1702005000},"temperature":{"tC":28.8, "tF":83.9}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:10","unixtime":1702005001,"uptime":1364329,"ram_size":248944,"ram_free":144704,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"beta":{"version":"1.1.0-beta2"},"stable":{"version":"1.0.8"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-68},"ws":{"connected":false}}

2023-12-08 04:10:00,775 - {modules.common.simcount._simcount:38} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1702004990.4314795, power=0, imported=0.0, exported=293628.5948715257)
2023-12-08 04:10:00,778 - {modules.common.simcount._calculate:13} - {DEBUG:device1} - time passed: 0.00287323, power1: 0, power2: 0
2023-12-08 04:10:00,780 - {modules.common.simcount._calculate:29} - {DEBUG:device1} - power did not change sign. Total energy: 0
2023-12-08 04:10:00,782 - {modules.common.simcount._simcount:47} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702005000.7751222, power=0, imported=0.0, exported=293628.5948715257)
2023-12-08 04:10:00,783 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:10:00,826 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-360, -196, -21, -141], Scale 0
2023-12-08 04:10:00,853 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [11, 5, 12], Scale -1
2023-12-08 04:10:00,874 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [24255, 24240, 24048, 0, 0, 0, 0], Scale -2
2023-12-08 04:10:00,893 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4999], Scale -2
2023-12-08 04:10:00,922 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7279, 1749, 4869], Scale -2
2023-12-08 04:10:00,955 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4870433, 1797042, 2153375, 1456453, 6125892, 2531541, 1862790, 2267998], Scale 0
2023-12-08 04:10:00,955 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[1.1, 0.5, 1.2000000000000002], powers=[196.0, 21.0, 141.0], voltages=[242.55, 242.4, 240.48000000000002], power_factors=[0.7279000000000001, 0.17490000000000003, 0.4869], imported=6125892.0, exported=4870433.0, power=360.0, frequency=49.99)
2023-12-08 04:10:00,957 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2023-12-08 04:10:00,982 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [0], Scale 0
2023-12-08 04:10:01,002 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7789710], Scale 0
2023-12-08 04:10:01,043 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [26, 29, 29], Scale -2
2023-12-08 04:10:01,083 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4268], Scale -2
2023-12-08 04:10:01,084 - {modules.common.component_state:100} - {DEBUG:device0} - currents sign wrong [0.26, 0.29, 0.29]
2023-12-08 04:10:01,084 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.26, 0.29, 0.29], power=-0.0, exported=7789710.0, dc_power=42.68)
2023-12-08 04:10:01,085 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2023-12-08 04:10:01,121 - {modules.common.simcount._simcount:38} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1702004990.7929626, power=0.0, imported=143333.37604219164, exported=116864.5215890633)
2023-12-08 04:10:01,122 - {modules.common.simcount._calculate:13} - {DEBUG:device0} - time passed: 0.00286911, power1: 0, power2: 0
2023-12-08 04:10:01,122 - {modules.common.simcount._calculate:29} - {DEBUG:device0} - power did not change sign. Total energy: 0
2023-12-08 04:10:01,123 - {modules.common.simcount._simcount:47} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702005001.1217487, power=0.0, imported=143333.37604219164, exported=116864.5215890633)
2023-12-08 04:10:01,124 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=143333.37604219164, exported=116864.5215890633, power=0.0, soc=19.0)
2023-12-08 04:10:01,133 - {modules.common.component_context:24} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2023-12-08 04:10:01,134 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=143333.37604219164, exported=116864.5215890633, power=0.0, soc=19.0)
2023-12-08 04:10:01,173 - {modules.common.component_context:24} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:10:01,173 - {modules.common.component_context:24} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2023-12-08 04:10:01,174 - {modules.common.component_context:24} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2023-12-08 04:10:01,175 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-0.0, exported=7816178.86, dc_power=None)
2023-12-08 04:10:01,176 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:10:01,176 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-0.0, exported=7816178.86, dc_power=None)
2023-12-08 04:10:01,177 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:10:01,221 - {modules.common.component_context:24} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2023-12-08 04:10:01,222 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[1.1, 0.5, 1.2000000000000002], powers=[196.0, 21.0, 141.0], voltages=[242.55, 242.4, 240.48000000000002], power_factors=[0.7279000000000001, 0.17490000000000003, 0.4869], imported=6125892.0, exported=4870433.0, power=360.0, frequency=49.99)
2023-12-08 04:10:01,418 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2023-12-08 04:10:01,422 - {control.bat_all:173} - {INFO:MainThread} - -50W verbleibende Speicher-Leistung
2023-12-08 04:10:01,435 - {control.counter:138} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [61.9, 62.6, 61.8]A
2023-12-08 04:10:01,438 - {control.counter:161} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 42640.0W
2023-12-08 04:10:01,477 - {control.chargepoint.chargepoint:699} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2023-12-08 04:10:01,479 - {control.chargepoint.chargepoint:682} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2023-12-08 04:10:01,480 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 427.09115s, Dauer 1.380952380952381h, Termin heute verpasst: False
2023-12-08 04:10:01,482 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 91150.07081s, Dauer 0.18012422360248448h, Termin heute verpasst: False
2023-12-08 04:10:01,487 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -9515.772342s, Dauer 4.142857142857143h, Termin heute verpasst: False
2023-12-08 04:10:01,502 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 89853.155924s, Dauer 0.5403726708074534h, Termin heute verpasst: False
2023-12-08 04:10:01,503 - {control.ev:762} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2023-12-08 04:10:01,508 - {control.chargepoint.chargepoint:898} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.PV_CHARGING, Phasen: 1, Priorität: False, max. Ist-Strom: 0.1
2023-12-08 04:10:01,515 - {control.chargepoint.chargepoint:277} - {INFO:MainThread} - LP 1: Kein Sofortladen, da noch Zeit bis zum Zieltermin ist. Falls vorhanden, wird mit EVU-Überschuss geladen.
2023-12-08 04:10:01,544 - {modules.common.simcount._simcount:38} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1702004991.270682, power=359.0, imported=2374360.837262625, exported=0)
2023-12-08 04:10:01,545 - {modules.common.simcount._calculate:13} - {DEBUG:MainThread} - time passed: 0.00285377, power1: 359, power2: 360
2023-12-08 04:10:01,547 - {modules.common.simcount._calculate:29} - {DEBUG:MainThread} - power did not change sign. Total energy: 1.02593
2023-12-08 04:10:01,548 - {modules.common.simcount._simcount:47} - {DEBUG:MainThread} - imported: 1.02593 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702005001.5442688, power=360.0, imported=2374361.863194413, exported=0)
2023-12-08 04:10:01,550 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=19, daily_exported=0.0, daily_imported=0.0, imported=143333.38, exported=116864.52, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2023-12-08 04:10:01,551 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=19, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=143333.38, exported=116864.52, power=0.0), set=Set(charging_power_left=-50, switch_on_soc_reached=False))
2023-12-08 04:10:01,553 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=97.16, daily_exported=0, power=0, imported=6926459.96, exported=0))
2023-12-08 04:10:01,565 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 95%, 06:00 Uhr', imported_at_plan_start=6926377.93, imported_instant_charging=None, limit=None, phases=1, prio=False, required_current=6, required_currents=[0.0, 6, 0.0], state=0, submode=<Chargemode.PV_CHARGING: 'pv_charging'>, 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=72), currents=[0.1, 0.0, 0.0], daily_imported=97.16, daily_exported=0, evse_current=0, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=6926459.96, phases_in_use=1, plug_state=True, power=0, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Kein Sofortladen, da noch Zeit bis zum Zieltermin ist. Falls vorhanden, wird mit EVU-Überschuss geladen.', voltages=[242.79, 240.8, 242.9]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=0, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='_', imported_at_mode_switch=6926377.93, imported_at_plugtime=6926377.93, imported_since_mode_switch=0, imported_since_plugged=82.03000000026077, range_charged=0, time_charged='00:00', timestamp_start_charging=None), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time='12/07/2023, 13:07:31', required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x70bb3568>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB Carport', type='internal_openwb', template=1, connected_phases=3, phase_1=2, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=1))
2023-12-08 04:10:01,566 - {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-12-08 04:10:01,567 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=1, max_current_multi_phases=16, max_current_single_phase=20, name='RFID, 20A, 11kW', rfid_enabling=True, valid_tags=['0003134583', '0003526747', '1655332554', '2585022212', '2585087748'])
2023-12-08 04:10:01,568 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[63, 63, 63], max_total_power=43000), get=Get(powers=[196.0, 21.0, 141.0], currents=[1.1, 0.5, 1.2], voltages=[242.55, 242.4, 240.48], power_factors=[0.73, 0.17, 0.49], unbalanced_load=0, frequency=49.99, daily_exported=0.0, daily_imported=4100.0, imported=6125892.0, exported=4870433.0, fault_state=0, fault_str='Kein Fehler.', power=360.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=42640.0, raw_currents_left=[61.9, 62.6, 61.8], surplus_power_left=0, state_str=''))
2023-12-08 04:10:01,569 - {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': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=360.0, invalid_home_consumption=0, daily_yield_home_consumption=5516.1283940876, imported_home_consumption=2374361.863194413, disengageable_smarthome_power=0))
2023-12-08 04:10:01,570 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2023-12-08 04:10:01,571 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Ladeprofil ***AUTO1***', disable_after_unplug=False, prio=False, load_default=True, time_charging=TimeCharging(active=True, plans={'0': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[True, True, True, True, False, False, True]), time=['22:00', '06:00'], name='Zeitladen 95%, So-Do 22:00-06:00 Uhr', current=16, limit=Limit(selected='soc', amount=1000, soc=95)), '1': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, True, True, False]), time=['22:00', '06:00'], name='Zeitladen 80%, Fr-Sa 22:00-06:00 Uhr', current=16, limit=Limit(selected='soc', amount=1000, soc=80))}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2023-12-08 04:10:01,574 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, time_charging=TimeCharging(active=True, plans={'2': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), time=['06:45', '07:00'], name='Klima 06:45-07:00 Uhr', current=6, limit=Limit(selected='none', amount=1000, soc=50)), '3': TimeChargingPlan(active=True, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, False, False, False]), time=['00:00', '23:55'], name='Immer 35%', current=10, limit=Limit(selected='soc', amount=1000, soc=35))}), chargemode=Chargemode(selected='scheduled_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={'0': ScheduledChargingPlan(active=False, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, True, False, False, False, False, False]), current=14, name='Zielladen 80%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '1': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), current=14, name='Zielladen 95%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=95), time='05:40'), '2': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once='2023-09-26', weekly=[True, False, False, True, False, True, True]), current=14, name='Zielladen 75%, 7:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=75), time='05:40')}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=80))))
2023-12-08 04:10:01,576 - {control.data:266} - {INFO:MainThread} - ev0
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=['0003134583'], get=Get(soc=0, soc_timestamp=None, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:10:01,577 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Tesla Model Y (2022)', 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=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212', '2585087748'], get=Get(soc=49.0, soc_timestamp='12/08/2023, 01:29:15', force_soc_update=False, range=220.74, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:10:01,579 - {control.data:266} - {INFO:MainThread} - ev2
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Cupra Born 58kW', 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=18000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=2, ev_template=2, name='***AUTO2***', tag_id=['1655332554'], get=Get(soc=72, soc_timestamp='12/08/2023, 02:47:32', force_soc_update=False, range=205, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:10:01,580 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40)
2023-12-08 04:10:01,582 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', 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=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40)
2023-12-08 04:10:01,583 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', 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=18000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40)
2023-12-08 04:10:01,585 - {control.data:245} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=3), pv_charging=PvCharging(bat_prio=True, charging_power_reserve=200, control_range=[-230, 230], feed_in_yield=15000, phase_switch_delay=15, phases_to_use=0, rundown_power=1000, rundown_soc=25, switch_off_delay=60, switch_off_soc=25, switch_off_threshold=50, switch_on_delay=30, switch_on_soc=50, switch_on_threshold=1400), scheduled_charging=ScheduledCharging(phases_to_use=0), time_charging=TimeCharging(phases_to_use=3), unbalanced_load_limit=20, unbalanced_load=True), control_interval=10, extern_display_mode='local', extern=False, external_buttons_hw=False, grid_protection_active=False, grid_protection_configured=True, grid_protection_random_stop=0, grid_protection_timestamp='', mqtt_bridge=False, price_kwh=0.3528, range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=True, r1_active=False, r2_active=False))
2023-12-08 04:10:01,587 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2023-12-08 04:10:01,588 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2023-12-08 04:10:01,590 - {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 0x71578340>), led=Led(active=False), rfid=Rfid(active=True))
2023-12-08 04:10:01,591 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=0), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=293628.595, fault_state=0, fault_str='Kein Fehler.', power=0))
2023-12-08 04:10:01,592 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=9500), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=7816178.86, fault_state=0, fault_str='Kein Fehler.', power=-0.0))
2023-12-08 04:10:01,594 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=8109807.455, power=0.0))
2023-12-08 04:10:01,595 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2023-11-30 12:30:45 +0100 [285f5a5fb]', 'current_branch': 'Release', 'current_branch_commit': '2023-11-30 12:30:45 +0100 [285f5a5fb]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.2-Patch.1', 'datastore_version': 29, 'lastlivevaluesJson': {'timestamp': 1702004991, 'time': '04:09:51', 'grid': 0.359, 'house-power': 0.359, 'charging-all': 0.0, 'pv-all': -0.0, 'cp1-power': 0.0, 'ev1-soc': 49.0, 'ev2-soc': 72, 'bat-all-power': 0.0, 'bat-all-soc': 19}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2023-12-08 04:10:01,597 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2023-12-08 04:10:01,598 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2023-12-08 04:10:01,599 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2023-12-08 04:10:01,601 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2023-12-08 04:10:01,602 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2023-12-08 04:10:01,604 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2023-12-08 04:10:01,605 - {control.data:253} - {INFO:MainThread} - 

2023-12-08 04:10:01,606 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2023-12-08 04:10:01,608 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2023-12-08 04:10:01,611 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2023-12-08 04:10:01,614 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2023-12-08 04:10:01,617 - {control.counter:211} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: 0W
2023-12-08 04:10:01,618 - {control.counter:457} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf 0W
2023-12-08 04:10:01,620 - {control.chargepoint.chargepoint:277} - {INFO:MainThread} - LP 1: Die Ladung kann nicht gestartet werden, da die Einschaltschwelle nicht erreicht wird.
2023-12-08 04:10:01,621 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2023-12-08 04:10:01,623 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2023-12-08 04:10:01,627 - {control.process:111} - {INFO:MainThread} - LP1: set current 0 A, state NO_CHARGING_ALLOWED
2023-12-08 04:10:01,634 - {modules.common.component_context:24} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:10:01,669 - {control.counter:186} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2023-12-08 04:10:01,984 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2023-12-08 04:10:01,989 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2023-12-08 04:10:01,990 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=hours, do=inner, args=(), kwargs={})
2023-12-08 04:10:02,004 - {root:106} - {DEBUG:MainThread} - 5 Minuten Handler ausführen.
2023-12-08 04:10:02,089 - {helpermodules.system:74} - {INFO:MainThread} - my IP: 192.168.1.31
2023-12-08 04:10:02,090 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=hours, do=inner, args=(), kwargs={})
2023-12-08 04:10:05,558 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2023-12-08 04:10:05,559 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2023-12-08 04:10:10,569 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2023-12-08 04:10:10,570 - {root:74} - {INFO:MainThread} - # ***Start*** 
2023-12-08 04:10:10,644 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x715cf340>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x7155e4a8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x715c75f8>}
2023-12-08 04:10:10,649 - {modules.common.component_context:24} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2023-12-08 04:10:10,654 - {modules.common.component_context:24} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:10:10,676 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2023-12-08 04:10:10,680 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2023-12-08 04:10:10,730 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 750
2023-12-08 04:10:10,734 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"cloud":{"connected":false},"input:0":{"id":0,"state":false},"mqtt":{"connected":false},"switch:0":{"id":0, "source":"loopback", "output":false, "apower":0.0, "voltage":242.9, "current":0.000, "aenergy":{"total":1505.625,"by_minute":[0.000,0.000,0.000],"minute_ts":1702005010},"temperature":{"tC":28.9, "tF":84.1}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:10","unixtime":1702005011,"uptime":1364338,"ram_size":248944,"ram_free":144708,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"beta":{"version":"1.1.0-beta2"},"stable":{"version":"1.0.8"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-69},"ws":{"connected":false}}

2023-12-08 04:10:10,741 - {modules.common.simcount._simcount:38} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1702005000.7751222, power=0, imported=0.0, exported=293628.5948715257)
2023-12-08 04:10:10,745 - {modules.common.simcount._calculate:13} - {DEBUG:device1} - time passed: 0.00276837, power1: 0, power2: 0
2023-12-08 04:10:10,746 - {modules.common.simcount._calculate:29} - {DEBUG:device1} - power did not change sign. Total energy: 0
2023-12-08 04:10:10,748 - {modules.common.simcount._simcount:47} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702005010.7412572, power=0, imported=0.0, exported=293628.5948715257)
2023-12-08 04:10:10,750 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:10:10,783 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-358, -195, -21, -142], Scale 0
2023-12-08 04:10:10,805 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [11, 5, 12], Scale -1
2023-12-08 04:10:10,823 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [24264, 24247, 24056, 0, 0, 0, 0], Scale -2
2023-12-08 04:10:10,944 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [5000], Scale -2
2023-12-08 04:10:10,984 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7289, 1729, 4860], Scale -2
2023-12-08 04:10:11,004 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4870433, 1797042, 2153375, 1456453, 6125893, 2531542, 1862790, 2267999], Scale 0
2023-12-08 04:10:11,004 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[1.1, 0.5, 1.2000000000000002], powers=[195.0, 21.0, 142.0], voltages=[242.64000000000001, 242.47, 240.56], power_factors=[0.7289, 0.1729, 0.486], imported=6125893.0, exported=4870433.0, power=358.0, frequency=50.0)
2023-12-08 04:10:11,006 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2023-12-08 04:10:11,024 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [0], Scale 0
2023-12-08 04:10:11,082 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7789710], Scale 0
2023-12-08 04:10:11,131 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [27, 30, 31], Scale -2
2023-12-08 04:10:11,173 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4588], Scale -2
2023-12-08 04:10:11,173 - {modules.common.component_state:100} - {DEBUG:device0} - currents sign wrong [0.27, 0.3, 0.31]
2023-12-08 04:10:11,174 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.27, 0.3, 0.31], power=-0.0, exported=7789710.0, dc_power=45.88)
2023-12-08 04:10:11,177 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2023-12-08 04:10:11,310 - {modules.common.simcount._simcount:38} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1702005001.1217487, power=0.0, imported=143333.37604219164, exported=116864.5215890633)
2023-12-08 04:10:11,310 - {modules.common.simcount._calculate:13} - {DEBUG:device0} - time passed: 0.00283009, power1: 0, power2: 0
2023-12-08 04:10:11,311 - {modules.common.simcount._calculate:29} - {DEBUG:device0} - power did not change sign. Total energy: 0
2023-12-08 04:10:11,311 - {modules.common.simcount._simcount:47} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702005011.310084, power=0.0, imported=143333.37604219164, exported=116864.5215890633)
2023-12-08 04:10:11,312 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=143333.37604219164, exported=116864.5215890633, power=0.0, soc=19.0)
2023-12-08 04:10:11,318 - {modules.common.component_context:24} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2023-12-08 04:10:11,319 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=143333.37604219164, exported=116864.5215890633, power=0.0, soc=19.0)
2023-12-08 04:10:11,353 - {modules.common.component_context:24} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:10:11,353 - {modules.common.component_context:24} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2023-12-08 04:10:11,354 - {modules.common.component_context:24} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2023-12-08 04:10:11,355 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-0.0, exported=7816178.86, dc_power=None)
2023-12-08 04:10:11,355 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:10:11,356 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-0.0, exported=7816178.86, dc_power=None)
2023-12-08 04:10:11,356 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:10:11,393 - {modules.common.component_context:24} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2023-12-08 04:10:11,394 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[1.1, 0.5, 1.2000000000000002], powers=[195.0, 21.0, 142.0], voltages=[242.64000000000001, 242.47, 240.56], power_factors=[0.7289, 0.1729, 0.486], imported=6125893.0, exported=4870433.0, power=358.0, frequency=50.0)
2023-12-08 04:10:11,542 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2023-12-08 04:10:11,545 - {control.bat_all:173} - {INFO:MainThread} - -50W verbleibende Speicher-Leistung
2023-12-08 04:10:11,550 - {control.counter:138} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [61.9, 62.6, 61.8]A
2023-12-08 04:10:11,555 - {control.counter:161} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 42642.0W
2023-12-08 04:10:11,559 - {control.chargepoint.chargepoint:699} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2023-12-08 04:10:11,559 - {control.chargepoint.chargepoint:682} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2023-12-08 04:10:11,562 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 417.009999s, Dauer 1.380952380952381h, Termin heute verpasst: False
2023-12-08 04:10:11,563 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 91139.989277s, Dauer 0.18012422360248448h, Termin heute verpasst: False
2023-12-08 04:10:11,565 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -9525.850906s, Dauer 4.142857142857143h, Termin heute verpasst: False
2023-12-08 04:10:11,567 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 89843.091478s, Dauer 0.5403726708074534h, Termin heute verpasst: False
2023-12-08 04:10:11,568 - {control.ev:762} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2023-12-08 04:10:11,574 - {control.chargepoint.chargepoint:898} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.PV_CHARGING, Phasen: 1, Priorität: False, max. Ist-Strom: 0.1
2023-12-08 04:10:11,577 - {control.chargepoint.chargepoint:277} - {INFO:MainThread} - LP 1: Kein Sofortladen, da noch Zeit bis zum Zieltermin ist. Falls vorhanden, wird mit EVU-Überschuss geladen.
2023-12-08 04:10:11,586 - {modules.common.simcount._simcount:38} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1702005001.5442688, power=360.0, imported=2374361.863194413, exported=0)
2023-12-08 04:10:11,591 - {modules.common.simcount._calculate:13} - {DEBUG:MainThread} - time passed: 0.00278942, power1: 360, power2: 358
2023-12-08 04:10:11,593 - {modules.common.simcount._calculate:29} - {DEBUG:MainThread} - power did not change sign. Total energy: 1.0014
2023-12-08 04:10:11,594 - {modules.common.simcount._simcount:47} - {DEBUG:MainThread} - imported: 1.0014 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702005011.5861635, power=358.0, imported=2374362.864594465, exported=0)
2023-12-08 04:10:11,602 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=19, daily_exported=0.0, daily_imported=0.0, imported=143333.38, exported=116864.52, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2023-12-08 04:10:11,605 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=19, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=143333.38, exported=116864.52, power=0.0), set=Set(charging_power_left=-50, switch_on_soc_reached=False))
2023-12-08 04:10:11,607 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=98.14, daily_exported=0, power=0, imported=6926459.96, exported=0))
2023-12-08 04:10:11,609 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 95%, 06:00 Uhr', imported_at_plan_start=6926377.93, imported_instant_charging=None, limit=None, phases=1, prio=False, required_current=6, required_currents=[0.0, 6, 0.0], state=0, submode=<Chargemode.PV_CHARGING: 'pv_charging'>, 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=72), currents=[0.1, 0.0, 0.0], daily_imported=98.14, daily_exported=0, evse_current=0, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=6926459.96, phases_in_use=1, plug_state=True, power=0, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Kein Sofortladen, da noch Zeit bis zum Zieltermin ist. Falls vorhanden, wird mit EVU-Überschuss geladen.', voltages=[242.86, 240.89, 243.0]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=0, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='_', imported_at_mode_switch=6926377.93, imported_at_plugtime=6926377.93, imported_since_mode_switch=0, imported_since_plugged=82.03000000026077, range_charged=0, time_charged='00:00', timestamp_start_charging=None), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time='12/07/2023, 13:07:31', required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x71578ac0>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB Carport', type='internal_openwb', template=1, connected_phases=3, phase_1=2, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=1))
2023-12-08 04:10:11,612 - {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-12-08 04:10:11,613 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=1, max_current_multi_phases=16, max_current_single_phase=20, name='RFID, 20A, 11kW', rfid_enabling=True, valid_tags=['0003134583', '0003526747', '1655332554', '2585022212', '2585087748'])
2023-12-08 04:10:11,615 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[63, 63, 63], max_total_power=43000), get=Get(powers=[195.0, 21.0, 142.0], currents=[1.1, 0.5, 1.2], voltages=[242.64, 242.47, 240.56], power_factors=[0.73, 0.17, 0.49], unbalanced_load=0, frequency=50.0, daily_exported=0.0, daily_imported=4131.0, imported=6125893.0, exported=4870433.0, fault_state=0, fault_str='Kein Fehler.', power=358.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=42642.0, raw_currents_left=[61.9, 62.6, 61.8], surplus_power_left=0, state_str=''))
2023-12-08 04:10:11,621 - {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': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=358.0, invalid_home_consumption=0, daily_yield_home_consumption=5546.5169343646, imported_home_consumption=2374362.864594465, disengageable_smarthome_power=0))
2023-12-08 04:10:11,623 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2023-12-08 04:10:11,626 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Ladeprofil ***AUTO1***', disable_after_unplug=False, prio=False, load_default=True, time_charging=TimeCharging(active=True, plans={'0': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[True, True, True, True, False, False, True]), time=['22:00', '06:00'], name='Zeitladen 95%, So-Do 22:00-06:00 Uhr', current=16, limit=Limit(selected='soc', amount=1000, soc=95)), '1': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, True, True, False]), time=['22:00', '06:00'], name='Zeitladen 80%, Fr-Sa 22:00-06:00 Uhr', current=16, limit=Limit(selected='soc', amount=1000, soc=80))}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2023-12-08 04:10:11,629 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, time_charging=TimeCharging(active=True, plans={'2': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), time=['06:45', '07:00'], name='Klima 06:45-07:00 Uhr', current=6, limit=Limit(selected='none', amount=1000, soc=50)), '3': TimeChargingPlan(active=True, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, False, False, False]), time=['00:00', '23:55'], name='Immer 35%', current=10, limit=Limit(selected='soc', amount=1000, soc=35))}), chargemode=Chargemode(selected='scheduled_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={'0': ScheduledChargingPlan(active=False, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, True, False, False, False, False, False]), current=14, name='Zielladen 80%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '1': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), current=14, name='Zielladen 95%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=95), time='05:40'), '2': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once='2023-09-26', weekly=[True, False, False, True, False, True, True]), current=14, name='Zielladen 75%, 7:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=75), time='05:40')}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=80))))
2023-12-08 04:10:11,634 - {control.data:266} - {INFO:MainThread} - ev0
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=['0003134583'], get=Get(soc=0, soc_timestamp=None, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:10:11,636 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Tesla Model Y (2022)', 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=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212', '2585087748'], get=Get(soc=49.0, soc_timestamp='12/08/2023, 01:29:15', force_soc_update=False, range=220.74, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:10:11,637 - {control.data:266} - {INFO:MainThread} - ev2
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Cupra Born 58kW', 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=18000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=2, ev_template=2, name='***AUTO2***', tag_id=['1655332554'], get=Get(soc=72, soc_timestamp='12/08/2023, 02:47:32', force_soc_update=False, range=205, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:10:11,639 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40)
2023-12-08 04:10:11,641 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', 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=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40)
2023-12-08 04:10:11,644 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', 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=18000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40)
2023-12-08 04:10:11,646 - {control.data:245} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=3), pv_charging=PvCharging(bat_prio=True, charging_power_reserve=200, control_range=[-230, 230], feed_in_yield=15000, phase_switch_delay=15, phases_to_use=0, rundown_power=1000, rundown_soc=25, switch_off_delay=60, switch_off_soc=25, switch_off_threshold=50, switch_on_delay=30, switch_on_soc=50, switch_on_threshold=1400), scheduled_charging=ScheduledCharging(phases_to_use=0), time_charging=TimeCharging(phases_to_use=3), unbalanced_load_limit=20, unbalanced_load=True), control_interval=10, extern_display_mode='local', extern=False, external_buttons_hw=False, grid_protection_active=False, grid_protection_configured=True, grid_protection_random_stop=0, grid_protection_timestamp='', mqtt_bridge=False, price_kwh=0.3528, range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=True, r1_active=False, r2_active=False))
2023-12-08 04:10:11,647 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2023-12-08 04:10:11,649 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2023-12-08 04:10:11,651 - {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 0x70bb34a8>), led=Led(active=False), rfid=Rfid(active=True))
2023-12-08 04:10:11,653 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=0), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=293628.595, fault_state=0, fault_str='Kein Fehler.', power=0))
2023-12-08 04:10:11,655 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=9500), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=7816178.86, fault_state=0, fault_str='Kein Fehler.', power=-0.0))
2023-12-08 04:10:11,657 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=8109807.455, power=0.0))
2023-12-08 04:10:11,659 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2023-11-30 12:30:45 +0100 [285f5a5fb]', 'current_branch': 'Release', 'current_branch_commit': '2023-11-30 12:30:45 +0100 [285f5a5fb]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.2-Patch.1', 'datastore_version': 29, 'lastlivevaluesJson': {'timestamp': 1702005001, 'time': '04:10:01', 'grid': 0.36, 'house-power': 0.36, 'charging-all': 0.0, 'pv-all': -0.0, 'cp1-power': 0.0, 'ev1-soc': 49.0, 'ev2-soc': 72, 'bat-all-power': 0.0, 'bat-all-soc': 19}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2023-12-08 04:10:11,661 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2023-12-08 04:10:11,663 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2023-12-08 04:10:11,665 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2023-12-08 04:10:11,666 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2023-12-08 04:10:11,668 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2023-12-08 04:10:11,669 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2023-12-08 04:10:11,669 - {control.data:253} - {INFO:MainThread} - 

2023-12-08 04:10:11,670 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2023-12-08 04:10:11,671 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2023-12-08 04:10:11,673 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2023-12-08 04:10:11,676 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2023-12-08 04:10:11,681 - {control.counter:211} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: 0W
2023-12-08 04:10:11,683 - {control.counter:457} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf 0W
2023-12-08 04:10:11,684 - {control.chargepoint.chargepoint:277} - {INFO:MainThread} - LP 1: Die Ladung kann nicht gestartet werden, da die Einschaltschwelle nicht erreicht wird.
2023-12-08 04:10:11,685 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2023-12-08 04:10:11,686 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2023-12-08 04:10:11,693 - {control.process:111} - {INFO:MainThread} - LP1: set current 0 A, state NO_CHARGING_ALLOWED
2023-12-08 04:10:11,697 - {modules.common.component_context:24} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:10:11,726 - {control.counter:186} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2023-12-08 04:10:11,924 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2023-12-08 04:10:15,966 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2023-12-08 04:10:15,967 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2023-12-08 04:10:20,977 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2023-12-08 04:10:20,978 - {root:74} - {INFO:MainThread} - # ***Start*** 
2023-12-08 04:10:21,020 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x715cf340>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x7155e4a8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x715c75f8>}
2023-12-08 04:10:21,021 - {modules.common.component_context:24} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2023-12-08 04:10:21,023 - {modules.common.component_context:24} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:10:21,029 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2023-12-08 04:10:21,032 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2023-12-08 04:10:21,063 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-356, -195, -21, -139], Scale 0
2023-12-08 04:10:21,072 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 750
2023-12-08 04:10:21,074 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"cloud":{"connected":false},"input:0":{"id":0,"state":false},"mqtt":{"connected":false},"switch:0":{"id":0, "source":"loopback", "output":false, "apower":0.0, "voltage":242.7, "current":0.000, "aenergy":{"total":1505.625,"by_minute":[0.000,0.000,0.000],"minute_ts":1702005020},"temperature":{"tC":28.8, "tF":83.9}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:10","unixtime":1702005021,"uptime":1364349,"ram_size":248996,"ram_free":145264,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"beta":{"version":"1.1.0-beta2"},"stable":{"version":"1.0.8"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-69},"ws":{"connected":false}}

2023-12-08 04:10:21,076 - {modules.common.simcount._simcount:38} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1702005010.7412572, power=0, imported=0.0, exported=293628.5948715257)
2023-12-08 04:10:21,077 - {modules.common.simcount._calculate:13} - {DEBUG:device1} - time passed: 0.00287086, power1: 0, power2: 0
2023-12-08 04:10:21,077 - {modules.common.simcount._calculate:29} - {DEBUG:device1} - power did not change sign. Total energy: 0
2023-12-08 04:10:21,078 - {modules.common.simcount._simcount:47} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702005021.0763686, power=0, imported=0.0, exported=293628.5948715257)
2023-12-08 04:10:21,079 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:10:21,102 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [11, 5, 12], Scale -1
2023-12-08 04:10:21,205 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [24263, 24243, 24054, 0, 0, 0, 0], Scale -2
2023-12-08 04:10:21,232 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [5000], Scale -2
2023-12-08 04:10:21,252 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7260, 1729, 4819], Scale -2
2023-12-08 04:10:21,275 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4870433, 1797042, 2153375, 1456453, 6125894, 2531543, 1862790, 2267999], Scale 0
2023-12-08 04:10:21,276 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[1.1, 0.5, 1.2000000000000002], powers=[195.0, 21.0, 139.0], voltages=[242.63, 242.43, 240.54], power_factors=[0.7260000000000001, 0.1729, 0.4819], imported=6125894.0, exported=4870433.0, power=356.0, frequency=50.0)
2023-12-08 04:10:21,283 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2023-12-08 04:10:21,314 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [0], Scale 0
2023-12-08 04:10:21,332 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7789710], Scale 0
2023-12-08 04:10:21,351 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [27, 30, 31], Scale -2
2023-12-08 04:10:21,394 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4655], Scale -2
2023-12-08 04:10:21,395 - {modules.common.component_state:100} - {DEBUG:device0} - currents sign wrong [0.27, 0.3, 0.31]
2023-12-08 04:10:21,395 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.27, 0.3, 0.31], power=-0.0, exported=7789710.0, dc_power=46.550000000000004)
2023-12-08 04:10:21,399 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2023-12-08 04:10:21,453 - {modules.common.simcount._simcount:38} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1702005011.310084, power=0.0, imported=143333.37604219164, exported=116864.5215890633)
2023-12-08 04:10:21,453 - {modules.common.simcount._calculate:13} - {DEBUG:device0} - time passed: 0.0028175, power1: 0, power2: 0
2023-12-08 04:10:21,454 - {modules.common.simcount._calculate:29} - {DEBUG:device0} - power did not change sign. Total energy: 0
2023-12-08 04:10:21,454 - {modules.common.simcount._simcount:47} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702005021.4530687, power=0.0, imported=143333.37604219164, exported=116864.5215890633)
2023-12-08 04:10:21,456 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=143333.37604219164, exported=116864.5215890633, power=0.0, soc=19.0)
2023-12-08 04:10:21,469 - {modules.common.component_context:24} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2023-12-08 04:10:21,472 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=143333.37604219164, exported=116864.5215890633, power=0.0, soc=19.0)
2023-12-08 04:10:21,508 - {modules.common.component_context:24} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:10:21,521 - {modules.common.component_context:24} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2023-12-08 04:10:21,522 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-0.0, exported=7816178.86, dc_power=None)
2023-12-08 04:10:21,523 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-0.0, exported=7816178.86, dc_power=None)
2023-12-08 04:10:21,527 - {modules.common.component_context:24} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2023-12-08 04:10:21,529 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:10:21,531 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:10:21,570 - {modules.common.component_context:24} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2023-12-08 04:10:21,570 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[1.1, 0.5, 1.2000000000000002], powers=[195.0, 21.0, 139.0], voltages=[242.63, 242.43, 240.54], power_factors=[0.7260000000000001, 0.1729, 0.4819], imported=6125894.0, exported=4870433.0, power=356.0, frequency=50.0)
2023-12-08 04:10:21,729 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2023-12-08 04:10:21,735 - {control.bat_all:173} - {INFO:MainThread} - -50W verbleibende Speicher-Leistung
2023-12-08 04:10:21,742 - {control.counter:138} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [61.9, 62.6, 61.8]A
2023-12-08 04:10:21,744 - {control.counter:161} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 42644.0W
2023-12-08 04:10:21,765 - {control.chargepoint.chargepoint:699} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2023-12-08 04:10:21,767 - {control.chargepoint.chargepoint:682} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2023-12-08 04:10:21,769 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 406.802593s, Dauer 1.380952380952381h, Termin heute verpasst: False
2023-12-08 04:10:21,771 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 91129.782021s, Dauer 0.18012422360248448h, Termin heute verpasst: False
2023-12-08 04:10:21,774 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -9536.059259s, Dauer 4.142857142857143h, Termin heute verpasst: False
2023-12-08 04:10:21,780 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 89832.878393s, Dauer 0.5403726708074534h, Termin heute verpasst: False
2023-12-08 04:10:21,781 - {control.ev:762} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2023-12-08 04:10:21,793 - {control.chargepoint.chargepoint:898} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.PV_CHARGING, Phasen: 1, Priorität: False, max. Ist-Strom: 0.1
2023-12-08 04:10:21,793 - {control.chargepoint.chargepoint:277} - {INFO:MainThread} - LP 1: Kein Sofortladen, da noch Zeit bis zum Zieltermin ist. Falls vorhanden, wird mit EVU-Überschuss geladen.
2023-12-08 04:10:21,812 - {modules.common.simcount._simcount:38} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1702005011.5861635, power=358.0, imported=2374362.864594465, exported=0)
2023-12-08 04:10:21,813 - {modules.common.simcount._calculate:13} - {DEBUG:MainThread} - time passed: 0.00284076, power1: 358, power2: 356
2023-12-08 04:10:21,819 - {modules.common.simcount._calculate:29} - {DEBUG:MainThread} - power did not change sign. Total energy: 1.01415
2023-12-08 04:10:21,854 - {modules.common.simcount._simcount:47} - {DEBUG:MainThread} - imported: 1.01415 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702005021.8128867, power=356.0, imported=2374363.878744515, exported=0)
2023-12-08 04:10:21,862 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=19, daily_exported=0.0, daily_imported=0.0, imported=143333.38, exported=116864.52, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2023-12-08 04:10:21,865 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=19, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=143333.38, exported=116864.52, power=0.0), set=Set(charging_power_left=-50, switch_on_soc_reached=False))
2023-12-08 04:10:21,870 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=98.14, daily_exported=0, power=0, imported=6926459.96, exported=0))
2023-12-08 04:10:21,876 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 95%, 06:00 Uhr', imported_at_plan_start=6926377.93, imported_instant_charging=None, limit=None, phases=1, prio=False, required_current=6, required_currents=[0.0, 6, 0.0], state=0, submode=<Chargemode.PV_CHARGING: 'pv_charging'>, 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=72), currents=[0.1, 0.0, 0.0], daily_imported=98.14, daily_exported=0, evse_current=0, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=6926459.96, phases_in_use=1, plug_state=True, power=0, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Kein Sofortladen, da noch Zeit bis zum Zieltermin ist. Falls vorhanden, wird mit EVU-Überschuss geladen.', voltages=[242.66, 240.83, 242.9]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=0, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='_', imported_at_mode_switch=6926377.93, imported_at_plugtime=6926377.93, imported_since_mode_switch=0, imported_since_plugged=82.03000000026077, range_charged=0, time_charged='00:00', timestamp_start_charging=None), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time='12/07/2023, 13:07:31', required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x715cf628>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB Carport', type='internal_openwb', template=1, connected_phases=3, phase_1=2, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=1))
2023-12-08 04:10:21,884 - {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-12-08 04:10:21,890 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=1, max_current_multi_phases=16, max_current_single_phase=20, name='RFID, 20A, 11kW', rfid_enabling=True, valid_tags=['0003134583', '0003526747', '1655332554', '2585022212', '2585087748'])
2023-12-08 04:10:21,891 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[63, 63, 63], max_total_power=43000), get=Get(powers=[195.0, 21.0, 139.0], currents=[1.1, 0.5, 1.2], voltages=[242.63, 242.43, 240.54], power_factors=[0.73, 0.17, 0.48], unbalanced_load=0, frequency=50.0, daily_exported=0.0, daily_imported=4131.0, imported=6125894.0, exported=4870433.0, fault_state=0, fault_str='Kein Fehler.', power=356.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=42644.0, raw_currents_left=[61.9, 62.6, 61.8], surplus_power_left=0, state_str=''))
2023-12-08 04:10:21,893 - {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': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=356.0, invalid_home_consumption=0, daily_yield_home_consumption=5546.5169343646, imported_home_consumption=2374363.878744515, disengageable_smarthome_power=0))
2023-12-08 04:10:21,896 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2023-12-08 04:10:21,902 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Ladeprofil ***AUTO1***', disable_after_unplug=False, prio=False, load_default=True, time_charging=TimeCharging(active=True, plans={'0': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[True, True, True, True, False, False, True]), time=['22:00', '06:00'], name='Zeitladen 95%, So-Do 22:00-06:00 Uhr', current=16, limit=Limit(selected='soc', amount=1000, soc=95)), '1': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, True, True, False]), time=['22:00', '06:00'], name='Zeitladen 80%, Fr-Sa 22:00-06:00 Uhr', current=16, limit=Limit(selected='soc', amount=1000, soc=80))}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2023-12-08 04:10:21,906 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, time_charging=TimeCharging(active=True, plans={'2': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), time=['06:45', '07:00'], name='Klima 06:45-07:00 Uhr', current=6, limit=Limit(selected='none', amount=1000, soc=50)), '3': TimeChargingPlan(active=True, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, False, False, False]), time=['00:00', '23:55'], name='Immer 35%', current=10, limit=Limit(selected='soc', amount=1000, soc=35))}), chargemode=Chargemode(selected='scheduled_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={'0': ScheduledChargingPlan(active=False, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, True, False, False, False, False, False]), current=14, name='Zielladen 80%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '1': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), current=14, name='Zielladen 95%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=95), time='05:40'), '2': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once='2023-09-26', weekly=[True, False, False, True, False, True, True]), current=14, name='Zielladen 75%, 7:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=75), time='05:40')}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=80))))
2023-12-08 04:10:21,911 - {control.data:266} - {INFO:MainThread} - ev0
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=['0003134583'], get=Get(soc=0, soc_timestamp=None, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:10:21,914 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Tesla Model Y (2022)', 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=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212', '2585087748'], get=Get(soc=49.0, soc_timestamp='12/08/2023, 01:29:15', force_soc_update=False, range=220.74, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:10:21,917 - {control.data:266} - {INFO:MainThread} - ev2
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Cupra Born 58kW', 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=18000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=2, ev_template=2, name='***AUTO2***', tag_id=['1655332554'], get=Get(soc=72, soc_timestamp='12/08/2023, 02:47:32', force_soc_update=False, range=205, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:10:21,921 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40)
2023-12-08 04:10:21,921 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', 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=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40)
2023-12-08 04:10:21,923 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', 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=18000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40)
2023-12-08 04:10:21,925 - {control.data:245} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=3), pv_charging=PvCharging(bat_prio=True, charging_power_reserve=200, control_range=[-230, 230], feed_in_yield=15000, phase_switch_delay=15, phases_to_use=0, rundown_power=1000, rundown_soc=25, switch_off_delay=60, switch_off_soc=25, switch_off_threshold=50, switch_on_delay=30, switch_on_soc=50, switch_on_threshold=1400), scheduled_charging=ScheduledCharging(phases_to_use=0), time_charging=TimeCharging(phases_to_use=3), unbalanced_load_limit=20, unbalanced_load=True), control_interval=10, extern_display_mode='local', extern=False, external_buttons_hw=False, grid_protection_active=False, grid_protection_configured=True, grid_protection_random_stop=0, grid_protection_timestamp='', mqtt_bridge=False, price_kwh=0.3528, range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=True, r1_active=False, r2_active=False))
2023-12-08 04:10:21,927 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2023-12-08 04:10:21,929 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2023-12-08 04:10:21,932 - {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 0x715cfe20>), led=Led(active=False), rfid=Rfid(active=True))
2023-12-08 04:10:21,943 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=0), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=293628.595, fault_state=0, fault_str='Kein Fehler.', power=0))
2023-12-08 04:10:21,945 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=9500), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=7816178.86, fault_state=0, fault_str='Kein Fehler.', power=-0.0))
2023-12-08 04:10:21,949 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=8109807.455, power=0.0))
2023-12-08 04:10:21,950 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2023-11-30 12:30:45 +0100 [285f5a5fb]', 'current_branch': 'Release', 'current_branch_commit': '2023-11-30 12:30:45 +0100 [285f5a5fb]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.2-Patch.1', 'datastore_version': 29, 'lastlivevaluesJson': {'timestamp': 1702005011, 'time': '04:10:11', 'grid': 0.358, 'house-power': 0.358, 'charging-all': 0.0, 'pv-all': -0.0, 'cp1-power': 0.0, 'ev1-soc': 49.0, 'ev2-soc': 72, 'bat-all-power': 0.0, 'bat-all-soc': 19}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2023-12-08 04:10:21,952 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2023-12-08 04:10:21,955 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2023-12-08 04:10:21,963 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2023-12-08 04:10:21,965 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2023-12-08 04:10:21,967 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2023-12-08 04:10:21,969 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2023-12-08 04:10:21,975 - {control.data:253} - {INFO:MainThread} - 

2023-12-08 04:10:21,981 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2023-12-08 04:10:21,992 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2023-12-08 04:10:21,997 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2023-12-08 04:10:21,999 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2023-12-08 04:10:22,006 - {control.counter:211} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: 0W
2023-12-08 04:10:22,011 - {control.counter:457} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf 0W
2023-12-08 04:10:22,012 - {control.chargepoint.chargepoint:277} - {INFO:MainThread} - LP 1: Die Ladung kann nicht gestartet werden, da die Einschaltschwelle nicht erreicht wird.
2023-12-08 04:10:22,016 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2023-12-08 04:10:22,020 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2023-12-08 04:10:22,033 - {control.process:111} - {INFO:MainThread} - LP1: set current 0 A, state NO_CHARGING_ALLOWED
2023-12-08 04:10:22,043 - {modules.common.component_context:24} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:10:22,074 - {control.counter:186} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2023-12-08 04:10:22,350 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2023-12-08 04:10:22,359 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2023-12-08 04:10:25,366 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2023-12-08 04:10:25,366 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2023-12-08 04:10:30,380 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2023-12-08 04:10:30,381 - {root:74} - {INFO:MainThread} - # ***Start*** 
2023-12-08 04:10:30,468 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x715cf340>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x7155e4a8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x715c75f8>}
2023-12-08 04:10:30,470 - {modules.common.component_context:24} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2023-12-08 04:10:30,471 - {modules.common.component_context:24} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:10:30,479 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2023-12-08 04:10:30,480 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2023-12-08 04:10:30,523 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 750
2023-12-08 04:10:30,526 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"cloud":{"connected":false},"input:0":{"id":0,"state":false},"mqtt":{"connected":false},"switch:0":{"id":0, "source":"loopback", "output":false, "apower":0.0, "voltage":242.6, "current":0.000, "aenergy":{"total":1505.625,"by_minute":[0.000,0.000,0.000],"minute_ts":1702005030},"temperature":{"tC":28.9, "tF":84.0}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:10","unixtime":1702005031,"uptime":1364358,"ram_size":248996,"ram_free":145264,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"beta":{"version":"1.1.0-beta2"},"stable":{"version":"1.0.8"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-68},"ws":{"connected":false}}

2023-12-08 04:10:30,527 - {modules.common.simcount._simcount:38} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1702005021.0763686, power=0, imported=0.0, exported=293628.5948715257)
2023-12-08 04:10:30,528 - {modules.common.simcount._calculate:13} - {DEBUG:device1} - time passed: 0.00262538, power1: 0, power2: 0
2023-12-08 04:10:30,528 - {modules.common.simcount._calculate:29} - {DEBUG:device1} - power did not change sign. Total energy: 0
2023-12-08 04:10:30,529 - {modules.common.simcount._simcount:47} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702005030.5277417, power=0, imported=0.0, exported=293628.5948715257)
2023-12-08 04:10:30,530 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-363, -202, -21, -140], Scale 0
2023-12-08 04:10:30,534 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:10:30,583 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [11, 5, 12], Scale -1
2023-12-08 04:10:30,604 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [24231, 24220, 24033, 0, 0, 0, 0], Scale -2
2023-12-08 04:10:30,622 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [5000], Scale -2
2023-12-08 04:10:30,642 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7269, 1759, 4830], Scale -2
2023-12-08 04:10:30,663 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4870433, 1797042, 2153375, 1456453, 6125895, 2531543, 1862790, 2267999], Scale 0
2023-12-08 04:10:30,663 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[1.1, 0.5, 1.2000000000000002], powers=[202.0, 21.0, 140.0], voltages=[242.31, 242.20000000000002, 240.33], power_factors=[0.7269, 0.1759, 0.48300000000000004], imported=6125895.0, exported=4870433.0, power=363.0, frequency=50.0)
2023-12-08 04:10:30,666 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2023-12-08 04:10:30,712 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [0], Scale 0
2023-12-08 04:10:30,731 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7789710], Scale 0
2023-12-08 04:10:30,751 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [27, 29, 31], Scale -2
2023-12-08 04:10:30,771 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4873], Scale -2
2023-12-08 04:10:30,772 - {modules.common.component_state:100} - {DEBUG:device0} - currents sign wrong [0.27, 0.29, 0.31]
2023-12-08 04:10:30,772 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.27, 0.29, 0.31], power=-0.0, exported=7789710.0, dc_power=48.730000000000004)
2023-12-08 04:10:30,776 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2023-12-08 04:10:30,948 - {modules.common.simcount._simcount:38} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1702005021.4530687, power=0.0, imported=143333.37604219164, exported=116864.5215890633)
2023-12-08 04:10:30,949 - {modules.common.simcount._calculate:13} - {DEBUG:device0} - time passed: 0.00263755, power1: 0, power2: 0
2023-12-08 04:10:30,949 - {modules.common.simcount._calculate:29} - {DEBUG:device0} - power did not change sign. Total energy: 0
2023-12-08 04:10:30,949 - {modules.common.simcount._simcount:47} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702005030.9482613, power=0.0, imported=143333.37604219164, exported=116864.5215890633)
2023-12-08 04:10:30,951 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=143333.37604219164, exported=116864.5215890633, power=0.0, soc=19.0)
2023-12-08 04:10:30,960 - {modules.common.component_context:24} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2023-12-08 04:10:30,961 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=143333.37604219164, exported=116864.5215890633, power=0.0, soc=19.0)
2023-12-08 04:10:31,031 - {modules.common.component_context:24} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:10:31,033 - {modules.common.component_context:24} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2023-12-08 04:10:31,041 - {modules.common.component_context:24} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2023-12-08 04:10:31,045 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-0.0, exported=7816178.86, dc_power=None)
2023-12-08 04:10:31,047 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:10:31,057 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-0.0, exported=7816178.86, dc_power=None)
2023-12-08 04:10:31,059 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:10:31,188 - {modules.common.component_context:24} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2023-12-08 04:10:31,190 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[1.1, 0.5, 1.2000000000000002], powers=[202.0, 21.0, 140.0], voltages=[242.31, 242.20000000000002, 240.33], power_factors=[0.7269, 0.1759, 0.48300000000000004], imported=6125895.0, exported=4870433.0, power=363.0, frequency=50.0)
2023-12-08 04:10:31,387 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2023-12-08 04:10:31,390 - {control.bat_all:173} - {INFO:MainThread} - -50W verbleibende Speicher-Leistung
2023-12-08 04:10:31,396 - {control.counter:138} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [61.9, 62.6, 61.8]A
2023-12-08 04:10:31,399 - {control.counter:161} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 42637.0W
2023-12-08 04:10:31,406 - {control.chargepoint.chargepoint:699} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2023-12-08 04:10:31,407 - {control.chargepoint.chargepoint:682} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2023-12-08 04:10:31,411 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 397.160448s, Dauer 1.380952380952381h, Termin heute verpasst: False
2023-12-08 04:10:31,413 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 91120.140123s, Dauer 0.18012422360248448h, Termin heute verpasst: False
2023-12-08 04:10:31,417 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -9545.703095s, Dauer 4.142857142857143h, Termin heute verpasst: False
2023-12-08 04:10:31,421 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 89823.237524s, Dauer 0.5403726708074534h, Termin heute verpasst: False
2023-12-08 04:10:31,423 - {control.ev:762} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2023-12-08 04:10:31,432 - {control.chargepoint.chargepoint:898} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.PV_CHARGING, Phasen: 1, Priorität: False, max. Ist-Strom: 0.1
2023-12-08 04:10:31,436 - {control.chargepoint.chargepoint:277} - {INFO:MainThread} - LP 1: Kein Sofortladen, da noch Zeit bis zum Zieltermin ist. Falls vorhanden, wird mit EVU-Überschuss geladen.
2023-12-08 04:10:31,456 - {modules.common.simcount._simcount:38} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1702005021.8128867, power=356.0, imported=2374363.878744515, exported=0)
2023-12-08 04:10:31,457 - {modules.common.simcount._calculate:13} - {DEBUG:MainThread} - time passed: 0.0026788, power1: 356, power2: 363
2023-12-08 04:10:31,459 - {modules.common.simcount._calculate:29} - {DEBUG:MainThread} - power did not change sign. Total energy: 0.96303
2023-12-08 04:10:31,460 - {modules.common.simcount._simcount:47} - {DEBUG:MainThread} - imported: 0.96303 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702005031.4565837, power=363.0, imported=2374364.841774815, exported=0)
2023-12-08 04:10:31,465 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=19, daily_exported=0.0, daily_imported=0.0, imported=143333.38, exported=116864.52, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2023-12-08 04:10:31,466 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=19, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=143333.38, exported=116864.52, power=0.0), set=Set(charging_power_left=-50, switch_on_soc_reached=False))
2023-12-08 04:10:31,467 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=98.14, daily_exported=0, power=0, imported=6926459.96, exported=0))
2023-12-08 04:10:31,468 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 95%, 06:00 Uhr', imported_at_plan_start=6926377.93, imported_instant_charging=None, limit=None, phases=1, prio=False, required_current=6, required_currents=[0.0, 6, 0.0], state=0, submode=<Chargemode.PV_CHARGING: 'pv_charging'>, 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=72), currents=[0.1, 0.0, 0.0], daily_imported=98.14, daily_exported=0, evse_current=0, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=6926459.96, phases_in_use=1, plug_state=True, power=0, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Kein Sofortladen, da noch Zeit bis zum Zieltermin ist. Falls vorhanden, wird mit EVU-Überschuss geladen.', voltages=[242.61, 240.81, 242.77]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=0, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='_', imported_at_mode_switch=6926377.93, imported_at_plugtime=6926377.93, imported_since_mode_switch=0, imported_since_plugged=82.03000000026077, range_charged=0, time_charged='00:00', timestamp_start_charging=None), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time='12/07/2023, 13:07:31', required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x70b921a8>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB Carport', type='internal_openwb', template=1, connected_phases=3, phase_1=2, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=1))
2023-12-08 04:10:31,470 - {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-12-08 04:10:31,472 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=1, max_current_multi_phases=16, max_current_single_phase=20, name='RFID, 20A, 11kW', rfid_enabling=True, valid_tags=['0003134583', '0003526747', '1655332554', '2585022212', '2585087748'])
2023-12-08 04:10:31,474 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[63, 63, 63], max_total_power=43000), get=Get(powers=[202.0, 21.0, 140.0], currents=[1.1, 0.5, 1.2], voltages=[242.31, 242.2, 240.33], power_factors=[0.73, 0.18, 0.48], unbalanced_load=0, frequency=50.0, daily_exported=0.0, daily_imported=4131.0, imported=6125895.0, exported=4870433.0, fault_state=0, fault_str='Kein Fehler.', power=363.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=42637.0, raw_currents_left=[61.9, 62.6, 61.8], surplus_power_left=0, state_str=''))
2023-12-08 04:10:31,476 - {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': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=363.0, invalid_home_consumption=0, daily_yield_home_consumption=5546.5169343646, imported_home_consumption=2374364.841774815, disengageable_smarthome_power=0))
2023-12-08 04:10:31,478 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2023-12-08 04:10:31,480 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Ladeprofil ***AUTO1***', disable_after_unplug=False, prio=False, load_default=True, time_charging=TimeCharging(active=True, plans={'0': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[True, True, True, True, False, False, True]), time=['22:00', '06:00'], name='Zeitladen 95%, So-Do 22:00-06:00 Uhr', current=16, limit=Limit(selected='soc', amount=1000, soc=95)), '1': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, True, True, False]), time=['22:00', '06:00'], name='Zeitladen 80%, Fr-Sa 22:00-06:00 Uhr', current=16, limit=Limit(selected='soc', amount=1000, soc=80))}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2023-12-08 04:10:31,482 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, time_charging=TimeCharging(active=True, plans={'2': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), time=['06:45', '07:00'], name='Klima 06:45-07:00 Uhr', current=6, limit=Limit(selected='none', amount=1000, soc=50)), '3': TimeChargingPlan(active=True, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, False, False, False]), time=['00:00', '23:55'], name='Immer 35%', current=10, limit=Limit(selected='soc', amount=1000, soc=35))}), chargemode=Chargemode(selected='scheduled_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={'0': ScheduledChargingPlan(active=False, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, True, False, False, False, False, False]), current=14, name='Zielladen 80%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '1': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), current=14, name='Zielladen 95%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=95), time='05:40'), '2': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once='2023-09-26', weekly=[True, False, False, True, False, True, True]), current=14, name='Zielladen 75%, 7:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=75), time='05:40')}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=80))))
2023-12-08 04:10:31,483 - {control.data:266} - {INFO:MainThread} - ev0
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=['0003134583'], get=Get(soc=0, soc_timestamp=None, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:10:31,484 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Tesla Model Y (2022)', 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=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212', '2585087748'], get=Get(soc=49.0, soc_timestamp='12/08/2023, 01:29:15', force_soc_update=False, range=220.74, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:10:31,486 - {control.data:266} - {INFO:MainThread} - ev2
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Cupra Born 58kW', 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=18000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=2, ev_template=2, name='***AUTO2***', tag_id=['1655332554'], get=Get(soc=72, soc_timestamp='12/08/2023, 02:47:32', force_soc_update=False, range=205, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:10:31,487 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40)
2023-12-08 04:10:31,488 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', 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=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40)
2023-12-08 04:10:31,490 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', 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=18000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40)
2023-12-08 04:10:31,491 - {control.data:245} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=3), pv_charging=PvCharging(bat_prio=True, charging_power_reserve=200, control_range=[-230, 230], feed_in_yield=15000, phase_switch_delay=15, phases_to_use=0, rundown_power=1000, rundown_soc=25, switch_off_delay=60, switch_off_soc=25, switch_off_threshold=50, switch_on_delay=30, switch_on_soc=50, switch_on_threshold=1400), scheduled_charging=ScheduledCharging(phases_to_use=0), time_charging=TimeCharging(phases_to_use=3), unbalanced_load_limit=20, unbalanced_load=True), control_interval=10, extern_display_mode='local', extern=False, external_buttons_hw=False, grid_protection_active=False, grid_protection_configured=True, grid_protection_random_stop=0, grid_protection_timestamp='', mqtt_bridge=False, price_kwh=0.3528, range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=True, r1_active=False, r2_active=False))
2023-12-08 04:10:31,492 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2023-12-08 04:10:31,493 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2023-12-08 04:10:31,494 - {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 0x70b62cb8>), led=Led(active=False), rfid=Rfid(active=True))
2023-12-08 04:10:31,495 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=0), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=293628.595, fault_state=0, fault_str='Kein Fehler.', power=0))
2023-12-08 04:10:31,497 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=9500), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=7816178.86, fault_state=0, fault_str='Kein Fehler.', power=-0.0))
2023-12-08 04:10:31,498 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=8109807.455, power=0.0))
2023-12-08 04:10:31,499 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2023-11-30 12:30:45 +0100 [285f5a5fb]', 'current_branch': 'Release', 'current_branch_commit': '2023-11-30 12:30:45 +0100 [285f5a5fb]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.2-Patch.1', 'datastore_version': 29, 'lastlivevaluesJson': {'timestamp': 1702005022, 'time': '04:10:22', 'grid': 0.356, 'house-power': 0.356, 'charging-all': 0.0, 'pv-all': -0.0, 'cp1-power': 0.0, 'ev1-soc': 49.0, 'ev2-soc': 72, 'bat-all-power': 0.0, 'bat-all-soc': 19}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2023-12-08 04:10:31,500 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2023-12-08 04:10:31,502 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2023-12-08 04:10:31,503 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2023-12-08 04:10:31,509 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2023-12-08 04:10:31,517 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2023-12-08 04:10:31,518 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2023-12-08 04:10:31,520 - {control.data:253} - {INFO:MainThread} - 

2023-12-08 04:10:31,521 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2023-12-08 04:10:31,522 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2023-12-08 04:10:31,526 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2023-12-08 04:10:31,527 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2023-12-08 04:10:31,530 - {control.counter:211} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: 0W
2023-12-08 04:10:31,531 - {control.counter:457} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf 0W
2023-12-08 04:10:31,532 - {control.chargepoint.chargepoint:277} - {INFO:MainThread} - LP 1: Die Ladung kann nicht gestartet werden, da die Einschaltschwelle nicht erreicht wird.
2023-12-08 04:10:31,532 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2023-12-08 04:10:31,534 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2023-12-08 04:10:31,539 - {control.process:111} - {INFO:MainThread} - LP1: set current 0 A, state NO_CHARGING_ALLOWED
2023-12-08 04:10:31,547 - {modules.common.component_context:24} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:10:31,575 - {control.counter:186} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2023-12-08 04:10:31,755 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2023-12-08 04:10:35,788 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2023-12-08 04:10:35,789 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2023-12-08 04:10:40,798 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2023-12-08 04:10:40,799 - {root:74} - {INFO:MainThread} - # ***Start*** 
2023-12-08 04:10:40,837 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x715cf340>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x7155e4a8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x715c75f8>}
2023-12-08 04:10:40,838 - {modules.common.component_context:24} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2023-12-08 04:10:40,842 - {modules.common.component_context:24} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:10:40,852 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2023-12-08 04:10:40,854 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2023-12-08 04:10:40,897 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 750
2023-12-08 04:10:40,899 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"cloud":{"connected":false},"input:0":{"id":0,"state":false},"mqtt":{"connected":false},"switch:0":{"id":0, "source":"loopback", "output":false, "apower":0.0, "voltage":242.6, "current":0.000, "aenergy":{"total":1505.625,"by_minute":[0.000,0.000,0.000],"minute_ts":1702005040},"temperature":{"tC":28.8, "tF":83.8}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:10","unixtime":1702005041,"uptime":1364369,"ram_size":248996,"ram_free":145264,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"beta":{"version":"1.1.0-beta2"},"stable":{"version":"1.0.8"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-68},"ws":{"connected":false}}

2023-12-08 04:10:40,901 - {modules.common.simcount._simcount:38} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1702005030.5277417, power=0, imported=0.0, exported=293628.5948715257)
2023-12-08 04:10:40,902 - {modules.common.simcount._calculate:13} - {DEBUG:device1} - time passed: 0.00288156, power1: 0, power2: 0
2023-12-08 04:10:40,902 - {modules.common.simcount._calculate:29} - {DEBUG:device1} - power did not change sign. Total energy: 0
2023-12-08 04:10:40,903 - {modules.common.simcount._simcount:47} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702005040.9013638, power=0, imported=0.0, exported=293628.5948715257)
2023-12-08 04:10:40,904 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:10:41,022 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-367, -200, -21, -144], Scale 0
2023-12-08 04:10:41,093 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [11, 5, 12], Scale -1
2023-12-08 04:10:41,112 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [24248, 24226, 24054, 0, 0, 0, 0], Scale -2
2023-12-08 04:10:41,134 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [5000], Scale -2
2023-12-08 04:10:41,242 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7390, 1739, 4909], Scale -2
2023-12-08 04:10:41,262 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4870433, 1797042, 2153375, 1456453, 6125895, 2531544, 1862790, 2268000], Scale 0
2023-12-08 04:10:41,263 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[1.1, 0.5, 1.2000000000000002], powers=[200.0, 21.0, 144.0], voltages=[242.48000000000002, 242.26, 240.54], power_factors=[0.7390000000000001, 0.1739, 0.49090000000000006], imported=6125895.0, exported=4870433.0, power=367.0, frequency=50.0)
2023-12-08 04:10:41,269 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2023-12-08 04:10:41,294 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [0], Scale 0
2023-12-08 04:10:41,315 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7789710], Scale 0
2023-12-08 04:10:41,356 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [27, 29, 30], Scale -2
2023-12-08 04:10:41,393 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4452], Scale -2
2023-12-08 04:10:41,394 - {modules.common.component_state:100} - {DEBUG:device0} - currents sign wrong [0.27, 0.29, 0.3]
2023-12-08 04:10:41,395 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.27, 0.29, 0.3], power=-0.0, exported=7789710.0, dc_power=44.52)
2023-12-08 04:10:41,396 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2023-12-08 04:10:41,494 - {modules.common.simcount._simcount:38} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1702005030.9482613, power=0.0, imported=143333.37604219164, exported=116864.5215890633)
2023-12-08 04:10:41,494 - {modules.common.simcount._calculate:13} - {DEBUG:device0} - time passed: 0.00292937, power1: 0, power2: 0
2023-12-08 04:10:41,495 - {modules.common.simcount._calculate:29} - {DEBUG:device0} - power did not change sign. Total energy: 0
2023-12-08 04:10:41,495 - {modules.common.simcount._simcount:47} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702005041.4939835, power=0.0, imported=143333.37604219164, exported=116864.5215890633)
2023-12-08 04:10:41,498 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=143333.37604219164, exported=116864.5215890633, power=0.0, soc=19.0)
2023-12-08 04:10:41,519 - {modules.common.component_context:24} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2023-12-08 04:10:41,522 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=143333.37604219164, exported=116864.5215890633, power=0.0, soc=19.0)
2023-12-08 04:10:41,560 - {modules.common.component_context:24} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:10:41,561 - {modules.common.component_context:24} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2023-12-08 04:10:41,562 - {modules.common.component_context:24} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2023-12-08 04:10:41,562 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-0.0, exported=7816178.86, dc_power=None)
2023-12-08 04:10:41,563 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:10:41,564 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-0.0, exported=7816178.86, dc_power=None)
2023-12-08 04:10:41,564 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:10:41,603 - {modules.common.component_context:24} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2023-12-08 04:10:41,604 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[1.1, 0.5, 1.2000000000000002], powers=[200.0, 21.0, 144.0], voltages=[242.48000000000002, 242.26, 240.54], power_factors=[0.7390000000000001, 0.1739, 0.49090000000000006], imported=6125895.0, exported=4870433.0, power=367.0, frequency=50.0)
2023-12-08 04:10:41,803 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2023-12-08 04:10:41,818 - {control.bat_all:173} - {INFO:MainThread} - -50W verbleibende Speicher-Leistung
2023-12-08 04:10:41,828 - {control.counter:138} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [61.9, 62.6, 61.8]A
2023-12-08 04:10:41,839 - {control.counter:161} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 42633.0W
2023-12-08 04:10:41,861 - {control.chargepoint.chargepoint:699} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2023-12-08 04:10:41,864 - {control.chargepoint.chargepoint:682} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2023-12-08 04:10:41,872 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 386.699787s, Dauer 1.380952380952381h, Termin heute verpasst: False
2023-12-08 04:10:41,875 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 91109.677324s, Dauer 0.18012422360248448h, Termin heute verpasst: False
2023-12-08 04:10:41,880 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -9556.166013s, Dauer 4.142857142857143h, Termin heute verpasst: False
2023-12-08 04:10:41,882 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 89812.775947s, Dauer 0.5403726708074534h, Termin heute verpasst: False
2023-12-08 04:10:41,888 - {control.ev:762} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2023-12-08 04:10:41,913 - {control.chargepoint.chargepoint:898} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.PV_CHARGING, Phasen: 1, Priorität: False, max. Ist-Strom: 0.1
2023-12-08 04:10:41,939 - {control.chargepoint.chargepoint:277} - {INFO:MainThread} - LP 1: Kein Sofortladen, da noch Zeit bis zum Zieltermin ist. Falls vorhanden, wird mit EVU-Überschuss geladen.
2023-12-08 04:10:41,966 - {modules.common.simcount._simcount:38} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1702005031.4565837, power=363.0, imported=2374364.841774815, exported=0)
2023-12-08 04:10:41,969 - {modules.common.simcount._calculate:13} - {DEBUG:MainThread} - time passed: 0.00291931, power1: 363, power2: 367
2023-12-08 04:10:41,976 - {modules.common.simcount._calculate:29} - {DEBUG:MainThread} - power did not change sign. Total energy: 1.06555
2023-12-08 04:10:41,978 - {modules.common.simcount._simcount:47} - {DEBUG:MainThread} - imported: 1.06555 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702005041.9660897, power=367.0, imported=2374365.90732195, exported=0)
2023-12-08 04:10:41,982 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=19, daily_exported=0.0, daily_imported=0.0, imported=143333.38, exported=116864.52, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2023-12-08 04:10:41,991 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=19, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=143333.38, exported=116864.52, power=0.0), set=Set(charging_power_left=-50, switch_on_soc_reached=False))
2023-12-08 04:10:41,997 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=98.14, daily_exported=0, power=0, imported=6926459.96, exported=0))
2023-12-08 04:10:41,998 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 95%, 06:00 Uhr', imported_at_plan_start=6926377.93, imported_instant_charging=None, limit=None, phases=1, prio=False, required_current=6, required_currents=[0.0, 6, 0.0], state=0, submode=<Chargemode.PV_CHARGING: 'pv_charging'>, 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=72), currents=[0.1, 0.0, 0.0], daily_imported=98.14, daily_exported=0, evse_current=0, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=6926459.96, phases_in_use=1, plug_state=True, power=0, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Kein Sofortladen, da noch Zeit bis zum Zieltermin ist. Falls vorhanden, wird mit EVU-Überschuss geladen.', voltages=[242.55, 240.72, 242.73]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=0, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='_', imported_at_mode_switch=6926377.93, imported_at_plugtime=6926377.93, imported_since_mode_switch=0, imported_since_plugged=82.03000000026077, range_charged=0, time_charged='00:00', timestamp_start_charging=None), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time='12/07/2023, 13:07:31', required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x715cfb08>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB Carport', type='internal_openwb', template=1, connected_phases=3, phase_1=2, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=1))
2023-12-08 04:10:42,004 - {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-12-08 04:10:42,005 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=1, max_current_multi_phases=16, max_current_single_phase=20, name='RFID, 20A, 11kW', rfid_enabling=True, valid_tags=['0003134583', '0003526747', '1655332554', '2585022212', '2585087748'])
2023-12-08 04:10:42,008 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[63, 63, 63], max_total_power=43000), get=Get(powers=[200.0, 21.0, 144.0], currents=[1.1, 0.5, 1.2], voltages=[242.48, 242.26, 240.54], power_factors=[0.74, 0.17, 0.49], unbalanced_load=0, frequency=50.0, daily_exported=0.0, daily_imported=4131.0, imported=6125895.0, exported=4870433.0, fault_state=0, fault_str='Kein Fehler.', power=367.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=42633.0, raw_currents_left=[61.9, 62.6, 61.8], surplus_power_left=0, state_str=''))
2023-12-08 04:10:42,008 - {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': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=367.0, invalid_home_consumption=0, daily_yield_home_consumption=5546.5169343646, imported_home_consumption=2374365.90732195, disengageable_smarthome_power=0))
2023-12-08 04:10:42,009 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2023-12-08 04:10:42,010 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Ladeprofil ***AUTO1***', disable_after_unplug=False, prio=False, load_default=True, time_charging=TimeCharging(active=True, plans={'0': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[True, True, True, True, False, False, True]), time=['22:00', '06:00'], name='Zeitladen 95%, So-Do 22:00-06:00 Uhr', current=16, limit=Limit(selected='soc', amount=1000, soc=95)), '1': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, True, True, False]), time=['22:00', '06:00'], name='Zeitladen 80%, Fr-Sa 22:00-06:00 Uhr', current=16, limit=Limit(selected='soc', amount=1000, soc=80))}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2023-12-08 04:10:42,011 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, time_charging=TimeCharging(active=True, plans={'2': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), time=['06:45', '07:00'], name='Klima 06:45-07:00 Uhr', current=6, limit=Limit(selected='none', amount=1000, soc=50)), '3': TimeChargingPlan(active=True, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, False, False, False]), time=['00:00', '23:55'], name='Immer 35%', current=10, limit=Limit(selected='soc', amount=1000, soc=35))}), chargemode=Chargemode(selected='scheduled_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={'0': ScheduledChargingPlan(active=False, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, True, False, False, False, False, False]), current=14, name='Zielladen 80%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '1': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), current=14, name='Zielladen 95%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=95), time='05:40'), '2': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once='2023-09-26', weekly=[True, False, False, True, False, True, True]), current=14, name='Zielladen 75%, 7:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=75), time='05:40')}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=80))))
2023-12-08 04:10:42,011 - {control.data:266} - {INFO:MainThread} - ev0
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=['0003134583'], get=Get(soc=0, soc_timestamp=None, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:10:42,012 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Tesla Model Y (2022)', 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=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212', '2585087748'], get=Get(soc=49.0, soc_timestamp='12/08/2023, 01:29:15', force_soc_update=False, range=220.74, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:10:42,012 - {control.data:266} - {INFO:MainThread} - ev2
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Cupra Born 58kW', 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=18000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=2, ev_template=2, name='***AUTO2***', tag_id=['1655332554'], get=Get(soc=72, soc_timestamp='12/08/2023, 02:47:32', force_soc_update=False, range=205, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:10:42,013 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40)
2023-12-08 04:10:42,013 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', 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=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40)
2023-12-08 04:10:42,013 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', 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=18000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40)
2023-12-08 04:10:42,014 - {control.data:245} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=3), pv_charging=PvCharging(bat_prio=True, charging_power_reserve=200, control_range=[-230, 230], feed_in_yield=15000, phase_switch_delay=15, phases_to_use=0, rundown_power=1000, rundown_soc=25, switch_off_delay=60, switch_off_soc=25, switch_off_threshold=50, switch_on_delay=30, switch_on_soc=50, switch_on_threshold=1400), scheduled_charging=ScheduledCharging(phases_to_use=0), time_charging=TimeCharging(phases_to_use=3), unbalanced_load_limit=20, unbalanced_load=True), control_interval=10, extern_display_mode='local', extern=False, external_buttons_hw=False, grid_protection_active=False, grid_protection_configured=True, grid_protection_random_stop=0, grid_protection_timestamp='', mqtt_bridge=False, price_kwh=0.3528, range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=True, r1_active=False, r2_active=False))
2023-12-08 04:10:42,014 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2023-12-08 04:10:42,015 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2023-12-08 04:10:42,015 - {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 0x756108f8>), led=Led(active=False), rfid=Rfid(active=True))
2023-12-08 04:10:42,016 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=0), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=293628.595, fault_state=0, fault_str='Kein Fehler.', power=0))
2023-12-08 04:10:42,016 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=9500), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=7816178.86, fault_state=0, fault_str='Kein Fehler.', power=-0.0))
2023-12-08 04:10:42,017 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=8109807.455, power=0.0))
2023-12-08 04:10:42,017 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2023-11-30 12:30:45 +0100 [285f5a5fb]', 'current_branch': 'Release', 'current_branch_commit': '2023-11-30 12:30:45 +0100 [285f5a5fb]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.2-Patch.1', 'datastore_version': 29, 'lastlivevaluesJson': {'timestamp': 1702005031, 'time': '04:10:31', 'grid': 0.363, 'house-power': 0.363, 'charging-all': 0.0, 'pv-all': -0.0, 'cp1-power': 0.0, 'ev1-soc': 49.0, 'ev2-soc': 72, 'bat-all-power': 0.0, 'bat-all-soc': 19}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2023-12-08 04:10:42,017 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2023-12-08 04:10:42,018 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2023-12-08 04:10:42,018 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2023-12-08 04:10:42,024 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2023-12-08 04:10:42,025 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2023-12-08 04:10:42,035 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2023-12-08 04:10:42,036 - {control.data:253} - {INFO:MainThread} - 

2023-12-08 04:10:42,037 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2023-12-08 04:10:42,038 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2023-12-08 04:10:42,043 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2023-12-08 04:10:42,045 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2023-12-08 04:10:42,050 - {control.counter:211} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: 0W
2023-12-08 04:10:42,051 - {control.counter:457} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf 0W
2023-12-08 04:10:42,052 - {control.chargepoint.chargepoint:277} - {INFO:MainThread} - LP 1: Die Ladung kann nicht gestartet werden, da die Einschaltschwelle nicht erreicht wird.
2023-12-08 04:10:42,053 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2023-12-08 04:10:42,055 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2023-12-08 04:10:42,059 - {control.process:111} - {INFO:MainThread} - LP1: set current 0 A, state NO_CHARGING_ALLOWED
2023-12-08 04:10:42,061 - {modules.common.component_context:24} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:10:42,076 - {control.counter:186} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2023-12-08 04:10:42,473 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2023-12-08 04:10:42,479 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2023-12-08 04:10:45,486 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2023-12-08 04:10:50,502 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2023-12-08 04:10:50,503 - {root:74} - {INFO:MainThread} - # ***Start*** 
2023-12-08 04:10:50,549 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x715cf340>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x7155e4a8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x715c75f8>}
2023-12-08 04:10:50,551 - {modules.common.component_context:24} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2023-12-08 04:10:50,554 - {modules.common.component_context:24} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:10:50,562 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2023-12-08 04:10:50,601 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2023-12-08 04:10:50,611 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 750
2023-12-08 04:10:50,615 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"cloud":{"connected":false},"input:0":{"id":0,"state":false},"mqtt":{"connected":false},"switch:0":{"id":0, "source":"loopback", "output":false, "apower":0.0, "voltage":242.5, "current":0.000, "aenergy":{"total":1505.625,"by_minute":[0.000,0.000,0.000],"minute_ts":1702005050},"temperature":{"tC":28.9, "tF":84.1}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:10","unixtime":1702005051,"uptime":1364378,"ram_size":248996,"ram_free":145264,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"beta":{"version":"1.1.0-beta2"},"stable":{"version":"1.0.8"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-68},"ws":{"connected":false}}

2023-12-08 04:10:50,619 - {modules.common.simcount._simcount:38} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1702005040.9013638, power=0, imported=0.0, exported=293628.5948715257)
2023-12-08 04:10:50,620 - {modules.common.simcount._calculate:13} - {DEBUG:device1} - time passed: 0.00269955, power1: 0, power2: 0
2023-12-08 04:10:50,621 - {modules.common.simcount._calculate:29} - {DEBUG:device1} - power did not change sign. Total energy: 0
2023-12-08 04:10:50,621 - {modules.common.simcount._simcount:47} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702005050.6197414, power=0, imported=0.0, exported=293628.5948715257)
2023-12-08 04:10:50,623 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:10:50,652 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-363, -202, -22, -138], Scale 0
2023-12-08 04:10:50,671 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [11, 5, 12], Scale -1
2023-12-08 04:10:50,697 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [24231, 24217, 24042, 0, 0, 0, 0], Scale -2
2023-12-08 04:10:50,735 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4999], Scale -2
2023-12-08 04:10:50,763 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7369, 1790, 4830], Scale -2
2023-12-08 04:10:50,783 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4870433, 1797042, 2153375, 1456453, 6125897, 2531545, 1862790, 2268000], Scale 0
2023-12-08 04:10:50,784 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[1.1, 0.5, 1.2000000000000002], powers=[202.0, 22.0, 138.0], voltages=[242.31, 242.17000000000002, 240.42000000000002], power_factors=[0.7369, 0.17900000000000002, 0.48300000000000004], imported=6125897.0, exported=4870433.0, power=363.0, frequency=49.99)
2023-12-08 04:10:50,787 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2023-12-08 04:10:50,842 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [0], Scale 0
2023-12-08 04:10:50,872 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7789710], Scale 0
2023-12-08 04:10:50,891 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [28, 30, 32], Scale -2
2023-12-08 04:10:50,962 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4810], Scale -2
2023-12-08 04:10:50,963 - {modules.common.component_state:100} - {DEBUG:device0} - currents sign wrong [0.28, 0.3, 0.32]
2023-12-08 04:10:50,963 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.28, 0.3, 0.32], power=-0.0, exported=7789710.0, dc_power=48.1)
2023-12-08 04:10:50,966 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2023-12-08 04:10:51,002 - {modules.common.simcount._simcount:38} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1702005041.4939835, power=0.0, imported=143333.37604219164, exported=116864.5215890633)
2023-12-08 04:10:51,003 - {modules.common.simcount._calculate:13} - {DEBUG:device0} - time passed: 0.00264125, power1: 0, power2: 0
2023-12-08 04:10:51,003 - {modules.common.simcount._calculate:29} - {DEBUG:device0} - power did not change sign. Total energy: 0
2023-12-08 04:10:51,004 - {modules.common.simcount._simcount:47} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702005051.0024705, power=0.0, imported=143333.37604219164, exported=116864.5215890633)
2023-12-08 04:10:51,005 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=143333.37604219164, exported=116864.5215890633, power=0.0, soc=19.0)
2023-12-08 04:10:51,019 - {modules.common.component_context:24} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2023-12-08 04:10:51,022 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=143333.37604219164, exported=116864.5215890633, power=0.0, soc=19.0)
2023-12-08 04:10:51,064 - {modules.common.component_context:24} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:10:51,067 - {modules.common.component_context:24} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2023-12-08 04:10:51,068 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-0.0, exported=7816178.86, dc_power=None)
2023-12-08 04:10:51,069 - {modules.common.component_context:24} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2023-12-08 04:10:51,069 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-0.0, exported=7816178.86, dc_power=None)
2023-12-08 04:10:51,070 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:10:51,078 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:10:51,158 - {modules.common.component_context:24} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2023-12-08 04:10:51,159 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[1.1, 0.5, 1.2000000000000002], powers=[202.0, 22.0, 138.0], voltages=[242.31, 242.17000000000002, 240.42000000000002], power_factors=[0.7369, 0.17900000000000002, 0.48300000000000004], imported=6125897.0, exported=4870433.0, power=363.0, frequency=49.99)
2023-12-08 04:10:51,495 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2023-12-08 04:10:51,497 - {control.bat_all:173} - {INFO:MainThread} - -50W verbleibende Speicher-Leistung
2023-12-08 04:10:51,500 - {control.counter:138} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [61.9, 62.6, 61.8]A
2023-12-08 04:10:51,501 - {control.counter:161} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 42637.0W
2023-12-08 04:10:51,504 - {control.chargepoint.chargepoint:699} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2023-12-08 04:10:51,505 - {control.chargepoint.chargepoint:682} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2023-12-08 04:10:51,506 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 377.065193s, Dauer 1.380952380952381h, Termin heute verpasst: False
2023-12-08 04:10:51,508 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 91100.044689s, Dauer 0.18012422360248448h, Termin heute verpasst: False
2023-12-08 04:10:51,510 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -9565.795456s, Dauer 4.142857142857143h, Termin heute verpasst: False
2023-12-08 04:10:51,511 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 89803.147207s, Dauer 0.5403726708074534h, Termin heute verpasst: False
2023-12-08 04:10:51,512 - {control.ev:762} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2023-12-08 04:10:51,519 - {control.chargepoint.chargepoint:898} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.PV_CHARGING, Phasen: 1, Priorität: False, max. Ist-Strom: 0.1
2023-12-08 04:10:51,522 - {control.chargepoint.chargepoint:277} - {INFO:MainThread} - LP 1: Kein Sofortladen, da noch Zeit bis zum Zieltermin ist. Falls vorhanden, wird mit EVU-Überschuss geladen.
2023-12-08 04:10:51,530 - {modules.common.simcount._simcount:38} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1702005041.9660897, power=367.0, imported=2374365.90732195, exported=0)
2023-12-08 04:10:51,535 - {modules.common.simcount._calculate:13} - {DEBUG:MainThread} - time passed: 0.00265689, power1: 367, power2: 363
2023-12-08 04:10:51,537 - {modules.common.simcount._calculate:29} - {DEBUG:MainThread} - power did not change sign. Total energy: 0.969765
2023-12-08 04:10:51,539 - {modules.common.simcount._simcount:47} - {DEBUG:MainThread} - imported: 0.969765 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702005051.5308995, power=363.0, imported=2374366.8770873877, exported=0)
2023-12-08 04:10:51,549 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=19, daily_exported=0.0, daily_imported=0.0, imported=143333.38, exported=116864.52, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2023-12-08 04:10:51,552 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=19, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=143333.38, exported=116864.52, power=0.0), set=Set(charging_power_left=-50, switch_on_soc_reached=False))
2023-12-08 04:10:51,553 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=98.14, daily_exported=0, power=0, imported=6926459.96, exported=0))
2023-12-08 04:10:51,554 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 95%, 06:00 Uhr', imported_at_plan_start=6926377.93, imported_instant_charging=None, limit=None, phases=1, prio=False, required_current=6, required_currents=[0.0, 6, 0.0], state=0, submode=<Chargemode.PV_CHARGING: 'pv_charging'>, 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=72), currents=[0.1, 0.0, 0.0], daily_imported=98.14, daily_exported=0, evse_current=0, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=6926459.96, phases_in_use=1, plug_state=True, power=0, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Kein Sofortladen, da noch Zeit bis zum Zieltermin ist. Falls vorhanden, wird mit EVU-Überschuss geladen.', voltages=[242.56, 240.89, 242.74]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=0, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='_', imported_at_mode_switch=6926377.93, imported_at_plugtime=6926377.93, imported_since_mode_switch=0, imported_since_plugged=82.03000000026077, range_charged=0, time_charged='00:00', timestamp_start_charging=None), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time='12/07/2023, 13:07:31', required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x715bff10>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB Carport', type='internal_openwb', template=1, connected_phases=3, phase_1=2, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=1))
2023-12-08 04:10:51,555 - {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-12-08 04:10:51,556 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=1, max_current_multi_phases=16, max_current_single_phase=20, name='RFID, 20A, 11kW', rfid_enabling=True, valid_tags=['0003134583', '0003526747', '1655332554', '2585022212', '2585087748'])
2023-12-08 04:10:51,557 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[63, 63, 63], max_total_power=43000), get=Get(powers=[202.0, 22.0, 138.0], currents=[1.1, 0.5, 1.2], voltages=[242.31, 242.17, 240.42], power_factors=[0.74, 0.18, 0.48], unbalanced_load=0, frequency=49.99, daily_exported=0.0, daily_imported=4131.0, imported=6125897.0, exported=4870433.0, fault_state=0, fault_str='Kein Fehler.', power=363.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=42637.0, raw_currents_left=[61.9, 62.6, 61.8], surplus_power_left=0, state_str=''))
2023-12-08 04:10:51,559 - {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': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=363.0, invalid_home_consumption=0, daily_yield_home_consumption=5546.5169343646, imported_home_consumption=2374366.8770873877, disengageable_smarthome_power=0))
2023-12-08 04:10:51,560 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2023-12-08 04:10:51,562 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Ladeprofil ***AUTO1***', disable_after_unplug=False, prio=False, load_default=True, time_charging=TimeCharging(active=True, plans={'0': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[True, True, True, True, False, False, True]), time=['22:00', '06:00'], name='Zeitladen 95%, So-Do 22:00-06:00 Uhr', current=16, limit=Limit(selected='soc', amount=1000, soc=95)), '1': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, True, True, False]), time=['22:00', '06:00'], name='Zeitladen 80%, Fr-Sa 22:00-06:00 Uhr', current=16, limit=Limit(selected='soc', amount=1000, soc=80))}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2023-12-08 04:10:51,564 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, time_charging=TimeCharging(active=True, plans={'2': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), time=['06:45', '07:00'], name='Klima 06:45-07:00 Uhr', current=6, limit=Limit(selected='none', amount=1000, soc=50)), '3': TimeChargingPlan(active=True, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, False, False, False]), time=['00:00', '23:55'], name='Immer 35%', current=10, limit=Limit(selected='soc', amount=1000, soc=35))}), chargemode=Chargemode(selected='scheduled_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={'0': ScheduledChargingPlan(active=False, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, True, False, False, False, False, False]), current=14, name='Zielladen 80%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '1': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), current=14, name='Zielladen 95%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=95), time='05:40'), '2': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once='2023-09-26', weekly=[True, False, False, True, False, True, True]), current=14, name='Zielladen 75%, 7:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=75), time='05:40')}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=80))))
2023-12-08 04:10:51,568 - {control.data:266} - {INFO:MainThread} - ev0
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=['0003134583'], get=Get(soc=0, soc_timestamp=None, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:10:51,569 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Tesla Model Y (2022)', 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=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212', '2585087748'], get=Get(soc=49.0, soc_timestamp='12/08/2023, 01:29:15', force_soc_update=False, range=220.74, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:10:51,571 - {control.data:266} - {INFO:MainThread} - ev2
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Cupra Born 58kW', 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=18000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=2, ev_template=2, name='***AUTO2***', tag_id=['1655332554'], get=Get(soc=72, soc_timestamp='12/08/2023, 02:47:32', force_soc_update=False, range=205, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:10:51,572 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40)
2023-12-08 04:10:51,575 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', 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=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40)
2023-12-08 04:10:51,577 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', 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=18000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40)
2023-12-08 04:10:51,577 - {control.data:245} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=3), pv_charging=PvCharging(bat_prio=True, charging_power_reserve=200, control_range=[-230, 230], feed_in_yield=15000, phase_switch_delay=15, phases_to_use=0, rundown_power=1000, rundown_soc=25, switch_off_delay=60, switch_off_soc=25, switch_off_threshold=50, switch_on_delay=30, switch_on_soc=50, switch_on_threshold=1400), scheduled_charging=ScheduledCharging(phases_to_use=0), time_charging=TimeCharging(phases_to_use=3), unbalanced_load_limit=20, unbalanced_load=True), control_interval=10, extern_display_mode='local', extern=False, external_buttons_hw=False, grid_protection_active=False, grid_protection_configured=True, grid_protection_random_stop=0, grid_protection_timestamp='', mqtt_bridge=False, price_kwh=0.3528, range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=True, r1_active=False, r2_active=False))
2023-12-08 04:10:51,578 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2023-12-08 04:10:51,578 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2023-12-08 04:10:51,579 - {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 0x70bcef40>), led=Led(active=False), rfid=Rfid(active=True))
2023-12-08 04:10:51,580 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=0), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=293628.595, fault_state=0, fault_str='Kein Fehler.', power=0))
2023-12-08 04:10:51,580 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=9500), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=7816178.86, fault_state=0, fault_str='Kein Fehler.', power=-0.0))
2023-12-08 04:10:51,580 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=8109807.455, power=0.0))
2023-12-08 04:10:51,581 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2023-11-30 12:30:45 +0100 [285f5a5fb]', 'current_branch': 'Release', 'current_branch_commit': '2023-11-30 12:30:45 +0100 [285f5a5fb]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.2-Patch.1', 'datastore_version': 29, 'lastlivevaluesJson': {'timestamp': 1702005042, 'time': '04:10:42', 'grid': 0.367, 'house-power': 0.367, 'charging-all': 0.0, 'pv-all': -0.0, 'cp1-power': 0.0, 'ev1-soc': 49.0, 'ev2-soc': 72, 'bat-all-power': 0.0, 'bat-all-soc': 19}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2023-12-08 04:10:51,582 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2023-12-08 04:10:51,582 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2023-12-08 04:10:51,582 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2023-12-08 04:10:51,583 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2023-12-08 04:10:51,583 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2023-12-08 04:10:51,584 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2023-12-08 04:10:51,584 - {control.data:253} - {INFO:MainThread} - 

2023-12-08 04:10:51,584 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2023-12-08 04:10:51,585 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2023-12-08 04:10:51,587 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2023-12-08 04:10:51,589 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2023-12-08 04:10:51,603 - {control.counter:211} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: 0W
2023-12-08 04:10:51,604 - {control.counter:457} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf 0W
2023-12-08 04:10:51,606 - {control.chargepoint.chargepoint:277} - {INFO:MainThread} - LP 1: Die Ladung kann nicht gestartet werden, da die Einschaltschwelle nicht erreicht wird.
2023-12-08 04:10:51,607 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2023-12-08 04:10:51,610 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2023-12-08 04:10:51,613 - {control.process:111} - {INFO:MainThread} - LP1: set current 0 A, state NO_CHARGING_ALLOWED
2023-12-08 04:10:51,630 - {modules.common.component_context:24} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:10:51,678 - {control.counter:186} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2023-12-08 04:10:51,916 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2023-12-08 04:10:51,918 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2023-12-08 04:10:55,927 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2023-12-08 04:10:55,928 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2023-12-08 04:11:00,938 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2023-12-08 04:11:00,939 - {root:74} - {INFO:MainThread} - # ***Start*** 
2023-12-08 04:11:01,012 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x715cf340>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x7155e4a8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x715c75f8>}
2023-12-08 04:11:01,015 - {modules.common.component_context:24} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2023-12-08 04:11:01,017 - {modules.common.component_context:24} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:11:01,024 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2023-12-08 04:11:01,027 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2023-12-08 04:11:01,053 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-364, -200, -21, -141], Scale 0
2023-12-08 04:11:01,071 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 750
2023-12-08 04:11:01,073 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"cloud":{"connected":false},"input:0":{"id":0,"state":false},"mqtt":{"connected":false},"switch:0":{"id":0, "source":"loopback", "output":false, "apower":0.0, "voltage":242.7, "current":0.000, "aenergy":{"total":1505.625,"by_minute":[0.000,0.000,0.000],"minute_ts":1702005060},"temperature":{"tC":28.9, "tF":84.0}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:11","unixtime":1702005061,"uptime":1364389,"ram_size":248944,"ram_free":144704,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"beta":{"version":"1.1.0-beta2"},"stable":{"version":"1.0.8"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-68},"ws":{"connected":false}}

2023-12-08 04:11:01,075 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [11, 5, 12], Scale -1
2023-12-08 04:11:01,076 - {modules.common.simcount._simcount:38} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1702005050.6197414, power=0, imported=0.0, exported=293628.5948715257)
2023-12-08 04:11:01,077 - {modules.common.simcount._calculate:13} - {DEBUG:device1} - time passed: 0.00290456, power1: 0, power2: 0
2023-12-08 04:11:01,077 - {modules.common.simcount._calculate:29} - {DEBUG:device1} - power did not change sign. Total energy: 0
2023-12-08 04:11:01,078 - {modules.common.simcount._simcount:47} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702005061.0761418, power=0, imported=0.0, exported=293628.5948715257)
2023-12-08 04:11:01,079 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:11:01,153 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [24241, 24218, 24045, 0, 0, 0, 0], Scale -2
2023-12-08 04:11:01,194 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [5000], Scale -2
2023-12-08 04:11:01,234 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7340, 1749, 4850], Scale -2
2023-12-08 04:11:01,252 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4870433, 1797042, 2153375, 1456453, 6125898, 2531545, 1862790, 2268001], Scale 0
2023-12-08 04:11:01,253 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[1.1, 0.5, 1.2000000000000002], powers=[200.0, 21.0, 141.0], voltages=[242.41, 242.18, 240.45000000000002], power_factors=[0.7340000000000001, 0.17490000000000003, 0.485], imported=6125898.0, exported=4870433.0, power=364.0, frequency=50.0)
2023-12-08 04:11:01,254 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2023-12-08 04:11:01,272 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [0], Scale 0
2023-12-08 04:11:01,295 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7789710], Scale 0
2023-12-08 04:11:01,321 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [28, 30, 31], Scale -2
2023-12-08 04:11:01,373 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4259], Scale -2
2023-12-08 04:11:01,374 - {modules.common.component_state:100} - {DEBUG:device0} - currents sign wrong [0.28, 0.3, 0.31]
2023-12-08 04:11:01,374 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.28, 0.3, 0.31], power=-0.0, exported=7789710.0, dc_power=42.59)
2023-12-08 04:11:01,375 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2023-12-08 04:11:01,413 - {modules.common.simcount._simcount:38} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1702005051.0024705, power=0.0, imported=143333.37604219164, exported=116864.5215890633)
2023-12-08 04:11:01,414 - {modules.common.simcount._calculate:13} - {DEBUG:device0} - time passed: 0.0028919, power1: 0, power2: 0
2023-12-08 04:11:01,414 - {modules.common.simcount._calculate:29} - {DEBUG:device0} - power did not change sign. Total energy: 0
2023-12-08 04:11:01,414 - {modules.common.simcount._simcount:47} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702005061.413328, power=0.0, imported=143333.37604219164, exported=116864.5215890633)
2023-12-08 04:11:01,415 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=143333.37604219164, exported=116864.5215890633, power=0.0, soc=19.0)
2023-12-08 04:11:01,420 - {modules.common.component_context:24} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2023-12-08 04:11:01,421 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=143333.37604219164, exported=116864.5215890633, power=0.0, soc=19.0)
2023-12-08 04:11:01,458 - {modules.common.component_context:24} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:11:01,459 - {modules.common.component_context:24} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2023-12-08 04:11:01,460 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-0.0, exported=7816178.86, dc_power=None)
2023-12-08 04:11:01,461 - {modules.common.component_context:24} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2023-12-08 04:11:01,461 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-0.0, exported=7816178.86, dc_power=None)
2023-12-08 04:11:01,462 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:11:01,465 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:11:01,502 - {modules.common.component_context:24} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2023-12-08 04:11:01,502 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[1.1, 0.5, 1.2000000000000002], powers=[200.0, 21.0, 141.0], voltages=[242.41, 242.18, 240.45000000000002], power_factors=[0.7340000000000001, 0.17490000000000003, 0.485], imported=6125898.0, exported=4870433.0, power=364.0, frequency=50.0)
2023-12-08 04:11:01,659 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2023-12-08 04:11:01,664 - {control.bat_all:173} - {INFO:MainThread} - -50W verbleibende Speicher-Leistung
2023-12-08 04:11:01,666 - {control.counter:138} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [61.9, 62.6, 61.8]A
2023-12-08 04:11:01,667 - {control.counter:161} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 42636.0W
2023-12-08 04:11:01,670 - {control.chargepoint.chargepoint:699} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2023-12-08 04:11:01,671 - {control.chargepoint.chargepoint:682} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2023-12-08 04:11:01,673 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 366.898143s, Dauer 1.380952380952381h, Termin heute verpasst: False
2023-12-08 04:11:01,675 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 91089.8778s, Dauer 0.18012422360248448h, Termin heute verpasst: False
2023-12-08 04:11:01,677 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -9575.962285s, Dauer 4.142857142857143h, Termin heute verpasst: False
2023-12-08 04:11:01,678 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 89792.980312s, Dauer 0.5403726708074534h, Termin heute verpasst: False
2023-12-08 04:11:01,679 - {control.ev:762} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2023-12-08 04:11:01,683 - {control.chargepoint.chargepoint:898} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.PV_CHARGING, Phasen: 1, Priorität: False, max. Ist-Strom: 0.1
2023-12-08 04:11:01,684 - {control.chargepoint.chargepoint:277} - {INFO:MainThread} - LP 1: Kein Sofortladen, da noch Zeit bis zum Zieltermin ist. Falls vorhanden, wird mit EVU-Überschuss geladen.
2023-12-08 04:11:01,696 - {modules.common.simcount._simcount:38} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1702005051.5308995, power=363.0, imported=2374366.8770873877, exported=0)
2023-12-08 04:11:01,697 - {modules.common.simcount._calculate:13} - {DEBUG:MainThread} - time passed: 0.00282368, power1: 363, power2: 364
2023-12-08 04:11:01,698 - {modules.common.simcount._calculate:29} - {DEBUG:MainThread} - power did not change sign. Total energy: 1.02641
2023-12-08 04:11:01,700 - {modules.common.simcount._simcount:47} - {DEBUG:MainThread} - imported: 1.02641 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702005061.6961606, power=364.0, imported=2374367.903496383, exported=0)
2023-12-08 04:11:01,703 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=19, daily_exported=0.0, daily_imported=0.0, imported=143333.38, exported=116864.52, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2023-12-08 04:11:01,704 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=19, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=143333.38, exported=116864.52, power=0.0), set=Set(charging_power_left=-50, switch_on_soc_reached=False))
2023-12-08 04:11:01,705 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=98.14, daily_exported=0, power=0, imported=6926459.96, exported=0))
2023-12-08 04:11:01,708 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 95%, 06:00 Uhr', imported_at_plan_start=6926377.93, imported_instant_charging=None, limit=None, phases=1, prio=False, required_current=6, required_currents=[0.0, 6, 0.0], state=0, submode=<Chargemode.PV_CHARGING: 'pv_charging'>, 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=72), currents=[0.1, 0.0, 0.0], daily_imported=98.14, daily_exported=0, evse_current=0, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=6926459.96, phases_in_use=1, plug_state=True, power=0, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Kein Sofortladen, da noch Zeit bis zum Zieltermin ist. Falls vorhanden, wird mit EVU-Überschuss geladen.', voltages=[242.73, 241.09, 242.94]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=0, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='_', imported_at_mode_switch=6926377.93, imported_at_plugtime=6926377.93, imported_since_mode_switch=0, imported_since_plugged=82.03000000026077, range_charged=0, time_charged='00:00', timestamp_start_charging=None), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time='12/07/2023, 13:07:31', required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x7158a190>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB Carport', type='internal_openwb', template=1, connected_phases=3, phase_1=2, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=1))
2023-12-08 04:11:01,711 - {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-12-08 04:11:01,712 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=1, max_current_multi_phases=16, max_current_single_phase=20, name='RFID, 20A, 11kW', rfid_enabling=True, valid_tags=['0003134583', '0003526747', '1655332554', '2585022212', '2585087748'])
2023-12-08 04:11:01,716 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[63, 63, 63], max_total_power=43000), get=Get(powers=[200.0, 21.0, 141.0], currents=[1.1, 0.5, 1.2], voltages=[242.41, 242.18, 240.45], power_factors=[0.73, 0.17, 0.48], unbalanced_load=0, frequency=50.0, daily_exported=0.0, daily_imported=4131.0, imported=6125898.0, exported=4870433.0, fault_state=0, fault_str='Kein Fehler.', power=364.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=42636.0, raw_currents_left=[61.9, 62.6, 61.8], surplus_power_left=0, state_str=''))
2023-12-08 04:11:01,718 - {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': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=364.0, invalid_home_consumption=0, daily_yield_home_consumption=5546.5169343646, imported_home_consumption=2374367.903496383, disengageable_smarthome_power=0))
2023-12-08 04:11:01,720 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2023-12-08 04:11:01,722 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Ladeprofil ***AUTO1***', disable_after_unplug=False, prio=False, load_default=True, time_charging=TimeCharging(active=True, plans={'0': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[True, True, True, True, False, False, True]), time=['22:00', '06:00'], name='Zeitladen 95%, So-Do 22:00-06:00 Uhr', current=16, limit=Limit(selected='soc', amount=1000, soc=95)), '1': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, True, True, False]), time=['22:00', '06:00'], name='Zeitladen 80%, Fr-Sa 22:00-06:00 Uhr', current=16, limit=Limit(selected='soc', amount=1000, soc=80))}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2023-12-08 04:11:01,724 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, time_charging=TimeCharging(active=True, plans={'2': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), time=['06:45', '07:00'], name='Klima 06:45-07:00 Uhr', current=6, limit=Limit(selected='none', amount=1000, soc=50)), '3': TimeChargingPlan(active=True, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, False, False, False]), time=['00:00', '23:55'], name='Immer 35%', current=10, limit=Limit(selected='soc', amount=1000, soc=35))}), chargemode=Chargemode(selected='scheduled_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={'0': ScheduledChargingPlan(active=False, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, True, False, False, False, False, False]), current=14, name='Zielladen 80%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '1': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), current=14, name='Zielladen 95%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=95), time='05:40'), '2': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once='2023-09-26', weekly=[True, False, False, True, False, True, True]), current=14, name='Zielladen 75%, 7:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=75), time='05:40')}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=80))))
2023-12-08 04:11:01,725 - {control.data:266} - {INFO:MainThread} - ev0
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=['0003134583'], get=Get(soc=0, soc_timestamp=None, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:11:01,727 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Tesla Model Y (2022)', 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=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212', '2585087748'], get=Get(soc=49.0, soc_timestamp='12/08/2023, 01:29:15', force_soc_update=False, range=220.74, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:11:01,728 - {control.data:266} - {INFO:MainThread} - ev2
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Cupra Born 58kW', 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=18000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=2, ev_template=2, name='***AUTO2***', tag_id=['1655332554'], get=Get(soc=72, soc_timestamp='12/08/2023, 02:47:32', force_soc_update=False, range=205, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:11:01,729 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40)
2023-12-08 04:11:01,730 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', 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=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40)
2023-12-08 04:11:01,731 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', 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=18000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40)
2023-12-08 04:11:01,732 - {control.data:245} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=3), pv_charging=PvCharging(bat_prio=True, charging_power_reserve=200, control_range=[-230, 230], feed_in_yield=15000, phase_switch_delay=15, phases_to_use=0, rundown_power=1000, rundown_soc=25, switch_off_delay=60, switch_off_soc=25, switch_off_threshold=50, switch_on_delay=30, switch_on_soc=50, switch_on_threshold=1400), scheduled_charging=ScheduledCharging(phases_to_use=0), time_charging=TimeCharging(phases_to_use=3), unbalanced_load_limit=20, unbalanced_load=True), control_interval=10, extern_display_mode='local', extern=False, external_buttons_hw=False, grid_protection_active=False, grid_protection_configured=True, grid_protection_random_stop=0, grid_protection_timestamp='', mqtt_bridge=False, price_kwh=0.3528, range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=True, r1_active=False, r2_active=False))
2023-12-08 04:11:01,733 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2023-12-08 04:11:01,734 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2023-12-08 04:11:01,736 - {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 0x71578028>), led=Led(active=False), rfid=Rfid(active=True))
2023-12-08 04:11:01,738 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=0), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=293628.595, fault_state=0, fault_str='Kein Fehler.', power=0))
2023-12-08 04:11:01,739 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=9500), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=7816178.86, fault_state=0, fault_str='Kein Fehler.', power=-0.0))
2023-12-08 04:11:01,741 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=8109807.455, power=0.0))
2023-12-08 04:11:01,742 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2023-11-30 12:30:45 +0100 [285f5a5fb]', 'current_branch': 'Release', 'current_branch_commit': '2023-11-30 12:30:45 +0100 [285f5a5fb]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.2-Patch.1', 'datastore_version': 29, 'lastlivevaluesJson': {'timestamp': 1702005051, 'time': '04:10:51', 'grid': 0.363, 'house-power': 0.363, 'charging-all': 0.0, 'pv-all': -0.0, 'cp1-power': 0.0, 'ev1-soc': 49.0, 'ev2-soc': 72, 'bat-all-power': 0.0, 'bat-all-soc': 19}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2023-12-08 04:11:01,747 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2023-12-08 04:11:01,748 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2023-12-08 04:11:01,750 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2023-12-08 04:11:01,752 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2023-12-08 04:11:01,753 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2023-12-08 04:11:01,753 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2023-12-08 04:11:01,754 - {control.data:253} - {INFO:MainThread} - 

2023-12-08 04:11:01,754 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2023-12-08 04:11:01,755 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2023-12-08 04:11:01,758 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2023-12-08 04:11:01,760 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2023-12-08 04:11:01,764 - {control.counter:211} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: 0W
2023-12-08 04:11:01,765 - {control.counter:457} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf 0W
2023-12-08 04:11:01,768 - {control.chargepoint.chargepoint:277} - {INFO:MainThread} - LP 1: Die Ladung kann nicht gestartet werden, da die Einschaltschwelle nicht erreicht wird.
2023-12-08 04:11:01,773 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2023-12-08 04:11:01,774 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2023-12-08 04:11:01,778 - {control.process:111} - {INFO:MainThread} - LP1: set current 0 A, state NO_CHARGING_ALLOWED
2023-12-08 04:11:01,785 - {modules.common.component_context:24} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:11:01,824 - {control.counter:186} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2023-12-08 04:11:02,116 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2023-12-08 04:11:05,193 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2023-12-08 04:11:05,194 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2023-12-08 04:11:10,203 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2023-12-08 04:11:10,204 - {root:74} - {INFO:MainThread} - # ***Start*** 
2023-12-08 04:11:10,247 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x715cf340>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x7155e4a8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x715c75f8>}
2023-12-08 04:11:10,248 - {modules.common.component_context:24} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2023-12-08 04:11:10,256 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2023-12-08 04:11:10,257 - {modules.common.component_context:24} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:11:10,261 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2023-12-08 04:11:10,293 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-352, -191, -22, -139], Scale 0
2023-12-08 04:11:10,300 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 750
2023-12-08 04:11:10,302 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"cloud":{"connected":false},"input:0":{"id":0,"state":false},"mqtt":{"connected":false},"switch:0":{"id":0, "source":"loopback", "output":false, "apower":0.0, "voltage":242.6, "current":0.000, "aenergy":{"total":1505.625,"by_minute":[0.000,0.000,0.000],"minute_ts":1702005069},"temperature":{"tC":28.9, "tF":84.0}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:11","unixtime":1702005070,"uptime":1364398,"ram_size":248944,"ram_free":144688,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"beta":{"version":"1.1.0-beta2"},"stable":{"version":"1.0.8"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-70},"ws":{"connected":false}}

2023-12-08 04:11:10,305 - {modules.common.simcount._simcount:38} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1702005061.0761418, power=0, imported=0.0, exported=293628.5948715257)
2023-12-08 04:11:10,306 - {modules.common.simcount._calculate:13} - {DEBUG:device1} - time passed: 0.00256361, power1: 0, power2: 0
2023-12-08 04:11:10,307 - {modules.common.simcount._calculate:29} - {DEBUG:device1} - power did not change sign. Total energy: 0
2023-12-08 04:11:10,308 - {modules.common.simcount._simcount:47} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702005070.3051383, power=0, imported=0.0, exported=293628.5948715257)
2023-12-08 04:11:10,309 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:11:10,342 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [11, 5, 12], Scale -1
2023-12-08 04:11:10,361 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [24254, 24235, 24059, 0, 0, 0, 0], Scale -2
2023-12-08 04:11:10,385 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [5000], Scale -2
2023-12-08 04:11:10,461 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7329, 1809, 5019], Scale -2
2023-12-08 04:11:10,483 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4870433, 1797042, 2153375, 1456453, 6125899, 2531546, 1862790, 2268001], Scale 0
2023-12-08 04:11:10,483 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[1.1, 0.5, 1.2000000000000002], powers=[191.0, 22.0, 139.0], voltages=[242.54, 242.35, 240.59], power_factors=[0.7329000000000001, 0.1809, 0.5019], imported=6125899.0, exported=4870433.0, power=352.0, frequency=50.0)
2023-12-08 04:11:10,485 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2023-12-08 04:11:10,513 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [0], Scale 0
2023-12-08 04:11:10,532 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7789710], Scale 0
2023-12-08 04:11:10,552 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [28, 31, 31], Scale -2
2023-12-08 04:11:10,572 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4795], Scale -2
2023-12-08 04:11:10,573 - {modules.common.component_state:100} - {DEBUG:device0} - currents sign wrong [0.28, 0.31, 0.31]
2023-12-08 04:11:10,573 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.28, 0.31, 0.31], power=-0.0, exported=7789710.0, dc_power=47.95)
2023-12-08 04:11:10,575 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2023-12-08 04:11:10,654 - {modules.common.simcount._simcount:38} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1702005061.413328, power=0.0, imported=143333.37604219164, exported=116864.5215890633)
2023-12-08 04:11:10,655 - {modules.common.simcount._calculate:13} - {DEBUG:device0} - time passed: 0.00256692, power1: 0, power2: 0
2023-12-08 04:11:10,655 - {modules.common.simcount._calculate:29} - {DEBUG:device0} - power did not change sign. Total energy: 0
2023-12-08 04:11:10,655 - {modules.common.simcount._simcount:47} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702005070.6542425, power=0.0, imported=143333.37604219164, exported=116864.5215890633)
2023-12-08 04:11:10,656 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=143333.37604219164, exported=116864.5215890633, power=0.0, soc=19.0)
2023-12-08 04:11:10,661 - {modules.common.component_context:24} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2023-12-08 04:11:10,662 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=143333.37604219164, exported=116864.5215890633, power=0.0, soc=19.0)
2023-12-08 04:11:10,707 - {modules.common.component_context:24} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:11:10,709 - {modules.common.component_context:24} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2023-12-08 04:11:10,710 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-0.0, exported=7816178.86, dc_power=None)
2023-12-08 04:11:10,710 - {modules.common.component_context:24} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2023-12-08 04:11:10,712 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-0.0, exported=7816178.86, dc_power=None)
2023-12-08 04:11:10,712 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:11:10,716 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:11:10,763 - {modules.common.component_context:24} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2023-12-08 04:11:10,763 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[1.1, 0.5, 1.2000000000000002], powers=[191.0, 22.0, 139.0], voltages=[242.54, 242.35, 240.59], power_factors=[0.7329000000000001, 0.1809, 0.5019], imported=6125899.0, exported=4870433.0, power=352.0, frequency=50.0)
2023-12-08 04:11:11,009 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2023-12-08 04:11:11,017 - {control.bat_all:173} - {INFO:MainThread} - -50W verbleibende Speicher-Leistung
2023-12-08 04:11:11,021 - {control.counter:138} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [61.9, 62.6, 61.8]A
2023-12-08 04:11:11,023 - {control.counter:161} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 42648.0W
2023-12-08 04:11:11,025 - {control.chargepoint.chargepoint:699} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2023-12-08 04:11:11,027 - {control.chargepoint.chargepoint:682} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2023-12-08 04:11:11,030 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 357.541879s, Dauer 1.380952380952381h, Termin heute verpasst: False
2023-12-08 04:11:11,032 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 91080.521208s, Dauer 0.18012422360248448h, Termin heute verpasst: False
2023-12-08 04:11:11,034 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -9585.319483s, Dauer 4.142857142857143h, Termin heute verpasst: False
2023-12-08 04:11:11,036 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 89783.622218s, Dauer 0.5403726708074534h, Termin heute verpasst: False
2023-12-08 04:11:11,037 - {control.ev:762} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2023-12-08 04:11:11,043 - {control.chargepoint.chargepoint:898} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 14A, Lademodus scheduled_charging, Submodus: Chargemode.INSTANT_CHARGING, Phasen: 3, Priorität: False, max. Ist-Strom: 0.1
2023-12-08 04:11:11,060 - {control.chargepoint.chargepoint:277} - {INFO:MainThread} - LP 1: Zielladen mit 14A, um einen SoC von 95%  um 05:40 zu erreichen.
2023-12-08 04:11:11,064 - {modules.common.simcount._simcount:38} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1702005061.6961606, power=364.0, imported=2374367.903496383, exported=0)
2023-12-08 04:11:11,067 - {modules.common.simcount._calculate:13} - {DEBUG:MainThread} - time passed: 0.00260242, power1: 364, power2: 352
2023-12-08 04:11:11,068 - {modules.common.simcount._calculate:29} - {DEBUG:MainThread} - power did not change sign. Total energy: 0.931668
2023-12-08 04:11:11,070 - {modules.common.simcount._simcount:47} - {DEBUG:MainThread} - imported: 0.931668 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702005071.0648868, power=352.0, imported=2374368.8351641605, exported=0)
2023-12-08 04:11:11,072 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=19, daily_exported=0.0, daily_imported=0.0, imported=143333.38, exported=116864.52, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2023-12-08 04:11:11,074 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=19, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=143333.38, exported=116864.52, power=0.0), set=Set(charging_power_left=-50, switch_on_soc_reached=False))
2023-12-08 04:11:11,074 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=98.14, daily_exported=0, power=0, imported=6926459.96, exported=0))
2023-12-08 04:11:11,077 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 95%, 06:00 Uhr', imported_at_plan_start=6926377.93, imported_instant_charging=None, limit=None, phases=3, prio=False, required_current=14, required_currents=[14, 14, 14], state=0, 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=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=72), currents=[0.1, 0.0, 0.0], daily_imported=98.14, daily_exported=0, evse_current=0, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=6926459.96, phases_in_use=1, plug_state=True, power=0, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Zielladen mit 14A, um einen SoC von 95%  um 05:40 zu erreichen.', voltages=[242.57, 240.84, 242.74]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=0, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='_', imported_at_mode_switch=6926377.93, imported_at_plugtime=6926377.93, imported_since_mode_switch=0, imported_since_plugged=82.03000000026077, range_charged=0, time_charged='00:00', timestamp_start_charging=None), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time='12/07/2023, 13:07:31', required_power=9660, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x715bf1d8>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB Carport', type='internal_openwb', template=1, connected_phases=3, phase_1=2, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=1))
2023-12-08 04:11:11,078 - {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-12-08 04:11:11,080 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=1, max_current_multi_phases=16, max_current_single_phase=20, name='RFID, 20A, 11kW', rfid_enabling=True, valid_tags=['0003134583', '0003526747', '1655332554', '2585022212', '2585087748'])
2023-12-08 04:11:11,081 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[63, 63, 63], max_total_power=43000), get=Get(powers=[191.0, 22.0, 139.0], currents=[1.1, 0.5, 1.2], voltages=[242.54, 242.35, 240.59], power_factors=[0.73, 0.18, 0.5], unbalanced_load=0, frequency=50.0, daily_exported=0.0, daily_imported=4131.0, imported=6125899.0, exported=4870433.0, fault_state=0, fault_str='Kein Fehler.', power=352.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=42648.0, raw_currents_left=[61.9, 62.6, 61.8], surplus_power_left=0, state_str=''))
2023-12-08 04:11:11,083 - {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': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=352.0, invalid_home_consumption=0, daily_yield_home_consumption=5546.5169343646, imported_home_consumption=2374368.8351641605, disengageable_smarthome_power=0))
2023-12-08 04:11:11,084 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2023-12-08 04:11:11,085 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Ladeprofil ***AUTO1***', disable_after_unplug=False, prio=False, load_default=True, time_charging=TimeCharging(active=True, plans={'0': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[True, True, True, True, False, False, True]), time=['22:00', '06:00'], name='Zeitladen 95%, So-Do 22:00-06:00 Uhr', current=16, limit=Limit(selected='soc', amount=1000, soc=95)), '1': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, True, True, False]), time=['22:00', '06:00'], name='Zeitladen 80%, Fr-Sa 22:00-06:00 Uhr', current=16, limit=Limit(selected='soc', amount=1000, soc=80))}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2023-12-08 04:11:11,087 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, time_charging=TimeCharging(active=True, plans={'2': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), time=['06:45', '07:00'], name='Klima 06:45-07:00 Uhr', current=6, limit=Limit(selected='none', amount=1000, soc=50)), '3': TimeChargingPlan(active=True, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, False, False, False]), time=['00:00', '23:55'], name='Immer 35%', current=10, limit=Limit(selected='soc', amount=1000, soc=35))}), chargemode=Chargemode(selected='scheduled_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={'0': ScheduledChargingPlan(active=False, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, True, False, False, False, False, False]), current=14, name='Zielladen 80%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '1': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), current=14, name='Zielladen 95%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=95), time='05:40'), '2': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once='2023-09-26', weekly=[True, False, False, True, False, True, True]), current=14, name='Zielladen 75%, 7:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=75), time='05:40')}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=80))))
2023-12-08 04:11:11,088 - {control.data:266} - {INFO:MainThread} - ev0
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=['0003134583'], get=Get(soc=0, soc_timestamp=None, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:11:11,090 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Tesla Model Y (2022)', 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=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212', '2585087748'], get=Get(soc=49.0, soc_timestamp='12/08/2023, 01:29:15', force_soc_update=False, range=220.74, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:11:11,091 - {control.data:266} - {INFO:MainThread} - ev2
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Cupra Born 58kW', 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=18000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=2, ev_template=2, name='***AUTO2***', tag_id=['1655332554'], get=Get(soc=72, soc_timestamp='12/08/2023, 02:47:32', force_soc_update=False, range=205, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:11:11,092 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40)
2023-12-08 04:11:11,093 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', 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=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40)
2023-12-08 04:11:11,094 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', 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=18000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40)
2023-12-08 04:11:11,095 - {control.data:245} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=3), pv_charging=PvCharging(bat_prio=True, charging_power_reserve=200, control_range=[-230, 230], feed_in_yield=15000, phase_switch_delay=15, phases_to_use=0, rundown_power=1000, rundown_soc=25, switch_off_delay=60, switch_off_soc=25, switch_off_threshold=50, switch_on_delay=30, switch_on_soc=50, switch_on_threshold=1400), scheduled_charging=ScheduledCharging(phases_to_use=0), time_charging=TimeCharging(phases_to_use=3), unbalanced_load_limit=20, unbalanced_load=True), control_interval=10, extern_display_mode='local', extern=False, external_buttons_hw=False, grid_protection_active=False, grid_protection_configured=True, grid_protection_random_stop=0, grid_protection_timestamp='', mqtt_bridge=False, price_kwh=0.3528, range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=True, r1_active=False, r2_active=False))
2023-12-08 04:11:11,095 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2023-12-08 04:11:11,096 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2023-12-08 04:11:11,097 - {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 0x70ba7d90>), led=Led(active=False), rfid=Rfid(active=True))
2023-12-08 04:11:11,098 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=0), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=293628.595, fault_state=0, fault_str='Kein Fehler.', power=0))
2023-12-08 04:11:11,098 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=9500), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=7816178.86, fault_state=0, fault_str='Kein Fehler.', power=-0.0))
2023-12-08 04:11:11,099 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=8109807.455, power=0.0))
2023-12-08 04:11:11,100 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2023-11-30 12:30:45 +0100 [285f5a5fb]', 'current_branch': 'Release', 'current_branch_commit': '2023-11-30 12:30:45 +0100 [285f5a5fb]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.2-Patch.1', 'datastore_version': 29, 'lastlivevaluesJson': {'timestamp': 1702005061, 'time': '04:11:01', 'grid': 0.364, 'house-power': 0.364, 'charging-all': 0.0, 'pv-all': -0.0, 'cp1-power': 0.0, 'ev1-soc': 49.0, 'ev2-soc': 72, 'bat-all-power': 0.0, 'bat-all-soc': 19}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2023-12-08 04:11:11,101 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2023-12-08 04:11:11,101 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2023-12-08 04:11:11,103 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2023-12-08 04:11:11,106 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2023-12-08 04:11:11,106 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2023-12-08 04:11:11,108 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2023-12-08 04:11:11,110 - {control.data:253} - {INFO:MainThread} - 

2023-12-08 04:11:11,111 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2023-12-08 04:11:11,113 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2023-12-08 04:11:11,115 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2023-12-08 04:11:11,118 - {control.counter:169} - {DEBUG:MainThread} - Zähler 0: [55.9, 56.6, 55.8]A verbleibende Ströme, 38508.0W verbleibende Leistung
2023-12-08 04:11:11,120 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2023-12-08 04:11:11,123 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2023-12-08 04:11:11,125 - {control.algorithm.filter_chargepoints:117} - {DEBUG:MainThread} - Geordnete Ladepunkte [1]
2023-12-08 04:11:11,128 - {control.algorithm.additional_current:26} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2023-12-08 04:11:11,130 - {control.counter:169} - {DEBUG:MainThread} - Zähler 0: [47.9, 48.6, 47.8]A verbleibende Ströme, 32988.0W verbleibende Leistung
2023-12-08 04:11:11,131 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 14A
2023-12-08 04:11:11,134 - {control.counter:211} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: 0W
2023-12-08 04:11:11,135 - {control.counter:457} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf 0W
2023-12-08 04:11:11,136 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2023-12-08 04:11:11,137 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2023-12-08 04:11:11,139 - {control.chargepoint.chargepoint:615} - {DEBUG:MainThread} - Lp 1: Ladung aktiv halten 40s
2023-12-08 04:11:11,142 - {modules.common.component_context:24} - {DEBUG:phase switch cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:11:11,143 - {control.phase_switch:37} - {DEBUG:MainThread} - Thread zur Phasenumschaltung an LP1 gestartet.
2023-12-08 04:11:11,147 - {control.chargepoint.chargepoint:619} - {DEBUG:MainThread} - start phase switch phases_to_use 1control_parameter phases 3
2023-12-08 04:11:11,147 - {control.chargepoint.chargepoint:699} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2023-12-08 04:11:11,150 - {control.chargepoint.chargepoint:277} - {INFO:MainThread} - LP 1: Umschaltung von 1 auf 3 Phasen, dafür wird die Ladung unterbrochen.
2023-12-08 04:11:11,153 - {control.process:111} - {INFO:MainThread} - LP1: set current 0 A, state PERFORMING_PHASE_SWITCH
2023-12-08 04:11:11,158 - {modules.common.component_context:24} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:11:11,231 - {control.counter:186} - {INFO:MainThread} - 22080W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2023-12-08 04:11:11,552 - {helpermodules.changed_values_handler:120} - {DEBUG:MainThread} - Topic openWB/set/chargepoint/1/control_parameter/phases, Payload 3, vorherige Payload: 1
2023-12-08 04:11:11,553 - {helpermodules.changed_values_handler:120} - {DEBUG:MainThread} - Topic openWB/set/chargepoint/1/control_parameter/required_current, Payload 14, vorherige Payload: 6
2023-12-08 04:11:11,556 - {helpermodules.changed_values_handler:120} - {DEBUG:MainThread} - Topic openWB/set/chargepoint/1/control_parameter/state, Payload 2, vorherige Payload: 0
2023-12-08 04:11:11,568 - {helpermodules.changed_values_handler:120} - {DEBUG:MainThread} - Topic openWB/set/chargepoint/1/control_parameter/submode, Payload instant_charging, vorherige Payload: pv_charging
2023-12-08 04:11:11,570 - {helpermodules.changed_values_handler:120} - {DEBUG:MainThread} - Topic openWB/set/chargepoint/1/control_parameter/timestamp_perform_phase_switch, Payload 12/08/2023, 04:11:11, vorherige Payload: None
2023-12-08 04:11:11,603 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2023-12-08 04:11:11,620 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2023-12-08 04:11:12,788 - {modules.common.component_context:24} - {DEBUG:perform phase switch 0} - Update Komponente ['Ladepunkt 0']
2023-12-08 04:11:12,912 - {helpermodules.setdata:330} - {ERROR:Setdata} - Payload ungültig: Topic openWB/set/chargepoint/1/set/current, Payload 3 liegt in keinem der angegebenen Wertebereiche.
2023-12-08 04:11:15,629 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2023-12-08 04:11:20,640 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2023-12-08 04:11:20,641 - {root:74} - {INFO:MainThread} - # ***Start*** 
2023-12-08 04:11:20,677 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x715cf340>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x7155e4a8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x715c75f8>}
2023-12-08 04:11:20,680 - {modules.common.component_context:24} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2023-12-08 04:11:20,685 - {modules.common.component_context:24} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:11:20,703 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2023-12-08 04:11:20,707 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2023-12-08 04:11:20,723 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-353, -191, -21, -140], Scale 0
2023-12-08 04:11:20,741 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [10, 5, 12], Scale -1
2023-12-08 04:11:20,752 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 750
2023-12-08 04:11:20,754 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"cloud":{"connected":false},"input:0":{"id":0,"state":false},"mqtt":{"connected":false},"switch:0":{"id":0, "source":"loopback", "output":false, "apower":0.0, "voltage":242.6, "current":0.000, "aenergy":{"total":1505.625,"by_minute":[0.000,0.000,0.000],"minute_ts":1702005080},"temperature":{"tC":28.8, "tF":83.9}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:11","unixtime":1702005081,"uptime":1364408,"ram_size":248996,"ram_free":145264,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"beta":{"version":"1.1.0-beta2"},"stable":{"version":"1.0.8"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-68},"ws":{"connected":false}}

2023-12-08 04:11:20,756 - {modules.common.simcount._simcount:38} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1702005070.3051383, power=0, imported=0.0, exported=293628.5948715257)
2023-12-08 04:11:20,757 - {modules.common.simcount._calculate:13} - {DEBUG:device1} - time passed: 0.00290306, power1: 0, power2: 0
2023-12-08 04:11:20,757 - {modules.common.simcount._calculate:29} - {DEBUG:device1} - power did not change sign. Total energy: 0
2023-12-08 04:11:20,758 - {modules.common.simcount._simcount:47} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702005080.7561643, power=0, imported=0.0, exported=293628.5948715257)
2023-12-08 04:11:20,761 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:11:20,775 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [24237, 24213, 24044, 0, 0, 0, 0], Scale -2
2023-12-08 04:11:20,813 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4997], Scale -2
2023-12-08 04:11:20,844 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7210, 1749, 4790], Scale -2
2023-12-08 04:11:20,873 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4870433, 1797042, 2153375, 1456453, 6125899, 2531546, 1862791, 2268001], Scale 0
2023-12-08 04:11:20,873 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[1.0, 0.5, 1.2000000000000002], powers=[191.0, 21.0, 140.0], voltages=[242.37, 242.13, 240.44], power_factors=[0.7210000000000001, 0.17490000000000003, 0.479], imported=6125899.0, exported=4870433.0, power=353.0, frequency=49.97)
2023-12-08 04:11:20,875 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2023-12-08 04:11:20,891 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [0], Scale 0
2023-12-08 04:11:20,912 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7789710], Scale 0
2023-12-08 04:11:21,042 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [27, 29, 31], Scale -2
2023-12-08 04:11:21,092 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4865], Scale -2
2023-12-08 04:11:21,092 - {modules.common.component_state:100} - {DEBUG:device0} - currents sign wrong [0.27, 0.29, 0.31]
2023-12-08 04:11:21,093 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.27, 0.29, 0.31], power=-0.0, exported=7789710.0, dc_power=48.65)
2023-12-08 04:11:21,094 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2023-12-08 04:11:21,153 - {modules.common.simcount._simcount:38} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1702005070.6542425, power=0.0, imported=143333.37604219164, exported=116864.5215890633)
2023-12-08 04:11:21,153 - {modules.common.simcount._calculate:13} - {DEBUG:device0} - time passed: 0.00291632, power1: 0, power2: 0
2023-12-08 04:11:21,154 - {modules.common.simcount._calculate:29} - {DEBUG:device0} - power did not change sign. Total energy: 0
2023-12-08 04:11:21,154 - {modules.common.simcount._simcount:47} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702005081.1530023, power=0.0, imported=143333.37604219164, exported=116864.5215890633)
2023-12-08 04:11:21,155 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=143333.37604219164, exported=116864.5215890633, power=0.0, soc=19.0)
2023-12-08 04:11:21,162 - {modules.common.component_context:24} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2023-12-08 04:11:21,163 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=143333.37604219164, exported=116864.5215890633, power=0.0, soc=19.0)
2023-12-08 04:11:21,203 - {modules.common.component_context:24} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:11:21,205 - {modules.common.component_context:24} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2023-12-08 04:11:21,206 - {modules.common.component_context:24} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2023-12-08 04:11:21,209 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-0.0, exported=7816178.86, dc_power=None)
2023-12-08 04:11:21,210 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:11:21,210 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-0.0, exported=7816178.86, dc_power=None)
2023-12-08 04:11:21,211 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:11:21,252 - {modules.common.component_context:24} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2023-12-08 04:11:21,254 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[1.0, 0.5, 1.2000000000000002], powers=[191.0, 21.0, 140.0], voltages=[242.37, 242.13, 240.44], power_factors=[0.7210000000000001, 0.17490000000000003, 0.479], imported=6125899.0, exported=4870433.0, power=353.0, frequency=49.97)
2023-12-08 04:11:21,326 - {helpermodules.changed_values_handler:120} - {DEBUG:MainThread} - Topic openWB/set/chargepoint/1/control_parameter/phases, Payload 3, vorherige Payload: 1
2023-12-08 04:11:21,327 - {helpermodules.changed_values_handler:120} - {DEBUG:MainThread} - Topic openWB/set/chargepoint/1/control_parameter/required_current, Payload 14, vorherige Payload: 6
2023-12-08 04:11:21,328 - {helpermodules.changed_values_handler:120} - {DEBUG:MainThread} - Topic openWB/set/chargepoint/1/control_parameter/state, Payload 2, vorherige Payload: 0
2023-12-08 04:11:21,329 - {helpermodules.changed_values_handler:120} - {DEBUG:MainThread} - Topic openWB/set/chargepoint/1/control_parameter/submode, Payload instant_charging, vorherige Payload: pv_charging
2023-12-08 04:11:21,332 - {helpermodules.changed_values_handler:120} - {DEBUG:MainThread} - Topic openWB/set/chargepoint/1/control_parameter/timestamp_perform_phase_switch, Payload 12/08/2023, 04:11:11, vorherige Payload: None
2023-12-08 04:11:21,449 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2023-12-08 04:11:21,451 - {control.bat_all:173} - {INFO:MainThread} - -50W verbleibende Speicher-Leistung
2023-12-08 04:11:21,453 - {control.counter:138} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [62.0, 62.6, 61.8]A
2023-12-08 04:11:21,454 - {control.counter:161} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 42647.0W
2023-12-08 04:11:21,458 - {control.chargepoint.chargepoint:699} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2023-12-08 04:11:21,459 - {control.chargepoint.chargepoint:685} - {DEBUG:MainThread} - Umschaltung wird durchgeführt, Phasenzahl nicht ändern 3
2023-12-08 04:11:21,460 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 347.111395s, Dauer 1.380952380952381h, Termin heute verpasst: False
2023-12-08 04:11:21,462 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 91070.091325s, Dauer 0.18012422360248448h, Termin heute verpasst: False
2023-12-08 04:11:21,463 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -9595.748486s, Dauer 4.142857142857143h, Termin heute verpasst: False
2023-12-08 04:11:21,465 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 89773.193763s, Dauer 0.5403726708074534h, Termin heute verpasst: False
2023-12-08 04:11:21,467 - {control.ev:762} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2023-12-08 04:11:21,471 - {control.chargepoint.chargepoint:898} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 14A, Lademodus scheduled_charging, Submodus: Chargemode.INSTANT_CHARGING, Phasen: 3, Priorität: False, max. Ist-Strom: 0.1
2023-12-08 04:11:21,472 - {control.chargepoint.chargepoint:277} - {INFO:MainThread} - LP 1: Zielladen mit 14A, um einen SoC von 95%  um 05:40 zu erreichen.
2023-12-08 04:11:21,479 - {modules.common.simcount._simcount:38} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1702005071.0648868, power=352.0, imported=2374368.8351641605, exported=0)
2023-12-08 04:11:21,481 - {modules.common.simcount._calculate:13} - {DEBUG:MainThread} - time passed: 0.00289303, power1: 352, power2: 353
2023-12-08 04:11:21,483 - {modules.common.simcount._calculate:29} - {DEBUG:MainThread} - power did not change sign. Total energy: 1.01979
2023-12-08 04:11:21,494 - {modules.common.simcount._simcount:47} - {DEBUG:MainThread} - imported: 1.01979 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702005081.479805, power=353.0, imported=2374369.8549582325, exported=0)
2023-12-08 04:11:21,501 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=19, daily_exported=0.0, daily_imported=0.0, imported=143333.38, exported=116864.52, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2023-12-08 04:11:21,502 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=19, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=143333.38, exported=116864.52, power=0.0), set=Set(charging_power_left=-50, switch_on_soc_reached=False))
2023-12-08 04:11:21,503 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=98.14, daily_exported=0, power=0, imported=6926459.96, exported=0))
2023-12-08 04:11:21,504 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 95%, 06:00 Uhr', imported_at_plan_start=6926377.93, imported_instant_charging=None, limit=None, phases=3, prio=False, required_current=14, required_currents=[14, 14, 14], state=2, submode=<Chargemode.INSTANT_CHARGING: 'instant_charging'>, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch='12/08/2023, 04:11:11', 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=72), currents=[0.1, 0.0, 0.0], daily_imported=98.14, daily_exported=0, evse_current=0, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=6926459.96, phases_in_use=1, plug_state=True, power=0, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Zielladen mit 14A, um einen SoC von 95%  um 05:40 zu erreichen.', voltages=[242.49, 241.05, 242.81]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=0, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='_', imported_at_mode_switch=6926377.93, imported_at_plugtime=6926377.93, imported_since_mode_switch=0, imported_since_plugged=82.03000000026077, range_charged=0, time_charged='00:00', timestamp_start_charging=None), manual_lock=False, phases_to_use=3, plug_state_prev=True, plug_time='12/07/2023, 13:07:31', required_power=9660, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x70ba7760>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB Carport', type='internal_openwb', template=1, connected_phases=3, phase_1=2, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=1))
2023-12-08 04:11:21,507 - {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-12-08 04:11:21,510 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=1, max_current_multi_phases=16, max_current_single_phase=20, name='RFID, 20A, 11kW', rfid_enabling=True, valid_tags=['0003134583', '0003526747', '1655332554', '2585022212', '2585087748'])
2023-12-08 04:11:21,511 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[63, 63, 63], max_total_power=43000), get=Get(powers=[191.0, 21.0, 140.0], currents=[1.0, 0.5, 1.2], voltages=[242.37, 242.13, 240.44], power_factors=[0.72, 0.17, 0.48], unbalanced_load=0, frequency=49.97, daily_exported=0.0, daily_imported=4131.0, imported=6125899.0, exported=4870433.0, fault_state=0, fault_str='Kein Fehler.', power=353.0), set=Set(error_counter=0, reserved_surplus=22080, released_surplus=0, raw_power_left=42647.0, raw_currents_left=[62.0, 62.6, 61.8], surplus_power_left=0, state_str=''))
2023-12-08 04:11:21,513 - {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': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=353.0, invalid_home_consumption=0, daily_yield_home_consumption=5546.5169343646, imported_home_consumption=2374369.8549582325, disengageable_smarthome_power=0))
2023-12-08 04:11:21,515 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2023-12-08 04:11:21,516 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Ladeprofil ***AUTO1***', disable_after_unplug=False, prio=False, load_default=True, time_charging=TimeCharging(active=True, plans={'0': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[True, True, True, True, False, False, True]), time=['22:00', '06:00'], name='Zeitladen 95%, So-Do 22:00-06:00 Uhr', current=16, limit=Limit(selected='soc', amount=1000, soc=95)), '1': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, True, True, False]), time=['22:00', '06:00'], name='Zeitladen 80%, Fr-Sa 22:00-06:00 Uhr', current=16, limit=Limit(selected='soc', amount=1000, soc=80))}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2023-12-08 04:11:21,518 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, time_charging=TimeCharging(active=True, plans={'2': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), time=['06:45', '07:00'], name='Klima 06:45-07:00 Uhr', current=6, limit=Limit(selected='none', amount=1000, soc=50)), '3': TimeChargingPlan(active=True, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, False, False, False]), time=['00:00', '23:55'], name='Immer 35%', current=10, limit=Limit(selected='soc', amount=1000, soc=35))}), chargemode=Chargemode(selected='scheduled_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={'0': ScheduledChargingPlan(active=False, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, True, False, False, False, False, False]), current=14, name='Zielladen 80%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '1': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), current=14, name='Zielladen 95%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=95), time='05:40'), '2': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once='2023-09-26', weekly=[True, False, False, True, False, True, True]), current=14, name='Zielladen 75%, 7:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=75), time='05:40')}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=80))))
2023-12-08 04:11:21,519 - {control.data:266} - {INFO:MainThread} - ev0
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=['0003134583'], get=Get(soc=0, soc_timestamp=None, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:11:21,522 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Tesla Model Y (2022)', 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=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212', '2585087748'], get=Get(soc=49.0, soc_timestamp='12/08/2023, 01:29:15', force_soc_update=False, range=220.74, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:11:21,524 - {control.data:266} - {INFO:MainThread} - ev2
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Cupra Born 58kW', 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=18000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=2, ev_template=2, name='***AUTO2***', tag_id=['1655332554'], get=Get(soc=72, soc_timestamp='12/08/2023, 02:47:32', force_soc_update=False, range=205, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:11:21,527 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40)
2023-12-08 04:11:21,531 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', 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=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40)
2023-12-08 04:11:21,533 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', 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=18000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40)
2023-12-08 04:11:21,534 - {control.data:245} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=3), pv_charging=PvCharging(bat_prio=True, charging_power_reserve=200, control_range=[-230, 230], feed_in_yield=15000, phase_switch_delay=15, phases_to_use=0, rundown_power=1000, rundown_soc=25, switch_off_delay=60, switch_off_soc=25, switch_off_threshold=50, switch_on_delay=30, switch_on_soc=50, switch_on_threshold=1400), scheduled_charging=ScheduledCharging(phases_to_use=0), time_charging=TimeCharging(phases_to_use=3), unbalanced_load_limit=20, unbalanced_load=True), control_interval=10, extern_display_mode='local', extern=False, external_buttons_hw=False, grid_protection_active=False, grid_protection_configured=True, grid_protection_random_stop=0, grid_protection_timestamp='', mqtt_bridge=False, price_kwh=0.3528, range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=True, r1_active=False, r2_active=False))
2023-12-08 04:11:21,535 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2023-12-08 04:11:21,536 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2023-12-08 04:11:21,538 - {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 0x71578370>), led=Led(active=False), rfid=Rfid(active=True))
2023-12-08 04:11:21,539 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=0), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=293628.595, fault_state=0, fault_str='Kein Fehler.', power=0))
2023-12-08 04:11:21,542 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=9500), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=7816178.86, fault_state=0, fault_str='Kein Fehler.', power=-0.0))
2023-12-08 04:11:21,543 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=8109807.455, power=0.0))
2023-12-08 04:11:21,545 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2023-11-30 12:30:45 +0100 [285f5a5fb]', 'current_branch': 'Release', 'current_branch_commit': '2023-11-30 12:30:45 +0100 [285f5a5fb]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.2-Patch.1', 'datastore_version': 29, 'lastlivevaluesJson': {'timestamp': 1702005071, 'time': '04:11:11', 'grid': 0.352, 'house-power': 0.352, 'charging-all': 0.0, 'pv-all': -0.0, 'cp1-power': 0.0, 'ev1-soc': 49.0, 'ev2-soc': 72, 'bat-all-power': 0.0, 'bat-all-soc': 19}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2023-12-08 04:11:21,547 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2023-12-08 04:11:21,548 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2023-12-08 04:11:21,550 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2023-12-08 04:11:21,552 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2023-12-08 04:11:21,553 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2023-12-08 04:11:21,554 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2023-12-08 04:11:21,557 - {control.data:253} - {INFO:MainThread} - 

2023-12-08 04:11:21,558 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2023-12-08 04:11:21,560 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2023-12-08 04:11:21,561 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2023-12-08 04:11:21,563 - {control.counter:169} - {DEBUG:MainThread} - Zähler 0: [56.0, 56.6, 55.8]A verbleibende Ströme, 38507.0W verbleibende Leistung
2023-12-08 04:11:21,564 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2023-12-08 04:11:21,568 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2023-12-08 04:11:21,571 - {control.algorithm.filter_chargepoints:117} - {DEBUG:MainThread} - Geordnete Ladepunkte [1]
2023-12-08 04:11:21,573 - {control.algorithm.additional_current:26} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2023-12-08 04:11:21,575 - {control.counter:169} - {DEBUG:MainThread} - Zähler 0: [48.0, 48.6, 47.8]A verbleibende Ströme, 32987.0W verbleibende Leistung
2023-12-08 04:11:21,575 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 14A
2023-12-08 04:11:21,578 - {control.counter:211} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: 0W
2023-12-08 04:11:21,580 - {control.counter:457} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf 0W
2023-12-08 04:11:21,583 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2023-12-08 04:11:21,584 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2023-12-08 04:11:21,589 - {control.chargepoint.chargepoint:580} - {DEBUG:MainThread} - phase switch running
2023-12-08 04:11:21,590 - {control.process:111} - {INFO:MainThread} - LP1: set current 14 A, state WAIT_FOR_USING_PHASES
2023-12-08 04:11:21,600 - {modules.common.component_context:24} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:11:21,649 - {control.counter:186} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2023-12-08 04:11:22,013 - {helpermodules.changed_values_handler:120} - {DEBUG:MainThread} - Topic openWB/set/chargepoint/1/control_parameter/state, Payload 3, vorherige Payload: 2
2023-12-08 04:11:22,032 - {helpermodules.changed_values_handler:120} - {DEBUG:MainThread} - Topic openWB/set/chargepoint/1/control_parameter/timestamp_perform_phase_switch, Payload None, vorherige Payload: 12/08/2023, 04:11:11
2023-12-08 04:11:22,035 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2023-12-08 04:11:22,036 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2023-12-08 04:11:25,043 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2023-12-08 04:11:25,044 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2023-12-08 04:11:30,053 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2023-12-08 04:11:30,055 - {root:74} - {INFO:MainThread} - # ***Start*** 
2023-12-08 04:11:30,124 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x715cf340>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x7155e4a8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x715c75f8>}
2023-12-08 04:11:30,124 - {modules.common.component_context:24} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2023-12-08 04:11:30,125 - {modules.common.component_context:24} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:11:30,132 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2023-12-08 04:11:30,135 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2023-12-08 04:11:30,174 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 750
2023-12-08 04:11:30,175 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"cloud":{"connected":false},"input:0":{"id":0,"state":false},"mqtt":{"connected":false},"switch:0":{"id":0, "source":"loopback", "output":false, "apower":0.0, "voltage":242.5, "current":0.000, "aenergy":{"total":1505.625,"by_minute":[0.000,0.000,0.000],"minute_ts":1702005089},"temperature":{"tC":28.8, "tF":83.9}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:11","unixtime":1702005090,"uptime":1364418,"ram_size":248996,"ram_free":145264,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"beta":{"version":"1.1.0-beta2"},"stable":{"version":"1.0.8"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-67},"ws":{"connected":false}}

2023-12-08 04:11:30,177 - {modules.common.simcount._simcount:38} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1702005080.7561643, power=0, imported=0.0, exported=293628.5948715257)
2023-12-08 04:11:30,178 - {modules.common.simcount._calculate:13} - {DEBUG:device1} - time passed: 0.00261709, power1: 0, power2: 0
2023-12-08 04:11:30,178 - {modules.common.simcount._calculate:29} - {DEBUG:device1} - power did not change sign. Total energy: 0
2023-12-08 04:11:30,179 - {modules.common.simcount._simcount:47} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702005090.1776848, power=0, imported=0.0, exported=293628.5948715257)
2023-12-08 04:11:30,180 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:11:30,222 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-6088, -2094, -1917, -2075], Scale 0
2023-12-08 04:11:30,268 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [14, 9, 16], Scale -1
2023-12-08 04:11:30,291 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [24241, 24221, 24040, 0, 0, 0, 0], Scale -2
2023-12-08 04:11:30,310 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [5000], Scale -2
2023-12-08 04:11:30,330 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [5680, 1480, 3740], Scale -2
2023-12-08 04:11:30,350 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4870433, 1797042, 2153375, 1456453, 6125901, 2531547, 1862791, 2268002], Scale 0
2023-12-08 04:11:30,351 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[1.4000000000000001, 0.9, 1.6], powers=[2094.0, 1917.0, 2075.0], voltages=[242.41, 242.21, 240.4], power_factors=[0.5680000000000001, 0.14800000000000002, 0.374], imported=6125901.0, exported=4870433.0, power=6088.0, frequency=50.0)
2023-12-08 04:11:30,352 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2023-12-08 04:11:30,370 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [0], Scale 0
2023-12-08 04:11:30,389 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7789710], Scale 0
2023-12-08 04:11:30,431 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [28, 30, 32], Scale -2
2023-12-08 04:11:30,450 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-5009], Scale -2
2023-12-08 04:11:30,451 - {modules.common.component_state:100} - {DEBUG:device0} - currents sign wrong [0.28, 0.3, 0.32]
2023-12-08 04:11:30,451 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.28, 0.3, 0.32], power=-0.0, exported=7789710.0, dc_power=50.09)
2023-12-08 04:11:30,452 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2023-12-08 04:11:30,490 - {modules.common.simcount._simcount:38} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1702005081.1530023, power=0.0, imported=143333.37604219164, exported=116864.5215890633)
2023-12-08 04:11:30,491 - {modules.common.simcount._calculate:13} - {DEBUG:device0} - time passed: 0.00259381, power1: 0, power2: 0
2023-12-08 04:11:30,491 - {modules.common.simcount._calculate:29} - {DEBUG:device0} - power did not change sign. Total energy: 0
2023-12-08 04:11:30,492 - {modules.common.simcount._simcount:47} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702005090.4907074, power=0.0, imported=143333.37604219164, exported=116864.5215890633)
2023-12-08 04:11:30,493 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=143333.37604219164, exported=116864.5215890633, power=0.0, soc=19.0)
2023-12-08 04:11:30,500 - {modules.common.component_context:24} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2023-12-08 04:11:30,502 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=143333.37604219164, exported=116864.5215890633, power=0.0, soc=19.0)
2023-12-08 04:11:30,548 - {modules.common.component_context:24} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:11:30,549 - {modules.common.component_context:24} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2023-12-08 04:11:30,550 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-0.0, exported=7816178.86, dc_power=None)
2023-12-08 04:11:30,551 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-0.0, exported=7816178.86, dc_power=None)
2023-12-08 04:11:30,552 - {modules.common.component_context:24} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2023-12-08 04:11:30,555 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:11:30,556 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:11:30,590 - {modules.common.component_context:24} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2023-12-08 04:11:30,590 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[1.4000000000000001, 0.9, 1.6], powers=[2094.0, 1917.0, 2075.0], voltages=[242.41, 242.21, 240.4], power_factors=[0.5680000000000001, 0.14800000000000002, 0.374], imported=6125901.0, exported=4870433.0, power=6088.0, frequency=50.0)
2023-12-08 04:11:30,649 - {helpermodules.changed_values_handler:120} - {DEBUG:MainThread} - Topic openWB/set/chargepoint/1/control_parameter/state, Payload 3, vorherige Payload: 2
2023-12-08 04:11:30,650 - {helpermodules.changed_values_handler:120} - {DEBUG:MainThread} - Topic openWB/set/chargepoint/1/control_parameter/timestamp_perform_phase_switch, Payload None, vorherige Payload: 12/08/2023, 04:11:11
2023-12-08 04:11:30,751 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2023-12-08 04:11:30,755 - {control.bat_all:173} - {INFO:MainThread} - -50W verbleibende Speicher-Leistung
2023-12-08 04:11:30,770 - {control.counter:138} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [61.6, 63.04, 62.3]A
2023-12-08 04:11:30,771 - {control.counter:161} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 36947.44W
2023-12-08 04:11:30,780 - {control.chargepoint.chargepoint:699} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2023-12-08 04:11:30,782 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 337.789347s, Dauer 1.380952380952381h, Termin heute verpasst: False
2023-12-08 04:11:30,784 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 91060.768434s, Dauer 0.18012422360248448h, Termin heute verpasst: False
2023-12-08 04:11:30,786 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -9605.071716s, Dauer 4.142857142857143h, Termin heute verpasst: False
2023-12-08 04:11:30,787 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 89763.871254s, Dauer 0.5403726708074534h, Termin heute verpasst: False
2023-12-08 04:11:30,788 - {control.ev:762} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2023-12-08 04:11:30,794 - {control.chargepoint.chargepoint:898} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 14A, Lademodus scheduled_charging, Submodus: Chargemode.INSTANT_CHARGING, Phasen: 3, Priorität: False, max. Ist-Strom: 0.94
2023-12-08 04:11:30,796 - {control.chargepoint.chargepoint:277} - {INFO:MainThread} - LP 1: Zielladen mit 14A, um einen SoC von 95%  um 05:40 zu erreichen.
2023-12-08 04:11:30,816 - {modules.common.simcount._simcount:38} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1702005081.479805, power=353.0, imported=2374369.8549582325, exported=0)
2023-12-08 04:11:30,821 - {modules.common.simcount._calculate:13} - {DEBUG:MainThread} - time passed: 0.00259348, power1: 353, power2: 6052.56
2023-12-08 04:11:30,822 - {modules.common.simcount._calculate:29} - {DEBUG:MainThread} - power did not change sign. Total energy: 8.30634
2023-12-08 04:11:30,824 - {modules.common.simcount._simcount:47} - {DEBUG:MainThread} - imported: 8.30634 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702005090.8163302, power=6052.56, imported=2374378.1613016175, exported=0)
2023-12-08 04:11:30,840 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=19, daily_exported=0.0, daily_imported=0.0, imported=143333.38, exported=116864.52, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2023-12-08 04:11:30,842 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=19, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=143333.38, exported=116864.52, power=0.0), set=Set(charging_power_left=-50, switch_on_soc_reached=False))
2023-12-08 04:11:30,846 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=98.14, daily_exported=0, power=35.44, imported=6926459.96, exported=0))
2023-12-08 04:11:30,848 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 95%, 06:00 Uhr', imported_at_plan_start=6926377.93, imported_instant_charging=None, limit=None, phases=3, prio=False, required_current=14, required_currents=[14, 14, 14], state=3, 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=[0.94, 0.9, 0.0], daily_imported=98.14, daily_exported=0, evse_current=1400, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=6926459.96, phases_in_use=1, plug_state=True, power=35.44, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Zielladen mit 14A, um einen SoC von 95%  um 05:40 zu erreichen.', voltages=[242.57, 240.8, 242.89]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=14, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='_', imported_at_mode_switch=6926377.93, imported_at_plugtime=6926377.93, imported_since_mode_switch=0, imported_since_plugged=82.03000000026077, range_charged=0, time_charged='00:00', timestamp_start_charging=None), manual_lock=False, phases_to_use=3, plug_state_prev=True, plug_time='12/07/2023, 13:07:31', required_power=9660, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x7158a5b0>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB Carport', type='internal_openwb', template=1, connected_phases=3, phase_1=2, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=1))
2023-12-08 04:11:30,849 - {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-12-08 04:11:30,851 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=1, max_current_multi_phases=16, max_current_single_phase=20, name='RFID, 20A, 11kW', rfid_enabling=True, valid_tags=['0003134583', '0003526747', '1655332554', '2585022212', '2585087748'])
2023-12-08 04:11:30,853 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[63, 63, 63], max_total_power=43000), get=Get(powers=[2094.0, 1917.0, 2075.0], currents=[1.4, 0.9, 1.6], voltages=[242.41, 242.21, 240.4], power_factors=[0.57, 0.15, 0.37], unbalanced_load=0, frequency=50.0, daily_exported=0.0, daily_imported=4131.0, imported=6125901.0, exported=4870433.0, fault_state=0, fault_str='Kein Fehler.', power=6088.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=36947.44, raw_currents_left=[61.6, 63.04, 62.3], surplus_power_left=0, state_str=''))
2023-12-08 04:11:30,855 - {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': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=6052.56, invalid_home_consumption=0, daily_yield_home_consumption=5546.5169343646, imported_home_consumption=2374378.1613016175, disengageable_smarthome_power=0))
2023-12-08 04:11:30,858 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2023-12-08 04:11:30,861 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Ladeprofil ***AUTO1***', disable_after_unplug=False, prio=False, load_default=True, time_charging=TimeCharging(active=True, plans={'0': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[True, True, True, True, False, False, True]), time=['22:00', '06:00'], name='Zeitladen 95%, So-Do 22:00-06:00 Uhr', current=16, limit=Limit(selected='soc', amount=1000, soc=95)), '1': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, True, True, False]), time=['22:00', '06:00'], name='Zeitladen 80%, Fr-Sa 22:00-06:00 Uhr', current=16, limit=Limit(selected='soc', amount=1000, soc=80))}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2023-12-08 04:11:30,863 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, time_charging=TimeCharging(active=True, plans={'2': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), time=['06:45', '07:00'], name='Klima 06:45-07:00 Uhr', current=6, limit=Limit(selected='none', amount=1000, soc=50)), '3': TimeChargingPlan(active=True, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, False, False, False]), time=['00:00', '23:55'], name='Immer 35%', current=10, limit=Limit(selected='soc', amount=1000, soc=35))}), chargemode=Chargemode(selected='scheduled_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={'0': ScheduledChargingPlan(active=False, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, True, False, False, False, False, False]), current=14, name='Zielladen 80%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '1': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), current=14, name='Zielladen 95%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=95), time='05:40'), '2': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once='2023-09-26', weekly=[True, False, False, True, False, True, True]), current=14, name='Zielladen 75%, 7:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=75), time='05:40')}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=80))))
2023-12-08 04:11:30,865 - {control.data:266} - {INFO:MainThread} - ev0
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=['0003134583'], get=Get(soc=0, soc_timestamp=None, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:11:30,870 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Tesla Model Y (2022)', 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=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212', '2585087748'], get=Get(soc=49.0, soc_timestamp='12/08/2023, 01:29:15', force_soc_update=False, range=220.74, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:11:30,871 - {control.data:266} - {INFO:MainThread} - ev2
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Cupra Born 58kW', 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=18000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=2, ev_template=2, name='***AUTO2***', tag_id=['1655332554'], get=Get(soc=72, soc_timestamp='12/08/2023, 04:11:28', force_soc_update=False, range=205, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:11:30,874 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40)
2023-12-08 04:11:30,882 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', 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=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40)
2023-12-08 04:11:30,883 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', 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=18000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40)
2023-12-08 04:11:30,887 - {control.data:245} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=3), pv_charging=PvCharging(bat_prio=True, charging_power_reserve=200, control_range=[-230, 230], feed_in_yield=15000, phase_switch_delay=15, phases_to_use=0, rundown_power=1000, rundown_soc=25, switch_off_delay=60, switch_off_soc=25, switch_off_threshold=50, switch_on_delay=30, switch_on_soc=50, switch_on_threshold=1400), scheduled_charging=ScheduledCharging(phases_to_use=0), time_charging=TimeCharging(phases_to_use=3), unbalanced_load_limit=20, unbalanced_load=True), control_interval=10, extern_display_mode='local', extern=False, external_buttons_hw=False, grid_protection_active=False, grid_protection_configured=True, grid_protection_random_stop=0, grid_protection_timestamp='', mqtt_bridge=False, price_kwh=0.3528, range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=True, r1_active=False, r2_active=False))
2023-12-08 04:11:30,890 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2023-12-08 04:11:30,901 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2023-12-08 04:11:30,902 - {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 0x71578988>), led=Led(active=False), rfid=Rfid(active=True))
2023-12-08 04:11:30,906 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=0), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=293628.595, fault_state=0, fault_str='Kein Fehler.', power=0))
2023-12-08 04:11:30,909 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=9500), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=7816178.86, fault_state=0, fault_str='Kein Fehler.', power=-0.0))
2023-12-08 04:11:30,913 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=8109807.455, power=0.0))
2023-12-08 04:11:30,920 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2023-11-30 12:30:45 +0100 [285f5a5fb]', 'current_branch': 'Release', 'current_branch_commit': '2023-11-30 12:30:45 +0100 [285f5a5fb]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.2-Patch.1', 'datastore_version': 29, 'lastlivevaluesJson': {'timestamp': 1702005081, 'time': '04:11:21', 'grid': 0.353, 'house-power': 0.353, 'charging-all': 0.0, 'pv-all': -0.0, 'cp1-power': 0.0, 'ev1-soc': 49.0, 'ev2-soc': 72, 'bat-all-power': 0.0, 'bat-all-soc': 19}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2023-12-08 04:11:30,921 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2023-12-08 04:11:30,922 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2023-12-08 04:11:30,922 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2023-12-08 04:11:30,923 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2023-12-08 04:11:30,923 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2023-12-08 04:11:30,924 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2023-12-08 04:11:30,924 - {control.data:253} - {INFO:MainThread} - 

2023-12-08 04:11:30,925 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2023-12-08 04:11:30,925 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2023-12-08 04:11:30,927 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2023-12-08 04:11:30,928 - {control.counter:169} - {DEBUG:MainThread} - Zähler 0: [55.6, 57.04, 56.3]A verbleibende Ströme, 32807.44W verbleibende Leistung
2023-12-08 04:11:30,928 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2023-12-08 04:11:30,931 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2023-12-08 04:11:30,932 - {control.algorithm.filter_chargepoints:117} - {DEBUG:MainThread} - Geordnete Ladepunkte [1]
2023-12-08 04:11:30,933 - {control.algorithm.additional_current:26} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2023-12-08 04:11:30,933 - {control.counter:169} - {DEBUG:MainThread} - Zähler 0: [47.6, 49.04, 48.3]A verbleibende Ströme, 27287.440000000002W verbleibende Leistung
2023-12-08 04:11:30,934 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 14A
2023-12-08 04:11:30,935 - {control.counter:211} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: 0W
2023-12-08 04:11:30,935 - {control.counter:457} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf 0W
2023-12-08 04:11:30,936 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2023-12-08 04:11:30,936 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2023-12-08 04:11:30,938 - {control.chargelog:52} - {DEBUG:MainThread} - imported_since_mode_switch 82.03000000026077 counter 6926459.96
2023-12-08 04:11:30,943 - {control.process:111} - {INFO:MainThread} - LP1: set current 14 A, state WAIT_FOR_USING_PHASES
2023-12-08 04:11:30,953 - {modules.common.component_context:24} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:11:30,977 - {control.counter:186} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2023-12-08 04:11:31,260 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2023-12-08 04:11:35,297 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2023-12-08 04:11:35,298 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2023-12-08 04:11:40,308 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2023-12-08 04:11:40,310 - {root:74} - {INFO:MainThread} - # ***Start*** 
2023-12-08 04:11:40,362 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x715cf340>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x7155e4a8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x715c75f8>}
2023-12-08 04:11:40,371 - {modules.common.component_context:24} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2023-12-08 04:11:40,380 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2023-12-08 04:11:40,384 - {modules.common.component_context:24} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:11:40,385 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2023-12-08 04:11:40,415 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-9730, -3303, -3141, -3284], Scale 0
2023-12-08 04:11:40,427 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 750
2023-12-08 04:11:40,430 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"cloud":{"connected":false},"input:0":{"id":0,"state":false},"mqtt":{"connected":false},"switch:0":{"id":0, "source":"loopback", "output":false, "apower":0.0, "voltage":241.6, "current":0.000, "aenergy":{"total":1505.625,"by_minute":[0.000,0.000,0.000],"minute_ts":1702005099},"temperature":{"tC":28.8, "tF":83.8}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:11","unixtime":1702005101,"uptime":1364428,"ram_size":248996,"ram_free":145264,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"beta":{"version":"1.1.0-beta2"},"stable":{"version":"1.0.8"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-70},"ws":{"connected":false}}

2023-12-08 04:11:40,435 - {modules.common.simcount._simcount:38} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1702005090.1776848, power=0, imported=0.0, exported=293628.5948715257)
2023-12-08 04:11:40,437 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [137, 130, 139], Scale -1
2023-12-08 04:11:40,437 - {modules.common.simcount._calculate:13} - {DEBUG:device1} - time passed: 0.00284948, power1: 0, power2: 0
2023-12-08 04:11:40,441 - {modules.common.simcount._calculate:29} - {DEBUG:device1} - power did not change sign. Total energy: 0
2023-12-08 04:11:40,442 - {modules.common.simcount._simcount:47} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702005100.4358075, power=0, imported=0.0, exported=293628.5948715257)
2023-12-08 04:11:40,445 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:11:40,463 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [24136, 24123, 23918, 0, 0, 0, 0], Scale -2
2023-12-08 04:11:40,482 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [5000], Scale -2
2023-12-08 04:11:40,512 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [9929, 9940, 9940], Scale -2
2023-12-08 04:11:40,562 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4870433, 1797042, 2153375, 1456453, 6125918, 2531553, 1862796, 2268007], Scale 0
2023-12-08 04:11:40,564 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[13.700000000000001, 13.0, 13.9], powers=[3303.0, 3141.0, 3284.0], voltages=[241.36, 241.23000000000002, 239.18], power_factors=[0.9929000000000001, 0.9940000000000001, 0.9940000000000001], imported=6125918.0, exported=4870433.0, power=9730.0, frequency=50.0)
2023-12-08 04:11:40,584 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2023-12-08 04:11:40,624 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [0], Scale 0
2023-12-08 04:11:40,703 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7789710], Scale 0
2023-12-08 04:11:40,732 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [30, 32, 33], Scale -2
2023-12-08 04:11:40,752 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4894], Scale -2
2023-12-08 04:11:40,752 - {modules.common.component_state:100} - {DEBUG:device0} - currents sign wrong [0.3, 0.32, 0.33]
2023-12-08 04:11:40,753 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.3, 0.32, 0.33], power=-0.0, exported=7789710.0, dc_power=48.94)
2023-12-08 04:11:40,754 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2023-12-08 04:11:40,831 - {modules.common.simcount._simcount:38} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1702005090.4907074, power=0.0, imported=143333.37604219164, exported=116864.5215890633)
2023-12-08 04:11:40,832 - {modules.common.simcount._calculate:13} - {DEBUG:device0} - time passed: 0.00287249, power1: 0, power2: 0
2023-12-08 04:11:40,832 - {modules.common.simcount._calculate:29} - {DEBUG:device0} - power did not change sign. Total energy: 0
2023-12-08 04:11:40,833 - {modules.common.simcount._simcount:47} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702005100.8316624, power=0.0, imported=143333.37604219164, exported=116864.5215890633)
2023-12-08 04:11:40,834 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=143333.37604219164, exported=116864.5215890633, power=0.0, soc=19.0)
2023-12-08 04:11:40,838 - {modules.common.component_context:24} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2023-12-08 04:11:40,839 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=143333.37604219164, exported=116864.5215890633, power=0.0, soc=19.0)
2023-12-08 04:11:40,885 - {modules.common.component_context:24} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:11:40,887 - {modules.common.component_context:24} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2023-12-08 04:11:40,888 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-0.0, exported=7816178.86, dc_power=None)
2023-12-08 04:11:40,890 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-0.0, exported=7816178.86, dc_power=None)
2023-12-08 04:11:40,900 - {modules.common.component_context:24} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2023-12-08 04:11:40,907 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:11:40,908 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:11:40,939 - {modules.common.component_context:24} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2023-12-08 04:11:40,940 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[13.700000000000001, 13.0, 13.9], powers=[3303.0, 3141.0, 3284.0], voltages=[241.36, 241.23000000000002, 239.18], power_factors=[0.9929000000000001, 0.9940000000000001, 0.9940000000000001], imported=6125918.0, exported=4870433.0, power=9730.0, frequency=50.0)
2023-12-08 04:11:41,094 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2023-12-08 04:11:41,099 - {control.bat_all:173} - {INFO:MainThread} - -50W verbleibende Speicher-Leistung
2023-12-08 04:11:41,105 - {control.counter:138} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [62.28, 62.980000000000004, 62.24]A
2023-12-08 04:11:41,109 - {control.counter:161} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 42672.62W
2023-12-08 04:11:41,117 - {control.chargepoint.chargepoint:699} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2023-12-08 04:11:41,119 - {control.chargepoint.chargepoint:682} - {DEBUG:MainThread} - Phasenzahl Lademodus: 3
2023-12-08 04:11:41,120 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 327.45115s, Dauer 1.380952380952381h, Termin heute verpasst: False
2023-12-08 04:11:41,122 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 91050.4306s, Dauer 0.18012422360248448h, Termin heute verpasst: False
2023-12-08 04:11:41,124 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -9615.409357s, Dauer 4.142857142857143h, Termin heute verpasst: False
2023-12-08 04:11:41,126 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 89753.53216s, Dauer 0.5403726708074534h, Termin heute verpasst: False
2023-12-08 04:11:41,127 - {control.ev:762} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2023-12-08 04:11:41,142 - {control.chargepoint.chargepoint:898} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 14A, Lademodus scheduled_charging, Submodus: Chargemode.INSTANT_CHARGING, Phasen: 3, Priorität: False, max. Ist-Strom: 13.14
2023-12-08 04:11:41,145 - {control.chargepoint.chargepoint:277} - {INFO:MainThread} - LP 1: Zielladen mit 14A, um einen SoC von 95%  um 05:40 zu erreichen.
2023-12-08 04:11:41,167 - {modules.common.simcount._simcount:38} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1702005090.8163302, power=6052.56, imported=2374378.1613016175, exported=0)
2023-12-08 04:11:41,171 - {modules.common.simcount._calculate:13} - {DEBUG:MainThread} - time passed: 0.00287542, power1: 6052.56, power2: 327.38
2023-12-08 04:11:41,172 - {modules.common.simcount._calculate:29} - {DEBUG:MainThread} - power did not change sign. Total energy: 9.17249
2023-12-08 04:11:41,173 - {modules.common.simcount._simcount:47} - {DEBUG:MainThread} - imported: 9.17249 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702005101.1678274, power=327.3799999999992, imported=2374387.333792017, exported=0)
2023-12-08 04:11:41,179 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=19, daily_exported=0.0, daily_imported=0.0, imported=143333.38, exported=116864.52, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2023-12-08 04:11:41,187 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=19, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=143333.38, exported=116864.52, power=0.0), set=Set(charging_power_left=-50, switch_on_soc_reached=False))
2023-12-08 04:11:41,190 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=98.14, daily_exported=0, power=9402.62, imported=6926482.91, exported=0))
2023-12-08 04:11:41,194 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 95%, 06:00 Uhr', imported_at_plan_start=6926377.93, imported_instant_charging=None, limit=None, phases=3, prio=False, required_current=14, required_currents=[14, 14, 14], state=3, 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=[12.98, 13.14, 12.98], daily_imported=98.14, daily_exported=0, evse_current=1400, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=6926482.91, phases_in_use=3, plug_state=True, power=9402.62, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Zielladen mit 14A, um einen SoC von 95%  um 05:40 zu erreichen.', voltages=[241.43, 239.36, 241.49]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=14, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', imported_at_mode_switch=6926377.93, imported_at_plugtime=6926377.93, imported_since_mode_switch=82.03000000026077, imported_since_plugged=82.03000000026077, range_charged=0.455722222223671, time_charged='0:00', timestamp_start_charging='12/08/2023, 04:11:30'), manual_lock=False, phases_to_use=3, plug_state_prev=True, plug_time='12/07/2023, 13:07:31', required_power=9660, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x715cfd48>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB Carport', type='internal_openwb', template=1, connected_phases=3, phase_1=2, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=1))
2023-12-08 04:11:41,195 - {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-12-08 04:11:41,196 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=1, max_current_multi_phases=16, max_current_single_phase=20, name='RFID, 20A, 11kW', rfid_enabling=True, valid_tags=['0003134583', '0003526747', '1655332554', '2585022212', '2585087748'])
2023-12-08 04:11:41,199 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[63, 63, 63], max_total_power=43000), get=Get(powers=[3303.0, 3141.0, 3284.0], currents=[13.7, 13.0, 13.9], voltages=[241.36, 241.23, 239.18], power_factors=[0.99, 0.99, 0.99], unbalanced_load=0, frequency=50.0, daily_exported=0.0, daily_imported=4131.0, imported=6125918.0, exported=4870433.0, fault_state=0, fault_str='Kein Fehler.', power=9730.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=42672.62, raw_currents_left=[62.28, 62.980000000000004, 62.24], surplus_power_left=0, state_str=''))
2023-12-08 04:11:41,201 - {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': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=327.3799999999992, invalid_home_consumption=0, daily_yield_home_consumption=5546.5169343646, imported_home_consumption=2374387.333792017, disengageable_smarthome_power=0))
2023-12-08 04:11:41,202 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2023-12-08 04:11:41,204 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Ladeprofil ***AUTO1***', disable_after_unplug=False, prio=False, load_default=True, time_charging=TimeCharging(active=True, plans={'0': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[True, True, True, True, False, False, True]), time=['22:00', '06:00'], name='Zeitladen 95%, So-Do 22:00-06:00 Uhr', current=16, limit=Limit(selected='soc', amount=1000, soc=95)), '1': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, True, True, False]), time=['22:00', '06:00'], name='Zeitladen 80%, Fr-Sa 22:00-06:00 Uhr', current=16, limit=Limit(selected='soc', amount=1000, soc=80))}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2023-12-08 04:11:41,207 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, time_charging=TimeCharging(active=True, plans={'2': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), time=['06:45', '07:00'], name='Klima 06:45-07:00 Uhr', current=6, limit=Limit(selected='none', amount=1000, soc=50)), '3': TimeChargingPlan(active=True, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, False, False, False]), time=['00:00', '23:55'], name='Immer 35%', current=10, limit=Limit(selected='soc', amount=1000, soc=35))}), chargemode=Chargemode(selected='scheduled_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={'0': ScheduledChargingPlan(active=False, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, True, False, False, False, False, False]), current=14, name='Zielladen 80%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '1': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), current=14, name='Zielladen 95%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=95), time='05:40'), '2': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once='2023-09-26', weekly=[True, False, False, True, False, True, True]), current=14, name='Zielladen 75%, 7:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=75), time='05:40')}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=80))))
2023-12-08 04:11:41,209 - {control.data:266} - {INFO:MainThread} - ev0
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=['0003134583'], get=Get(soc=0, soc_timestamp=None, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:11:41,210 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Tesla Model Y (2022)', 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=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212', '2585087748'], get=Get(soc=49.0, soc_timestamp='12/08/2023, 01:29:15', force_soc_update=False, range=220.74, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:11:41,211 - {control.data:266} - {INFO:MainThread} - ev2
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Cupra Born 58kW', 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=18000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=2, ev_template=2, name='***AUTO2***', tag_id=['1655332554'], get=Get(soc=72, soc_timestamp='12/08/2023, 04:11:28', force_soc_update=False, range=205, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:11:41,212 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40)
2023-12-08 04:11:41,213 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', 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=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40)
2023-12-08 04:11:41,214 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', 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=18000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40)
2023-12-08 04:11:41,219 - {control.data:245} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=3), pv_charging=PvCharging(bat_prio=True, charging_power_reserve=200, control_range=[-230, 230], feed_in_yield=15000, phase_switch_delay=15, phases_to_use=0, rundown_power=1000, rundown_soc=25, switch_off_delay=60, switch_off_soc=25, switch_off_threshold=50, switch_on_delay=30, switch_on_soc=50, switch_on_threshold=1400), scheduled_charging=ScheduledCharging(phases_to_use=0), time_charging=TimeCharging(phases_to_use=3), unbalanced_load_limit=20, unbalanced_load=True), control_interval=10, extern_display_mode='local', extern=False, external_buttons_hw=False, grid_protection_active=False, grid_protection_configured=True, grid_protection_random_stop=0, grid_protection_timestamp='', mqtt_bridge=False, price_kwh=0.3528, range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=True, r1_active=False, r2_active=False))
2023-12-08 04:11:41,225 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2023-12-08 04:11:41,226 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2023-12-08 04:11:41,228 - {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 0x70befb80>), led=Led(active=False), rfid=Rfid(active=True))
2023-12-08 04:11:41,231 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=0), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=293628.595, fault_state=0, fault_str='Kein Fehler.', power=0))
2023-12-08 04:11:41,236 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=9500), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=7816178.86, fault_state=0, fault_str='Kein Fehler.', power=-0.0))
2023-12-08 04:11:41,238 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=8109807.455, power=0.0))
2023-12-08 04:11:41,240 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2023-11-30 12:30:45 +0100 [285f5a5fb]', 'current_branch': 'Release', 'current_branch_commit': '2023-11-30 12:30:45 +0100 [285f5a5fb]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.2-Patch.1', 'datastore_version': 29, 'lastlivevaluesJson': {'timestamp': 1702005090, 'time': '04:11:30', 'grid': 6.088, 'house-power': 6.053, 'charging-all': 0.035, 'pv-all': -0.0, 'cp1-power': 0.035, 'ev1-soc': 49.0, 'ev2-soc': 72, 'bat-all-power': 0.0, 'bat-all-soc': 19}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2023-12-08 04:11:41,241 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2023-12-08 04:11:41,242 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2023-12-08 04:11:41,243 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2023-12-08 04:11:41,244 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2023-12-08 04:11:41,245 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2023-12-08 04:11:41,246 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2023-12-08 04:11:41,247 - {control.data:253} - {INFO:MainThread} - 

2023-12-08 04:11:41,247 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2023-12-08 04:11:41,248 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2023-12-08 04:11:41,249 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2023-12-08 04:11:41,250 - {control.counter:169} - {DEBUG:MainThread} - Zähler 0: [56.28, 56.980000000000004, 56.24]A verbleibende Ströme, 38532.62W verbleibende Leistung
2023-12-08 04:11:41,251 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2023-12-08 04:11:41,253 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2023-12-08 04:11:41,254 - {control.algorithm.filter_chargepoints:117} - {DEBUG:MainThread} - Geordnete Ladepunkte [1]
2023-12-08 04:11:41,255 - {control.algorithm.additional_current:26} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2023-12-08 04:11:41,256 - {control.counter:169} - {DEBUG:MainThread} - Zähler 0: [48.28, 48.980000000000004, 48.24]A verbleibende Ströme, 33012.62W verbleibende Leistung
2023-12-08 04:11:41,256 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 14A
2023-12-08 04:11:41,257 - {control.counter:211} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: 0W
2023-12-08 04:11:41,258 - {control.counter:457} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf 0W
2023-12-08 04:11:41,258 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2023-12-08 04:11:41,259 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2023-12-08 04:11:41,260 - {control.chargelog:52} - {DEBUG:MainThread} - imported_since_mode_switch 104.98000000044703 counter 6926482.91
2023-12-08 04:11:41,268 - {control.process:111} - {INFO:MainThread} - LP1: set current 14 A, state WAIT_FOR_USING_PHASES
2023-12-08 04:11:41,282 - {modules.common.component_context:24} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:11:41,305 - {control.counter:186} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2023-12-08 04:11:41,547 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2023-12-08 04:11:41,549 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2023-12-08 04:11:45,557 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2023-12-08 04:11:50,572 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2023-12-08 04:11:50,575 - {root:74} - {INFO:MainThread} - # ***Start*** 
2023-12-08 04:11:50,616 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x715cf340>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x7155e4a8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x715c75f8>}
2023-12-08 04:11:50,624 - {modules.common.component_context:24} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2023-12-08 04:11:50,627 - {modules.common.component_context:24} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:11:50,634 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2023-12-08 04:11:50,639 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2023-12-08 04:11:50,673 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-9716, -3298, -3142, -3275], Scale 0
2023-12-08 04:11:50,679 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 750
2023-12-08 04:11:50,681 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"cloud":{"connected":false},"input:0":{"id":0,"state":false},"mqtt":{"connected":false},"switch:0":{"id":0, "source":"loopback", "output":false, "apower":0.0, "voltage":241.4, "current":0.000, "aenergy":{"total":1505.625,"by_minute":[0.000,0.000,0.000],"minute_ts":1702005110},"temperature":{"tC":28.9, "tF":84.0}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:11","unixtime":1702005111,"uptime":1364438,"ram_size":248996,"ram_free":145268,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"beta":{"version":"1.1.0-beta2"},"stable":{"version":"1.0.8"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-68},"ws":{"connected":false}}

2023-12-08 04:11:50,683 - {modules.common.simcount._simcount:38} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1702005100.4358075, power=0, imported=0.0, exported=293628.5948715257)
2023-12-08 04:11:50,684 - {modules.common.simcount._calculate:13} - {DEBUG:device1} - time passed: 0.00284668, power1: 0, power2: 0
2023-12-08 04:11:50,685 - {modules.common.simcount._calculate:29} - {DEBUG:device1} - power did not change sign. Total energy: 0
2023-12-08 04:11:50,686 - {modules.common.simcount._simcount:47} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702005110.683838, power=0, imported=0.0, exported=293628.5948715257)
2023-12-08 04:11:50,688 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:11:50,701 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [138, 130, 138], Scale -1
2023-12-08 04:11:50,724 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [24117, 24105, 23893, 0, 0, 0, 0], Scale -2
2023-12-08 04:11:50,740 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [5000], Scale -2
2023-12-08 04:11:50,781 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [9919, 9940, 9879], Scale -2
2023-12-08 04:11:50,812 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4870433, 1797042, 2153375, 1456453, 6125940, 2531560, 1862803, 2268015], Scale 0
2023-12-08 04:11:50,815 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[13.8, 13.0, 13.8], powers=[3298.0, 3142.0, 3275.0], voltages=[241.17000000000002, 241.05, 238.93], power_factors=[0.9919, 0.9940000000000001, 0.9879000000000001], imported=6125940.0, exported=4870433.0, power=9716.0, frequency=50.0)
2023-12-08 04:11:50,820 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2023-12-08 04:11:50,841 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [0], Scale 0
2023-12-08 04:11:50,982 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7789710], Scale 0
2023-12-08 04:11:51,002 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [30, 30, 33], Scale -2
2023-12-08 04:11:51,022 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4089], Scale -2
2023-12-08 04:11:51,023 - {modules.common.component_state:100} - {DEBUG:device0} - currents sign wrong [0.3, 0.3, 0.33]
2023-12-08 04:11:51,023 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.3, 0.3, 0.33], power=-0.0, exported=7789710.0, dc_power=40.89)
2023-12-08 04:11:51,027 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2023-12-08 04:11:51,097 - {modules.common.simcount._simcount:38} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1702005100.8316624, power=0.0, imported=143333.37604219164, exported=116864.5215890633)
2023-12-08 04:11:51,098 - {modules.common.simcount._calculate:13} - {DEBUG:device0} - time passed: 0.00285155, power1: 0, power2: 0
2023-12-08 04:11:51,098 - {modules.common.simcount._calculate:29} - {DEBUG:device0} - power did not change sign. Total energy: 0
2023-12-08 04:11:51,098 - {modules.common.simcount._simcount:47} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702005111.097228, power=0.0, imported=143333.37604219164, exported=116864.5215890633)
2023-12-08 04:11:51,099 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=143333.37604219164, exported=116864.5215890633, power=0.0, soc=19.0)
2023-12-08 04:11:51,105 - {modules.common.component_context:24} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2023-12-08 04:11:51,114 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=143333.37604219164, exported=116864.5215890633, power=0.0, soc=19.0)
2023-12-08 04:11:51,197 - {modules.common.component_context:24} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:11:51,213 - {modules.common.component_context:24} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2023-12-08 04:11:51,215 - {modules.common.component_context:24} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2023-12-08 04:11:51,216 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-0.0, exported=7816178.86, dc_power=None)
2023-12-08 04:11:51,226 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:11:51,227 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-0.0, exported=7816178.86, dc_power=None)
2023-12-08 04:11:51,228 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:11:51,367 - {modules.common.component_context:24} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2023-12-08 04:11:51,368 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[13.8, 13.0, 13.8], powers=[3298.0, 3142.0, 3275.0], voltages=[241.17000000000002, 241.05, 238.93], power_factors=[0.9919, 0.9940000000000001, 0.9879000000000001], imported=6125940.0, exported=4870433.0, power=9716.0, frequency=50.0)
2023-12-08 04:11:51,594 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2023-12-08 04:11:51,596 - {control.bat_all:173} - {INFO:MainThread} - -50W verbleibende Speicher-Leistung
2023-12-08 04:11:51,599 - {control.counter:138} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [62.17, 63.04, 62.36]A
2023-12-08 04:11:51,600 - {control.counter:161} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 42690.270000000004W
2023-12-08 04:11:51,602 - {control.chargepoint.chargepoint:699} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2023-12-08 04:11:51,603 - {control.chargepoint.chargepoint:682} - {DEBUG:MainThread} - Phasenzahl Lademodus: 3
2023-12-08 04:11:51,606 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 316.965508s, Dauer 1.380952380952381h, Termin heute verpasst: False
2023-12-08 04:11:51,608 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 91039.945392s, Dauer 0.18012422360248448h, Termin heute verpasst: False
2023-12-08 04:11:51,609 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -9625.894612s, Dauer 4.142857142857143h, Termin heute verpasst: False
2023-12-08 04:11:51,611 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 89743.047924s, Dauer 0.5403726708074534h, Termin heute verpasst: False
2023-12-08 04:11:51,612 - {control.ev:762} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2023-12-08 04:11:51,620 - {control.chargepoint.chargepoint:898} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 14A, Lademodus scheduled_charging, Submodus: Chargemode.INSTANT_CHARGING, Phasen: 3, Priorität: False, max. Ist-Strom: 13.16
2023-12-08 04:11:51,621 - {control.chargepoint.chargepoint:277} - {INFO:MainThread} - LP 1: Zielladen mit 14A, um einen SoC von 95%  um 05:40 zu erreichen.
2023-12-08 04:11:51,627 - {modules.common.simcount._simcount:38} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1702005101.1678274, power=327.3799999999992, imported=2374387.333792017, exported=0)
2023-12-08 04:11:51,629 - {modules.common.simcount._calculate:13} - {DEBUG:MainThread} - time passed: 0.0029054, power1: 327.38, power2: 309.73
2023-12-08 04:11:51,632 - {modules.common.simcount._calculate:29} - {DEBUG:MainThread} - power did not change sign. Total energy: 0.925531
2023-12-08 04:11:51,633 - {modules.common.simcount._simcount:47} - {DEBUG:MainThread} - imported: 0.925531 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702005111.6272848, power=309.72999999999956, imported=2374388.2593232533, exported=0)
2023-12-08 04:11:51,637 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=19, daily_exported=0.0, daily_imported=0.0, imported=143333.38, exported=116864.52, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2023-12-08 04:11:51,638 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=19, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=143333.38, exported=116864.52, power=0.0), set=Set(charging_power_left=-50, switch_on_soc_reached=False))
2023-12-08 04:11:51,640 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=98.14, daily_exported=0, power=9406.27, imported=6926511.23, exported=0))
2023-12-08 04:11:51,644 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 95%, 06:00 Uhr', imported_at_plan_start=6926377.93, imported_instant_charging=None, limit=None, phases=3, prio=False, required_current=14, required_currents=[14, 14, 14], state=3, 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=[13.04, 13.16, 12.97], daily_imported=98.14, daily_exported=0, evse_current=1400, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=6926511.23, phases_in_use=3, plug_state=True, power=9406.27, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Zielladen mit 14A, um einen SoC von 95%  um 05:40 zu erreichen.', voltages=[241.38, 239.16, 241.41]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=14, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', imported_at_mode_switch=6926377.93, imported_at_plugtime=6926377.93, imported_since_mode_switch=104.98000000044703, imported_since_plugged=104.98000000044703, range_charged=0.5832222222247058, time_charged='0:00', timestamp_start_charging='12/08/2023, 04:11:30'), manual_lock=False, phases_to_use=3, plug_state_prev=True, plug_time='12/07/2023, 13:07:31', required_power=9660, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x71578c28>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB Carport', type='internal_openwb', template=1, connected_phases=3, phase_1=2, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=1))
2023-12-08 04:11:51,645 - {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-12-08 04:11:51,646 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=1, max_current_multi_phases=16, max_current_single_phase=20, name='RFID, 20A, 11kW', rfid_enabling=True, valid_tags=['0003134583', '0003526747', '1655332554', '2585022212', '2585087748'])
2023-12-08 04:11:51,647 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[63, 63, 63], max_total_power=43000), get=Get(powers=[3298.0, 3142.0, 3275.0], currents=[13.8, 13.0, 13.8], voltages=[241.17, 241.05, 238.93], power_factors=[0.99, 0.99, 0.99], unbalanced_load=0, frequency=50.0, daily_exported=0.0, daily_imported=4131.0, imported=6125940.0, exported=4870433.0, fault_state=0, fault_str='Kein Fehler.', power=9716.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=42690.270000000004, raw_currents_left=[62.17, 63.04, 62.36], surplus_power_left=0, state_str=''))
2023-12-08 04:11:51,649 - {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': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=309.72999999999956, invalid_home_consumption=0, daily_yield_home_consumption=5546.5169343646, imported_home_consumption=2374388.2593232533, disengageable_smarthome_power=0))
2023-12-08 04:11:51,650 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2023-12-08 04:11:51,651 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Ladeprofil ***AUTO1***', disable_after_unplug=False, prio=False, load_default=True, time_charging=TimeCharging(active=True, plans={'0': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[True, True, True, True, False, False, True]), time=['22:00', '06:00'], name='Zeitladen 95%, So-Do 22:00-06:00 Uhr', current=16, limit=Limit(selected='soc', amount=1000, soc=95)), '1': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, True, True, False]), time=['22:00', '06:00'], name='Zeitladen 80%, Fr-Sa 22:00-06:00 Uhr', current=16, limit=Limit(selected='soc', amount=1000, soc=80))}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2023-12-08 04:11:51,652 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, time_charging=TimeCharging(active=True, plans={'2': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), time=['06:45', '07:00'], name='Klima 06:45-07:00 Uhr', current=6, limit=Limit(selected='none', amount=1000, soc=50)), '3': TimeChargingPlan(active=True, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, False, False, False]), time=['00:00', '23:55'], name='Immer 35%', current=10, limit=Limit(selected='soc', amount=1000, soc=35))}), chargemode=Chargemode(selected='scheduled_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={'0': ScheduledChargingPlan(active=False, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, True, False, False, False, False, False]), current=14, name='Zielladen 80%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '1': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), current=14, name='Zielladen 95%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=95), time='05:40'), '2': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once='2023-09-26', weekly=[True, False, False, True, False, True, True]), current=14, name='Zielladen 75%, 7:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=75), time='05:40')}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=80))))
2023-12-08 04:11:51,653 - {control.data:266} - {INFO:MainThread} - ev0
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=['0003134583'], get=Get(soc=0, soc_timestamp=None, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:11:51,654 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Tesla Model Y (2022)', 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=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212', '2585087748'], get=Get(soc=49.0, soc_timestamp='12/08/2023, 01:29:15', force_soc_update=False, range=220.74, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:11:51,655 - {control.data:266} - {INFO:MainThread} - ev2
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Cupra Born 58kW', 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=18000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=2, ev_template=2, name='***AUTO2***', tag_id=['1655332554'], get=Get(soc=72, soc_timestamp='12/08/2023, 04:11:28', force_soc_update=False, range=205, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:11:51,656 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40)
2023-12-08 04:11:51,660 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', 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=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40)
2023-12-08 04:11:51,661 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', 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=18000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40)
2023-12-08 04:11:51,663 - {control.data:245} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=3), pv_charging=PvCharging(bat_prio=True, charging_power_reserve=200, control_range=[-230, 230], feed_in_yield=15000, phase_switch_delay=15, phases_to_use=0, rundown_power=1000, rundown_soc=25, switch_off_delay=60, switch_off_soc=25, switch_off_threshold=50, switch_on_delay=30, switch_on_soc=50, switch_on_threshold=1400), scheduled_charging=ScheduledCharging(phases_to_use=0), time_charging=TimeCharging(phases_to_use=3), unbalanced_load_limit=20, unbalanced_load=True), control_interval=10, extern_display_mode='local', extern=False, external_buttons_hw=False, grid_protection_active=False, grid_protection_configured=True, grid_protection_random_stop=0, grid_protection_timestamp='', mqtt_bridge=False, price_kwh=0.3528, range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=True, r1_active=False, r2_active=False))
2023-12-08 04:11:51,663 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2023-12-08 04:11:51,664 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2023-12-08 04:11:51,666 - {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 0x70b62940>), led=Led(active=False), rfid=Rfid(active=True))
2023-12-08 04:11:51,673 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=0), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=293628.595, fault_state=0, fault_str='Kein Fehler.', power=0))
2023-12-08 04:11:51,675 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=9500), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=7816178.86, fault_state=0, fault_str='Kein Fehler.', power=-0.0))
2023-12-08 04:11:51,676 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=8109807.455, power=0.0))
2023-12-08 04:11:51,678 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2023-11-30 12:30:45 +0100 [285f5a5fb]', 'current_branch': 'Release', 'current_branch_commit': '2023-11-30 12:30:45 +0100 [285f5a5fb]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.2-Patch.1', 'datastore_version': 29, 'lastlivevaluesJson': {'timestamp': 1702005101, 'time': '04:11:41', 'grid': 9.73, 'house-power': 0.327, 'charging-all': 9.403, 'pv-all': -0.0, 'cp1-power': 9.403, 'ev1-soc': 49.0, 'ev2-soc': 72, 'bat-all-power': 0.0, 'bat-all-soc': 19}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2023-12-08 04:11:51,679 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2023-12-08 04:11:51,680 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2023-12-08 04:11:51,682 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2023-12-08 04:11:51,683 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2023-12-08 04:11:51,684 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2023-12-08 04:11:51,687 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2023-12-08 04:11:51,693 - {control.data:253} - {INFO:MainThread} - 

2023-12-08 04:11:51,701 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2023-12-08 04:11:51,703 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2023-12-08 04:11:51,704 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2023-12-08 04:11:51,706 - {control.counter:169} - {DEBUG:MainThread} - Zähler 0: [56.17, 57.04, 56.36]A verbleibende Ströme, 38550.270000000004W verbleibende Leistung
2023-12-08 04:11:51,707 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2023-12-08 04:11:51,711 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2023-12-08 04:11:51,713 - {control.algorithm.filter_chargepoints:117} - {DEBUG:MainThread} - Geordnete Ladepunkte [1]
2023-12-08 04:11:51,715 - {control.algorithm.additional_current:26} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2023-12-08 04:11:51,722 - {control.counter:169} - {DEBUG:MainThread} - Zähler 0: [48.17, 49.04, 48.36]A verbleibende Ströme, 33030.270000000004W verbleibende Leistung
2023-12-08 04:11:51,723 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 14A
2023-12-08 04:11:51,725 - {control.counter:211} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: 0W
2023-12-08 04:11:51,726 - {control.counter:457} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf 0W
2023-12-08 04:11:51,728 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2023-12-08 04:11:51,729 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2023-12-08 04:11:51,733 - {control.chargelog:52} - {DEBUG:MainThread} - imported_since_mode_switch 133.30000000074506 counter 6926511.23
2023-12-08 04:11:51,741 - {control.process:111} - {INFO:MainThread} - LP1: set current 14 A, state WAIT_FOR_USING_PHASES
2023-12-08 04:11:51,754 - {modules.common.component_context:24} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:11:51,782 - {control.counter:186} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2023-12-08 04:11:52,037 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2023-12-08 04:11:52,038 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2023-12-08 04:11:55,047 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2023-12-08 04:11:55,048 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2023-12-08 04:12:00,056 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2023-12-08 04:12:00,057 - {root:74} - {INFO:MainThread} - # ***Start*** 
2023-12-08 04:12:00,091 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x715cf340>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x7155e4a8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x715c75f8>}
2023-12-08 04:12:00,096 - {modules.common.component_context:24} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2023-12-08 04:12:00,099 - {modules.common.component_context:24} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:12:00,099 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2023-12-08 04:12:00,104 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2023-12-08 04:12:00,146 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-9721, -3300, -3145, -3275], Scale 0
2023-12-08 04:12:00,151 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 750
2023-12-08 04:12:00,152 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"cloud":{"connected":false},"input:0":{"id":0,"state":false},"mqtt":{"connected":false},"switch:0":{"id":0, "source":"loopback", "output":false, "apower":0.0, "voltage":241.4, "current":0.000, "aenergy":{"total":1505.625,"by_minute":[0.000,0.000,0.000],"minute_ts":1702005119},"temperature":{"tC":28.8, "tF":83.9}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:12","unixtime":1702005120,"uptime":1364448,"ram_size":248944,"ram_free":144704,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"beta":{"version":"1.1.0-beta2"},"stable":{"version":"1.0.8"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-68},"ws":{"connected":false}}

2023-12-08 04:12:00,154 - {modules.common.simcount._simcount:38} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1702005110.683838, power=0, imported=0.0, exported=293628.5948715257)
2023-12-08 04:12:00,155 - {modules.common.simcount._calculate:13} - {DEBUG:device1} - time passed: 0.0026307, power1: 0, power2: 0
2023-12-08 04:12:00,155 - {modules.common.simcount._calculate:29} - {DEBUG:device1} - power did not change sign. Total energy: 0
2023-12-08 04:12:00,155 - {modules.common.simcount._simcount:47} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702005120.1543632, power=0, imported=0.0, exported=293628.5948715257)
2023-12-08 04:12:00,157 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:12:00,182 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [137, 130, 137], Scale -1
2023-12-08 04:12:00,239 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [24107, 24101, 23887, 0, 0, 0, 0], Scale -2
2023-12-08 04:12:00,268 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [5000], Scale -2
2023-12-08 04:12:00,296 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [9940, 9969, 9940], Scale -2
2023-12-08 04:12:00,324 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4870433, 1797042, 2153375, 1456453, 6125951, 2531567, 1862810, 2268022], Scale 0
2023-12-08 04:12:00,325 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[13.700000000000001, 13.0, 13.700000000000001], powers=[3300.0, 3145.0, 3275.0], voltages=[241.07, 241.01, 238.87], power_factors=[0.9940000000000001, 0.9969, 0.9940000000000001], imported=6125951.0, exported=4870433.0, power=9721.0, frequency=50.0)
2023-12-08 04:12:00,329 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2023-12-08 04:12:00,352 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [0], Scale 0
2023-12-08 04:12:00,373 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7789710], Scale 0
2023-12-08 04:12:00,391 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [32, 33, 36], Scale -2
2023-12-08 04:12:00,411 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4855], Scale -2
2023-12-08 04:12:00,413 - {modules.common.component_state:100} - {DEBUG:device0} - currents sign wrong [0.32, 0.33, 0.36]
2023-12-08 04:12:00,413 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.32, 0.33, 0.36], power=-0.0, exported=7789710.0, dc_power=48.550000000000004)
2023-12-08 04:12:00,417 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2023-12-08 04:12:00,542 - {modules.common.simcount._simcount:38} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1702005111.097228, power=0.0, imported=143333.37604219164, exported=116864.5215890633)
2023-12-08 04:12:00,542 - {modules.common.simcount._calculate:13} - {DEBUG:device0} - time passed: 0.00262361, power1: 0, power2: 0
2023-12-08 04:12:00,543 - {modules.common.simcount._calculate:29} - {DEBUG:device0} - power did not change sign. Total energy: 0
2023-12-08 04:12:00,543 - {modules.common.simcount._simcount:47} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702005120.542232, power=0.0, imported=143333.37604219164, exported=116864.5215890633)
2023-12-08 04:12:00,545 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=143333.37604219164, exported=116864.5215890633, power=0.0, soc=19.0)
2023-12-08 04:12:00,557 - {modules.common.component_context:24} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2023-12-08 04:12:00,558 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=143333.37604219164, exported=116864.5215890633, power=0.0, soc=19.0)
2023-12-08 04:12:00,590 - {modules.common.component_context:24} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:12:00,591 - {modules.common.component_context:24} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2023-12-08 04:12:00,592 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-0.0, exported=7816178.86, dc_power=None)
2023-12-08 04:12:00,592 - {modules.common.component_context:24} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2023-12-08 04:12:00,593 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-0.0, exported=7816178.86, dc_power=None)
2023-12-08 04:12:00,593 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:12:00,595 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:12:00,632 - {modules.common.component_context:24} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2023-12-08 04:12:00,633 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[13.700000000000001, 13.0, 13.700000000000001], powers=[3300.0, 3145.0, 3275.0], voltages=[241.07, 241.01, 238.87], power_factors=[0.9940000000000001, 0.9969, 0.9940000000000001], imported=6125951.0, exported=4870433.0, power=9721.0, frequency=50.0)
2023-12-08 04:12:00,773 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2023-12-08 04:12:00,777 - {control.bat_all:173} - {INFO:MainThread} - -50W verbleibende Speicher-Leistung
2023-12-08 04:12:00,782 - {control.counter:138} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [62.28, 63.01, 62.46]A
2023-12-08 04:12:00,784 - {control.counter:161} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 42666.09W
2023-12-08 04:12:00,787 - {control.chargepoint.chargepoint:699} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2023-12-08 04:12:00,788 - {control.chargepoint.chargepoint:682} - {DEBUG:MainThread} - Phasenzahl Lademodus: 3
2023-12-08 04:12:00,790 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 307.78149s, Dauer 1.380952380952381h, Termin heute verpasst: False
2023-12-08 04:12:00,793 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 91030.759901s, Dauer 0.18012422360248448h, Termin heute verpasst: False
2023-12-08 04:12:00,795 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -9635.080769s, Dauer 4.142857142857143h, Termin heute verpasst: False
2023-12-08 04:12:00,796 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 89733.862066s, Dauer 0.5403726708074534h, Termin heute verpasst: False
2023-12-08 04:12:00,798 - {control.ev:762} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2023-12-08 04:12:00,803 - {control.chargepoint.chargepoint:898} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 14A, Lademodus scheduled_charging, Submodus: Chargemode.INSTANT_CHARGING, Phasen: 3, Priorität: False, max. Ist-Strom: 13.16
2023-12-08 04:12:00,811 - {control.chargepoint.chargepoint:277} - {INFO:MainThread} - LP 1: Zielladen mit 14A, um einen SoC von 95%  um 05:40 zu erreichen.
2023-12-08 04:12:00,818 - {modules.common.simcount._simcount:38} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1702005111.6272848, power=309.72999999999956, imported=2374388.2593232533, exported=0)
2023-12-08 04:12:00,823 - {modules.common.simcount._calculate:13} - {DEBUG:MainThread} - time passed: 0.00255302, power1: 309.73, power2: 333.91
2023-12-08 04:12:00,826 - {modules.common.simcount._calculate:29} - {DEBUG:MainThread} - power did not change sign. Total energy: 0.821614
2023-12-08 04:12:00,831 - {modules.common.simcount._simcount:47} - {DEBUG:MainThread} - imported: 0.821614 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702005120.8181658, power=333.90999999999985, imported=2374389.0809369553, exported=0)
2023-12-08 04:12:00,839 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=19, daily_exported=0.0, daily_imported=0.0, imported=143333.38, exported=116864.52, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2023-12-08 04:12:00,843 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=19, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=143333.38, exported=116864.52, power=0.0), set=Set(charging_power_left=-50, switch_on_soc_reached=False))
2023-12-08 04:12:00,843 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=98.14, daily_exported=0, power=9387.09, imported=6926535.16, exported=0))
2023-12-08 04:12:00,845 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 95%, 06:00 Uhr', imported_at_plan_start=6926377.93, imported_instant_charging=None, limit=None, phases=3, prio=False, required_current=14, required_currents=[14, 14, 14], state=3, 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=[13.01, 13.16, 12.98], daily_imported=98.14, daily_exported=0, evse_current=1400, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=6926535.16, phases_in_use=3, plug_state=True, power=9387.09, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Zielladen mit 14A, um einen SoC von 95%  um 05:40 zu erreichen.', voltages=[241.35, 239.25, 241.45]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=14, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', imported_at_mode_switch=6926377.93, imported_at_plugtime=6926377.93, imported_since_mode_switch=133.30000000074506, imported_since_plugged=133.30000000074506, range_charged=0.7405555555596948, time_charged='0:00', timestamp_start_charging='12/08/2023, 04:11:30'), manual_lock=False, phases_to_use=3, plug_state_prev=True, plug_time='12/07/2023, 13:07:31', required_power=9660, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x715945f8>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB Carport', type='internal_openwb', template=1, connected_phases=3, phase_1=2, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=1))
2023-12-08 04:12:00,847 - {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-12-08 04:12:00,848 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=1, max_current_multi_phases=16, max_current_single_phase=20, name='RFID, 20A, 11kW', rfid_enabling=True, valid_tags=['0003134583', '0003526747', '1655332554', '2585022212', '2585087748'])
2023-12-08 04:12:00,849 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[63, 63, 63], max_total_power=43000), get=Get(powers=[3300.0, 3145.0, 3275.0], currents=[13.7, 13.0, 13.7], voltages=[241.07, 241.01, 238.87], power_factors=[0.99, 1.0, 0.99], unbalanced_load=0, frequency=50.0, daily_exported=0.0, daily_imported=4131.0, imported=6125951.0, exported=4870433.0, fault_state=0, fault_str='Kein Fehler.', power=9721.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=42666.09, raw_currents_left=[62.28, 63.01, 62.46], surplus_power_left=0, state_str=''))
2023-12-08 04:12:00,850 - {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': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=333.90999999999985, invalid_home_consumption=0, daily_yield_home_consumption=5546.5169343646, imported_home_consumption=2374389.0809369553, disengageable_smarthome_power=0))
2023-12-08 04:12:00,852 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2023-12-08 04:12:00,853 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Ladeprofil ***AUTO1***', disable_after_unplug=False, prio=False, load_default=True, time_charging=TimeCharging(active=True, plans={'0': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[True, True, True, True, False, False, True]), time=['22:00', '06:00'], name='Zeitladen 95%, So-Do 22:00-06:00 Uhr', current=16, limit=Limit(selected='soc', amount=1000, soc=95)), '1': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, True, True, False]), time=['22:00', '06:00'], name='Zeitladen 80%, Fr-Sa 22:00-06:00 Uhr', current=16, limit=Limit(selected='soc', amount=1000, soc=80))}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2023-12-08 04:12:00,854 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, time_charging=TimeCharging(active=True, plans={'2': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), time=['06:45', '07:00'], name='Klima 06:45-07:00 Uhr', current=6, limit=Limit(selected='none', amount=1000, soc=50)), '3': TimeChargingPlan(active=True, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, False, False, False]), time=['00:00', '23:55'], name='Immer 35%', current=10, limit=Limit(selected='soc', amount=1000, soc=35))}), chargemode=Chargemode(selected='scheduled_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={'0': ScheduledChargingPlan(active=False, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, True, False, False, False, False, False]), current=14, name='Zielladen 80%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '1': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), current=14, name='Zielladen 95%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=95), time='05:40'), '2': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once='2023-09-26', weekly=[True, False, False, True, False, True, True]), current=14, name='Zielladen 75%, 7:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=75), time='05:40')}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=80))))
2023-12-08 04:12:00,855 - {control.data:266} - {INFO:MainThread} - ev0
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=['0003134583'], get=Get(soc=0, soc_timestamp=None, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:12:00,861 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Tesla Model Y (2022)', 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=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212', '2585087748'], get=Get(soc=49.0, soc_timestamp='12/08/2023, 01:29:15', force_soc_update=False, range=220.74, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:12:00,862 - {control.data:266} - {INFO:MainThread} - ev2
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Cupra Born 58kW', 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=18000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=2, ev_template=2, name='***AUTO2***', tag_id=['1655332554'], get=Get(soc=72, soc_timestamp='12/08/2023, 04:11:28', force_soc_update=False, range=205, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:12:00,864 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40)
2023-12-08 04:12:00,865 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', 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=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40)
2023-12-08 04:12:00,865 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', 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=18000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40)
2023-12-08 04:12:00,866 - {control.data:245} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=3), pv_charging=PvCharging(bat_prio=True, charging_power_reserve=200, control_range=[-230, 230], feed_in_yield=15000, phase_switch_delay=15, phases_to_use=0, rundown_power=1000, rundown_soc=25, switch_off_delay=60, switch_off_soc=25, switch_off_threshold=50, switch_on_delay=30, switch_on_soc=50, switch_on_threshold=1400), scheduled_charging=ScheduledCharging(phases_to_use=0), time_charging=TimeCharging(phases_to_use=3), unbalanced_load_limit=20, unbalanced_load=True), control_interval=10, extern_display_mode='local', extern=False, external_buttons_hw=False, grid_protection_active=False, grid_protection_configured=True, grid_protection_random_stop=0, grid_protection_timestamp='', mqtt_bridge=False, price_kwh=0.3528, range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=True, r1_active=False, r2_active=False))
2023-12-08 04:12:00,868 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2023-12-08 04:12:00,872 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2023-12-08 04:12:00,874 - {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 0x70ba78c8>), led=Led(active=False), rfid=Rfid(active=True))
2023-12-08 04:12:00,875 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=0), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=293628.595, fault_state=0, fault_str='Kein Fehler.', power=0))
2023-12-08 04:12:00,878 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=9500), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=7816178.86, fault_state=0, fault_str='Kein Fehler.', power=-0.0))
2023-12-08 04:12:00,879 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=8109807.455, power=0.0))
2023-12-08 04:12:00,880 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2023-11-30 12:30:45 +0100 [285f5a5fb]', 'current_branch': 'Release', 'current_branch_commit': '2023-11-30 12:30:45 +0100 [285f5a5fb]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.2-Patch.1', 'datastore_version': 29, 'lastlivevaluesJson': {'timestamp': 1702005111, 'time': '04:11:51', 'grid': 9.716, 'house-power': 0.31, 'charging-all': 9.406, 'pv-all': -0.0, 'cp1-power': 9.406, 'ev1-soc': 49.0, 'ev2-soc': 72, 'bat-all-power': 0.0, 'bat-all-soc': 19}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2023-12-08 04:12:00,881 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2023-12-08 04:12:00,883 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2023-12-08 04:12:00,884 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2023-12-08 04:12:00,885 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2023-12-08 04:12:00,886 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2023-12-08 04:12:00,888 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2023-12-08 04:12:00,889 - {control.data:253} - {INFO:MainThread} - 

2023-12-08 04:12:00,891 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2023-12-08 04:12:00,892 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2023-12-08 04:12:00,893 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2023-12-08 04:12:00,895 - {control.counter:169} - {DEBUG:MainThread} - Zähler 0: [56.28, 57.01, 56.46]A verbleibende Ströme, 38526.09W verbleibende Leistung
2023-12-08 04:12:00,897 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2023-12-08 04:12:00,902 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2023-12-08 04:12:00,906 - {control.algorithm.filter_chargepoints:117} - {DEBUG:MainThread} - Geordnete Ladepunkte [1]
2023-12-08 04:12:00,907 - {control.algorithm.additional_current:26} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2023-12-08 04:12:00,909 - {control.counter:169} - {DEBUG:MainThread} - Zähler 0: [48.28, 49.01, 48.46]A verbleibende Ströme, 33006.09W verbleibende Leistung
2023-12-08 04:12:00,910 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 14A
2023-12-08 04:12:00,912 - {control.counter:211} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: 0W
2023-12-08 04:12:00,913 - {control.counter:457} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf 0W
2023-12-08 04:12:00,914 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2023-12-08 04:12:00,916 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2023-12-08 04:12:00,920 - {control.chargelog:52} - {DEBUG:MainThread} - imported_since_mode_switch 157.23000000044703 counter 6926535.16
2023-12-08 04:12:00,926 - {control.process:111} - {INFO:MainThread} - LP1: set current 14 A, state CHARGING_ALLOWED
2023-12-08 04:12:00,929 - {modules.common.component_context:24} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:12:00,966 - {control.counter:186} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2023-12-08 04:12:01,170 - {helpermodules.changed_values_handler:120} - {DEBUG:MainThread} - Topic openWB/set/chargepoint/1/control_parameter/state, Payload 4, vorherige Payload: 3
2023-12-08 04:12:01,181 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2023-12-08 04:12:05,205 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2023-12-08 04:12:05,206 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2023-12-08 04:12:10,215 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2023-12-08 04:12:10,216 - {root:74} - {INFO:MainThread} - # ***Start*** 
2023-12-08 04:12:10,254 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x715cf340>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x7155e4a8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x715c75f8>}
2023-12-08 04:12:10,256 - {modules.common.component_context:24} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2023-12-08 04:12:10,262 - {modules.common.component_context:24} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:12:10,272 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2023-12-08 04:12:10,284 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2023-12-08 04:12:10,305 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-9774, -3301, -3144, -3328], Scale 0
2023-12-08 04:12:10,319 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [137, 131, 140], Scale -1
2023-12-08 04:12:10,339 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [24114, 24106, 23890, 0, 0, 0, 0], Scale -2
2023-12-08 04:12:10,353 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 750
2023-12-08 04:12:10,355 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"cloud":{"connected":false},"input:0":{"id":0,"state":false},"mqtt":{"connected":false},"switch:0":{"id":0, "source":"loopback", "output":false, "apower":0.0, "voltage":241.7, "current":0.000, "aenergy":{"total":1505.625,"by_minute":[0.000,0.000,0.000],"minute_ts":1702005129},"temperature":{"tC":28.8, "tF":83.8}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:12","unixtime":1702005131,"uptime":1364458,"ram_size":248932,"ram_free":144556,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"beta":{"version":"1.1.0-beta2"},"stable":{"version":"1.0.8"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-68},"ws":{"connected":false}}

2023-12-08 04:12:10,378 - {modules.common.simcount._simcount:38} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1702005120.1543632, power=0, imported=0.0, exported=293628.5948715257)
2023-12-08 04:12:10,380 - {modules.common.simcount._calculate:13} - {DEBUG:device1} - time passed: 0.00284006, power1: 0, power2: 0
2023-12-08 04:12:10,381 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [5000], Scale -2
2023-12-08 04:12:10,381 - {modules.common.simcount._calculate:29} - {DEBUG:device1} - power did not change sign. Total energy: 0
2023-12-08 04:12:10,383 - {modules.common.simcount._simcount:47} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702005130.3785813, power=0, imported=0.0, exported=293628.5948715257)
2023-12-08 04:12:10,385 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:12:10,421 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [9929, 9940, 9919], Scale -2
2023-12-08 04:12:10,441 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4870433, 1797042, 2153375, 1456453, 6125994, 2531578, 1862820, 2268033], Scale 0
2023-12-08 04:12:10,442 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[13.700000000000001, 13.100000000000001, 14.0], powers=[3301.0, 3144.0, 3328.0], voltages=[241.14000000000001, 241.06, 238.9], power_factors=[0.9929000000000001, 0.9940000000000001, 0.9919], imported=6125994.0, exported=4870433.0, power=9774.0, frequency=50.0)
2023-12-08 04:12:10,444 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2023-12-08 04:12:10,460 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [0], Scale 0
2023-12-08 04:12:10,480 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7789710], Scale 0
2023-12-08 04:12:10,581 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [29, 31, 33], Scale -2
2023-12-08 04:12:10,615 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-5408], Scale -2
2023-12-08 04:12:10,616 - {modules.common.component_state:100} - {DEBUG:device0} - currents sign wrong [0.29, 0.31, 0.33]
2023-12-08 04:12:10,616 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.29, 0.31, 0.33], power=-0.0, exported=7789710.0, dc_power=54.08)
2023-12-08 04:12:10,618 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2023-12-08 04:12:10,663 - {modules.common.simcount._simcount:38} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1702005120.542232, power=0.0, imported=143333.37604219164, exported=116864.5215890633)
2023-12-08 04:12:10,664 - {modules.common.simcount._calculate:13} - {DEBUG:device0} - time passed: 0.00281139, power1: 0, power2: 0
2023-12-08 04:12:10,664 - {modules.common.simcount._calculate:29} - {DEBUG:device0} - power did not change sign. Total energy: 0
2023-12-08 04:12:10,664 - {modules.common.simcount._simcount:47} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702005130.6632395, power=0.0, imported=143333.37604219164, exported=116864.5215890633)
2023-12-08 04:12:10,665 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=143333.37604219164, exported=116864.5215890633, power=0.0, soc=19.0)
2023-12-08 04:12:10,672 - {modules.common.component_context:24} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2023-12-08 04:12:10,673 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=143333.37604219164, exported=116864.5215890633, power=0.0, soc=19.0)
2023-12-08 04:12:10,714 - {modules.common.component_context:24} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:12:10,715 - {modules.common.component_context:24} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2023-12-08 04:12:10,718 - {modules.common.component_context:24} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2023-12-08 04:12:10,719 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-0.0, exported=7816178.86, dc_power=None)
2023-12-08 04:12:10,719 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:12:10,720 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-0.0, exported=7816178.86, dc_power=None)
2023-12-08 04:12:10,721 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:12:10,759 - {modules.common.component_context:24} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2023-12-08 04:12:10,761 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[13.700000000000001, 13.100000000000001, 14.0], powers=[3301.0, 3144.0, 3328.0], voltages=[241.14000000000001, 241.06, 238.9], power_factors=[0.9929000000000001, 0.9940000000000001, 0.9919], imported=6125994.0, exported=4870433.0, power=9774.0, frequency=50.0)
2023-12-08 04:12:10,832 - {helpermodules.changed_values_handler:120} - {DEBUG:MainThread} - Topic openWB/set/chargepoint/1/control_parameter/state, Payload 4, vorherige Payload: 3
2023-12-08 04:12:10,937 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2023-12-08 04:12:10,940 - {control.bat_all:173} - {INFO:MainThread} - -50W verbleibende Speicher-Leistung
2023-12-08 04:12:10,943 - {control.counter:138} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [62.32, 62.93, 62.33]A
2023-12-08 04:12:10,944 - {control.counter:161} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 42696.34W
2023-12-08 04:12:10,950 - {control.chargepoint.chargepoint:699} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2023-12-08 04:12:10,952 - {control.chargepoint.chargepoint:682} - {DEBUG:MainThread} - Phasenzahl Lademodus: 3
2023-12-08 04:12:10,954 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 297.617647s, Dauer 1.380952380952381h, Termin heute verpasst: False
2023-12-08 04:12:10,955 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 91020.597548s, Dauer 0.18012422360248448h, Termin heute verpasst: False
2023-12-08 04:12:10,957 - {control.ev:762} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2023-12-08 04:12:10,960 - {control.chargepoint.chargepoint:898} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 14A, Lademodus scheduled_charging, Submodus: Chargemode.INSTANT_CHARGING, Phasen: 3, Priorität: False, max. Ist-Strom: 13.33
2023-12-08 04:12:10,962 - {control.chargepoint.chargepoint:277} - {INFO:MainThread} - LP 1: Zielladen mit 14A, um einen SoC von 95%  um 05:40 zu erreichen.
2023-12-08 04:12:10,968 - {modules.common.simcount._simcount:38} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1702005120.8181658, power=333.90999999999985, imported=2374389.0809369553, exported=0)
2023-12-08 04:12:10,975 - {modules.common.simcount._calculate:13} - {DEBUG:MainThread} - time passed: 0.0028194, power1: 333.91, power2: 303.66
2023-12-08 04:12:10,992 - {modules.common.simcount._calculate:29} - {DEBUG:MainThread} - power did not change sign. Total energy: 0.898782
2023-12-08 04:12:10,999 - {modules.common.simcount._simcount:47} - {DEBUG:MainThread} - imported: 0.898782 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702005130.967997, power=303.65999999999985, imported=2374389.9797186134, exported=0)
2023-12-08 04:12:11,003 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=19, daily_exported=0.0, daily_imported=0.0, imported=143333.38, exported=116864.52, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2023-12-08 04:12:11,011 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=19, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=143333.38, exported=116864.52, power=0.0), set=Set(charging_power_left=-50, switch_on_soc_reached=False))
2023-12-08 04:12:11,012 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=98.14, daily_exported=0, power=9470.34, imported=6926559.08, exported=0))
2023-12-08 04:12:11,018 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 95%, 06:00 Uhr', imported_at_plan_start=6926377.93, imported_instant_charging=None, limit=None, phases=3, prio=False, required_current=14, required_currents=[14, 14, 14], 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=[13.03, 13.33, 13.02], daily_imported=98.14, daily_exported=0, evse_current=1400, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=6926559.08, phases_in_use=3, plug_state=True, power=9470.34, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Zielladen mit 14A, um einen SoC von 95%  um 05:40 zu erreichen.', voltages=[241.66, 239.57, 241.75]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=14, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', imported_at_mode_switch=6926377.93, imported_at_plugtime=6926377.93, imported_since_mode_switch=157.23000000044703, imported_since_plugged=157.23000000044703, range_charged=0.8735000000024836, time_charged='0:00', timestamp_start_charging='12/08/2023, 04:11:30'), manual_lock=False, phases_to_use=3, plug_state_prev=True, plug_time='12/07/2023, 13:07:31', required_power=9660, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x70b62d48>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB Carport', type='internal_openwb', template=1, connected_phases=3, phase_1=2, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=1))
2023-12-08 04:12:11,019 - {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-12-08 04:12:11,020 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=1, max_current_multi_phases=16, max_current_single_phase=20, name='RFID, 20A, 11kW', rfid_enabling=True, valid_tags=['0003134583', '0003526747', '1655332554', '2585022212', '2585087748'])
2023-12-08 04:12:11,021 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[63, 63, 63], max_total_power=43000), get=Get(powers=[3301.0, 3144.0, 3328.0], currents=[13.7, 13.1, 14.0], voltages=[241.14, 241.06, 238.9], power_factors=[0.99, 0.99, 0.99], unbalanced_load=0, frequency=50.0, daily_exported=0.0, daily_imported=4131.0, imported=6125994.0, exported=4870433.0, fault_state=0, fault_str='Kein Fehler.', power=9774.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=42696.34, raw_currents_left=[62.32, 62.93, 62.33], surplus_power_left=0, state_str=''))
2023-12-08 04:12:11,025 - {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': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=303.65999999999985, invalid_home_consumption=0, daily_yield_home_consumption=5546.5169343646, imported_home_consumption=2374389.9797186134, disengageable_smarthome_power=0))
2023-12-08 04:12:11,028 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2023-12-08 04:12:11,029 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Ladeprofil ***AUTO1***', disable_after_unplug=False, prio=False, load_default=True, time_charging=TimeCharging(active=True, plans={'0': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[True, True, True, True, False, False, True]), time=['22:00', '06:00'], name='Zeitladen 95%, So-Do 22:00-06:00 Uhr', current=16, limit=Limit(selected='soc', amount=1000, soc=95)), '1': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, True, True, False]), time=['22:00', '06:00'], name='Zeitladen 80%, Fr-Sa 22:00-06:00 Uhr', current=16, limit=Limit(selected='soc', amount=1000, soc=80))}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2023-12-08 04:12:11,037 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, time_charging=TimeCharging(active=True, plans={'2': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), time=['06:45', '07:00'], name='Klima 06:45-07:00 Uhr', current=6, limit=Limit(selected='none', amount=1000, soc=50)), '3': TimeChargingPlan(active=True, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, False, False, False]), time=['00:00', '23:55'], name='Immer 35%', current=10, limit=Limit(selected='soc', amount=1000, soc=35))}), chargemode=Chargemode(selected='scheduled_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={'0': ScheduledChargingPlan(active=False, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, True, False, False, False, False, False]), current=14, name='Zielladen 80%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '1': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), current=14, name='Zielladen 95%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=95), time='05:40'), '2': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once='2023-09-26', weekly=[True, False, False, True, False, True, True]), current=14, name='Zielladen 75%, 7:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=75), time='05:40')}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=80))))
2023-12-08 04:12:11,038 - {control.data:266} - {INFO:MainThread} - ev0
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=['0003134583'], get=Get(soc=0, soc_timestamp=None, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:12:11,042 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Tesla Model Y (2022)', 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=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212', '2585087748'], get=Get(soc=49.0, soc_timestamp='12/08/2023, 01:29:15', force_soc_update=False, range=220.74, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:12:11,044 - {control.data:266} - {INFO:MainThread} - ev2
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Cupra Born 58kW', 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=18000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=2, ev_template=2, name='***AUTO2***', tag_id=['1655332554'], get=Get(soc=72, soc_timestamp='12/08/2023, 04:11:28', force_soc_update=False, range=205, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:12:11,047 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40)
2023-12-08 04:12:11,051 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', 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=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40)
2023-12-08 04:12:11,053 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', 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=18000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40)
2023-12-08 04:12:11,057 - {control.data:245} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=3), pv_charging=PvCharging(bat_prio=True, charging_power_reserve=200, control_range=[-230, 230], feed_in_yield=15000, phase_switch_delay=15, phases_to_use=0, rundown_power=1000, rundown_soc=25, switch_off_delay=60, switch_off_soc=25, switch_off_threshold=50, switch_on_delay=30, switch_on_soc=50, switch_on_threshold=1400), scheduled_charging=ScheduledCharging(phases_to_use=0), time_charging=TimeCharging(phases_to_use=3), unbalanced_load_limit=20, unbalanced_load=True), control_interval=10, extern_display_mode='local', extern=False, external_buttons_hw=False, grid_protection_active=False, grid_protection_configured=True, grid_protection_random_stop=0, grid_protection_timestamp='', mqtt_bridge=False, price_kwh=0.3528, range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=True, r1_active=False, r2_active=False))
2023-12-08 04:12:11,058 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2023-12-08 04:12:11,059 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2023-12-08 04:12:11,060 - {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 0x70b92c58>), led=Led(active=False), rfid=Rfid(active=True))
2023-12-08 04:12:11,061 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=0), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=293628.595, fault_state=0, fault_str='Kein Fehler.', power=0))
2023-12-08 04:12:11,062 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=9500), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=7816178.86, fault_state=0, fault_str='Kein Fehler.', power=-0.0))
2023-12-08 04:12:11,064 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=8109807.455, power=0.0))
2023-12-08 04:12:11,072 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2023-11-30 12:30:45 +0100 [285f5a5fb]', 'current_branch': 'Release', 'current_branch_commit': '2023-11-30 12:30:45 +0100 [285f5a5fb]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.2-Patch.1', 'datastore_version': 29, 'lastlivevaluesJson': {'timestamp': 1702005120, 'time': '04:12:00', 'grid': 9.721, 'house-power': 0.334, 'charging-all': 9.387, 'pv-all': -0.0, 'cp1-power': 9.387, 'ev1-soc': 49.0, 'ev2-soc': 72, 'bat-all-power': 0.0, 'bat-all-soc': 19}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2023-12-08 04:12:11,075 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2023-12-08 04:12:11,076 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2023-12-08 04:12:11,077 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2023-12-08 04:12:11,078 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2023-12-08 04:12:11,079 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2023-12-08 04:12:11,087 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2023-12-08 04:12:11,088 - {control.data:253} - {INFO:MainThread} - 

2023-12-08 04:12:11,089 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2023-12-08 04:12:11,094 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2023-12-08 04:12:11,101 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2023-12-08 04:12:11,103 - {control.counter:169} - {DEBUG:MainThread} - Zähler 0: [56.32, 56.93, 56.33]A verbleibende Ströme, 38556.34W verbleibende Leistung
2023-12-08 04:12:11,104 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2023-12-08 04:12:11,111 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2023-12-08 04:12:11,114 - {control.algorithm.filter_chargepoints:117} - {DEBUG:MainThread} - Geordnete Ladepunkte [1]
2023-12-08 04:12:11,119 - {control.algorithm.additional_current:26} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2023-12-08 04:12:11,120 - {control.counter:169} - {DEBUG:MainThread} - Zähler 0: [48.32, 48.93, 48.33]A verbleibende Ströme, 33036.34W verbleibende Leistung
2023-12-08 04:12:11,120 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 14A
2023-12-08 04:12:11,122 - {control.counter:211} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: 0W
2023-12-08 04:12:11,122 - {control.counter:457} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf 0W
2023-12-08 04:12:11,123 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2023-12-08 04:12:11,123 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2023-12-08 04:12:11,124 - {control.chargelog:52} - {DEBUG:MainThread} - imported_since_mode_switch 181.15000000037253 counter 6926559.08
2023-12-08 04:12:11,134 - {control.process:111} - {INFO:MainThread} - LP1: set current 14 A, state CHARGING_ALLOWED
2023-12-08 04:12:11,141 - {modules.common.component_context:24} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:12:11,181 - {control.counter:186} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2023-12-08 04:12:11,562 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2023-12-08 04:12:11,563 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2023-12-08 04:12:15,573 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2023-12-08 04:12:20,586 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2023-12-08 04:12:20,588 - {root:74} - {INFO:MainThread} - # ***Start*** 
2023-12-08 04:12:20,647 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x715cf340>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x7155e4a8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x715c75f8>}
2023-12-08 04:12:20,663 - {modules.common.component_context:24} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2023-12-08 04:12:20,675 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2023-12-08 04:12:20,676 - {modules.common.component_context:24} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:12:20,684 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2023-12-08 04:12:20,725 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-9635, -3259, -3097, -3278], Scale 0
2023-12-08 04:12:20,736 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 750
2023-12-08 04:12:20,739 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"cloud":{"connected":false},"input:0":{"id":0,"state":false},"mqtt":{"connected":false},"switch:0":{"id":0, "source":"loopback", "output":false, "apower":0.0, "voltage":241.7, "current":0.000, "aenergy":{"total":1505.625,"by_minute":[0.000,0.000,0.000],"minute_ts":1702005140},"temperature":{"tC":28.8, "tF":83.9}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:12","unixtime":1702005141,"uptime":1364468,"ram_size":248996,"ram_free":145264,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"beta":{"version":"1.1.0-beta2"},"stable":{"version":"1.0.8"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-68},"ws":{"connected":false}}

2023-12-08 04:12:20,743 - {modules.common.simcount._simcount:38} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1702005130.3785813, power=0, imported=0.0, exported=293628.5948715257)
2023-12-08 04:12:20,744 - {modules.common.simcount._calculate:13} - {DEBUG:device1} - time passed: 0.00287904, power1: 0, power2: 0
2023-12-08 04:12:20,745 - {modules.common.simcount._calculate:29} - {DEBUG:device1} - power did not change sign. Total energy: 0
2023-12-08 04:12:20,747 - {modules.common.simcount._simcount:47} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702005140.7431157, power=0, imported=0.0, exported=293628.5948715257)
2023-12-08 04:12:20,754 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:12:20,757 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [138, 131, 140], Scale -1
2023-12-08 04:12:20,791 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [24147, 24136, 23929, 0, 0, 0, 0], Scale -2
2023-12-08 04:12:20,811 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [5000], Scale -2
2023-12-08 04:12:20,831 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [9909, 9940, 9900], Scale -2
2023-12-08 04:12:20,855 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4870433, 1797042, 2153375, 1456453, 6126016, 2531586, 1862827, 2268040], Scale 0
2023-12-08 04:12:20,857 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[13.8, 13.100000000000001, 14.0], powers=[3259.0, 3097.0, 3278.0], voltages=[241.47, 241.36, 239.29], power_factors=[0.9909, 0.9940000000000001, 0.99], imported=6126016.0, exported=4870433.0, power=9635.0, frequency=50.0)
2023-12-08 04:12:20,864 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2023-12-08 04:12:20,881 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [0], Scale 0
2023-12-08 04:12:20,942 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7789710], Scale 0
2023-12-08 04:12:20,962 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [28, 31, 32], Scale -2
2023-12-08 04:12:20,982 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4750], Scale -2
2023-12-08 04:12:20,983 - {modules.common.component_state:100} - {DEBUG:device0} - currents sign wrong [0.28, 0.31, 0.32]
2023-12-08 04:12:20,983 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.28, 0.31, 0.32], power=-0.0, exported=7789710.0, dc_power=47.5)
2023-12-08 04:12:20,984 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2023-12-08 04:12:21,110 - {modules.common.simcount._simcount:38} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1702005130.6632395, power=0.0, imported=143333.37604219164, exported=116864.5215890633)
2023-12-08 04:12:21,111 - {modules.common.simcount._calculate:13} - {DEBUG:device0} - time passed: 0.0029021, power1: 0, power2: 0
2023-12-08 04:12:21,112 - {modules.common.simcount._calculate:29} - {DEBUG:device0} - power did not change sign. Total energy: 0
2023-12-08 04:12:21,112 - {modules.common.simcount._simcount:47} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702005141.110796, power=0.0, imported=143333.37604219164, exported=116864.5215890633)
2023-12-08 04:12:21,113 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=143333.37604219164, exported=116864.5215890633, power=0.0, soc=19.0)
2023-12-08 04:12:21,117 - {modules.common.component_context:24} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2023-12-08 04:12:21,118 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=143333.37604219164, exported=116864.5215890633, power=0.0, soc=19.0)
2023-12-08 04:12:21,158 - {modules.common.component_context:24} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:12:21,159 - {modules.common.component_context:24} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2023-12-08 04:12:21,160 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-0.0, exported=7816178.86, dc_power=None)
2023-12-08 04:12:21,161 - {modules.common.component_context:24} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2023-12-08 04:12:21,161 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-0.0, exported=7816178.86, dc_power=None)
2023-12-08 04:12:21,163 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:12:21,165 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:12:21,204 - {modules.common.component_context:24} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2023-12-08 04:12:21,205 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[13.8, 13.100000000000001, 14.0], powers=[3259.0, 3097.0, 3278.0], voltages=[241.47, 241.36, 239.29], power_factors=[0.9909, 0.9940000000000001, 0.99], imported=6126016.0, exported=4870433.0, power=9635.0, frequency=50.0)
2023-12-08 04:12:21,365 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2023-12-08 04:12:21,371 - {control.bat_all:173} - {INFO:MainThread} - -50W verbleibende Speicher-Leistung
2023-12-08 04:12:21,381 - {control.counter:138} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [62.17, 62.93, 62.34]A
2023-12-08 04:12:21,385 - {control.counter:161} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 42818.5W
2023-12-08 04:12:21,392 - {control.chargepoint.chargepoint:699} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2023-12-08 04:12:21,394 - {control.chargepoint.chargepoint:682} - {DEBUG:MainThread} - Phasenzahl Lademodus: 3
2023-12-08 04:12:21,398 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 287.173648s, Dauer 1.380952380952381h, Termin heute verpasst: False
2023-12-08 04:12:21,401 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 91010.152249s, Dauer 0.18012422360248448h, Termin heute verpasst: False
2023-12-08 04:12:21,404 - {control.ev:762} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2023-12-08 04:12:21,436 - {control.chargepoint.chargepoint:898} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 14A, Lademodus scheduled_charging, Submodus: Chargemode.INSTANT_CHARGING, Phasen: 3, Priorität: False, max. Ist-Strom: 13.34
2023-12-08 04:12:21,440 - {control.chargepoint.chargepoint:277} - {INFO:MainThread} - LP 1: Zielladen mit 14A, um einen SoC von 95%  um 05:40 zu erreichen.
2023-12-08 04:12:21,463 - {modules.common.simcount._simcount:38} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1702005130.967997, power=303.65999999999985, imported=2374389.9797186134, exported=0)
2023-12-08 04:12:21,467 - {modules.common.simcount._calculate:13} - {DEBUG:MainThread} - time passed: 0.00291548, power1: 303.66, power2: 181.5
2023-12-08 04:12:21,477 - {modules.common.simcount._calculate:29} - {DEBUG:MainThread} - power did not change sign. Total energy: 0.707238
2023-12-08 04:12:21,478 - {modules.common.simcount._simcount:47} - {DEBUG:MainThread} - imported: 0.707238 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702005141.463743, power=181.5, imported=2374390.686956958, exported=0)
2023-12-08 04:12:21,492 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=19, daily_exported=0.0, daily_imported=0.0, imported=143333.38, exported=116864.52, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2023-12-08 04:12:21,494 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=19, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=143333.38, exported=116864.52, power=0.0), set=Set(charging_power_left=-50, switch_on_soc_reached=False))
2023-12-08 04:12:21,497 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=98.14, daily_exported=0, power=9453.5, imported=6926588.87, exported=0))
2023-12-08 04:12:21,499 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 95%, 06:00 Uhr', imported_at_plan_start=6926377.93, imported_instant_charging=None, limit=None, phases=3, prio=False, required_current=14, required_currents=[14, 14, 14], 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=[13.03, 13.34, 12.97], daily_imported=98.14, daily_exported=0, evse_current=1400, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=6926588.87, phases_in_use=3, plug_state=True, power=9453.5, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Zielladen mit 14A, um einen SoC von 95%  um 05:40 zu erreichen.', voltages=[241.59, 239.48, 241.71]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=14, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', imported_at_mode_switch=6926377.93, imported_at_plugtime=6926377.93, imported_since_mode_switch=181.15000000037253, imported_since_plugged=181.15000000037253, range_charged=1.0063888888909585, time_charged='0:00', timestamp_start_charging='12/08/2023, 04:11:30'), manual_lock=False, phases_to_use=3, plug_state_prev=True, plug_time='12/07/2023, 13:07:31', required_power=9660, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x70bda6d0>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB Carport', type='internal_openwb', template=1, connected_phases=3, phase_1=2, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=1))
2023-12-08 04:12:21,500 - {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-12-08 04:12:21,501 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=1, max_current_multi_phases=16, max_current_single_phase=20, name='RFID, 20A, 11kW', rfid_enabling=True, valid_tags=['0003134583', '0003526747', '1655332554', '2585022212', '2585087748'])
2023-12-08 04:12:21,503 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[63, 63, 63], max_total_power=43000), get=Get(powers=[3259.0, 3097.0, 3278.0], currents=[13.8, 13.1, 14.0], voltages=[241.47, 241.36, 239.29], power_factors=[0.99, 0.99, 0.99], unbalanced_load=0, frequency=50.0, daily_exported=0.0, daily_imported=4131.0, imported=6126016.0, exported=4870433.0, fault_state=0, fault_str='Kein Fehler.', power=9635.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=42818.5, raw_currents_left=[62.17, 62.93, 62.34], surplus_power_left=0, state_str=''))
2023-12-08 04:12:21,504 - {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': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=181.5, invalid_home_consumption=0, daily_yield_home_consumption=5546.5169343646, imported_home_consumption=2374390.686956958, disengageable_smarthome_power=0))
2023-12-08 04:12:21,505 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2023-12-08 04:12:21,506 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Ladeprofil ***AUTO1***', disable_after_unplug=False, prio=False, load_default=True, time_charging=TimeCharging(active=True, plans={'0': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[True, True, True, True, False, False, True]), time=['22:00', '06:00'], name='Zeitladen 95%, So-Do 22:00-06:00 Uhr', current=16, limit=Limit(selected='soc', amount=1000, soc=95)), '1': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, True, True, False]), time=['22:00', '06:00'], name='Zeitladen 80%, Fr-Sa 22:00-06:00 Uhr', current=16, limit=Limit(selected='soc', amount=1000, soc=80))}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2023-12-08 04:12:21,509 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, time_charging=TimeCharging(active=True, plans={'2': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), time=['06:45', '07:00'], name='Klima 06:45-07:00 Uhr', current=6, limit=Limit(selected='none', amount=1000, soc=50)), '3': TimeChargingPlan(active=True, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, False, False, False]), time=['00:00', '23:55'], name='Immer 35%', current=10, limit=Limit(selected='soc', amount=1000, soc=35))}), chargemode=Chargemode(selected='scheduled_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={'0': ScheduledChargingPlan(active=False, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, True, False, False, False, False, False]), current=14, name='Zielladen 80%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '1': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), current=14, name='Zielladen 95%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=95), time='05:40'), '2': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once='2023-09-26', weekly=[True, False, False, True, False, True, True]), current=14, name='Zielladen 75%, 7:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=75), time='05:40')}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=80))))
2023-12-08 04:12:21,511 - {control.data:266} - {INFO:MainThread} - ev0
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=['0003134583'], get=Get(soc=0, soc_timestamp=None, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:12:21,515 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Tesla Model Y (2022)', 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=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212', '2585087748'], get=Get(soc=49.0, soc_timestamp='12/08/2023, 01:29:15', force_soc_update=False, range=220.74, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:12:21,517 - {control.data:266} - {INFO:MainThread} - ev2
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Cupra Born 58kW', 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=18000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=2, ev_template=2, name='***AUTO2***', tag_id=['1655332554'], get=Get(soc=72, soc_timestamp='12/08/2023, 04:11:28', force_soc_update=False, range=205, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:12:21,526 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40)
2023-12-08 04:12:21,528 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', 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=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40)
2023-12-08 04:12:21,529 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', 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=18000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40)
2023-12-08 04:12:21,531 - {control.data:245} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=3), pv_charging=PvCharging(bat_prio=True, charging_power_reserve=200, control_range=[-230, 230], feed_in_yield=15000, phase_switch_delay=15, phases_to_use=0, rundown_power=1000, rundown_soc=25, switch_off_delay=60, switch_off_soc=25, switch_off_threshold=50, switch_on_delay=30, switch_on_soc=50, switch_on_threshold=1400), scheduled_charging=ScheduledCharging(phases_to_use=0), time_charging=TimeCharging(phases_to_use=3), unbalanced_load_limit=20, unbalanced_load=True), control_interval=10, extern_display_mode='local', extern=False, external_buttons_hw=False, grid_protection_active=False, grid_protection_configured=True, grid_protection_random_stop=0, grid_protection_timestamp='', mqtt_bridge=False, price_kwh=0.3528, range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=True, r1_active=False, r2_active=False))
2023-12-08 04:12:21,532 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2023-12-08 04:12:21,534 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2023-12-08 04:12:21,535 - {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 0x70b62cb8>), led=Led(active=False), rfid=Rfid(active=True))
2023-12-08 04:12:21,536 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=0), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=293628.595, fault_state=0, fault_str='Kein Fehler.', power=0))
2023-12-08 04:12:21,536 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=9500), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=7816178.86, fault_state=0, fault_str='Kein Fehler.', power=-0.0))
2023-12-08 04:12:21,537 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=8109807.455, power=0.0))
2023-12-08 04:12:21,539 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2023-11-30 12:30:45 +0100 [285f5a5fb]', 'current_branch': 'Release', 'current_branch_commit': '2023-11-30 12:30:45 +0100 [285f5a5fb]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.2-Patch.1', 'datastore_version': 29, 'lastlivevaluesJson': {'timestamp': 1702005131, 'time': '04:12:11', 'grid': 9.774, 'house-power': 0.304, 'charging-all': 9.47, 'pv-all': -0.0, 'cp1-power': 9.47, 'ev1-soc': 49.0, 'ev2-soc': 72, 'bat-all-power': 0.0, 'bat-all-soc': 19}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2023-12-08 04:12:21,539 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2023-12-08 04:12:21,540 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2023-12-08 04:12:21,540 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2023-12-08 04:12:21,541 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2023-12-08 04:12:21,541 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2023-12-08 04:12:21,542 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2023-12-08 04:12:21,542 - {control.data:253} - {INFO:MainThread} - 

2023-12-08 04:12:21,542 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2023-12-08 04:12:21,543 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2023-12-08 04:12:21,544 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2023-12-08 04:12:21,545 - {control.counter:169} - {DEBUG:MainThread} - Zähler 0: [56.17, 56.93, 56.34]A verbleibende Ströme, 38678.5W verbleibende Leistung
2023-12-08 04:12:21,545 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2023-12-08 04:12:21,548 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2023-12-08 04:12:21,550 - {control.algorithm.filter_chargepoints:117} - {DEBUG:MainThread} - Geordnete Ladepunkte [1]
2023-12-08 04:12:21,550 - {control.algorithm.additional_current:26} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2023-12-08 04:12:21,551 - {control.counter:169} - {DEBUG:MainThread} - Zähler 0: [48.17, 48.93, 48.34]A verbleibende Ströme, 33158.5W verbleibende Leistung
2023-12-08 04:12:21,552 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 14A
2023-12-08 04:12:21,556 - {control.counter:211} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: 0W
2023-12-08 04:12:21,556 - {control.counter:457} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf 0W
2023-12-08 04:12:21,557 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2023-12-08 04:12:21,557 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2023-12-08 04:12:21,558 - {control.chargelog:52} - {DEBUG:MainThread} - imported_since_mode_switch 210.94000000040978 counter 6926588.87
2023-12-08 04:12:21,561 - {control.process:111} - {INFO:MainThread} - LP1: set current 14 A, state CHARGING_ALLOWED
2023-12-08 04:12:21,573 - {modules.common.component_context:24} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:12:21,609 - {control.counter:186} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2023-12-08 04:12:21,822 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2023-12-08 04:12:21,829 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2023-12-08 04:12:25,838 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2023-12-08 04:12:25,839 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2023-12-08 04:12:30,849 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2023-12-08 04:12:30,851 - {root:74} - {INFO:MainThread} - # ***Start*** 
2023-12-08 04:12:30,916 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x715cf340>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x7155e4a8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x715c75f8>}
2023-12-08 04:12:30,917 - {modules.common.component_context:24} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2023-12-08 04:12:30,918 - {modules.common.component_context:24} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:12:30,927 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2023-12-08 04:12:30,931 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2023-12-08 04:12:30,971 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 750
2023-12-08 04:12:30,974 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"cloud":{"connected":false},"input:0":{"id":0,"state":false},"mqtt":{"connected":false},"switch:0":{"id":0, "source":"loopback", "output":false, "apower":0.0, "voltage":241.6, "current":0.000, "aenergy":{"total":1505.625,"by_minute":[0.000,0.000,0.000],"minute_ts":1702005150},"temperature":{"tC":28.8, "tF":83.9}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:12","unixtime":1702005151,"uptime":1364479,"ram_size":248996,"ram_free":145264,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"beta":{"version":"1.1.0-beta2"},"stable":{"version":"1.0.8"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-68},"ws":{"connected":false}}

2023-12-08 04:12:30,976 - {modules.common.simcount._simcount:38} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1702005140.7431157, power=0, imported=0.0, exported=293628.5948715257)
2023-12-08 04:12:30,977 - {modules.common.simcount._calculate:13} - {DEBUG:device1} - time passed: 0.00284256, power1: 0, power2: 0
2023-12-08 04:12:30,977 - {modules.common.simcount._calculate:29} - {DEBUG:device1} - power did not change sign. Total energy: 0
2023-12-08 04:12:30,978 - {modules.common.simcount._simcount:47} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702005150.9763172, power=0, imported=0.0, exported=293628.5948715257)
2023-12-08 04:12:30,979 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:12:31,021 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-9675, -3303, -3099, -3272], Scale 0
2023-12-08 04:12:31,041 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [137, 129, 138], Scale -1
2023-12-08 04:12:31,062 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [24139, 24129, 23917, 0, 0, 0, 0], Scale -2
2023-12-08 04:12:31,092 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [5000], Scale -2
2023-12-08 04:12:31,121 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [9919, 9940, 9900], Scale -2
2023-12-08 04:12:31,142 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4870433, 1797042, 2153375, 1456453, 6126037, 2531593, 1862834, 2268048], Scale 0
2023-12-08 04:12:31,143 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[13.700000000000001, 12.9, 13.8], powers=[3303.0, 3099.0, 3272.0], voltages=[241.39000000000001, 241.29, 239.17000000000002], power_factors=[0.9919, 0.9940000000000001, 0.99], imported=6126037.0, exported=4870433.0, power=9675.0, frequency=50.0)
2023-12-08 04:12:31,145 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2023-12-08 04:12:31,162 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [0], Scale 0
2023-12-08 04:12:31,201 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7789710], Scale 0
2023-12-08 04:12:31,221 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [29, 31, 31], Scale -2
2023-12-08 04:12:31,261 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-5427], Scale -2
2023-12-08 04:12:31,262 - {modules.common.component_state:100} - {DEBUG:device0} - currents sign wrong [0.29, 0.31, 0.31]
2023-12-08 04:12:31,263 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.29, 0.31, 0.31], power=-0.0, exported=7789710.0, dc_power=54.27)
2023-12-08 04:12:31,265 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2023-12-08 04:12:31,302 - {modules.common.simcount._simcount:38} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1702005141.110796, power=0.0, imported=143333.37604219164, exported=116864.5215890633)
2023-12-08 04:12:31,303 - {modules.common.simcount._calculate:13} - {DEBUG:device0} - time passed: 0.00283095, power1: 0, power2: 0
2023-12-08 04:12:31,303 - {modules.common.simcount._calculate:29} - {DEBUG:device0} - power did not change sign. Total energy: 0
2023-12-08 04:12:31,304 - {modules.common.simcount._simcount:47} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702005151.3022027, power=0.0, imported=143333.37604219164, exported=116864.5215890633)
2023-12-08 04:12:31,305 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=143333.37604219164, exported=116864.5215890633, power=0.0, soc=19.0)
2023-12-08 04:12:31,311 - {modules.common.component_context:24} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2023-12-08 04:12:31,313 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=143333.37604219164, exported=116864.5215890633, power=0.0, soc=19.0)
2023-12-08 04:12:31,375 - {modules.common.component_context:24} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:12:31,377 - {modules.common.component_context:24} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2023-12-08 04:12:31,378 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-0.0, exported=7816178.86, dc_power=None)
2023-12-08 04:12:31,379 - {modules.common.component_context:24} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2023-12-08 04:12:31,379 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-0.0, exported=7816178.86, dc_power=None)
2023-12-08 04:12:31,380 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:12:31,383 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:12:31,427 - {modules.common.component_context:24} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2023-12-08 04:12:31,428 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[13.700000000000001, 12.9, 13.8], powers=[3303.0, 3099.0, 3272.0], voltages=[241.39000000000001, 241.29, 239.17000000000002], power_factors=[0.9919, 0.9940000000000001, 0.99], imported=6126037.0, exported=4870433.0, power=9675.0, frequency=50.0)
2023-12-08 04:12:31,620 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2023-12-08 04:12:31,621 - {control.bat_all:173} - {INFO:MainThread} - -50W verbleibende Speicher-Leistung
2023-12-08 04:12:31,630 - {control.counter:138} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [62.17, 62.94, 62.35]A
2023-12-08 04:12:31,632 - {control.counter:161} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 42658.93W
2023-12-08 04:12:31,634 - {control.chargepoint.chargepoint:699} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2023-12-08 04:12:31,635 - {control.chargepoint.chargepoint:682} - {DEBUG:MainThread} - Phasenzahl Lademodus: 3
2023-12-08 04:12:31,639 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 276.932692s, Dauer 1.380952380952381h, Termin heute verpasst: False
2023-12-08 04:12:31,641 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 90999.91216s, Dauer 0.18012422360248448h, Termin heute verpasst: False
2023-12-08 04:12:31,642 - {control.ev:762} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2023-12-08 04:12:31,651 - {control.chargepoint.chargepoint:898} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 14A, Lademodus scheduled_charging, Submodus: Chargemode.INSTANT_CHARGING, Phasen: 3, Priorität: False, max. Ist-Strom: 13.15
2023-12-08 04:12:31,674 - {control.chargepoint.chargepoint:277} - {INFO:MainThread} - LP 1: Zielladen mit 14A, um einen SoC von 95%  um 05:40 zu erreichen.
2023-12-08 04:12:31,679 - {modules.common.simcount._simcount:38} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1702005141.463743, power=181.5, imported=2374390.686956958, exported=0)
2023-12-08 04:12:31,680 - {modules.common.simcount._calculate:13} - {DEBUG:MainThread} - time passed: 0.0028376, power1: 181.5, power2: 341.07
2023-12-08 04:12:31,681 - {modules.common.simcount._calculate:29} - {DEBUG:MainThread} - power did not change sign. Total energy: 0.741422
2023-12-08 04:12:31,683 - {modules.common.simcount._simcount:47} - {DEBUG:MainThread} - imported: 0.741422 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702005151.6791039, power=341.0699999999997, imported=2374391.428379338, exported=0)
2023-12-08 04:12:31,687 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=19, daily_exported=0.0, daily_imported=0.0, imported=143333.38, exported=116864.52, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2023-12-08 04:12:31,689 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=19, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=143333.38, exported=116864.52, power=0.0), set=Set(charging_power_left=-50, switch_on_soc_reached=False))
2023-12-08 04:12:31,691 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=98.14, daily_exported=0, power=9333.93, imported=6926612.79, exported=0))
2023-12-08 04:12:31,693 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 95%, 06:00 Uhr', imported_at_plan_start=6926377.93, imported_instant_charging=None, limit=None, phases=3, prio=False, required_current=14, required_currents=[14, 14, 14], 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=[12.84, 13.15, 12.87], daily_imported=98.14, daily_exported=0, evse_current=1400, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=6926612.79, phases_in_use=3, plug_state=True, power=9333.93, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Zielladen mit 14A, um einen SoC von 95%  um 05:40 zu erreichen.', voltages=[241.56, 239.5, 241.59]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=14, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', imported_at_mode_switch=6926377.93, imported_at_plugtime=6926377.93, imported_since_mode_switch=210.94000000040978, imported_since_plugged=210.94000000040978, range_charged=1.1718888888911654, time_charged='0:00', timestamp_start_charging='12/08/2023, 04:11:30'), manual_lock=False, phases_to_use=3, plug_state_prev=True, plug_time='12/07/2023, 13:07:31', required_power=9660, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x70beb1a8>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB Carport', type='internal_openwb', template=1, connected_phases=3, phase_1=2, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=1))
2023-12-08 04:12:31,694 - {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-12-08 04:12:31,696 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=1, max_current_multi_phases=16, max_current_single_phase=20, name='RFID, 20A, 11kW', rfid_enabling=True, valid_tags=['0003134583', '0003526747', '1655332554', '2585022212', '2585087748'])
2023-12-08 04:12:31,697 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[63, 63, 63], max_total_power=43000), get=Get(powers=[3303.0, 3099.0, 3272.0], currents=[13.7, 12.9, 13.8], voltages=[241.39, 241.29, 239.17], power_factors=[0.99, 0.99, 0.99], unbalanced_load=0, frequency=50.0, daily_exported=0.0, daily_imported=4131.0, imported=6126037.0, exported=4870433.0, fault_state=0, fault_str='Kein Fehler.', power=9675.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=42658.93, raw_currents_left=[62.17, 62.94, 62.35], surplus_power_left=0, state_str=''))
2023-12-08 04:12:31,698 - {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': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=341.0699999999997, invalid_home_consumption=0, daily_yield_home_consumption=5546.5169343646, imported_home_consumption=2374391.428379338, disengageable_smarthome_power=0))
2023-12-08 04:12:31,699 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2023-12-08 04:12:31,704 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Ladeprofil ***AUTO1***', disable_after_unplug=False, prio=False, load_default=True, time_charging=TimeCharging(active=True, plans={'0': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[True, True, True, True, False, False, True]), time=['22:00', '06:00'], name='Zeitladen 95%, So-Do 22:00-06:00 Uhr', current=16, limit=Limit(selected='soc', amount=1000, soc=95)), '1': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, True, True, False]), time=['22:00', '06:00'], name='Zeitladen 80%, Fr-Sa 22:00-06:00 Uhr', current=16, limit=Limit(selected='soc', amount=1000, soc=80))}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2023-12-08 04:12:31,706 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, time_charging=TimeCharging(active=True, plans={'2': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), time=['06:45', '07:00'], name='Klima 06:45-07:00 Uhr', current=6, limit=Limit(selected='none', amount=1000, soc=50)), '3': TimeChargingPlan(active=True, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, False, False, False]), time=['00:00', '23:55'], name='Immer 35%', current=10, limit=Limit(selected='soc', amount=1000, soc=35))}), chargemode=Chargemode(selected='scheduled_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={'0': ScheduledChargingPlan(active=False, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, True, False, False, False, False, False]), current=14, name='Zielladen 80%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '1': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), current=14, name='Zielladen 95%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=95), time='05:40'), '2': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once='2023-09-26', weekly=[True, False, False, True, False, True, True]), current=14, name='Zielladen 75%, 7:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=75), time='05:40')}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=80))))
2023-12-08 04:12:31,708 - {control.data:266} - {INFO:MainThread} - ev0
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=['0003134583'], get=Get(soc=0, soc_timestamp=None, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:12:31,710 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Tesla Model Y (2022)', 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=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212', '2585087748'], get=Get(soc=49.0, soc_timestamp='12/08/2023, 01:29:15', force_soc_update=False, range=220.74, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:12:31,715 - {control.data:266} - {INFO:MainThread} - ev2
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Cupra Born 58kW', 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=18000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=2, ev_template=2, name='***AUTO2***', tag_id=['1655332554'], get=Get(soc=72, soc_timestamp='12/08/2023, 04:12:23', force_soc_update=False, range=205, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:12:31,716 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40)
2023-12-08 04:12:31,719 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', 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=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40)
2023-12-08 04:12:31,720 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', 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=18000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40)
2023-12-08 04:12:31,721 - {control.data:245} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=3), pv_charging=PvCharging(bat_prio=True, charging_power_reserve=200, control_range=[-230, 230], feed_in_yield=15000, phase_switch_delay=15, phases_to_use=0, rundown_power=1000, rundown_soc=25, switch_off_delay=60, switch_off_soc=25, switch_off_threshold=50, switch_on_delay=30, switch_on_soc=50, switch_on_threshold=1400), scheduled_charging=ScheduledCharging(phases_to_use=0), time_charging=TimeCharging(phases_to_use=3), unbalanced_load_limit=20, unbalanced_load=True), control_interval=10, extern_display_mode='local', extern=False, external_buttons_hw=False, grid_protection_active=False, grid_protection_configured=True, grid_protection_random_stop=0, grid_protection_timestamp='', mqtt_bridge=False, price_kwh=0.3528, range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=True, r1_active=False, r2_active=False))
2023-12-08 04:12:31,723 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2023-12-08 04:12:31,724 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2023-12-08 04:12:31,724 - {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 0x715cf250>), led=Led(active=False), rfid=Rfid(active=True))
2023-12-08 04:12:31,727 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=0), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=293628.595, fault_state=0, fault_str='Kein Fehler.', power=0))
2023-12-08 04:12:31,733 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=9500), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=7816178.86, fault_state=0, fault_str='Kein Fehler.', power=-0.0))
2023-12-08 04:12:31,739 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=8109807.455, power=0.0))
2023-12-08 04:12:31,740 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2023-11-30 12:30:45 +0100 [285f5a5fb]', 'current_branch': 'Release', 'current_branch_commit': '2023-11-30 12:30:45 +0100 [285f5a5fb]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.2-Patch.1', 'datastore_version': 29, 'lastlivevaluesJson': {'timestamp': 1702005141, 'time': '04:12:21', 'grid': 9.635, 'house-power': 0.181, 'charging-all': 9.454, 'pv-all': -0.0, 'cp1-power': 9.454, 'ev1-soc': 49.0, 'ev2-soc': 72, 'bat-all-power': 0.0, 'bat-all-soc': 19}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2023-12-08 04:12:31,741 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2023-12-08 04:12:31,742 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2023-12-08 04:12:31,744 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2023-12-08 04:12:31,746 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2023-12-08 04:12:31,750 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2023-12-08 04:12:31,751 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2023-12-08 04:12:31,754 - {control.data:253} - {INFO:MainThread} - 

2023-12-08 04:12:31,760 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2023-12-08 04:12:31,761 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2023-12-08 04:12:31,762 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2023-12-08 04:12:31,764 - {control.counter:169} - {DEBUG:MainThread} - Zähler 0: [56.17, 56.94, 56.35]A verbleibende Ströme, 38518.93W verbleibende Leistung
2023-12-08 04:12:31,765 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2023-12-08 04:12:31,768 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2023-12-08 04:12:31,770 - {control.algorithm.filter_chargepoints:117} - {DEBUG:MainThread} - Geordnete Ladepunkte [1]
2023-12-08 04:12:31,773 - {control.algorithm.additional_current:26} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2023-12-08 04:12:31,774 - {control.counter:169} - {DEBUG:MainThread} - Zähler 0: [48.17, 48.94, 48.35]A verbleibende Ströme, 32998.93W verbleibende Leistung
2023-12-08 04:12:31,776 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 14A
2023-12-08 04:12:31,783 - {control.counter:211} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: 0W
2023-12-08 04:12:31,785 - {control.counter:457} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf 0W
2023-12-08 04:12:31,791 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2023-12-08 04:12:31,791 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2023-12-08 04:12:31,794 - {control.chargelog:52} - {DEBUG:MainThread} - imported_since_mode_switch 234.86000000033528 counter 6926612.79
2023-12-08 04:12:31,802 - {control.process:111} - {INFO:MainThread} - LP1: set current 14 A, state CHARGING_ALLOWED
2023-12-08 04:12:31,806 - {modules.common.component_context:24} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:12:31,839 - {control.counter:186} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2023-12-08 04:12:32,132 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2023-12-08 04:12:35,197 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2023-12-08 04:12:35,198 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2023-12-08 04:12:40,212 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2023-12-08 04:12:40,213 - {root:74} - {INFO:MainThread} - # ***Start*** 
2023-12-08 04:12:40,259 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x715cf340>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x7155e4a8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x715c75f8>}
2023-12-08 04:12:40,260 - {modules.common.component_context:24} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2023-12-08 04:12:40,267 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2023-12-08 04:12:40,270 - {modules.common.component_context:24} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:12:40,271 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2023-12-08 04:12:40,301 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-9634, -3254, -3098, -3281], Scale 0
2023-12-08 04:12:40,312 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 750
2023-12-08 04:12:40,314 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"cloud":{"connected":false},"input:0":{"id":0,"state":false},"mqtt":{"connected":false},"switch:0":{"id":0, "source":"loopback", "output":false, "apower":0.0, "voltage":241.6, "current":0.000, "aenergy":{"total":1505.625,"by_minute":[0.000,0.000,0.000],"minute_ts":1702005159},"temperature":{"tC":28.8, "tF":83.9}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:12","unixtime":1702005160,"uptime":1364488,"ram_size":248996,"ram_free":145264,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"beta":{"version":"1.1.0-beta2"},"stable":{"version":"1.0.8"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-68},"ws":{"connected":false}}

2023-12-08 04:12:40,317 - {modules.common.simcount._simcount:38} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1702005150.9763172, power=0, imported=0.0, exported=293628.5948715257)
2023-12-08 04:12:40,317 - {modules.common.simcount._calculate:13} - {DEBUG:device1} - time passed: 0.00259465, power1: 0, power2: 0
2023-12-08 04:12:40,318 - {modules.common.simcount._calculate:29} - {DEBUG:device1} - power did not change sign. Total energy: 0
2023-12-08 04:12:40,319 - {modules.common.simcount._simcount:47} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702005160.3170683, power=0, imported=0.0, exported=293628.5948715257)
2023-12-08 04:12:40,321 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [137, 129, 138], Scale -1
2023-12-08 04:12:40,322 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:12:40,343 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [24116, 24114, 23894, 0, 0, 0, 0], Scale -2
2023-12-08 04:12:40,389 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4999], Scale -2
2023-12-08 04:12:40,409 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [9869, 9950, 9909], Scale -2
2023-12-08 04:12:40,430 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4870433, 1797042, 2153375, 1456453, 6126081, 2531608, 1862848, 2268062], Scale 0
2023-12-08 04:12:40,430 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[13.700000000000001, 12.9, 13.8], powers=[3254.0, 3098.0, 3281.0], voltages=[241.16, 241.14000000000001, 238.94], power_factors=[0.9869, 0.995, 0.9909], imported=6126081.0, exported=4870433.0, power=9634.0, frequency=49.99)
2023-12-08 04:12:40,435 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2023-12-08 04:12:40,452 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [0], Scale 0
2023-12-08 04:12:40,520 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7789710], Scale 0
2023-12-08 04:12:40,541 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [29, 31, 31], Scale -2
2023-12-08 04:12:40,561 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4395], Scale -2
2023-12-08 04:12:40,562 - {modules.common.component_state:100} - {DEBUG:device0} - currents sign wrong [0.29, 0.31, 0.31]
2023-12-08 04:12:40,562 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.29, 0.31, 0.31], power=-0.0, exported=7789710.0, dc_power=43.95)
2023-12-08 04:12:40,564 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2023-12-08 04:12:40,641 - {modules.common.simcount._simcount:38} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1702005151.3022027, power=0.0, imported=143333.37604219164, exported=116864.5215890633)
2023-12-08 04:12:40,642 - {modules.common.simcount._calculate:13} - {DEBUG:device0} - time passed: 0.00259414, power1: 0, power2: 0
2023-12-08 04:12:40,642 - {modules.common.simcount._calculate:29} - {DEBUG:device0} - power did not change sign. Total energy: 0
2023-12-08 04:12:40,643 - {modules.common.simcount._simcount:47} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702005160.641091, power=0.0, imported=143333.37604219164, exported=116864.5215890633)
2023-12-08 04:12:40,644 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=143333.37604219164, exported=116864.5215890633, power=0.0, soc=19.0)
2023-12-08 04:12:40,652 - {modules.common.component_context:24} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2023-12-08 04:12:40,653 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=143333.37604219164, exported=116864.5215890633, power=0.0, soc=19.0)
2023-12-08 04:12:40,694 - {modules.common.component_context:24} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:12:40,695 - {modules.common.component_context:24} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2023-12-08 04:12:40,696 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-0.0, exported=7816178.86, dc_power=None)
2023-12-08 04:12:40,697 - {modules.common.component_context:24} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2023-12-08 04:12:40,698 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-0.0, exported=7816178.86, dc_power=None)
2023-12-08 04:12:40,699 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:12:40,704 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:12:40,747 - {modules.common.component_context:24} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2023-12-08 04:12:40,748 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[13.700000000000001, 12.9, 13.8], powers=[3254.0, 3098.0, 3281.0], voltages=[241.16, 241.14000000000001, 238.94], power_factors=[0.9869, 0.995, 0.9909], imported=6126081.0, exported=4870433.0, power=9634.0, frequency=49.99)
2023-12-08 04:12:40,919 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2023-12-08 04:12:40,921 - {control.bat_all:173} - {INFO:MainThread} - -50W verbleibende Speicher-Leistung
2023-12-08 04:12:40,925 - {control.counter:138} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [62.14, 62.94, 62.37]A
2023-12-08 04:12:40,927 - {control.counter:161} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 42691.3W
2023-12-08 04:12:40,932 - {control.chargepoint.chargepoint:699} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2023-12-08 04:12:40,934 - {control.chargepoint.chargepoint:682} - {DEBUG:MainThread} - Phasenzahl Lademodus: 3
2023-12-08 04:12:40,936 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 267.635968s, Dauer 1.380952380952381h, Termin heute verpasst: False
2023-12-08 04:12:40,938 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 90990.615155s, Dauer 0.18012422360248448h, Termin heute verpasst: False
2023-12-08 04:12:40,939 - {control.ev:762} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2023-12-08 04:12:40,942 - {control.chargepoint.chargepoint:898} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 14A, Lademodus scheduled_charging, Submodus: Chargemode.INSTANT_CHARGING, Phasen: 3, Priorität: False, max. Ist-Strom: 13.17
2023-12-08 04:12:40,943 - {control.chargepoint.chargepoint:277} - {INFO:MainThread} - LP 1: Zielladen mit 14A, um einen SoC von 95%  um 05:40 zu erreichen.
2023-12-08 04:12:40,977 - {modules.common.simcount._simcount:38} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1702005151.6791039, power=341.0699999999997, imported=2374391.428379338, exported=0)
2023-12-08 04:12:40,979 - {modules.common.simcount._calculate:13} - {DEBUG:MainThread} - time passed: 0.00258283, power1: 341.07, power2: 308.7
2023-12-08 04:12:40,980 - {modules.common.simcount._calculate:29} - {DEBUG:MainThread} - power did not change sign. Total energy: 0.839123
2023-12-08 04:12:40,981 - {modules.common.simcount._simcount:47} - {DEBUG:MainThread} - imported: 0.839123 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702005160.9772918, power=308.7000000000007, imported=2374392.2675020597, exported=0)
2023-12-08 04:12:40,984 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=19, daily_exported=0.0, daily_imported=0.0, imported=143333.38, exported=116864.52, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2023-12-08 04:12:40,993 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=19, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=143333.38, exported=116864.52, power=0.0), set=Set(charging_power_left=-50, switch_on_soc_reached=False))
2023-12-08 04:12:40,997 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=98.14, daily_exported=0, power=9325.3, imported=6926637.21, exported=0))
2023-12-08 04:12:41,003 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 95%, 06:00 Uhr', imported_at_plan_start=6926377.93, imported_instant_charging=None, limit=None, phases=3, prio=False, required_current=14, required_currents=[14, 14, 14], 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=[12.84, 13.17, 12.84], daily_imported=98.14, daily_exported=0, evse_current=1400, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=6926637.21, phases_in_use=3, plug_state=True, power=9325.3, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Zielladen mit 14A, um einen SoC von 95%  um 05:40 zu erreichen.', voltages=[241.55, 239.31, 241.54]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=14, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', imported_at_mode_switch=6926377.93, imported_at_plugtime=6926377.93, imported_since_mode_switch=234.86000000033528, imported_since_plugged=234.86000000033528, range_charged=1.3047777777796403, time_charged='0:01', timestamp_start_charging='12/08/2023, 04:11:30'), manual_lock=False, phases_to_use=3, plug_state_prev=True, plug_time='12/07/2023, 13:07:31', required_power=9660, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x7157b850>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB Carport', type='internal_openwb', template=1, connected_phases=3, phase_1=2, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=1))
2023-12-08 04:12:41,004 - {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-12-08 04:12:41,005 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=1, max_current_multi_phases=16, max_current_single_phase=20, name='RFID, 20A, 11kW', rfid_enabling=True, valid_tags=['0003134583', '0003526747', '1655332554', '2585022212', '2585087748'])
2023-12-08 04:12:41,007 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[63, 63, 63], max_total_power=43000), get=Get(powers=[3254.0, 3098.0, 3281.0], currents=[13.7, 12.9, 13.8], voltages=[241.16, 241.14, 238.94], power_factors=[0.99, 0.99, 0.99], unbalanced_load=0, frequency=49.99, daily_exported=0.0, daily_imported=4131.0, imported=6126081.0, exported=4870433.0, fault_state=0, fault_str='Kein Fehler.', power=9634.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=42691.3, raw_currents_left=[62.14, 62.94, 62.37], surplus_power_left=0, state_str=''))
2023-12-08 04:12:41,008 - {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': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=308.7000000000007, invalid_home_consumption=0, daily_yield_home_consumption=5546.5169343646, imported_home_consumption=2374392.2675020597, disengageable_smarthome_power=0))
2023-12-08 04:12:41,011 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2023-12-08 04:12:41,014 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Ladeprofil ***AUTO1***', disable_after_unplug=False, prio=False, load_default=True, time_charging=TimeCharging(active=True, plans={'0': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[True, True, True, True, False, False, True]), time=['22:00', '06:00'], name='Zeitladen 95%, So-Do 22:00-06:00 Uhr', current=16, limit=Limit(selected='soc', amount=1000, soc=95)), '1': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, True, True, False]), time=['22:00', '06:00'], name='Zeitladen 80%, Fr-Sa 22:00-06:00 Uhr', current=16, limit=Limit(selected='soc', amount=1000, soc=80))}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2023-12-08 04:12:41,016 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, time_charging=TimeCharging(active=True, plans={'2': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), time=['06:45', '07:00'], name='Klima 06:45-07:00 Uhr', current=6, limit=Limit(selected='none', amount=1000, soc=50)), '3': TimeChargingPlan(active=True, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, False, False, False]), time=['00:00', '23:55'], name='Immer 35%', current=10, limit=Limit(selected='soc', amount=1000, soc=35))}), chargemode=Chargemode(selected='scheduled_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={'0': ScheduledChargingPlan(active=False, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, True, False, False, False, False, False]), current=14, name='Zielladen 80%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '1': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), current=14, name='Zielladen 95%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=95), time='05:40'), '2': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once='2023-09-26', weekly=[True, False, False, True, False, True, True]), current=14, name='Zielladen 75%, 7:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=75), time='05:40')}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=80))))
2023-12-08 04:12:41,017 - {control.data:266} - {INFO:MainThread} - ev0
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=['0003134583'], get=Get(soc=0, soc_timestamp=None, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:12:41,019 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Tesla Model Y (2022)', 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=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212', '2585087748'], get=Get(soc=49.0, soc_timestamp='12/08/2023, 01:29:15', force_soc_update=False, range=220.74, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:12:41,021 - {control.data:266} - {INFO:MainThread} - ev2
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Cupra Born 58kW', 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=18000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=2, ev_template=2, name='***AUTO2***', tag_id=['1655332554'], get=Get(soc=72, soc_timestamp='12/08/2023, 04:12:23', force_soc_update=False, range=205, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:12:41,023 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40)
2023-12-08 04:12:41,024 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', 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=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40)
2023-12-08 04:12:41,026 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', 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=18000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40)
2023-12-08 04:12:41,028 - {control.data:245} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=3), pv_charging=PvCharging(bat_prio=True, charging_power_reserve=200, control_range=[-230, 230], feed_in_yield=15000, phase_switch_delay=15, phases_to_use=0, rundown_power=1000, rundown_soc=25, switch_off_delay=60, switch_off_soc=25, switch_off_threshold=50, switch_on_delay=30, switch_on_soc=50, switch_on_threshold=1400), scheduled_charging=ScheduledCharging(phases_to_use=0), time_charging=TimeCharging(phases_to_use=3), unbalanced_load_limit=20, unbalanced_load=True), control_interval=10, extern_display_mode='local', extern=False, external_buttons_hw=False, grid_protection_active=False, grid_protection_configured=True, grid_protection_random_stop=0, grid_protection_timestamp='', mqtt_bridge=False, price_kwh=0.3528, range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=True, r1_active=False, r2_active=False))
2023-12-08 04:12:41,032 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2023-12-08 04:12:41,033 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2023-12-08 04:12:41,033 - {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 0x7157bf58>), led=Led(active=False), rfid=Rfid(active=True))
2023-12-08 04:12:41,035 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=0), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=293628.595, fault_state=0, fault_str='Kein Fehler.', power=0))
2023-12-08 04:12:41,035 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=9500), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=7816178.86, fault_state=0, fault_str='Kein Fehler.', power=-0.0))
2023-12-08 04:12:41,037 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=8109807.455, power=0.0))
2023-12-08 04:12:41,038 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2023-11-30 12:30:45 +0100 [285f5a5fb]', 'current_branch': 'Release', 'current_branch_commit': '2023-11-30 12:30:45 +0100 [285f5a5fb]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.2-Patch.1', 'datastore_version': 29, 'lastlivevaluesJson': {'timestamp': 1702005151, 'time': '04:12:31', 'grid': 9.675, 'house-power': 0.341, 'charging-all': 9.334, 'pv-all': -0.0, 'cp1-power': 9.334, 'ev1-soc': 49.0, 'ev2-soc': 72, 'bat-all-power': 0.0, 'bat-all-soc': 19}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2023-12-08 04:12:41,039 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2023-12-08 04:12:41,046 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2023-12-08 04:12:41,047 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2023-12-08 04:12:41,048 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2023-12-08 04:12:41,049 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2023-12-08 04:12:41,050 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2023-12-08 04:12:41,053 - {control.data:253} - {INFO:MainThread} - 

2023-12-08 04:12:41,053 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2023-12-08 04:12:41,060 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2023-12-08 04:12:41,061 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2023-12-08 04:12:41,063 - {control.counter:169} - {DEBUG:MainThread} - Zähler 0: [56.14, 56.94, 56.37]A verbleibende Ströme, 38551.3W verbleibende Leistung
2023-12-08 04:12:41,064 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2023-12-08 04:12:41,068 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2023-12-08 04:12:41,070 - {control.algorithm.filter_chargepoints:117} - {DEBUG:MainThread} - Geordnete Ladepunkte [1]
2023-12-08 04:12:41,072 - {control.algorithm.additional_current:26} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2023-12-08 04:12:41,074 - {control.counter:169} - {DEBUG:MainThread} - Zähler 0: [48.14, 48.94, 48.37]A verbleibende Ströme, 33031.3W verbleibende Leistung
2023-12-08 04:12:41,077 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 14A
2023-12-08 04:12:41,081 - {control.counter:211} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: 0W
2023-12-08 04:12:41,082 - {control.counter:457} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf 0W
2023-12-08 04:12:41,083 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2023-12-08 04:12:41,084 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2023-12-08 04:12:41,086 - {control.chargelog:52} - {DEBUG:MainThread} - imported_since_mode_switch 259.28000000026077 counter 6926637.21
2023-12-08 04:12:41,090 - {control.process:111} - {INFO:MainThread} - LP1: set current 14 A, state CHARGING_ALLOWED
2023-12-08 04:12:41,092 - {modules.common.component_context:24} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:12:41,120 - {control.counter:186} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2023-12-08 04:12:41,525 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2023-12-08 04:12:41,532 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2023-12-08 04:12:45,547 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2023-12-08 04:12:45,548 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2023-12-08 04:12:50,560 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2023-12-08 04:12:50,560 - {root:74} - {INFO:MainThread} - # ***Start*** 
2023-12-08 04:12:50,602 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x715cf340>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x7155e4a8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x715c75f8>}
2023-12-08 04:12:50,607 - {modules.common.component_context:24} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2023-12-08 04:12:50,608 - {modules.common.component_context:24} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:12:50,619 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2023-12-08 04:12:50,627 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2023-12-08 04:12:50,660 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-9610, -3256, -3102, -3252], Scale 0
2023-12-08 04:12:50,676 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 750
2023-12-08 04:12:50,680 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"cloud":{"connected":false},"input:0":{"id":0,"state":false},"mqtt":{"connected":false},"switch:0":{"id":0, "source":"loopback", "output":false, "apower":0.0, "voltage":241.7, "current":0.000, "aenergy":{"total":1505.625,"by_minute":[0.000,0.000,0.000],"minute_ts":1702005170},"temperature":{"tC":28.8, "tF":83.9}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:12","unixtime":1702005171,"uptime":1364498,"ram_size":248996,"ram_free":145264,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"beta":{"version":"1.1.0-beta2"},"stable":{"version":"1.0.8"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-70},"ws":{"connected":false}}

2023-12-08 04:12:50,683 - {modules.common.simcount._simcount:38} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1702005160.3170683, power=0, imported=0.0, exported=293628.5948715257)
2023-12-08 04:12:50,685 - {modules.common.simcount._calculate:13} - {DEBUG:device1} - time passed: 0.00287956, power1: 0, power2: 0
2023-12-08 04:12:50,686 - {modules.common.simcount._calculate:29} - {DEBUG:device1} - power did not change sign. Total energy: 0
2023-12-08 04:12:50,688 - {modules.common.simcount._simcount:47} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702005170.6834793, power=0, imported=0.0, exported=293628.5948715257)
2023-12-08 04:12:50,690 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:12:50,692 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [135, 129, 138], Scale -1
2023-12-08 04:12:50,736 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [24127, 24119, 23908, 0, 0, 0, 0], Scale -2
2023-12-08 04:12:50,771 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [5000], Scale -2
2023-12-08 04:12:50,792 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [9929, 9940, 9909], Scale -2
2023-12-08 04:12:50,913 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4870433, 1797042, 2153375, 1456453, 6126102, 2531615, 1862855, 2268070], Scale 0
2023-12-08 04:12:50,914 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[13.5, 12.9, 13.8], powers=[3256.0, 3102.0, 3252.0], voltages=[241.27, 241.19, 239.08], power_factors=[0.9929000000000001, 0.9940000000000001, 0.9909], imported=6126102.0, exported=4870433.0, power=9610.0, frequency=50.0)
2023-12-08 04:12:50,915 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2023-12-08 04:12:50,942 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [0], Scale 0
2023-12-08 04:12:50,961 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7789710], Scale 0
2023-12-08 04:12:50,981 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [28, 29, 31], Scale -2
2023-12-08 04:12:51,001 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4814], Scale -2
2023-12-08 04:12:51,002 - {modules.common.component_state:100} - {DEBUG:device0} - currents sign wrong [0.28, 0.29, 0.31]
2023-12-08 04:12:51,002 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.28, 0.29, 0.31], power=-0.0, exported=7789710.0, dc_power=48.14)
2023-12-08 04:12:51,003 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2023-12-08 04:12:51,062 - {modules.common.simcount._simcount:38} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1702005160.641091, power=0.0, imported=143333.37604219164, exported=116864.5215890633)
2023-12-08 04:12:51,062 - {modules.common.simcount._calculate:13} - {DEBUG:device0} - time passed: 0.00289471, power1: 0, power2: 0
2023-12-08 04:12:51,063 - {modules.common.simcount._calculate:29} - {DEBUG:device0} - power did not change sign. Total energy: 0
2023-12-08 04:12:51,063 - {modules.common.simcount._simcount:47} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702005171.062062, power=0.0, imported=143333.37604219164, exported=116864.5215890633)
2023-12-08 04:12:51,064 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=143333.37604219164, exported=116864.5215890633, power=0.0, soc=19.0)
2023-12-08 04:12:51,069 - {modules.common.component_context:24} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2023-12-08 04:12:51,070 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=143333.37604219164, exported=116864.5215890633, power=0.0, soc=19.0)
2023-12-08 04:12:51,107 - {modules.common.component_context:24} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:12:51,107 - {modules.common.component_context:24} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2023-12-08 04:12:51,108 - {modules.common.component_context:24} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2023-12-08 04:12:51,109 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-0.0, exported=7816178.86, dc_power=None)
2023-12-08 04:12:51,109 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:12:51,110 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-0.0, exported=7816178.86, dc_power=None)
2023-12-08 04:12:51,110 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:12:51,177 - {modules.common.component_context:24} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2023-12-08 04:12:51,177 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[13.5, 12.9, 13.8], powers=[3256.0, 3102.0, 3252.0], voltages=[241.27, 241.19, 239.08], power_factors=[0.9929000000000001, 0.9940000000000001, 0.9909], imported=6126102.0, exported=4870433.0, power=9610.0, frequency=50.0)
2023-12-08 04:12:51,353 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2023-12-08 04:12:51,354 - {control.bat_all:173} - {INFO:MainThread} - -50W verbleibende Speicher-Leistung
2023-12-08 04:12:51,356 - {control.counter:138} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [62.28, 62.93, 62.32]A
2023-12-08 04:12:51,357 - {control.counter:161} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 42702.479999999996W
2023-12-08 04:12:51,360 - {control.chargepoint.chargepoint:699} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2023-12-08 04:12:51,361 - {control.chargepoint.chargepoint:682} - {DEBUG:MainThread} - Phasenzahl Lademodus: 3
2023-12-08 04:12:51,363 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 257.208006s, Dauer 1.380952380952381h, Termin heute verpasst: False
2023-12-08 04:12:51,365 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 90980.188126s, Dauer 0.18012422360248448h, Termin heute verpasst: False
2023-12-08 04:12:51,366 - {control.ev:762} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2023-12-08 04:12:51,371 - {control.chargepoint.chargepoint:898} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 14A, Lademodus scheduled_charging, Submodus: Chargemode.INSTANT_CHARGING, Phasen: 3, Priorität: False, max. Ist-Strom: 13.12
2023-12-08 04:12:51,372 - {control.chargepoint.chargepoint:277} - {INFO:MainThread} - LP 1: Zielladen mit 14A, um einen SoC von 95%  um 05:40 zu erreichen.
2023-12-08 04:12:51,378 - {modules.common.simcount._simcount:38} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1702005160.9772918, power=308.7000000000007, imported=2374392.2675020597, exported=0)
2023-12-08 04:12:51,381 - {modules.common.simcount._calculate:13} - {DEBUG:MainThread} - time passed: 0.00288895, power1: 308.7, power2: 297.52
2023-12-08 04:12:51,383 - {modules.common.simcount._calculate:29} - {DEBUG:MainThread} - power did not change sign. Total energy: 0.875669
2023-12-08 04:12:51,384 - {modules.common.simcount._simcount:47} - {DEBUG:MainThread} - imported: 0.875669 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702005171.3775048, power=297.52000000000044, imported=2374393.143171105, exported=0)
2023-12-08 04:12:51,387 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=19, daily_exported=0.0, daily_imported=0.0, imported=143333.38, exported=116864.52, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2023-12-08 04:12:51,396 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=19, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=143333.38, exported=116864.52, power=0.0), set=Set(charging_power_left=-50, switch_on_soc_reached=False))
2023-12-08 04:12:51,399 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=98.14, daily_exported=0, power=9312.48, imported=6926666.02, exported=0))
2023-12-08 04:12:51,401 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 95%, 06:00 Uhr', imported_at_plan_start=6926377.93, imported_instant_charging=None, limit=None, phases=3, prio=False, required_current=14, required_currents=[14, 14, 14], 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=[12.83, 13.12, 12.78], daily_imported=98.14, daily_exported=0, evse_current=1400, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=6926666.02, phases_in_use=3, plug_state=True, power=9312.48, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Zielladen mit 14A, um einen SoC von 95%  um 05:40 zu erreichen.', voltages=[241.64, 239.49, 241.66]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=14, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', imported_at_mode_switch=6926377.93, imported_at_plugtime=6926377.93, imported_since_mode_switch=259.28000000026077, imported_since_plugged=259.28000000026077, range_charged=1.4404444444458933, time_charged='0:01', timestamp_start_charging='12/08/2023, 04:11:30'), manual_lock=False, phases_to_use=3, plug_state_prev=True, plug_time='12/07/2023, 13:07:31', required_power=9660, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x715c7f40>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB Carport', type='internal_openwb', template=1, connected_phases=3, phase_1=2, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=1))
2023-12-08 04:12:51,402 - {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-12-08 04:12:51,404 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=1, max_current_multi_phases=16, max_current_single_phase=20, name='RFID, 20A, 11kW', rfid_enabling=True, valid_tags=['0003134583', '0003526747', '1655332554', '2585022212', '2585087748'])
2023-12-08 04:12:51,405 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[63, 63, 63], max_total_power=43000), get=Get(powers=[3256.0, 3102.0, 3252.0], currents=[13.5, 12.9, 13.8], voltages=[241.27, 241.19, 239.08], power_factors=[0.99, 0.99, 0.99], unbalanced_load=0, frequency=50.0, daily_exported=0.0, daily_imported=4131.0, imported=6126102.0, exported=4870433.0, fault_state=0, fault_str='Kein Fehler.', power=9610.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=42702.479999999996, raw_currents_left=[62.28, 62.93, 62.32], surplus_power_left=0, state_str=''))
2023-12-08 04:12:51,406 - {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': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=297.52000000000044, invalid_home_consumption=0, daily_yield_home_consumption=5546.5169343646, imported_home_consumption=2374393.143171105, disengageable_smarthome_power=0))
2023-12-08 04:12:51,407 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2023-12-08 04:12:51,413 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Ladeprofil ***AUTO1***', disable_after_unplug=False, prio=False, load_default=True, time_charging=TimeCharging(active=True, plans={'0': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[True, True, True, True, False, False, True]), time=['22:00', '06:00'], name='Zeitladen 95%, So-Do 22:00-06:00 Uhr', current=16, limit=Limit(selected='soc', amount=1000, soc=95)), '1': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, True, True, False]), time=['22:00', '06:00'], name='Zeitladen 80%, Fr-Sa 22:00-06:00 Uhr', current=16, limit=Limit(selected='soc', amount=1000, soc=80))}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2023-12-08 04:12:51,414 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, time_charging=TimeCharging(active=True, plans={'2': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), time=['06:45', '07:00'], name='Klima 06:45-07:00 Uhr', current=6, limit=Limit(selected='none', amount=1000, soc=50)), '3': TimeChargingPlan(active=True, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, False, False, False]), time=['00:00', '23:55'], name='Immer 35%', current=10, limit=Limit(selected='soc', amount=1000, soc=35))}), chargemode=Chargemode(selected='scheduled_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={'0': ScheduledChargingPlan(active=False, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, True, False, False, False, False, False]), current=14, name='Zielladen 80%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '1': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), current=14, name='Zielladen 95%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=95), time='05:40'), '2': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once='2023-09-26', weekly=[True, False, False, True, False, True, True]), current=14, name='Zielladen 75%, 7:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=75), time='05:40')}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=80))))
2023-12-08 04:12:51,418 - {control.data:266} - {INFO:MainThread} - ev0
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=['0003134583'], get=Get(soc=0, soc_timestamp=None, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:12:51,419 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Tesla Model Y (2022)', 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=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212', '2585087748'], get=Get(soc=49.0, soc_timestamp='12/08/2023, 01:29:15', force_soc_update=False, range=220.74, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:12:51,420 - {control.data:266} - {INFO:MainThread} - ev2
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Cupra Born 58kW', 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=18000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=2, ev_template=2, name='***AUTO2***', tag_id=['1655332554'], get=Get(soc=72, soc_timestamp='12/08/2023, 04:12:23', force_soc_update=False, range=205, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:12:51,421 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40)
2023-12-08 04:12:51,422 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', 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=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40)
2023-12-08 04:12:51,424 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', 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=18000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40)
2023-12-08 04:12:51,426 - {control.data:245} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=3), pv_charging=PvCharging(bat_prio=True, charging_power_reserve=200, control_range=[-230, 230], feed_in_yield=15000, phase_switch_delay=15, phases_to_use=0, rundown_power=1000, rundown_soc=25, switch_off_delay=60, switch_off_soc=25, switch_off_threshold=50, switch_on_delay=30, switch_on_soc=50, switch_on_threshold=1400), scheduled_charging=ScheduledCharging(phases_to_use=0), time_charging=TimeCharging(phases_to_use=3), unbalanced_load_limit=20, unbalanced_load=True), control_interval=10, extern_display_mode='local', extern=False, external_buttons_hw=False, grid_protection_active=False, grid_protection_configured=True, grid_protection_random_stop=0, grid_protection_timestamp='', mqtt_bridge=False, price_kwh=0.3528, range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=True, r1_active=False, r2_active=False))
2023-12-08 04:12:51,427 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2023-12-08 04:12:51,429 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2023-12-08 04:12:51,430 - {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 0x70b9f2b0>), led=Led(active=False), rfid=Rfid(active=True))
2023-12-08 04:12:51,432 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=0), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=293628.595, fault_state=0, fault_str='Kein Fehler.', power=0))
2023-12-08 04:12:51,433 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=9500), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=7816178.86, fault_state=0, fault_str='Kein Fehler.', power=-0.0))
2023-12-08 04:12:51,438 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=8109807.455, power=0.0))
2023-12-08 04:12:51,440 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2023-11-30 12:30:45 +0100 [285f5a5fb]', 'current_branch': 'Release', 'current_branch_commit': '2023-11-30 12:30:45 +0100 [285f5a5fb]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.2-Patch.1', 'datastore_version': 29, 'lastlivevaluesJson': {'timestamp': 1702005161, 'time': '04:12:41', 'grid': 9.634, 'house-power': 0.309, 'charging-all': 9.325, 'pv-all': -0.0, 'cp1-power': 9.325, 'ev1-soc': 49.0, 'ev2-soc': 72, 'bat-all-power': 0.0, 'bat-all-soc': 19}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2023-12-08 04:12:51,441 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2023-12-08 04:12:51,442 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2023-12-08 04:12:51,444 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2023-12-08 04:12:51,446 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2023-12-08 04:12:51,448 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2023-12-08 04:12:51,449 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2023-12-08 04:12:51,449 - {control.data:253} - {INFO:MainThread} - 

2023-12-08 04:12:51,450 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2023-12-08 04:12:51,450 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2023-12-08 04:12:51,451 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2023-12-08 04:12:51,452 - {control.counter:169} - {DEBUG:MainThread} - Zähler 0: [56.28, 56.93, 56.32]A verbleibende Ströme, 38562.479999999996W verbleibende Leistung
2023-12-08 04:12:51,452 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2023-12-08 04:12:51,454 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2023-12-08 04:12:51,455 - {control.algorithm.filter_chargepoints:117} - {DEBUG:MainThread} - Geordnete Ladepunkte [1]
2023-12-08 04:12:51,456 - {control.algorithm.additional_current:26} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2023-12-08 04:12:51,456 - {control.counter:169} - {DEBUG:MainThread} - Zähler 0: [48.28, 48.93, 48.32]A verbleibende Ströme, 33042.479999999996W verbleibende Leistung
2023-12-08 04:12:51,457 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 14A
2023-12-08 04:12:51,458 - {control.counter:211} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: 0W
2023-12-08 04:12:51,458 - {control.counter:457} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf 0W
2023-12-08 04:12:51,461 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2023-12-08 04:12:51,461 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2023-12-08 04:12:51,468 - {control.chargelog:52} - {DEBUG:MainThread} - imported_since_mode_switch 288.089999999851 counter 6926666.02
2023-12-08 04:12:51,470 - {control.process:111} - {INFO:MainThread} - LP1: set current 14 A, state CHARGING_ALLOWED
2023-12-08 04:12:51,474 - {modules.common.component_context:24} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:12:51,516 - {control.counter:186} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2023-12-08 04:12:51,724 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2023-12-08 04:12:55,751 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2023-12-08 04:12:55,752 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2023-12-08 04:13:00,761 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2023-12-08 04:13:00,762 - {root:74} - {INFO:MainThread} - # ***Start*** 
2023-12-08 04:13:00,803 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x715cf340>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x7155e4a8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x715c75f8>}
2023-12-08 04:13:00,805 - {modules.common.component_context:24} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2023-12-08 04:13:00,812 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2023-12-08 04:13:00,814 - {modules.common.component_context:24} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:13:00,815 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2023-12-08 04:13:00,856 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 750
2023-12-08 04:13:00,859 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"cloud":{"connected":false},"input:0":{"id":0,"state":false},"mqtt":{"connected":false},"switch:0":{"id":0, "source":"loopback", "output":false, "apower":0.0, "voltage":241.8, "current":0.000, "aenergy":{"total":1505.625,"by_minute":[0.000,0.000,0.000],"minute_ts":1702005180},"temperature":{"tC":28.8, "tF":83.9}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:13","unixtime":1702005181,"uptime":1364509,"ram_size":248944,"ram_free":144692,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"beta":{"version":"1.1.0-beta2"},"stable":{"version":"1.0.8"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-68},"ws":{"connected":false}}

2023-12-08 04:13:00,861 - {modules.common.simcount._simcount:38} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1702005170.6834793, power=0, imported=0.0, exported=293628.5948715257)
2023-12-08 04:13:00,862 - {modules.common.simcount._calculate:13} - {DEBUG:device1} - time passed: 0.00282729, power1: 0, power2: 0
2023-12-08 04:13:00,863 - {modules.common.simcount._calculate:29} - {DEBUG:device1} - power did not change sign. Total energy: 0
2023-12-08 04:13:00,863 - {modules.common.simcount._simcount:47} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702005180.8617094, power=0, imported=0.0, exported=293628.5948715257)
2023-12-08 04:13:00,864 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:13:00,873 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-9622, -3258, -3102, -3261], Scale 0
2023-12-08 04:13:00,889 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [135, 129, 138], Scale -1
2023-12-08 04:13:01,014 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [24138, 24131, 23917, 0, 0, 0, 0], Scale -2
2023-12-08 04:13:01,041 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [5000], Scale -2
2023-12-08 04:13:01,060 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [9929, 9940, 9869], Scale -2
2023-12-08 04:13:01,084 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4870433, 1797042, 2153375, 1456453, 6126124, 2531622, 1862862, 2268077], Scale 0
2023-12-08 04:13:01,085 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[13.5, 12.9, 13.8], powers=[3258.0, 3102.0, 3261.0], voltages=[241.38, 241.31, 239.17000000000002], power_factors=[0.9929000000000001, 0.9940000000000001, 0.9869], imported=6126124.0, exported=4870433.0, power=9622.0, frequency=50.0)
2023-12-08 04:13:01,087 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2023-12-08 04:13:01,133 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [0], Scale 0
2023-12-08 04:13:01,173 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7789710], Scale 0
2023-12-08 04:13:01,222 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [28, 31, 32], Scale -2
2023-12-08 04:13:01,241 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-5144], Scale -2
2023-12-08 04:13:01,242 - {modules.common.component_state:100} - {DEBUG:device0} - currents sign wrong [0.28, 0.31, 0.32]
2023-12-08 04:13:01,242 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.28, 0.31, 0.32], power=-0.0, exported=7789710.0, dc_power=51.44)
2023-12-08 04:13:01,244 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2023-12-08 04:13:01,291 - {modules.common.simcount._simcount:38} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1702005171.062062, power=0.0, imported=143333.37604219164, exported=116864.5215890633)
2023-12-08 04:13:01,292 - {modules.common.simcount._calculate:13} - {DEBUG:device0} - time passed: 0.00284157, power1: 0, power2: 0
2023-12-08 04:13:01,293 - {modules.common.simcount._calculate:29} - {DEBUG:device0} - power did not change sign. Total energy: 0
2023-12-08 04:13:01,293 - {modules.common.simcount._simcount:47} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702005181.2917073, power=0.0, imported=143333.37604219164, exported=116864.5215890633)
2023-12-08 04:13:01,294 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=143333.37604219164, exported=116864.5215890633, power=0.0, soc=19.0)
2023-12-08 04:13:01,301 - {modules.common.component_context:24} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2023-12-08 04:13:01,307 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=143333.37604219164, exported=116864.5215890633, power=0.0, soc=19.0)
2023-12-08 04:13:01,346 - {modules.common.component_context:24} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:13:01,347 - {modules.common.component_context:24} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2023-12-08 04:13:01,350 - {modules.common.component_context:24} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2023-12-08 04:13:01,352 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-0.0, exported=7816178.86, dc_power=None)
2023-12-08 04:13:01,353 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:13:01,354 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-0.0, exported=7816178.86, dc_power=None)
2023-12-08 04:13:01,355 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:13:01,396 - {modules.common.component_context:24} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2023-12-08 04:13:01,397 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[13.5, 12.9, 13.8], powers=[3258.0, 3102.0, 3261.0], voltages=[241.38, 241.31, 239.17000000000002], power_factors=[0.9929000000000001, 0.9940000000000001, 0.9869], imported=6126124.0, exported=4870433.0, power=9622.0, frequency=50.0)
2023-12-08 04:13:01,561 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2023-12-08 04:13:01,565 - {control.bat_all:173} - {INFO:MainThread} - -50W verbleibende Speicher-Leistung
2023-12-08 04:13:01,577 - {control.counter:138} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [62.28, 62.93, 62.31]A
2023-12-08 04:13:01,578 - {control.counter:161} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 42687.01W
2023-12-08 04:13:01,587 - {control.chargepoint.chargepoint:699} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2023-12-08 04:13:01,588 - {control.chargepoint.chargepoint:682} - {DEBUG:MainThread} - Phasenzahl Lademodus: 3
2023-12-08 04:13:01,592 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 246.979974s, Dauer 1.380952380952381h, Termin heute verpasst: False
2023-12-08 04:13:01,593 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 90969.959722s, Dauer 0.18012422360248448h, Termin heute verpasst: False
2023-12-08 04:13:01,594 - {control.ev:762} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2023-12-08 04:13:01,621 - {control.chargepoint.chargepoint:898} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 14A, Lademodus scheduled_charging, Submodus: Chargemode.INSTANT_CHARGING, Phasen: 3, Priorität: False, max. Ist-Strom: 13.11
2023-12-08 04:13:01,626 - {control.chargepoint.chargepoint:277} - {INFO:MainThread} - LP 1: Zielladen mit 14A, um einen SoC von 95%  um 05:40 zu erreichen.
2023-12-08 04:13:01,641 - {modules.common.simcount._simcount:38} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1702005171.3775048, power=297.52000000000044, imported=2374393.143171105, exported=0)
2023-12-08 04:13:01,642 - {modules.common.simcount._calculate:13} - {DEBUG:MainThread} - time passed: 0.00285106, power1: 297.52, power2: 312.99
2023-12-08 04:13:01,643 - {modules.common.simcount._calculate:29} - {DEBUG:MainThread} - power did not change sign. Total energy: 0.870302
2023-12-08 04:13:01,644 - {modules.common.simcount._simcount:47} - {DEBUG:MainThread} - imported: 0.870302 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702005181.6413379, power=312.9899999999998, imported=2374394.013472871, exported=0)
2023-12-08 04:13:01,646 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=19, daily_exported=0.0, daily_imported=0.0, imported=143333.38, exported=116864.52, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2023-12-08 04:13:01,647 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=19, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=143333.38, exported=116864.52, power=0.0), set=Set(charging_power_left=-50, switch_on_soc_reached=False))
2023-12-08 04:13:01,655 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=98.14, daily_exported=0, power=9309.01, imported=6926690.92, exported=0))
2023-12-08 04:13:01,662 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 95%, 06:00 Uhr', imported_at_plan_start=6926377.93, imported_instant_charging=None, limit=None, phases=3, prio=False, required_current=14, required_currents=[14, 14, 14], 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=[12.83, 13.11, 12.78], daily_imported=98.14, daily_exported=0, evse_current=1400, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=6926690.92, phases_in_use=3, plug_state=True, power=9309.01, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Zielladen mit 14A, um einen SoC von 95%  um 05:40 zu erreichen.', voltages=[241.74, 239.54, 241.71]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=14, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', imported_at_mode_switch=6926377.93, imported_at_plugtime=6926377.93, imported_since_mode_switch=288.089999999851, imported_since_plugged=288.089999999851, range_charged=1.600499999999172, time_charged='0:01', timestamp_start_charging='12/08/2023, 04:11:30'), manual_lock=False, phases_to_use=3, plug_state_prev=True, plug_time='12/07/2023, 13:07:31', required_power=9660, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x7157bb38>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB Carport', type='internal_openwb', template=1, connected_phases=3, phase_1=2, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=1))
2023-12-08 04:13:01,665 - {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-12-08 04:13:01,666 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=1, max_current_multi_phases=16, max_current_single_phase=20, name='RFID, 20A, 11kW', rfid_enabling=True, valid_tags=['0003134583', '0003526747', '1655332554', '2585022212', '2585087748'])
2023-12-08 04:13:01,681 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[63, 63, 63], max_total_power=43000), get=Get(powers=[3258.0, 3102.0, 3261.0], currents=[13.5, 12.9, 13.8], voltages=[241.38, 241.31, 239.17], power_factors=[0.99, 0.99, 0.99], unbalanced_load=0, frequency=50.0, daily_exported=0.0, daily_imported=4131.0, imported=6126124.0, exported=4870433.0, fault_state=0, fault_str='Kein Fehler.', power=9622.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=42687.01, raw_currents_left=[62.28, 62.93, 62.31], surplus_power_left=0, state_str=''))
2023-12-08 04:13:01,682 - {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': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=312.9899999999998, invalid_home_consumption=0, daily_yield_home_consumption=5546.5169343646, imported_home_consumption=2374394.013472871, disengageable_smarthome_power=0))
2023-12-08 04:13:01,683 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2023-12-08 04:13:01,686 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Ladeprofil ***AUTO1***', disable_after_unplug=False, prio=False, load_default=True, time_charging=TimeCharging(active=True, plans={'0': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[True, True, True, True, False, False, True]), time=['22:00', '06:00'], name='Zeitladen 95%, So-Do 22:00-06:00 Uhr', current=16, limit=Limit(selected='soc', amount=1000, soc=95)), '1': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, True, True, False]), time=['22:00', '06:00'], name='Zeitladen 80%, Fr-Sa 22:00-06:00 Uhr', current=16, limit=Limit(selected='soc', amount=1000, soc=80))}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2023-12-08 04:13:01,695 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, time_charging=TimeCharging(active=True, plans={'2': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), time=['06:45', '07:00'], name='Klima 06:45-07:00 Uhr', current=6, limit=Limit(selected='none', amount=1000, soc=50)), '3': TimeChargingPlan(active=True, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, False, False, False]), time=['00:00', '23:55'], name='Immer 35%', current=10, limit=Limit(selected='soc', amount=1000, soc=35))}), chargemode=Chargemode(selected='scheduled_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={'0': ScheduledChargingPlan(active=False, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, True, False, False, False, False, False]), current=14, name='Zielladen 80%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '1': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), current=14, name='Zielladen 95%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=95), time='05:40'), '2': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once='2023-09-26', weekly=[True, False, False, True, False, True, True]), current=14, name='Zielladen 75%, 7:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=75), time='05:40')}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=80))))
2023-12-08 04:13:01,696 - {control.data:266} - {INFO:MainThread} - ev0
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=['0003134583'], get=Get(soc=0, soc_timestamp=None, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:13:01,698 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Tesla Model Y (2022)', 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=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212', '2585087748'], get=Get(soc=49.0, soc_timestamp='12/08/2023, 01:29:15', force_soc_update=False, range=220.74, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:13:01,699 - {control.data:266} - {INFO:MainThread} - ev2
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Cupra Born 58kW', 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=18000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=2, ev_template=2, name='***AUTO2***', tag_id=['1655332554'], get=Get(soc=72, soc_timestamp='12/08/2023, 04:12:23', force_soc_update=False, range=205, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:13:01,701 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40)
2023-12-08 04:13:01,703 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', 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=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40)
2023-12-08 04:13:01,709 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', 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=18000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40)
2023-12-08 04:13:01,710 - {control.data:245} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=3), pv_charging=PvCharging(bat_prio=True, charging_power_reserve=200, control_range=[-230, 230], feed_in_yield=15000, phase_switch_delay=15, phases_to_use=0, rundown_power=1000, rundown_soc=25, switch_off_delay=60, switch_off_soc=25, switch_off_threshold=50, switch_on_delay=30, switch_on_soc=50, switch_on_threshold=1400), scheduled_charging=ScheduledCharging(phases_to_use=0), time_charging=TimeCharging(phases_to_use=3), unbalanced_load_limit=20, unbalanced_load=True), control_interval=10, extern_display_mode='local', extern=False, external_buttons_hw=False, grid_protection_active=False, grid_protection_configured=True, grid_protection_random_stop=0, grid_protection_timestamp='', mqtt_bridge=False, price_kwh=0.3528, range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=True, r1_active=False, r2_active=False))
2023-12-08 04:13:01,712 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2023-12-08 04:13:01,715 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2023-12-08 04:13:01,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 0x70b9f628>), led=Led(active=False), rfid=Rfid(active=True))
2023-12-08 04:13:01,724 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=0), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=293628.595, fault_state=0, fault_str='Kein Fehler.', power=0))
2023-12-08 04:13:01,725 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=9500), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=7816178.86, fault_state=0, fault_str='Kein Fehler.', power=-0.0))
2023-12-08 04:13:01,727 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=8109807.455, power=0.0))
2023-12-08 04:13:01,734 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2023-11-30 12:30:45 +0100 [285f5a5fb]', 'current_branch': 'Release', 'current_branch_commit': '2023-11-30 12:30:45 +0100 [285f5a5fb]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.2-Patch.1', 'datastore_version': 29, 'lastlivevaluesJson': {'timestamp': 1702005171, 'time': '04:12:51', 'grid': 9.61, 'house-power': 0.298, 'charging-all': 9.312, 'pv-all': -0.0, 'cp1-power': 9.312, 'ev1-soc': 49.0, 'ev2-soc': 72, 'bat-all-power': 0.0, 'bat-all-soc': 19}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2023-12-08 04:13:01,736 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2023-12-08 04:13:01,737 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2023-12-08 04:13:01,738 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2023-12-08 04:13:01,740 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2023-12-08 04:13:01,747 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2023-12-08 04:13:01,751 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2023-12-08 04:13:01,752 - {control.data:253} - {INFO:MainThread} - 

2023-12-08 04:13:01,753 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2023-12-08 04:13:01,754 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2023-12-08 04:13:01,760 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2023-12-08 04:13:01,761 - {control.counter:169} - {DEBUG:MainThread} - Zähler 0: [56.28, 56.93, 56.31]A verbleibende Ströme, 38547.01W verbleibende Leistung
2023-12-08 04:13:01,771 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2023-12-08 04:13:01,774 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2023-12-08 04:13:01,783 - {control.algorithm.filter_chargepoints:117} - {DEBUG:MainThread} - Geordnete Ladepunkte [1]
2023-12-08 04:13:01,784 - {control.algorithm.additional_current:26} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2023-12-08 04:13:01,785 - {control.counter:169} - {DEBUG:MainThread} - Zähler 0: [48.28, 48.93, 48.31]A verbleibende Ströme, 33027.01W verbleibende Leistung
2023-12-08 04:13:01,786 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 14A
2023-12-08 04:13:01,788 - {control.counter:211} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: 0W
2023-12-08 04:13:01,793 - {control.counter:457} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf 0W
2023-12-08 04:13:01,794 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2023-12-08 04:13:01,797 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2023-12-08 04:13:01,798 - {control.chargelog:52} - {DEBUG:MainThread} - imported_since_mode_switch 312.9900000002235 counter 6926690.92
2023-12-08 04:13:01,801 - {control.process:111} - {INFO:MainThread} - LP1: set current 14 A, state CHARGING_ALLOWED
2023-12-08 04:13:01,802 - {modules.common.component_context:24} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:13:01,839 - {control.counter:186} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2023-12-08 04:13:02,175 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2023-12-08 04:13:02,189 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2023-12-08 04:13:05,196 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2023-12-08 04:13:05,197 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2023-12-08 04:13:10,208 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2023-12-08 04:13:10,209 - {root:74} - {INFO:MainThread} - # ***Start*** 
2023-12-08 04:13:10,289 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x715cf340>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x7155e4a8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x715c75f8>}
2023-12-08 04:13:10,290 - {modules.common.component_context:24} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2023-12-08 04:13:10,293 - {modules.common.component_context:24} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:13:10,297 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2023-12-08 04:13:10,300 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2023-12-08 04:13:10,342 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 750
2023-12-08 04:13:10,344 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"cloud":{"connected":false},"input:0":{"id":0,"state":false},"mqtt":{"connected":false},"switch:0":{"id":0, "source":"loopback", "output":false, "apower":0.0, "voltage":241.8, "current":0.000, "aenergy":{"total":1505.625,"by_minute":[0.000,0.000,0.000],"minute_ts":1702005189},"temperature":{"tC":28.8, "tF":83.9}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:13","unixtime":1702005191,"uptime":1364518,"ram_size":248932,"ram_free":144572,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"beta":{"version":"1.1.0-beta2"},"stable":{"version":"1.0.8"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-68},"ws":{"connected":false}}

2023-12-08 04:13:10,346 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-9634, -3254, -3099, -3279], Scale 0
2023-12-08 04:13:10,347 - {modules.common.simcount._simcount:38} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1702005180.8617094, power=0, imported=0.0, exported=293628.5948715257)
2023-12-08 04:13:10,348 - {modules.common.simcount._calculate:13} - {DEBUG:device1} - time passed: 0.00263492, power1: 0, power2: 0
2023-12-08 04:13:10,349 - {modules.common.simcount._calculate:29} - {DEBUG:device1} - power did not change sign. Total energy: 0
2023-12-08 04:13:10,349 - {modules.common.simcount._simcount:47} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702005190.347412, power=0, imported=0.0, exported=293628.5948715257)
2023-12-08 04:13:10,351 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:13:10,400 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [135, 129, 138], Scale -1
2023-12-08 04:13:10,422 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [24135, 24132, 23913, 0, 0, 0, 0], Scale -2
2023-12-08 04:13:10,440 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [5000], Scale -2
2023-12-08 04:13:10,481 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [9919, 9940, 9869], Scale -2
2023-12-08 04:13:10,502 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4870433, 1797042, 2153375, 1456453, 6126166, 2531637, 1862876, 2268091], Scale 0
2023-12-08 04:13:10,503 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[13.5, 12.9, 13.8], powers=[3254.0, 3099.0, 3279.0], voltages=[241.35, 241.32, 239.13], power_factors=[0.9919, 0.9940000000000001, 0.9869], imported=6126166.0, exported=4870433.0, power=9634.0, frequency=50.0)
2023-12-08 04:13:10,505 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2023-12-08 04:13:10,530 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [0], Scale 0
2023-12-08 04:13:10,641 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7789710], Scale 0
2023-12-08 04:13:10,660 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [29, 32, 33], Scale -2
2023-12-08 04:13:10,680 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-5039], Scale -2
2023-12-08 04:13:10,680 - {modules.common.component_state:100} - {DEBUG:device0} - currents sign wrong [0.29, 0.32, 0.33]
2023-12-08 04:13:10,681 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.29, 0.32, 0.33], power=-0.0, exported=7789710.0, dc_power=50.39)
2023-12-08 04:13:10,682 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2023-12-08 04:13:10,761 - {modules.common.simcount._simcount:38} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1702005181.2917073, power=0.0, imported=143333.37604219164, exported=116864.5215890633)
2023-12-08 04:13:10,762 - {modules.common.simcount._calculate:13} - {DEBUG:device0} - time passed: 0.0026305, power1: 0, power2: 0
2023-12-08 04:13:10,763 - {modules.common.simcount._calculate:29} - {DEBUG:device0} - power did not change sign. Total energy: 0
2023-12-08 04:13:10,764 - {modules.common.simcount._simcount:47} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702005190.761523, power=0.0, imported=143333.37604219164, exported=116864.5215890633)
2023-12-08 04:13:10,765 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=143333.37604219164, exported=116864.5215890633, power=0.0, soc=19.0)
2023-12-08 04:13:10,769 - {modules.common.component_context:24} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2023-12-08 04:13:10,770 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=143333.37604219164, exported=116864.5215890633, power=0.0, soc=19.0)
2023-12-08 04:13:10,804 - {modules.common.component_context:24} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:13:10,808 - {modules.common.component_context:24} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2023-12-08 04:13:10,809 - {modules.common.component_context:24} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2023-12-08 04:13:10,810 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-0.0, exported=7816178.86, dc_power=None)
2023-12-08 04:13:10,811 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:13:10,812 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-0.0, exported=7816178.86, dc_power=None)
2023-12-08 04:13:10,813 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:13:10,875 - {modules.common.component_context:24} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2023-12-08 04:13:10,876 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[13.5, 12.9, 13.8], powers=[3254.0, 3099.0, 3279.0], voltages=[241.35, 241.32, 239.13], power_factors=[0.9919, 0.9940000000000001, 0.9869], imported=6126166.0, exported=4870433.0, power=9634.0, frequency=50.0)
2023-12-08 04:13:11,203 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2023-12-08 04:13:11,210 - {control.bat_all:173} - {INFO:MainThread} - -50W verbleibende Speicher-Leistung
2023-12-08 04:13:11,219 - {control.counter:138} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [62.28, 62.93, 62.23]A
2023-12-08 04:13:11,222 - {control.counter:161} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 42690.36W
2023-12-08 04:13:11,224 - {control.chargepoint.chargepoint:699} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2023-12-08 04:13:11,225 - {control.chargepoint.chargepoint:682} - {DEBUG:MainThread} - Phasenzahl Lademodus: 3
2023-12-08 04:13:11,227 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 237.344681s, Dauer 1.380952380952381h, Termin heute verpasst: False
2023-12-08 04:13:11,228 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 90960.324737s, Dauer 0.18012422360248448h, Termin heute verpasst: False
2023-12-08 04:13:11,229 - {control.ev:762} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2023-12-08 04:13:11,232 - {control.chargepoint.chargepoint:898} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 14A, Lademodus scheduled_charging, Submodus: Chargemode.INSTANT_CHARGING, Phasen: 3, Priorität: False, max. Ist-Strom: 13.03
2023-12-08 04:13:11,237 - {control.chargepoint.chargepoint:277} - {INFO:MainThread} - LP 1: Zielladen mit 14A, um einen SoC von 95%  um 05:40 zu erreichen.
2023-12-08 04:13:11,252 - {modules.common.simcount._simcount:38} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1702005181.6413379, power=312.9899999999998, imported=2374394.013472871, exported=0)
2023-12-08 04:13:11,254 - {modules.common.simcount._calculate:13} - {DEBUG:MainThread} - time passed: 0.00266985, power1: 312.99, power2: 309.64
2023-12-08 04:13:11,255 - {modules.common.simcount._calculate:29} - {DEBUG:MainThread} - power did not change sign. Total energy: 0.831164
2023-12-08 04:13:11,258 - {modules.common.simcount._simcount:47} - {DEBUG:MainThread} - imported: 0.831164 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702005191.252795, power=309.6399999999994, imported=2374394.844636974, exported=0)
2023-12-08 04:13:11,264 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=19, daily_exported=0.0, daily_imported=0.0, imported=143333.38, exported=116864.52, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2023-12-08 04:13:11,265 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=19, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=143333.38, exported=116864.52, power=0.0), set=Set(charging_power_left=-50, switch_on_soc_reached=False))
2023-12-08 04:13:11,268 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=98.14, daily_exported=0, power=9324.36, imported=6926719.24, exported=0))
2023-12-08 04:13:11,281 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 95%, 06:00 Uhr', imported_at_plan_start=6926377.93, imported_instant_charging=None, limit=None, phases=3, prio=False, required_current=14, required_currents=[14, 14, 14], 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=[12.83, 13.03, 12.78], daily_imported=98.14, daily_exported=0, evse_current=1400, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=6926719.24, phases_in_use=3, plug_state=True, power=9324.36, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Zielladen mit 14A, um einen SoC von 95%  um 05:40 zu erreichen.', voltages=[241.81, 239.75, 241.8]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=14, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', imported_at_mode_switch=6926377.93, imported_at_plugtime=6926377.93, imported_since_mode_switch=312.9900000002235, imported_since_plugged=312.9900000002235, range_charged=1.7388333333345753, time_charged='0:01', timestamp_start_charging='12/08/2023, 04:11:30'), manual_lock=False, phases_to_use=3, plug_state_prev=True, plug_time='12/07/2023, 13:07:31', required_power=9660, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x70bef178>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB Carport', type='internal_openwb', template=1, connected_phases=3, phase_1=2, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=1))
2023-12-08 04:13:11,285 - {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-12-08 04:13:11,286 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=1, max_current_multi_phases=16, max_current_single_phase=20, name='RFID, 20A, 11kW', rfid_enabling=True, valid_tags=['0003134583', '0003526747', '1655332554', '2585022212', '2585087748'])
2023-12-08 04:13:11,288 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[63, 63, 63], max_total_power=43000), get=Get(powers=[3254.0, 3099.0, 3279.0], currents=[13.5, 12.9, 13.8], voltages=[241.35, 241.32, 239.13], power_factors=[0.99, 0.99, 0.99], unbalanced_load=0, frequency=50.0, daily_exported=0.0, daily_imported=4131.0, imported=6126166.0, exported=4870433.0, fault_state=0, fault_str='Kein Fehler.', power=9634.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=42690.36, raw_currents_left=[62.28, 62.93, 62.23], surplus_power_left=0, state_str=''))
2023-12-08 04:13:11,290 - {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': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=309.6399999999994, invalid_home_consumption=0, daily_yield_home_consumption=5546.5169343646, imported_home_consumption=2374394.844636974, disengageable_smarthome_power=0))
2023-12-08 04:13:11,292 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2023-12-08 04:13:11,293 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Ladeprofil ***AUTO1***', disable_after_unplug=False, prio=False, load_default=True, time_charging=TimeCharging(active=True, plans={'0': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[True, True, True, True, False, False, True]), time=['22:00', '06:00'], name='Zeitladen 95%, So-Do 22:00-06:00 Uhr', current=16, limit=Limit(selected='soc', amount=1000, soc=95)), '1': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, True, True, False]), time=['22:00', '06:00'], name='Zeitladen 80%, Fr-Sa 22:00-06:00 Uhr', current=16, limit=Limit(selected='soc', amount=1000, soc=80))}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2023-12-08 04:13:11,296 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, time_charging=TimeCharging(active=True, plans={'2': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), time=['06:45', '07:00'], name='Klima 06:45-07:00 Uhr', current=6, limit=Limit(selected='none', amount=1000, soc=50)), '3': TimeChargingPlan(active=True, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, False, False, False]), time=['00:00', '23:55'], name='Immer 35%', current=10, limit=Limit(selected='soc', amount=1000, soc=35))}), chargemode=Chargemode(selected='scheduled_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={'0': ScheduledChargingPlan(active=False, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, True, False, False, False, False, False]), current=14, name='Zielladen 80%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '1': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), current=14, name='Zielladen 95%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=95), time='05:40'), '2': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once='2023-09-26', weekly=[True, False, False, True, False, True, True]), current=14, name='Zielladen 75%, 7:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=75), time='05:40')}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=80))))
2023-12-08 04:13:11,298 - {control.data:266} - {INFO:MainThread} - ev0
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=['0003134583'], get=Get(soc=0, soc_timestamp=None, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:13:11,299 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Tesla Model Y (2022)', 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=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212', '2585087748'], get=Get(soc=49.0, soc_timestamp='12/08/2023, 01:29:15', force_soc_update=False, range=220.74, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:13:11,301 - {control.data:266} - {INFO:MainThread} - ev2
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Cupra Born 58kW', 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=18000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=2, ev_template=2, name='***AUTO2***', tag_id=['1655332554'], get=Get(soc=72, soc_timestamp='12/08/2023, 04:12:23', force_soc_update=False, range=205, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:13:11,302 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40)
2023-12-08 04:13:11,303 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', 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=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40)
2023-12-08 04:13:11,304 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', 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=18000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40)
2023-12-08 04:13:11,304 - {control.data:245} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=3), pv_charging=PvCharging(bat_prio=True, charging_power_reserve=200, control_range=[-230, 230], feed_in_yield=15000, phase_switch_delay=15, phases_to_use=0, rundown_power=1000, rundown_soc=25, switch_off_delay=60, switch_off_soc=25, switch_off_threshold=50, switch_on_delay=30, switch_on_soc=50, switch_on_threshold=1400), scheduled_charging=ScheduledCharging(phases_to_use=0), time_charging=TimeCharging(phases_to_use=3), unbalanced_load_limit=20, unbalanced_load=True), control_interval=10, extern_display_mode='local', extern=False, external_buttons_hw=False, grid_protection_active=False, grid_protection_configured=True, grid_protection_random_stop=0, grid_protection_timestamp='', mqtt_bridge=False, price_kwh=0.3528, range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=True, r1_active=False, r2_active=False))
2023-12-08 04:13:11,305 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2023-12-08 04:13:11,307 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2023-12-08 04:13:11,308 - {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 0x70beba30>), led=Led(active=False), rfid=Rfid(active=True))
2023-12-08 04:13:11,309 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=0), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=293628.595, fault_state=0, fault_str='Kein Fehler.', power=0))
2023-12-08 04:13:11,311 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=9500), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=7816178.86, fault_state=0, fault_str='Kein Fehler.', power=-0.0))
2023-12-08 04:13:11,315 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=8109807.455, power=0.0))
2023-12-08 04:13:11,316 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2023-11-30 12:30:45 +0100 [285f5a5fb]', 'current_branch': 'Release', 'current_branch_commit': '2023-11-30 12:30:45 +0100 [285f5a5fb]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.2-Patch.1', 'datastore_version': 29, 'lastlivevaluesJson': {'timestamp': 1702005181, 'time': '04:13:01', 'grid': 9.622, 'house-power': 0.313, 'charging-all': 9.309, 'pv-all': -0.0, 'cp1-power': 9.309, 'ev1-soc': 49.0, 'ev2-soc': 72, 'bat-all-power': 0.0, 'bat-all-soc': 19}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2023-12-08 04:13:11,318 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2023-12-08 04:13:11,320 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2023-12-08 04:13:11,320 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2023-12-08 04:13:11,321 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2023-12-08 04:13:11,323 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2023-12-08 04:13:11,324 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2023-12-08 04:13:11,325 - {control.data:253} - {INFO:MainThread} - 

2023-12-08 04:13:11,326 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2023-12-08 04:13:11,326 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2023-12-08 04:13:11,328 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2023-12-08 04:13:11,330 - {control.counter:169} - {DEBUG:MainThread} - Zähler 0: [56.28, 56.93, 56.23]A verbleibende Ströme, 38550.36W verbleibende Leistung
2023-12-08 04:13:11,331 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2023-12-08 04:13:11,336 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2023-12-08 04:13:11,338 - {control.algorithm.filter_chargepoints:117} - {DEBUG:MainThread} - Geordnete Ladepunkte [1]
2023-12-08 04:13:11,340 - {control.algorithm.additional_current:26} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2023-12-08 04:13:11,341 - {control.counter:169} - {DEBUG:MainThread} - Zähler 0: [48.28, 48.93, 48.23]A verbleibende Ströme, 33030.36W verbleibende Leistung
2023-12-08 04:13:11,343 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 14A
2023-12-08 04:13:11,346 - {control.counter:211} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: 0W
2023-12-08 04:13:11,347 - {control.counter:457} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf 0W
2023-12-08 04:13:11,347 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2023-12-08 04:13:11,348 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2023-12-08 04:13:11,349 - {control.chargelog:52} - {DEBUG:MainThread} - imported_since_mode_switch 341.31000000052154 counter 6926719.24
2023-12-08 04:13:11,352 - {control.process:111} - {INFO:MainThread} - LP1: set current 14 A, state CHARGING_ALLOWED
2023-12-08 04:13:11,355 - {modules.common.component_context:24} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:13:11,382 - {control.counter:186} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2023-12-08 04:13:11,587 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2023-12-08 04:13:15,626 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2023-12-08 04:13:15,627 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2023-12-08 04:13:20,636 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2023-12-08 04:13:20,637 - {root:74} - {INFO:MainThread} - # ***Start*** 
2023-12-08 04:13:20,677 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x715cf340>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x7155e4a8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x715c75f8>}
2023-12-08 04:13:20,678 - {modules.common.component_context:24} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2023-12-08 04:13:20,684 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2023-12-08 04:13:20,686 - {modules.common.component_context:24} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:13:20,689 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2023-12-08 04:13:20,722 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-9502, -3213, -3058, -3230], Scale 0
2023-12-08 04:13:20,728 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 750
2023-12-08 04:13:20,730 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"cloud":{"connected":false},"input:0":{"id":0,"state":false},"mqtt":{"connected":false},"switch:0":{"id":0, "source":"loopback", "output":false, "apower":0.0, "voltage":241.9, "current":0.000, "aenergy":{"total":1505.625,"by_minute":[0.000,0.000,0.000],"minute_ts":1702005200},"temperature":{"tC":28.8, "tF":83.8}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:13","unixtime":1702005201,"uptime":1364528,"ram_size":248996,"ram_free":145264,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"beta":{"version":"1.1.0-beta2"},"stable":{"version":"1.0.8"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-68},"ws":{"connected":false}}

2023-12-08 04:13:20,732 - {modules.common.simcount._simcount:38} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1702005190.347412, power=0, imported=0.0, exported=293628.5948715257)
2023-12-08 04:13:20,733 - {modules.common.simcount._calculate:13} - {DEBUG:device1} - time passed: 0.00288476, power1: 0, power2: 0
2023-12-08 04:13:20,733 - {modules.common.simcount._calculate:29} - {DEBUG:device1} - power did not change sign. Total energy: 0
2023-12-08 04:13:20,734 - {modules.common.simcount._simcount:47} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702005200.7325597, power=0, imported=0.0, exported=293628.5948715257)
2023-12-08 04:13:20,735 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:13:20,746 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [135, 129, 136], Scale -1
2023-12-08 04:13:20,820 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [24149, 24147, 23930, 0, 0, 0, 0], Scale -2
2023-12-08 04:13:20,839 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [5000], Scale -2
2023-12-08 04:13:20,860 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [9929, 9940, 9929], Scale -2
2023-12-08 04:13:20,881 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4870433, 1797042, 2153375, 1456453, 6126187, 2531644, 1862883, 2268099], Scale 0
2023-12-08 04:13:20,882 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[13.5, 12.9, 13.600000000000001], powers=[3213.0, 3058.0, 3230.0], voltages=[241.49, 241.47, 239.3], power_factors=[0.9929000000000001, 0.9940000000000001, 0.9929000000000001], imported=6126187.0, exported=4870433.0, power=9502.0, frequency=50.0)
2023-12-08 04:13:20,893 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2023-12-08 04:13:20,912 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [0], Scale 0
2023-12-08 04:13:20,936 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7789710], Scale 0
2023-12-08 04:13:20,959 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [27, 30, 31], Scale -2
2023-12-08 04:13:20,979 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4716], Scale -2
2023-12-08 04:13:20,980 - {modules.common.component_state:100} - {DEBUG:device0} - currents sign wrong [0.27, 0.3, 0.31]
2023-12-08 04:13:20,980 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.27, 0.3, 0.31], power=-0.0, exported=7789710.0, dc_power=47.160000000000004)
2023-12-08 04:13:20,986 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2023-12-08 04:13:21,061 - {modules.common.simcount._simcount:38} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1702005190.761523, power=0.0, imported=143333.37604219164, exported=116864.5215890633)
2023-12-08 04:13:21,062 - {modules.common.simcount._calculate:13} - {DEBUG:device0} - time passed: 0.00286111, power1: 0, power2: 0
2023-12-08 04:13:21,062 - {modules.common.simcount._calculate:29} - {DEBUG:device0} - power did not change sign. Total energy: 0
2023-12-08 04:13:21,063 - {modules.common.simcount._simcount:47} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702005201.061526, power=0.0, imported=143333.37604219164, exported=116864.5215890633)
2023-12-08 04:13:21,064 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=143333.37604219164, exported=116864.5215890633, power=0.0, soc=19.0)
2023-12-08 04:13:21,068 - {modules.common.component_context:24} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2023-12-08 04:13:21,069 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=143333.37604219164, exported=116864.5215890633, power=0.0, soc=19.0)
2023-12-08 04:13:21,112 - {modules.common.component_context:24} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:13:21,113 - {modules.common.component_context:24} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2023-12-08 04:13:21,114 - {modules.common.component_context:24} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2023-12-08 04:13:21,115 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-0.0, exported=7816178.86, dc_power=None)
2023-12-08 04:13:21,115 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:13:21,116 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-0.0, exported=7816178.86, dc_power=None)
2023-12-08 04:13:21,117 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:13:21,158 - {modules.common.component_context:24} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2023-12-08 04:13:21,158 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[13.5, 12.9, 13.600000000000001], powers=[3213.0, 3058.0, 3230.0], voltages=[241.49, 241.47, 239.3], power_factors=[0.9929000000000001, 0.9940000000000001, 0.9929000000000001], imported=6126187.0, exported=4870433.0, power=9502.0, frequency=50.0)
2023-12-08 04:13:21,333 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2023-12-08 04:13:21,335 - {control.bat_all:173} - {INFO:MainThread} - -50W verbleibende Speicher-Leistung
2023-12-08 04:13:21,337 - {control.counter:138} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [62.28, 62.94, 62.38]A
2023-12-08 04:13:21,338 - {control.counter:161} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 42821.24W
2023-12-08 04:13:21,341 - {control.chargepoint.chargepoint:699} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2023-12-08 04:13:21,343 - {control.chargepoint.chargepoint:682} - {DEBUG:MainThread} - Phasenzahl Lademodus: 3
2023-12-08 04:13:21,344 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 227.227562s, Dauer 1.380952380952381h, Termin heute verpasst: False
2023-12-08 04:13:21,345 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 90950.207643s, Dauer 0.18012422360248448h, Termin heute verpasst: False
2023-12-08 04:13:21,347 - {control.ev:762} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2023-12-08 04:13:21,351 - {control.chargepoint.chargepoint:898} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 14A, Lademodus scheduled_charging, Submodus: Chargemode.INSTANT_CHARGING, Phasen: 3, Priorität: False, max. Ist-Strom: 12.98
2023-12-08 04:13:21,352 - {control.chargepoint.chargepoint:277} - {INFO:MainThread} - LP 1: Zielladen mit 14A, um einen SoC von 95%  um 05:40 zu erreichen.
2023-12-08 04:13:21,362 - {modules.common.simcount._simcount:38} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1702005191.252795, power=309.6399999999994, imported=2374394.844636974, exported=0)
2023-12-08 04:13:21,368 - {modules.common.simcount._calculate:13} - {DEBUG:MainThread} - time passed: 0.00280821, power1: 309.64, power2: 178.76
2023-12-08 04:13:21,370 - {modules.common.simcount._calculate:29} - {DEBUG:MainThread} - power did not change sign. Total energy: 0.685764
2023-12-08 04:13:21,382 - {modules.common.simcount._simcount:47} - {DEBUG:MainThread} - imported: 0.685764 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702005201.3623345, power=178.76000000000022, imported=2374395.530400737, exported=0)
2023-12-08 04:13:21,385 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=19, daily_exported=0.0, daily_imported=0.0, imported=143333.38, exported=116864.52, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2023-12-08 04:13:21,387 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=19, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=143333.38, exported=116864.52, power=0.0), set=Set(charging_power_left=-50, switch_on_soc_reached=False))
2023-12-08 04:13:21,389 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=98.14, daily_exported=0, power=9323.24, imported=6926743.16, exported=0))
2023-12-08 04:13:21,390 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 95%, 06:00 Uhr', imported_at_plan_start=6926377.93, imported_instant_charging=None, limit=None, phases=3, prio=False, required_current=14, required_currents=[14, 14, 14], 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=[12.84, 12.98, 12.78], daily_imported=98.14, daily_exported=0, evse_current=1400, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=6926743.16, phases_in_use=3, plug_state=True, power=9323.24, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Zielladen mit 14A, um einen SoC von 95%  um 05:40 zu erreichen.', voltages=[241.82, 239.75, 241.84]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=14, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', imported_at_mode_switch=6926377.93, imported_at_plugtime=6926377.93, imported_since_mode_switch=341.31000000052154, imported_since_plugged=341.31000000052154, range_charged=1.8961666666695642, time_charged='0:01', timestamp_start_charging='12/08/2023, 04:11:30'), manual_lock=False, phases_to_use=3, plug_state_prev=True, plug_time='12/07/2023, 13:07:31', required_power=9660, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x71e124d8>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB Carport', type='internal_openwb', template=1, connected_phases=3, phase_1=2, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=1))
2023-12-08 04:13:21,392 - {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-12-08 04:13:21,393 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=1, max_current_multi_phases=16, max_current_single_phase=20, name='RFID, 20A, 11kW', rfid_enabling=True, valid_tags=['0003134583', '0003526747', '1655332554', '2585022212', '2585087748'])
2023-12-08 04:13:21,394 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[63, 63, 63], max_total_power=43000), get=Get(powers=[3213.0, 3058.0, 3230.0], currents=[13.5, 12.9, 13.6], voltages=[241.49, 241.47, 239.3], power_factors=[0.99, 0.99, 0.99], unbalanced_load=0, frequency=50.0, daily_exported=0.0, daily_imported=4131.0, imported=6126187.0, exported=4870433.0, fault_state=0, fault_str='Kein Fehler.', power=9502.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=42821.24, raw_currents_left=[62.28, 62.94, 62.38], surplus_power_left=0, state_str=''))
2023-12-08 04:13:21,395 - {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': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=178.76000000000022, invalid_home_consumption=0, daily_yield_home_consumption=5546.5169343646, imported_home_consumption=2374395.530400737, disengageable_smarthome_power=0))
2023-12-08 04:13:21,397 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2023-12-08 04:13:21,399 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Ladeprofil ***AUTO1***', disable_after_unplug=False, prio=False, load_default=True, time_charging=TimeCharging(active=True, plans={'0': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[True, True, True, True, False, False, True]), time=['22:00', '06:00'], name='Zeitladen 95%, So-Do 22:00-06:00 Uhr', current=16, limit=Limit(selected='soc', amount=1000, soc=95)), '1': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, True, True, False]), time=['22:00', '06:00'], name='Zeitladen 80%, Fr-Sa 22:00-06:00 Uhr', current=16, limit=Limit(selected='soc', amount=1000, soc=80))}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2023-12-08 04:13:21,407 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, time_charging=TimeCharging(active=True, plans={'2': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), time=['06:45', '07:00'], name='Klima 06:45-07:00 Uhr', current=6, limit=Limit(selected='none', amount=1000, soc=50)), '3': TimeChargingPlan(active=True, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, False, False, False]), time=['00:00', '23:55'], name='Immer 35%', current=10, limit=Limit(selected='soc', amount=1000, soc=35))}), chargemode=Chargemode(selected='scheduled_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={'0': ScheduledChargingPlan(active=False, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, True, False, False, False, False, False]), current=14, name='Zielladen 80%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '1': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), current=14, name='Zielladen 95%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=95), time='05:40'), '2': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once='2023-09-26', weekly=[True, False, False, True, False, True, True]), current=14, name='Zielladen 75%, 7:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=75), time='05:40')}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=80))))
2023-12-08 04:13:21,408 - {control.data:266} - {INFO:MainThread} - ev0
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=['0003134583'], get=Get(soc=0, soc_timestamp=None, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:13:21,411 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Tesla Model Y (2022)', 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=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212', '2585087748'], get=Get(soc=49.0, soc_timestamp='12/08/2023, 01:29:15', force_soc_update=False, range=220.74, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:13:21,414 - {control.data:266} - {INFO:MainThread} - ev2
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Cupra Born 58kW', 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=18000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=2, ev_template=2, name='***AUTO2***', tag_id=['1655332554'], get=Get(soc=72, soc_timestamp='12/08/2023, 04:13:18', force_soc_update=False, range=205, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:13:21,415 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40)
2023-12-08 04:13:21,416 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', 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=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40)
2023-12-08 04:13:21,420 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', 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=18000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40)
2023-12-08 04:13:21,421 - {control.data:245} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=3), pv_charging=PvCharging(bat_prio=True, charging_power_reserve=200, control_range=[-230, 230], feed_in_yield=15000, phase_switch_delay=15, phases_to_use=0, rundown_power=1000, rundown_soc=25, switch_off_delay=60, switch_off_soc=25, switch_off_threshold=50, switch_on_delay=30, switch_on_soc=50, switch_on_threshold=1400), scheduled_charging=ScheduledCharging(phases_to_use=0), time_charging=TimeCharging(phases_to_use=3), unbalanced_load_limit=20, unbalanced_load=True), control_interval=10, extern_display_mode='local', extern=False, external_buttons_hw=False, grid_protection_active=False, grid_protection_configured=True, grid_protection_random_stop=0, grid_protection_timestamp='', mqtt_bridge=False, price_kwh=0.3528, range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=True, r1_active=False, r2_active=False))
2023-12-08 04:13:21,423 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2023-12-08 04:13:21,430 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2023-12-08 04:13:21,430 - {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 0x715cfc10>), led=Led(active=False), rfid=Rfid(active=True))
2023-12-08 04:13:21,431 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=0), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=293628.595, fault_state=0, fault_str='Kein Fehler.', power=0))
2023-12-08 04:13:21,433 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=9500), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=7816178.86, fault_state=0, fault_str='Kein Fehler.', power=-0.0))
2023-12-08 04:13:21,435 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=8109807.455, power=0.0))
2023-12-08 04:13:21,437 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2023-11-30 12:30:45 +0100 [285f5a5fb]', 'current_branch': 'Release', 'current_branch_commit': '2023-11-30 12:30:45 +0100 [285f5a5fb]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.2-Patch.1', 'datastore_version': 29, 'lastlivevaluesJson': {'timestamp': 1702005191, 'time': '04:13:11', 'grid': 9.634, 'house-power': 0.31, 'charging-all': 9.324, 'pv-all': -0.0, 'cp1-power': 9.324, 'ev1-soc': 49.0, 'ev2-soc': 72, 'bat-all-power': 0.0, 'bat-all-soc': 19}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2023-12-08 04:13:21,440 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2023-12-08 04:13:21,444 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2023-12-08 04:13:21,445 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2023-12-08 04:13:21,445 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2023-12-08 04:13:21,446 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2023-12-08 04:13:21,446 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2023-12-08 04:13:21,446 - {control.data:253} - {INFO:MainThread} - 

2023-12-08 04:13:21,447 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2023-12-08 04:13:21,447 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2023-12-08 04:13:21,448 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2023-12-08 04:13:21,449 - {control.counter:169} - {DEBUG:MainThread} - Zähler 0: [56.28, 56.94, 56.38]A verbleibende Ströme, 38681.24W verbleibende Leistung
2023-12-08 04:13:21,450 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2023-12-08 04:13:21,453 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2023-12-08 04:13:21,454 - {control.algorithm.filter_chargepoints:117} - {DEBUG:MainThread} - Geordnete Ladepunkte [1]
2023-12-08 04:13:21,457 - {control.algorithm.additional_current:26} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2023-12-08 04:13:21,460 - {control.counter:169} - {DEBUG:MainThread} - Zähler 0: [48.28, 48.94, 48.38]A verbleibende Ströme, 33161.24W verbleibende Leistung
2023-12-08 04:13:21,464 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 14A
2023-12-08 04:13:21,469 - {control.counter:211} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: 0W
2023-12-08 04:13:21,474 - {control.counter:457} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf 0W
2023-12-08 04:13:21,477 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2023-12-08 04:13:21,483 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2023-12-08 04:13:21,487 - {control.chargelog:52} - {DEBUG:MainThread} - imported_since_mode_switch 365.23000000044703 counter 6926743.16
2023-12-08 04:13:21,494 - {control.process:111} - {INFO:MainThread} - LP1: set current 14 A, state CHARGING_ALLOWED
2023-12-08 04:13:21,500 - {modules.common.component_context:24} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:13:21,519 - {control.counter:186} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2023-12-08 04:13:21,754 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2023-12-08 04:13:21,756 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2023-12-08 04:13:25,765 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2023-12-08 04:13:30,785 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2023-12-08 04:13:30,786 - {root:74} - {INFO:MainThread} - # ***Start*** 
2023-12-08 04:13:30,822 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x715cf340>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x7155e4a8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x715c75f8>}
2023-12-08 04:13:30,824 - {modules.common.component_context:24} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2023-12-08 04:13:30,829 - {modules.common.component_context:24} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:13:30,835 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2023-12-08 04:13:30,838 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2023-12-08 04:13:30,880 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-9579, -3255, -3093, -3230], Scale 0
2023-12-08 04:13:30,882 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 750
2023-12-08 04:13:30,884 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"cloud":{"connected":false},"input:0":{"id":0,"state":false},"mqtt":{"connected":false},"switch:0":{"id":0, "source":"loopback", "output":false, "apower":0.0, "voltage":241.9, "current":0.000, "aenergy":{"total":1505.625,"by_minute":[0.000,0.000,0.000],"minute_ts":1702005210},"temperature":{"tC":28.8, "tF":83.8}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:13","unixtime":1702005211,"uptime":1364539,"ram_size":248996,"ram_free":145264,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"beta":{"version":"1.1.0-beta2"},"stable":{"version":"1.0.8"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-68},"ws":{"connected":false}}

2023-12-08 04:13:30,886 - {modules.common.simcount._simcount:38} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1702005200.7325597, power=0, imported=0.0, exported=293628.5948715257)
2023-12-08 04:13:30,886 - {modules.common.simcount._calculate:13} - {DEBUG:device1} - time passed: 0.00282042, power1: 0, power2: 0
2023-12-08 04:13:30,887 - {modules.common.simcount._calculate:29} - {DEBUG:device1} - power did not change sign. Total energy: 0
2023-12-08 04:13:30,887 - {modules.common.simcount._simcount:47} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702005210.8860857, power=0, imported=0.0, exported=293628.5948715257)
2023-12-08 04:13:30,888 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:13:30,902 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [133, 127, 136], Scale -1
2023-12-08 04:13:31,035 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [24161, 24154, 23943, 0, 0, 0, 0], Scale -2
2023-12-08 04:13:31,061 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [5000], Scale -2
2023-12-08 04:13:31,084 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [9929, 9940, 9919], Scale -2
2023-12-08 04:13:31,111 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4870433, 1797042, 2153375, 1456453, 6126209, 2531651, 1862890, 2268106], Scale 0
2023-12-08 04:13:31,113 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[13.3, 12.700000000000001, 13.600000000000001], powers=[3255.0, 3093.0, 3230.0], voltages=[241.61, 241.54, 239.43], power_factors=[0.9929000000000001, 0.9940000000000001, 0.9919], imported=6126209.0, exported=4870433.0, power=9579.0, frequency=50.0)
2023-12-08 04:13:31,116 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2023-12-08 04:13:31,151 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [0], Scale 0
2023-12-08 04:13:31,173 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7789710], Scale 0
2023-12-08 04:13:31,210 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [28, 31, 31], Scale -2
2023-12-08 04:13:31,253 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4607], Scale -2
2023-12-08 04:13:31,253 - {modules.common.component_state:100} - {DEBUG:device0} - currents sign wrong [0.28, 0.31, 0.31]
2023-12-08 04:13:31,254 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.28, 0.31, 0.31], power=-0.0, exported=7789710.0, dc_power=46.07)
2023-12-08 04:13:31,255 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2023-12-08 04:13:31,305 - {modules.common.simcount._simcount:38} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1702005201.061526, power=0.0, imported=143333.37604219164, exported=116864.5215890633)
2023-12-08 04:13:31,305 - {modules.common.simcount._calculate:13} - {DEBUG:device0} - time passed: 0.00284545, power1: 0, power2: 0
2023-12-08 04:13:31,306 - {modules.common.simcount._calculate:29} - {DEBUG:device0} - power did not change sign. Total energy: 0
2023-12-08 04:13:31,306 - {modules.common.simcount._simcount:47} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702005211.3051534, power=0.0, imported=143333.37604219164, exported=116864.5215890633)
2023-12-08 04:13:31,308 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=143333.37604219164, exported=116864.5215890633, power=0.0, soc=19.0)
2023-12-08 04:13:31,315 - {modules.common.component_context:24} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2023-12-08 04:13:31,317 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=143333.37604219164, exported=116864.5215890633, power=0.0, soc=19.0)
2023-12-08 04:13:31,358 - {modules.common.component_context:24} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:13:31,359 - {modules.common.component_context:24} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2023-12-08 04:13:31,360 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-0.0, exported=7816178.86, dc_power=None)
2023-12-08 04:13:31,361 - {modules.common.component_context:24} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2023-12-08 04:13:31,361 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-0.0, exported=7816178.86, dc_power=None)
2023-12-08 04:13:31,362 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:13:31,364 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:13:31,405 - {modules.common.component_context:24} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2023-12-08 04:13:31,406 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[13.3, 12.700000000000001, 13.600000000000001], powers=[3255.0, 3093.0, 3230.0], voltages=[241.61, 241.54, 239.43], power_factors=[0.9929000000000001, 0.9940000000000001, 0.9919], imported=6126209.0, exported=4870433.0, power=9579.0, frequency=50.0)
2023-12-08 04:13:31,581 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2023-12-08 04:13:31,586 - {control.bat_all:173} - {INFO:MainThread} - -50W verbleibende Speicher-Leistung
2023-12-08 04:13:31,591 - {control.counter:138} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [62.47, 62.93, 62.31]A
2023-12-08 04:13:31,593 - {control.counter:161} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 42641.53W
2023-12-08 04:13:31,595 - {control.chargepoint.chargepoint:699} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2023-12-08 04:13:31,597 - {control.chargepoint.chargepoint:682} - {DEBUG:MainThread} - Phasenzahl Lademodus: 3
2023-12-08 04:13:31,599 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 216.972603s, Dauer 1.380952380952381h, Termin heute verpasst: False
2023-12-08 04:13:31,601 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 90939.95198s, Dauer 0.18012422360248448h, Termin heute verpasst: False
2023-12-08 04:13:31,602 - {control.ev:762} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2023-12-08 04:13:31,607 - {control.chargepoint.chargepoint:898} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 14A, Lademodus scheduled_charging, Submodus: Chargemode.INSTANT_CHARGING, Phasen: 3, Priorität: False, max. Ist-Strom: 12.91
2023-12-08 04:13:31,608 - {control.chargepoint.chargepoint:277} - {INFO:MainThread} - LP 1: Zielladen mit 14A, um einen SoC von 95%  um 05:40 zu erreichen.
2023-12-08 04:13:31,634 - {modules.common.simcount._simcount:38} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1702005201.3623345, power=178.76000000000022, imported=2374395.530400737, exported=0)
2023-12-08 04:13:31,638 - {modules.common.simcount._calculate:13} - {DEBUG:MainThread} - time passed: 0.00285336, power1: 178.76, power2: 358.47
2023-12-08 04:13:31,641 - {modules.common.simcount._calculate:29} - {DEBUG:MainThread} - power did not change sign. Total energy: 0.766456
2023-12-08 04:13:31,648 - {modules.common.simcount._simcount:47} - {DEBUG:MainThread} - imported: 0.766456 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702005211.6344435, power=358.46999999999935, imported=2374396.296857006, exported=0)
2023-12-08 04:13:31,659 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=19, daily_exported=0.0, daily_imported=0.0, imported=143333.38, exported=116864.52, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2023-12-08 04:13:31,661 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=19, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=143333.38, exported=116864.52, power=0.0), set=Set(charging_power_left=-50, switch_on_soc_reached=False))
2023-12-08 04:13:31,668 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=98.14, daily_exported=0, power=9220.53, imported=6926771.0, exported=0))
2023-12-08 04:13:31,670 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 95%, 06:00 Uhr', imported_at_plan_start=6926377.93, imported_instant_charging=None, limit=None, phases=3, prio=False, required_current=14, required_currents=[14, 14, 14], 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=[12.63, 12.91, 12.77], daily_imported=98.14, daily_exported=0, evse_current=1400, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=6926771.0, phases_in_use=3, plug_state=True, power=9220.53, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Zielladen mit 14A, um einen SoC von 95%  um 05:40 zu erreichen.', voltages=[241.85, 239.72, 241.86]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=14, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', imported_at_mode_switch=6926377.93, imported_at_plugtime=6926377.93, imported_since_mode_switch=365.23000000044703, imported_since_plugged=365.23000000044703, range_charged=2.029055555558039, time_charged='0:01', timestamp_start_charging='12/08/2023, 04:11:30'), manual_lock=False, phases_to_use=3, plug_state_prev=True, plug_time='12/07/2023, 13:07:31', required_power=9660, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x70bef598>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB Carport', type='internal_openwb', template=1, connected_phases=3, phase_1=2, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=1))
2023-12-08 04:13:31,671 - {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-12-08 04:13:31,672 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=1, max_current_multi_phases=16, max_current_single_phase=20, name='RFID, 20A, 11kW', rfid_enabling=True, valid_tags=['0003134583', '0003526747', '1655332554', '2585022212', '2585087748'])
2023-12-08 04:13:31,674 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[63, 63, 63], max_total_power=43000), get=Get(powers=[3255.0, 3093.0, 3230.0], currents=[13.3, 12.7, 13.6], voltages=[241.61, 241.54, 239.43], power_factors=[0.99, 0.99, 0.99], unbalanced_load=0, frequency=50.0, daily_exported=0.0, daily_imported=4131.0, imported=6126209.0, exported=4870433.0, fault_state=0, fault_str='Kein Fehler.', power=9579.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=42641.53, raw_currents_left=[62.47, 62.93, 62.31], surplus_power_left=0, state_str=''))
2023-12-08 04:13:31,675 - {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': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=358.46999999999935, invalid_home_consumption=0, daily_yield_home_consumption=5546.5169343646, imported_home_consumption=2374396.296857006, disengageable_smarthome_power=0))
2023-12-08 04:13:31,676 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2023-12-08 04:13:31,678 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Ladeprofil ***AUTO1***', disable_after_unplug=False, prio=False, load_default=True, time_charging=TimeCharging(active=True, plans={'0': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[True, True, True, True, False, False, True]), time=['22:00', '06:00'], name='Zeitladen 95%, So-Do 22:00-06:00 Uhr', current=16, limit=Limit(selected='soc', amount=1000, soc=95)), '1': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, True, True, False]), time=['22:00', '06:00'], name='Zeitladen 80%, Fr-Sa 22:00-06:00 Uhr', current=16, limit=Limit(selected='soc', amount=1000, soc=80))}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2023-12-08 04:13:31,680 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, time_charging=TimeCharging(active=True, plans={'2': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), time=['06:45', '07:00'], name='Klima 06:45-07:00 Uhr', current=6, limit=Limit(selected='none', amount=1000, soc=50)), '3': TimeChargingPlan(active=True, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, False, False, False]), time=['00:00', '23:55'], name='Immer 35%', current=10, limit=Limit(selected='soc', amount=1000, soc=35))}), chargemode=Chargemode(selected='scheduled_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={'0': ScheduledChargingPlan(active=False, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, True, False, False, False, False, False]), current=14, name='Zielladen 80%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '1': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), current=14, name='Zielladen 95%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=95), time='05:40'), '2': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once='2023-09-26', weekly=[True, False, False, True, False, True, True]), current=14, name='Zielladen 75%, 7:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=75), time='05:40')}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=80))))
2023-12-08 04:13:31,681 - {control.data:266} - {INFO:MainThread} - ev0
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=['0003134583'], get=Get(soc=0, soc_timestamp=None, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:13:31,682 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Tesla Model Y (2022)', 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=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212', '2585087748'], get=Get(soc=49.0, soc_timestamp='12/08/2023, 01:29:15', force_soc_update=False, range=220.74, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:13:31,684 - {control.data:266} - {INFO:MainThread} - ev2
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Cupra Born 58kW', 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=18000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=2, ev_template=2, name='***AUTO2***', tag_id=['1655332554'], get=Get(soc=72, soc_timestamp='12/08/2023, 04:13:18', force_soc_update=False, range=205, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:13:31,685 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40)
2023-12-08 04:13:31,686 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', 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=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40)
2023-12-08 04:13:31,688 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', 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=18000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40)
2023-12-08 04:13:31,692 - {control.data:245} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=3), pv_charging=PvCharging(bat_prio=True, charging_power_reserve=200, control_range=[-230, 230], feed_in_yield=15000, phase_switch_delay=15, phases_to_use=0, rundown_power=1000, rundown_soc=25, switch_off_delay=60, switch_off_soc=25, switch_off_threshold=50, switch_on_delay=30, switch_on_soc=50, switch_on_threshold=1400), scheduled_charging=ScheduledCharging(phases_to_use=0), time_charging=TimeCharging(phases_to_use=3), unbalanced_load_limit=20, unbalanced_load=True), control_interval=10, extern_display_mode='local', extern=False, external_buttons_hw=False, grid_protection_active=False, grid_protection_configured=True, grid_protection_random_stop=0, grid_protection_timestamp='', mqtt_bridge=False, price_kwh=0.3528, range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=True, r1_active=False, r2_active=False))
2023-12-08 04:13:31,693 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2023-12-08 04:13:31,694 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2023-12-08 04:13:31,697 - {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 0x71578568>), led=Led(active=False), rfid=Rfid(active=True))
2023-12-08 04:13:31,698 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=0), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=293628.595, fault_state=0, fault_str='Kein Fehler.', power=0))
2023-12-08 04:13:31,699 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=9500), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=7816178.86, fault_state=0, fault_str='Kein Fehler.', power=-0.0))
2023-12-08 04:13:31,700 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=8109807.455, power=0.0))
2023-12-08 04:13:31,701 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2023-11-30 12:30:45 +0100 [285f5a5fb]', 'current_branch': 'Release', 'current_branch_commit': '2023-11-30 12:30:45 +0100 [285f5a5fb]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.2-Patch.1', 'datastore_version': 29, 'lastlivevaluesJson': {'timestamp': 1702005201, 'time': '04:13:21', 'grid': 9.502, 'house-power': 0.179, 'charging-all': 9.323, 'pv-all': -0.0, 'cp1-power': 9.323, 'ev1-soc': 49.0, 'ev2-soc': 72, 'bat-all-power': 0.0, 'bat-all-soc': 19}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2023-12-08 04:13:31,703 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2023-12-08 04:13:31,704 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2023-12-08 04:13:31,707 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2023-12-08 04:13:31,708 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2023-12-08 04:13:31,709 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2023-12-08 04:13:31,710 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2023-12-08 04:13:31,711 - {control.data:253} - {INFO:MainThread} - 

2023-12-08 04:13:31,713 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2023-12-08 04:13:31,714 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2023-12-08 04:13:31,720 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2023-12-08 04:13:31,723 - {control.counter:169} - {DEBUG:MainThread} - Zähler 0: [56.47, 56.93, 56.31]A verbleibende Ströme, 38501.53W verbleibende Leistung
2023-12-08 04:13:31,726 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2023-12-08 04:13:31,729 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2023-12-08 04:13:31,731 - {control.algorithm.filter_chargepoints:117} - {DEBUG:MainThread} - Geordnete Ladepunkte [1]
2023-12-08 04:13:31,732 - {control.algorithm.additional_current:26} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2023-12-08 04:13:31,734 - {control.counter:169} - {DEBUG:MainThread} - Zähler 0: [48.47, 48.93, 48.31]A verbleibende Ströme, 32981.53W verbleibende Leistung
2023-12-08 04:13:31,735 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 14A
2023-12-08 04:13:31,737 - {control.counter:211} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: 0W
2023-12-08 04:13:31,738 - {control.counter:457} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf 0W
2023-12-08 04:13:31,740 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2023-12-08 04:13:31,742 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2023-12-08 04:13:31,751 - {control.chargelog:52} - {DEBUG:MainThread} - imported_since_mode_switch 393.070000000298 counter 6926771.0
2023-12-08 04:13:31,758 - {control.process:111} - {INFO:MainThread} - LP1: set current 14 A, state CHARGING_ALLOWED
2023-12-08 04:13:31,773 - {modules.common.component_context:24} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:13:31,799 - {control.counter:186} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2023-12-08 04:13:32,027 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2023-12-08 04:13:32,028 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2023-12-08 04:13:35,035 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2023-12-08 04:13:35,036 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2023-12-08 04:13:40,046 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2023-12-08 04:13:40,047 - {root:74} - {INFO:MainThread} - # ***Start*** 
2023-12-08 04:13:40,162 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x715cf340>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x7155e4a8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x715c75f8>}
2023-12-08 04:13:40,168 - {modules.common.component_context:24} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2023-12-08 04:13:40,184 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2023-12-08 04:13:40,185 - {modules.common.component_context:24} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:13:40,196 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2023-12-08 04:13:40,243 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 750
2023-12-08 04:13:40,245 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"cloud":{"connected":false},"input:0":{"id":0,"state":false},"mqtt":{"connected":false},"switch:0":{"id":0, "source":"loopback", "output":false, "apower":0.0, "voltage":241.8, "current":0.000, "aenergy":{"total":1505.625,"by_minute":[0.000,0.000,0.000],"minute_ts":1702005219},"temperature":{"tC":28.8, "tF":83.8}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:13","unixtime":1702005220,"uptime":1364548,"ram_size":248996,"ram_free":145264,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"beta":{"version":"1.1.0-beta2"},"stable":{"version":"1.0.8"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-67},"ws":{"connected":false}}

2023-12-08 04:13:40,249 - {modules.common.simcount._simcount:38} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1702005210.8860857, power=0, imported=0.0, exported=293628.5948715257)
2023-12-08 04:13:40,253 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-9647, -3259, -3100, -3287], Scale 0
2023-12-08 04:13:40,254 - {modules.common.simcount._calculate:13} - {DEBUG:device1} - time passed: 0.00260098, power1: 0, power2: 0
2023-12-08 04:13:40,262 - {modules.common.simcount._calculate:29} - {DEBUG:device1} - power did not change sign. Total energy: 0
2023-12-08 04:13:40,264 - {modules.common.simcount._simcount:47} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702005220.2496226, power=0, imported=0.0, exported=293628.5948715257)
2023-12-08 04:13:40,266 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:13:40,272 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [135, 129, 138], Scale -1
2023-12-08 04:13:40,329 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [24165, 24151, 23933, 0, 0, 0, 0], Scale -2
2023-12-08 04:13:40,348 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [5000], Scale -2
2023-12-08 04:13:40,372 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [9919, 9940, 9890], Scale -2
2023-12-08 04:13:40,550 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4870433, 1797042, 2153375, 1456453, 6126230, 2531658, 1862896, 2268113], Scale 0
2023-12-08 04:13:40,551 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[13.5, 12.9, 13.8], powers=[3259.0, 3100.0, 3287.0], voltages=[241.65, 241.51, 239.33], power_factors=[0.9919, 0.9940000000000001, 0.9890000000000001], imported=6126230.0, exported=4870433.0, power=9647.0, frequency=50.0)
2023-12-08 04:13:40,552 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2023-12-08 04:13:40,571 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [0], Scale 0
2023-12-08 04:13:40,588 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7789710], Scale 0
2023-12-08 04:13:40,608 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [27, 29, 31], Scale -2
2023-12-08 04:13:40,649 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4740], Scale -2
2023-12-08 04:13:40,650 - {modules.common.component_state:100} - {DEBUG:device0} - currents sign wrong [0.27, 0.29, 0.31]
2023-12-08 04:13:40,650 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.27, 0.29, 0.31], power=-0.0, exported=7789710.0, dc_power=47.4)
2023-12-08 04:13:40,651 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2023-12-08 04:13:40,720 - {modules.common.simcount._simcount:38} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1702005211.3051534, power=0.0, imported=143333.37604219164, exported=116864.5215890633)
2023-12-08 04:13:40,720 - {modules.common.simcount._calculate:13} - {DEBUG:device0} - time passed: 0.00261524, power1: 0, power2: 0
2023-12-08 04:13:40,721 - {modules.common.simcount._calculate:29} - {DEBUG:device0} - power did not change sign. Total energy: 0
2023-12-08 04:13:40,721 - {modules.common.simcount._simcount:47} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702005220.7200155, power=0.0, imported=143333.37604219164, exported=116864.5215890633)
2023-12-08 04:13:40,722 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=143333.37604219164, exported=116864.5215890633, power=0.0, soc=19.0)
2023-12-08 04:13:40,728 - {modules.common.component_context:24} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2023-12-08 04:13:40,732 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=143333.37604219164, exported=116864.5215890633, power=0.0, soc=19.0)
2023-12-08 04:13:40,764 - {modules.common.component_context:24} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:13:40,765 - {modules.common.component_context:24} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2023-12-08 04:13:40,766 - {modules.common.component_context:24} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2023-12-08 04:13:40,766 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-0.0, exported=7816178.86, dc_power=None)
2023-12-08 04:13:40,767 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:13:40,768 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-0.0, exported=7816178.86, dc_power=None)
2023-12-08 04:13:40,768 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:13:40,803 - {modules.common.component_context:24} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2023-12-08 04:13:40,803 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[13.5, 12.9, 13.8], powers=[3259.0, 3100.0, 3287.0], voltages=[241.65, 241.51, 239.33], power_factors=[0.9919, 0.9940000000000001, 0.9890000000000001], imported=6126230.0, exported=4870433.0, power=9647.0, frequency=50.0)
2023-12-08 04:13:40,959 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2023-12-08 04:13:40,966 - {control.bat_all:173} - {INFO:MainThread} - -50W verbleibende Speicher-Leistung
2023-12-08 04:13:40,969 - {control.counter:138} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [62.269999999999996, 62.93, 62.35]A
2023-12-08 04:13:40,972 - {control.counter:161} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 42671.89W
2023-12-08 04:13:40,976 - {control.chargepoint.chargepoint:699} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2023-12-08 04:13:40,977 - {control.chargepoint.chargepoint:682} - {DEBUG:MainThread} - Phasenzahl Lademodus: 3
2023-12-08 04:13:40,979 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 207.592673s, Dauer 1.380952380952381h, Termin heute verpasst: False
2023-12-08 04:13:40,981 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 90930.571631s, Dauer 0.18012422360248448h, Termin heute verpasst: False
2023-12-08 04:13:40,985 - {control.ev:762} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2023-12-08 04:13:40,992 - {control.chargepoint.chargepoint:898} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 14A, Lademodus scheduled_charging, Submodus: Chargemode.INSTANT_CHARGING, Phasen: 3, Priorität: False, max. Ist-Strom: 13.15
2023-12-08 04:13:40,995 - {control.chargepoint.chargepoint:277} - {INFO:MainThread} - LP 1: Zielladen mit 14A, um einen SoC von 95%  um 05:40 zu erreichen.
2023-12-08 04:13:41,008 - {modules.common.simcount._simcount:38} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1702005211.6344435, power=358.46999999999935, imported=2374396.296857006, exported=0)
2023-12-08 04:13:41,010 - {modules.common.simcount._calculate:13} - {DEBUG:MainThread} - time passed: 0.00260393, power1: 358.47, power2: 328.11
2023-12-08 04:13:41,011 - {modules.common.simcount._calculate:29} - {DEBUG:MainThread} - power did not change sign. Total energy: 0.893902
2023-12-08 04:13:41,012 - {modules.common.simcount._simcount:47} - {DEBUG:MainThread} - imported: 0.893902 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702005221.008575, power=328.1100000000006, imported=2374397.1907585566, exported=0)
2023-12-08 04:13:41,021 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=19, daily_exported=0.0, daily_imported=0.0, imported=143333.38, exported=116864.52, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2023-12-08 04:13:41,023 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=19, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=143333.38, exported=116864.52, power=0.0), set=Set(charging_power_left=-50, switch_on_soc_reached=False))
2023-12-08 04:13:41,025 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=98.14, daily_exported=0, power=9318.89, imported=6926793.95, exported=0))
2023-12-08 04:13:41,026 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 95%, 06:00 Uhr', imported_at_plan_start=6926377.93, imported_instant_charging=None, limit=None, phases=3, prio=False, required_current=14, required_currents=[14, 14, 14], 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=[12.83, 13.15, 12.77], daily_imported=98.14, daily_exported=0, evse_current=1400, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=6926793.95, phases_in_use=3, plug_state=True, power=9318.89, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Zielladen mit 14A, um einen SoC von 95%  um 05:40 zu erreichen.', voltages=[241.71, 239.56, 241.83]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=14, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', imported_at_mode_switch=6926377.93, imported_at_plugtime=6926377.93, imported_since_mode_switch=393.070000000298, imported_since_plugged=393.070000000298, range_charged=2.183722222223878, time_charged='0:02', timestamp_start_charging='12/08/2023, 04:11:30'), manual_lock=False, phases_to_use=3, plug_state_prev=True, plug_time='12/07/2023, 13:07:31', required_power=9660, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x71e12400>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB Carport', type='internal_openwb', template=1, connected_phases=3, phase_1=2, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=1))
2023-12-08 04:13:41,028 - {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-12-08 04:13:41,029 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=1, max_current_multi_phases=16, max_current_single_phase=20, name='RFID, 20A, 11kW', rfid_enabling=True, valid_tags=['0003134583', '0003526747', '1655332554', '2585022212', '2585087748'])
2023-12-08 04:13:41,031 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[63, 63, 63], max_total_power=43000), get=Get(powers=[3259.0, 3100.0, 3287.0], currents=[13.5, 12.9, 13.8], voltages=[241.65, 241.51, 239.33], power_factors=[0.99, 0.99, 0.99], unbalanced_load=0, frequency=50.0, daily_exported=0.0, daily_imported=4131.0, imported=6126230.0, exported=4870433.0, fault_state=0, fault_str='Kein Fehler.', power=9647.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=42671.89, raw_currents_left=[62.269999999999996, 62.93, 62.35], surplus_power_left=0, state_str=''))
2023-12-08 04:13:41,034 - {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': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=328.1100000000006, invalid_home_consumption=0, daily_yield_home_consumption=5546.5169343646, imported_home_consumption=2374397.1907585566, disengageable_smarthome_power=0))
2023-12-08 04:13:41,036 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2023-12-08 04:13:41,038 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Ladeprofil ***AUTO1***', disable_after_unplug=False, prio=False, load_default=True, time_charging=TimeCharging(active=True, plans={'0': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[True, True, True, True, False, False, True]), time=['22:00', '06:00'], name='Zeitladen 95%, So-Do 22:00-06:00 Uhr', current=16, limit=Limit(selected='soc', amount=1000, soc=95)), '1': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, True, True, False]), time=['22:00', '06:00'], name='Zeitladen 80%, Fr-Sa 22:00-06:00 Uhr', current=16, limit=Limit(selected='soc', amount=1000, soc=80))}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2023-12-08 04:13:41,039 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, time_charging=TimeCharging(active=True, plans={'2': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), time=['06:45', '07:00'], name='Klima 06:45-07:00 Uhr', current=6, limit=Limit(selected='none', amount=1000, soc=50)), '3': TimeChargingPlan(active=True, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, False, False, False]), time=['00:00', '23:55'], name='Immer 35%', current=10, limit=Limit(selected='soc', amount=1000, soc=35))}), chargemode=Chargemode(selected='scheduled_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={'0': ScheduledChargingPlan(active=False, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, True, False, False, False, False, False]), current=14, name='Zielladen 80%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '1': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), current=14, name='Zielladen 95%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=95), time='05:40'), '2': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once='2023-09-26', weekly=[True, False, False, True, False, True, True]), current=14, name='Zielladen 75%, 7:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=75), time='05:40')}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=80))))
2023-12-08 04:13:41,041 - {control.data:266} - {INFO:MainThread} - ev0
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=['0003134583'], get=Get(soc=0, soc_timestamp=None, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:13:41,043 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Tesla Model Y (2022)', 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=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212', '2585087748'], get=Get(soc=49.0, soc_timestamp='12/08/2023, 01:29:15', force_soc_update=False, range=220.74, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:13:41,045 - {control.data:266} - {INFO:MainThread} - ev2
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Cupra Born 58kW', 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=18000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=2, ev_template=2, name='***AUTO2***', tag_id=['1655332554'], get=Get(soc=72, soc_timestamp='12/08/2023, 04:13:18', force_soc_update=False, range=205, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:13:41,046 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40)
2023-12-08 04:13:41,049 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', 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=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40)
2023-12-08 04:13:41,050 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', 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=18000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40)
2023-12-08 04:13:41,052 - {control.data:245} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=3), pv_charging=PvCharging(bat_prio=True, charging_power_reserve=200, control_range=[-230, 230], feed_in_yield=15000, phase_switch_delay=15, phases_to_use=0, rundown_power=1000, rundown_soc=25, switch_off_delay=60, switch_off_soc=25, switch_off_threshold=50, switch_on_delay=30, switch_on_soc=50, switch_on_threshold=1400), scheduled_charging=ScheduledCharging(phases_to_use=0), time_charging=TimeCharging(phases_to_use=3), unbalanced_load_limit=20, unbalanced_load=True), control_interval=10, extern_display_mode='local', extern=False, external_buttons_hw=False, grid_protection_active=False, grid_protection_configured=True, grid_protection_random_stop=0, grid_protection_timestamp='', mqtt_bridge=False, price_kwh=0.3528, range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=True, r1_active=False, r2_active=False))
2023-12-08 04:13:41,053 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2023-12-08 04:13:41,054 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2023-12-08 04:13:41,056 - {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 0x70b9ffa0>), led=Led(active=False), rfid=Rfid(active=True))
2023-12-08 04:13:41,057 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=0), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=293628.595, fault_state=0, fault_str='Kein Fehler.', power=0))
2023-12-08 04:13:41,059 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=9500), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=7816178.86, fault_state=0, fault_str='Kein Fehler.', power=-0.0))
2023-12-08 04:13:41,060 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=8109807.455, power=0.0))
2023-12-08 04:13:41,061 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2023-11-30 12:30:45 +0100 [285f5a5fb]', 'current_branch': 'Release', 'current_branch_commit': '2023-11-30 12:30:45 +0100 [285f5a5fb]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.2-Patch.1', 'datastore_version': 29, 'lastlivevaluesJson': {'timestamp': 1702005211, 'time': '04:13:31', 'grid': 9.579, 'house-power': 0.358, 'charging-all': 9.221, 'pv-all': -0.0, 'cp1-power': 9.221, 'ev1-soc': 49.0, 'ev2-soc': 72, 'bat-all-power': 0.0, 'bat-all-soc': 19}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2023-12-08 04:13:41,063 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2023-12-08 04:13:41,065 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2023-12-08 04:13:41,066 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2023-12-08 04:13:41,067 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2023-12-08 04:13:41,069 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2023-12-08 04:13:41,071 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2023-12-08 04:13:41,073 - {control.data:253} - {INFO:MainThread} - 

2023-12-08 04:13:41,073 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2023-12-08 04:13:41,074 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2023-12-08 04:13:41,076 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2023-12-08 04:13:41,078 - {control.counter:169} - {DEBUG:MainThread} - Zähler 0: [56.269999999999996, 56.93, 56.35]A verbleibende Ströme, 38531.89W verbleibende Leistung
2023-12-08 04:13:41,079 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2023-12-08 04:13:41,082 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2023-12-08 04:13:41,083 - {control.algorithm.filter_chargepoints:117} - {DEBUG:MainThread} - Geordnete Ladepunkte [1]
2023-12-08 04:13:41,084 - {control.algorithm.additional_current:26} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2023-12-08 04:13:41,085 - {control.counter:169} - {DEBUG:MainThread} - Zähler 0: [48.269999999999996, 48.93, 48.35]A verbleibende Ströme, 33011.89W verbleibende Leistung
2023-12-08 04:13:41,086 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 14A
2023-12-08 04:13:41,088 - {control.counter:211} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: 0W
2023-12-08 04:13:41,089 - {control.counter:457} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf 0W
2023-12-08 04:13:41,091 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2023-12-08 04:13:41,091 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2023-12-08 04:13:41,093 - {control.chargelog:52} - {DEBUG:MainThread} - imported_since_mode_switch 416.0200000004843 counter 6926793.95
2023-12-08 04:13:41,097 - {control.process:111} - {INFO:MainThread} - LP1: set current 14 A, state CHARGING_ALLOWED
2023-12-08 04:13:41,099 - {modules.common.component_context:24} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:13:41,123 - {control.counter:186} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2023-12-08 04:13:41,335 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2023-12-08 04:13:45,353 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2023-12-08 04:13:45,354 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2023-12-08 04:13:50,365 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2023-12-08 04:13:50,366 - {root:74} - {INFO:MainThread} - # ***Start*** 
2023-12-08 04:13:50,408 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x715cf340>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x7155e4a8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x715c75f8>}
2023-12-08 04:13:50,409 - {modules.common.component_context:24} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2023-12-08 04:13:50,416 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2023-12-08 04:13:50,418 - {modules.common.component_context:24} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:13:50,419 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2023-12-08 04:13:50,453 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-9642, -3255, -3104, -3282], Scale 0
2023-12-08 04:13:50,469 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [135, 129, 138], Scale -1
2023-12-08 04:13:50,472 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 750
2023-12-08 04:13:50,474 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"cloud":{"connected":false},"input:0":{"id":0,"state":false},"mqtt":{"connected":false},"switch:0":{"id":0, "source":"loopback", "output":false, "apower":0.0, "voltage":241.8, "current":0.000, "aenergy":{"total":1505.625,"by_minute":[0.000,0.000,0.000],"minute_ts":1702005229},"temperature":{"tC":28.7, "tF":83.7}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:13","unixtime":1702005231,"uptime":1364558,"ram_size":248996,"ram_free":145264,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"beta":{"version":"1.1.0-beta2"},"stable":{"version":"1.0.8"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-68},"ws":{"connected":false}}

2023-12-08 04:13:50,476 - {modules.common.simcount._simcount:38} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1702005220.2496226, power=0, imported=0.0, exported=293628.5948715257)
2023-12-08 04:13:50,477 - {modules.common.simcount._calculate:13} - {DEBUG:device1} - time passed: 0.00284083, power1: 0, power2: 0
2023-12-08 04:13:50,477 - {modules.common.simcount._calculate:29} - {DEBUG:device1} - power did not change sign. Total energy: 0
2023-12-08 04:13:50,478 - {modules.common.simcount._simcount:47} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702005230.4766092, power=0, imported=0.0, exported=293628.5948715257)
2023-12-08 04:13:50,479 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:13:50,512 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [24152, 24139, 23912, 0, 0, 0, 0], Scale -2
2023-12-08 04:13:50,539 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [5000], Scale -2
2023-12-08 04:13:50,561 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [9919, 9929, 9919], Scale -2
2023-12-08 04:13:50,581 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4870433, 1797042, 2153375, 1456453, 6126273, 2531673, 1862910, 2268128], Scale 0
2023-12-08 04:13:50,581 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[13.5, 12.9, 13.8], powers=[3255.0, 3104.0, 3282.0], voltages=[241.52, 241.39000000000001, 239.12], power_factors=[0.9919, 0.9929000000000001, 0.9919], imported=6126273.0, exported=4870433.0, power=9642.0, frequency=50.0)
2023-12-08 04:13:50,597 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2023-12-08 04:13:50,660 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [0], Scale 0
2023-12-08 04:13:50,709 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7789710], Scale 0
2023-12-08 04:13:50,730 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [29, 31, 32], Scale -2
2023-12-08 04:13:50,755 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-5373], Scale -2
2023-12-08 04:13:50,756 - {modules.common.component_state:100} - {DEBUG:device0} - currents sign wrong [0.29, 0.31, 0.32]
2023-12-08 04:13:50,756 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.29, 0.31, 0.32], power=-0.0, exported=7789710.0, dc_power=53.730000000000004)
2023-12-08 04:13:50,764 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2023-12-08 04:13:50,817 - {modules.common.simcount._simcount:38} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1702005220.7200155, power=0.0, imported=143333.37604219164, exported=116864.5215890633)
2023-12-08 04:13:50,818 - {modules.common.simcount._calculate:13} - {DEBUG:device0} - time passed: 0.00280475, power1: 0, power2: 0
2023-12-08 04:13:50,818 - {modules.common.simcount._calculate:29} - {DEBUG:device0} - power did not change sign. Total energy: 0
2023-12-08 04:13:50,819 - {modules.common.simcount._simcount:47} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702005230.8171256, power=0.0, imported=143333.37604219164, exported=116864.5215890633)
2023-12-08 04:13:50,827 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=143333.37604219164, exported=116864.5215890633, power=0.0, soc=19.0)
2023-12-08 04:13:50,846 - {modules.common.component_context:24} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2023-12-08 04:13:50,847 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=143333.37604219164, exported=116864.5215890633, power=0.0, soc=19.0)
2023-12-08 04:13:50,882 - {modules.common.component_context:24} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:13:50,883 - {modules.common.component_context:24} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2023-12-08 04:13:50,885 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-0.0, exported=7816178.86, dc_power=None)
2023-12-08 04:13:50,886 - {modules.common.component_context:24} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2023-12-08 04:13:50,887 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-0.0, exported=7816178.86, dc_power=None)
2023-12-08 04:13:50,897 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:13:50,901 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:13:50,948 - {modules.common.component_context:24} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2023-12-08 04:13:50,949 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[13.5, 12.9, 13.8], powers=[3255.0, 3104.0, 3282.0], voltages=[241.52, 241.39000000000001, 239.12], power_factors=[0.9919, 0.9929000000000001, 0.9919], imported=6126273.0, exported=4870433.0, power=9642.0, frequency=50.0)
2023-12-08 04:13:51,170 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2023-12-08 04:13:51,173 - {control.bat_all:173} - {INFO:MainThread} - -50W verbleibende Speicher-Leistung
2023-12-08 04:13:51,176 - {control.counter:138} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [62.269999999999996, 62.93, 62.36]A
2023-12-08 04:13:51,179 - {control.counter:161} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 42677.28W
2023-12-08 04:13:51,183 - {control.chargepoint.chargepoint:699} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2023-12-08 04:13:51,185 - {control.chargepoint.chargepoint:682} - {DEBUG:MainThread} - Phasenzahl Lademodus: 3
2023-12-08 04:13:51,188 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 197.383489s, Dauer 1.380952380952381h, Termin heute verpasst: False
2023-12-08 04:13:51,189 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 90920.363535s, Dauer 0.18012422360248448h, Termin heute verpasst: False
2023-12-08 04:13:51,196 - {control.ev:762} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2023-12-08 04:13:51,201 - {control.chargepoint.chargepoint:898} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 14A, Lademodus scheduled_charging, Submodus: Chargemode.INSTANT_CHARGING, Phasen: 3, Priorität: False, max. Ist-Strom: 13.16
2023-12-08 04:13:51,203 - {control.chargepoint.chargepoint:277} - {INFO:MainThread} - LP 1: Zielladen mit 14A, um einen SoC von 95%  um 05:40 zu erreichen.
2023-12-08 04:13:51,210 - {modules.common.simcount._simcount:38} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1702005221.008575, power=328.1100000000006, imported=2374397.1907585566, exported=0)
2023-12-08 04:13:51,212 - {modules.common.simcount._calculate:13} - {DEBUG:MainThread} - time passed: 0.00283379, power1: 328.11, power2: 322.72
2023-12-08 04:13:51,214 - {modules.common.simcount._calculate:29} - {DEBUG:MainThread} - power did not change sign. Total energy: 0.922156
2023-12-08 04:13:51,216 - {modules.common.simcount._simcount:47} - {DEBUG:MainThread} - imported: 0.922156 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702005231.2102015, power=322.71999999999935, imported=2374398.1129147513, exported=0)
2023-12-08 04:13:51,221 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=19, daily_exported=0.0, daily_imported=0.0, imported=143333.38, exported=116864.52, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2023-12-08 04:13:51,223 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=19, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=143333.38, exported=116864.52, power=0.0), set=Set(charging_power_left=-50, switch_on_soc_reached=False))
2023-12-08 04:13:51,224 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=98.14, daily_exported=0, power=9319.28, imported=6926817.87, exported=0))
2023-12-08 04:13:51,229 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 95%, 06:00 Uhr', imported_at_plan_start=6926377.93, imported_instant_charging=None, limit=None, phases=3, prio=False, required_current=14, required_currents=[14, 14, 14], 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=[12.83, 13.16, 12.77], daily_imported=98.14, daily_exported=0, evse_current=1400, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=6926817.87, phases_in_use=3, plug_state=True, power=9319.28, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Zielladen mit 14A, um einen SoC von 95%  um 05:40 zu erreichen.', voltages=[241.74, 239.49, 241.8]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=14, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', imported_at_mode_switch=6926377.93, imported_at_plugtime=6926377.93, imported_since_mode_switch=416.0200000004843, imported_since_plugged=416.0200000004843, range_charged=2.3112222222249126, time_charged='0:02', timestamp_start_charging='12/08/2023, 04:11:30'), manual_lock=False, phases_to_use=3, plug_state_prev=True, plug_time='12/07/2023, 13:07:31', required_power=9660, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x715bf898>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB Carport', type='internal_openwb', template=1, connected_phases=3, phase_1=2, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=1))
2023-12-08 04:13:51,232 - {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-12-08 04:13:51,238 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=1, max_current_multi_phases=16, max_current_single_phase=20, name='RFID, 20A, 11kW', rfid_enabling=True, valid_tags=['0003134583', '0003526747', '1655332554', '2585022212', '2585087748'])
2023-12-08 04:13:51,242 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[63, 63, 63], max_total_power=43000), get=Get(powers=[3255.0, 3104.0, 3282.0], currents=[13.5, 12.9, 13.8], voltages=[241.52, 241.39, 239.12], power_factors=[0.99, 0.99, 0.99], unbalanced_load=0, frequency=50.0, daily_exported=0.0, daily_imported=4131.0, imported=6126273.0, exported=4870433.0, fault_state=0, fault_str='Kein Fehler.', power=9642.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=42677.28, raw_currents_left=[62.269999999999996, 62.93, 62.36], surplus_power_left=0, state_str=''))
2023-12-08 04:13:51,251 - {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': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=322.71999999999935, invalid_home_consumption=0, daily_yield_home_consumption=5546.5169343646, imported_home_consumption=2374398.1129147513, disengageable_smarthome_power=0))
2023-12-08 04:13:51,253 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2023-12-08 04:13:51,254 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Ladeprofil ***AUTO1***', disable_after_unplug=False, prio=False, load_default=True, time_charging=TimeCharging(active=True, plans={'0': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[True, True, True, True, False, False, True]), time=['22:00', '06:00'], name='Zeitladen 95%, So-Do 22:00-06:00 Uhr', current=16, limit=Limit(selected='soc', amount=1000, soc=95)), '1': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, True, True, False]), time=['22:00', '06:00'], name='Zeitladen 80%, Fr-Sa 22:00-06:00 Uhr', current=16, limit=Limit(selected='soc', amount=1000, soc=80))}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2023-12-08 04:13:51,257 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, time_charging=TimeCharging(active=True, plans={'2': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), time=['06:45', '07:00'], name='Klima 06:45-07:00 Uhr', current=6, limit=Limit(selected='none', amount=1000, soc=50)), '3': TimeChargingPlan(active=True, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, False, False, False]), time=['00:00', '23:55'], name='Immer 35%', current=10, limit=Limit(selected='soc', amount=1000, soc=35))}), chargemode=Chargemode(selected='scheduled_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={'0': ScheduledChargingPlan(active=False, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, True, False, False, False, False, False]), current=14, name='Zielladen 80%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '1': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), current=14, name='Zielladen 95%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=95), time='05:40'), '2': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once='2023-09-26', weekly=[True, False, False, True, False, True, True]), current=14, name='Zielladen 75%, 7:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=75), time='05:40')}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=80))))
2023-12-08 04:13:51,262 - {control.data:266} - {INFO:MainThread} - ev0
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=['0003134583'], get=Get(soc=0, soc_timestamp=None, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:13:51,265 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Tesla Model Y (2022)', 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=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212', '2585087748'], get=Get(soc=49.0, soc_timestamp='12/08/2023, 01:29:15', force_soc_update=False, range=220.74, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:13:51,283 - {control.data:266} - {INFO:MainThread} - ev2
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Cupra Born 58kW', 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=18000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=2, ev_template=2, name='***AUTO2***', tag_id=['1655332554'], get=Get(soc=72, soc_timestamp='12/08/2023, 04:13:18', force_soc_update=False, range=205, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:13:51,284 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40)
2023-12-08 04:13:51,289 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', 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=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40)
2023-12-08 04:13:51,291 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', 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=18000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40)
2023-12-08 04:13:51,297 - {control.data:245} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=3), pv_charging=PvCharging(bat_prio=True, charging_power_reserve=200, control_range=[-230, 230], feed_in_yield=15000, phase_switch_delay=15, phases_to_use=0, rundown_power=1000, rundown_soc=25, switch_off_delay=60, switch_off_soc=25, switch_off_threshold=50, switch_on_delay=30, switch_on_soc=50, switch_on_threshold=1400), scheduled_charging=ScheduledCharging(phases_to_use=0), time_charging=TimeCharging(phases_to_use=3), unbalanced_load_limit=20, unbalanced_load=True), control_interval=10, extern_display_mode='local', extern=False, external_buttons_hw=False, grid_protection_active=False, grid_protection_configured=True, grid_protection_random_stop=0, grid_protection_timestamp='', mqtt_bridge=False, price_kwh=0.3528, range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=True, r1_active=False, r2_active=False))
2023-12-08 04:13:51,298 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2023-12-08 04:13:51,303 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2023-12-08 04:13:51,307 - {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 0x70beb520>), led=Led(active=False), rfid=Rfid(active=True))
2023-12-08 04:13:51,308 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=0), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=293628.595, fault_state=0, fault_str='Kein Fehler.', power=0))
2023-12-08 04:13:51,310 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=9500), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=7816178.86, fault_state=0, fault_str='Kein Fehler.', power=-0.0))
2023-12-08 04:13:51,311 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=8109807.455, power=0.0))
2023-12-08 04:13:51,319 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2023-11-30 12:30:45 +0100 [285f5a5fb]', 'current_branch': 'Release', 'current_branch_commit': '2023-11-30 12:30:45 +0100 [285f5a5fb]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.2-Patch.1', 'datastore_version': 29, 'lastlivevaluesJson': {'timestamp': 1702005221, 'time': '04:13:41', 'grid': 9.647, 'house-power': 0.328, 'charging-all': 9.319, 'pv-all': -0.0, 'cp1-power': 9.319, 'ev1-soc': 49.0, 'ev2-soc': 72, 'bat-all-power': 0.0, 'bat-all-soc': 19}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2023-12-08 04:13:51,320 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2023-12-08 04:13:51,321 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2023-12-08 04:13:51,321 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2023-12-08 04:13:51,323 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2023-12-08 04:13:51,325 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2023-12-08 04:13:51,326 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2023-12-08 04:13:51,330 - {control.data:253} - {INFO:MainThread} - 

2023-12-08 04:13:51,333 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2023-12-08 04:13:51,334 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2023-12-08 04:13:51,336 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2023-12-08 04:13:51,337 - {control.counter:169} - {DEBUG:MainThread} - Zähler 0: [56.269999999999996, 56.93, 56.36]A verbleibende Ströme, 38537.28W verbleibende Leistung
2023-12-08 04:13:51,339 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2023-12-08 04:13:51,342 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2023-12-08 04:13:51,344 - {control.algorithm.filter_chargepoints:117} - {DEBUG:MainThread} - Geordnete Ladepunkte [1]
2023-12-08 04:13:51,346 - {control.algorithm.additional_current:26} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2023-12-08 04:13:51,347 - {control.counter:169} - {DEBUG:MainThread} - Zähler 0: [48.269999999999996, 48.93, 48.36]A verbleibende Ströme, 33017.28W verbleibende Leistung
2023-12-08 04:13:51,348 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 14A
2023-12-08 04:13:51,350 - {control.counter:211} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: 0W
2023-12-08 04:13:51,352 - {control.counter:457} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf 0W
2023-12-08 04:13:51,355 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2023-12-08 04:13:51,356 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2023-12-08 04:13:51,360 - {control.chargelog:52} - {DEBUG:MainThread} - imported_since_mode_switch 439.9400000004098 counter 6926817.87
2023-12-08 04:13:51,364 - {control.process:111} - {INFO:MainThread} - LP1: set current 14 A, state CHARGING_ALLOWED
2023-12-08 04:13:51,368 - {modules.common.component_context:24} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:13:51,399 - {control.counter:186} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2023-12-08 04:13:51,725 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2023-12-08 04:13:51,726 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2023-12-08 04:13:55,736 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2023-12-08 04:14:00,748 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2023-12-08 04:14:00,749 - {root:74} - {INFO:MainThread} - # ***Start*** 
2023-12-08 04:14:00,793 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x715cf340>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x7155e4a8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x715c75f8>}
2023-12-08 04:14:00,794 - {modules.common.component_context:24} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2023-12-08 04:14:00,802 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2023-12-08 04:14:00,803 - {modules.common.component_context:24} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:14:00,807 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2023-12-08 04:14:00,832 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-9644, -3257, -3104, -3282], Scale 0
2023-12-08 04:14:00,848 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 750
2023-12-08 04:14:00,850 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"cloud":{"connected":false},"input:0":{"id":0,"state":false},"mqtt":{"connected":false},"switch:0":{"id":0, "source":"loopback", "output":false, "apower":0.0, "voltage":241.8, "current":0.000, "aenergy":{"total":1505.625,"by_minute":[0.000,0.000,0.000],"minute_ts":1702005240},"temperature":{"tC":28.8, "tF":83.9}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:14","unixtime":1702005241,"uptime":1364569,"ram_size":248944,"ram_free":144704,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"beta":{"version":"1.1.0-beta2"},"stable":{"version":"1.0.8"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-69},"ws":{"connected":false}}

2023-12-08 04:14:00,852 - {modules.common.simcount._simcount:38} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1702005230.4766092, power=0, imported=0.0, exported=293628.5948715257)
2023-12-08 04:14:00,853 - {modules.common.simcount._calculate:13} - {DEBUG:device1} - time passed: 0.00288222, power1: 0, power2: 0
2023-12-08 04:14:00,853 - {modules.common.simcount._calculate:29} - {DEBUG:device1} - power did not change sign. Total energy: 0
2023-12-08 04:14:00,854 - {modules.common.simcount._simcount:47} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702005240.8525949, power=0, imported=0.0, exported=293628.5948715257)
2023-12-08 04:14:00,855 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:14:00,953 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [135, 129, 138], Scale -1
2023-12-08 04:14:00,980 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [24151, 24135, 23918, 0, 0, 0, 0], Scale -2
2023-12-08 04:14:01,011 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [5000], Scale -2
2023-12-08 04:14:01,031 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [9919, 9929, 9900], Scale -2
2023-12-08 04:14:01,051 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4870433, 1797042, 2153375, 1456453, 6126294, 2531680, 1862917, 2268135], Scale 0
2023-12-08 04:14:01,052 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[13.5, 12.9, 13.8], powers=[3257.0, 3104.0, 3282.0], voltages=[241.51, 241.35, 239.18], power_factors=[0.9919, 0.9929000000000001, 0.99], imported=6126294.0, exported=4870433.0, power=9644.0, frequency=50.0)
2023-12-08 04:14:01,055 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2023-12-08 04:14:01,079 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [0], Scale 0
2023-12-08 04:14:01,100 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7789710], Scale 0
2023-12-08 04:14:01,120 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [28, 32, 32], Scale -2
2023-12-08 04:14:01,172 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4737], Scale -2
2023-12-08 04:14:01,173 - {modules.common.component_state:100} - {DEBUG:device0} - currents sign wrong [0.28, 0.32, 0.32]
2023-12-08 04:14:01,173 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.28, 0.32, 0.32], power=-0.0, exported=7789710.0, dc_power=47.37)
2023-12-08 04:14:01,176 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2023-12-08 04:14:01,220 - {modules.common.simcount._simcount:38} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1702005230.8171256, power=0.0, imported=143333.37604219164, exported=116864.5215890633)
2023-12-08 04:14:01,221 - {modules.common.simcount._calculate:13} - {DEBUG:device0} - time passed: 0.00288978, power1: 0, power2: 0
2023-12-08 04:14:01,221 - {modules.common.simcount._calculate:29} - {DEBUG:device0} - power did not change sign. Total energy: 0
2023-12-08 04:14:01,222 - {modules.common.simcount._simcount:47} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702005241.2203443, power=0.0, imported=143333.37604219164, exported=116864.5215890633)
2023-12-08 04:14:01,223 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=143333.37604219164, exported=116864.5215890633, power=0.0, soc=19.0)
2023-12-08 04:14:01,233 - {modules.common.component_context:24} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2023-12-08 04:14:01,234 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=143333.37604219164, exported=116864.5215890633, power=0.0, soc=19.0)
2023-12-08 04:14:01,268 - {modules.common.component_context:24} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:14:01,270 - {modules.common.component_context:24} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2023-12-08 04:14:01,271 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-0.0, exported=7816178.86, dc_power=None)
2023-12-08 04:14:01,272 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-0.0, exported=7816178.86, dc_power=None)
2023-12-08 04:14:01,274 - {modules.common.component_context:24} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2023-12-08 04:14:01,275 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:14:01,276 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:14:01,313 - {modules.common.component_context:24} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2023-12-08 04:14:01,314 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[13.5, 12.9, 13.8], powers=[3257.0, 3104.0, 3282.0], voltages=[241.51, 241.35, 239.18], power_factors=[0.9919, 0.9929000000000001, 0.99], imported=6126294.0, exported=4870433.0, power=9644.0, frequency=50.0)
2023-12-08 04:14:01,473 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2023-12-08 04:14:01,475 - {control.bat_all:173} - {INFO:MainThread} - -50W verbleibende Speicher-Leistung
2023-12-08 04:14:01,477 - {control.counter:138} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [62.29, 62.95, 62.34]A
2023-12-08 04:14:01,479 - {control.counter:161} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 42671.16W
2023-12-08 04:14:01,482 - {control.chargepoint.chargepoint:699} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2023-12-08 04:14:01,483 - {control.chargepoint.chargepoint:682} - {DEBUG:MainThread} - Phasenzahl Lademodus: 3
2023-12-08 04:14:01,485 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 187.086983s, Dauer 1.380952380952381h, Termin heute verpasst: False
2023-12-08 04:14:01,486 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 90910.066724s, Dauer 0.18012422360248448h, Termin heute verpasst: False
2023-12-08 04:14:01,488 - {control.ev:762} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2023-12-08 04:14:01,490 - {control.chargepoint.chargepoint:898} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 14A, Lademodus scheduled_charging, Submodus: Chargemode.INSTANT_CHARGING, Phasen: 3, Priorität: False, max. Ist-Strom: 13.14
2023-12-08 04:14:01,492 - {control.chargepoint.chargepoint:277} - {INFO:MainThread} - LP 1: Zielladen mit 14A, um einen SoC von 95%  um 05:40 zu erreichen.
2023-12-08 04:14:01,513 - {modules.common.simcount._simcount:38} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1702005231.2102015, power=322.71999999999935, imported=2374398.1129147513, exported=0)
2023-12-08 04:14:01,515 - {modules.common.simcount._calculate:13} - {DEBUG:MainThread} - time passed: 0.00286196, power1: 322.72, power2: 328.84
2023-12-08 04:14:01,517 - {modules.common.simcount._calculate:29} - {DEBUG:MainThread} - power did not change sign. Total energy: 0.932368
2023-12-08 04:14:01,519 - {modules.common.simcount._simcount:47} - {DEBUG:MainThread} - imported: 0.932368 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702005241.5132449, power=328.84000000000015, imported=2374399.0452829367, exported=0)
2023-12-08 04:14:01,524 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=19, daily_exported=0.0, daily_imported=0.0, imported=143333.38, exported=116864.52, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2023-12-08 04:14:01,526 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=19, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=143333.38, exported=116864.52, power=0.0), set=Set(charging_power_left=-50, switch_on_soc_reached=False))
2023-12-08 04:14:01,528 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=98.14, daily_exported=0, power=9315.16, imported=6926847.17, exported=0))
2023-12-08 04:14:01,529 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 95%, 06:00 Uhr', imported_at_plan_start=6926377.93, imported_instant_charging=None, limit=None, phases=3, prio=False, required_current=14, required_currents=[14, 14, 14], 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=[12.85, 13.14, 12.79], daily_imported=98.14, daily_exported=0, evse_current=1400, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=6926847.17, phases_in_use=3, plug_state=True, power=9315.16, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Zielladen mit 14A, um einen SoC von 95%  um 05:40 zu erreichen.', voltages=[241.69, 239.48, 241.79]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=14, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', imported_at_mode_switch=6926377.93, imported_at_plugtime=6926377.93, imported_since_mode_switch=439.9400000004098, imported_since_plugged=439.9400000004098, range_charged=2.4441111111133877, time_charged='0:02', timestamp_start_charging='12/08/2023, 04:11:30'), manual_lock=False, phases_to_use=3, plug_state_prev=True, plug_time='12/07/2023, 13:07:31', required_power=9660, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x70ba3f58>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB Carport', type='internal_openwb', template=1, connected_phases=3, phase_1=2, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=1))
2023-12-08 04:14:01,531 - {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-12-08 04:14:01,542 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=1, max_current_multi_phases=16, max_current_single_phase=20, name='RFID, 20A, 11kW', rfid_enabling=True, valid_tags=['0003134583', '0003526747', '1655332554', '2585022212', '2585087748'])
2023-12-08 04:14:01,548 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[63, 63, 63], max_total_power=43000), get=Get(powers=[3257.0, 3104.0, 3282.0], currents=[13.5, 12.9, 13.8], voltages=[241.51, 241.35, 239.18], power_factors=[0.99, 0.99, 0.99], unbalanced_load=0, frequency=50.0, daily_exported=0.0, daily_imported=4131.0, imported=6126294.0, exported=4870433.0, fault_state=0, fault_str='Kein Fehler.', power=9644.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=42671.16, raw_currents_left=[62.29, 62.95, 62.34], surplus_power_left=0, state_str=''))
2023-12-08 04:14:01,550 - {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': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=328.84000000000015, invalid_home_consumption=0, daily_yield_home_consumption=5546.5169343646, imported_home_consumption=2374399.0452829367, disengageable_smarthome_power=0))
2023-12-08 04:14:01,552 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2023-12-08 04:14:01,554 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Ladeprofil ***AUTO1***', disable_after_unplug=False, prio=False, load_default=True, time_charging=TimeCharging(active=True, plans={'0': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[True, True, True, True, False, False, True]), time=['22:00', '06:00'], name='Zeitladen 95%, So-Do 22:00-06:00 Uhr', current=16, limit=Limit(selected='soc', amount=1000, soc=95)), '1': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, True, True, False]), time=['22:00', '06:00'], name='Zeitladen 80%, Fr-Sa 22:00-06:00 Uhr', current=16, limit=Limit(selected='soc', amount=1000, soc=80))}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2023-12-08 04:14:01,555 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, time_charging=TimeCharging(active=True, plans={'2': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), time=['06:45', '07:00'], name='Klima 06:45-07:00 Uhr', current=6, limit=Limit(selected='none', amount=1000, soc=50)), '3': TimeChargingPlan(active=True, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, False, False, False]), time=['00:00', '23:55'], name='Immer 35%', current=10, limit=Limit(selected='soc', amount=1000, soc=35))}), chargemode=Chargemode(selected='scheduled_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={'0': ScheduledChargingPlan(active=False, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, True, False, False, False, False, False]), current=14, name='Zielladen 80%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '1': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), current=14, name='Zielladen 95%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=95), time='05:40'), '2': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once='2023-09-26', weekly=[True, False, False, True, False, True, True]), current=14, name='Zielladen 75%, 7:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=75), time='05:40')}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=80))))
2023-12-08 04:14:01,559 - {control.data:266} - {INFO:MainThread} - ev0
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=['0003134583'], get=Get(soc=0, soc_timestamp=None, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:14:01,560 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Tesla Model Y (2022)', 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=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212', '2585087748'], get=Get(soc=49.0, soc_timestamp='12/08/2023, 01:29:15', force_soc_update=False, range=220.74, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:14:01,561 - {control.data:266} - {INFO:MainThread} - ev2
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Cupra Born 58kW', 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=18000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=2, ev_template=2, name='***AUTO2***', tag_id=['1655332554'], get=Get(soc=72, soc_timestamp='12/08/2023, 04:13:18', force_soc_update=False, range=205, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:14:01,562 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40)
2023-12-08 04:14:01,563 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', 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=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40)
2023-12-08 04:14:01,565 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', 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=18000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40)
2023-12-08 04:14:01,569 - {control.data:245} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=3), pv_charging=PvCharging(bat_prio=True, charging_power_reserve=200, control_range=[-230, 230], feed_in_yield=15000, phase_switch_delay=15, phases_to_use=0, rundown_power=1000, rundown_soc=25, switch_off_delay=60, switch_off_soc=25, switch_off_threshold=50, switch_on_delay=30, switch_on_soc=50, switch_on_threshold=1400), scheduled_charging=ScheduledCharging(phases_to_use=0), time_charging=TimeCharging(phases_to_use=3), unbalanced_load_limit=20, unbalanced_load=True), control_interval=10, extern_display_mode='local', extern=False, external_buttons_hw=False, grid_protection_active=False, grid_protection_configured=True, grid_protection_random_stop=0, grid_protection_timestamp='', mqtt_bridge=False, price_kwh=0.3528, range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=True, r1_active=False, r2_active=False))
2023-12-08 04:14:01,571 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2023-12-08 04:14:01,572 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2023-12-08 04:14:01,573 - {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 0x70bce8b0>), led=Led(active=False), rfid=Rfid(active=True))
2023-12-08 04:14:01,576 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=0), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=293628.595, fault_state=0, fault_str='Kein Fehler.', power=0))
2023-12-08 04:14:01,579 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=9500), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=7816178.86, fault_state=0, fault_str='Kein Fehler.', power=-0.0))
2023-12-08 04:14:01,580 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=8109807.455, power=0.0))
2023-12-08 04:14:01,581 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2023-11-30 12:30:45 +0100 [285f5a5fb]', 'current_branch': 'Release', 'current_branch_commit': '2023-11-30 12:30:45 +0100 [285f5a5fb]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.2-Patch.1', 'datastore_version': 29, 'lastlivevaluesJson': {'timestamp': 1702005231, 'time': '04:13:51', 'grid': 9.642, 'house-power': 0.323, 'charging-all': 9.319, 'pv-all': -0.0, 'cp1-power': 9.319, 'ev1-soc': 49.0, 'ev2-soc': 72, 'bat-all-power': 0.0, 'bat-all-soc': 19}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2023-12-08 04:14:01,587 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2023-12-08 04:14:01,588 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2023-12-08 04:14:01,589 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2023-12-08 04:14:01,590 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2023-12-08 04:14:01,593 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2023-12-08 04:14:01,594 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2023-12-08 04:14:01,600 - {control.data:253} - {INFO:MainThread} - 

2023-12-08 04:14:01,601 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2023-12-08 04:14:01,602 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2023-12-08 04:14:01,604 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2023-12-08 04:14:01,605 - {control.counter:169} - {DEBUG:MainThread} - Zähler 0: [56.29, 56.95, 56.34]A verbleibende Ströme, 38531.16W verbleibende Leistung
2023-12-08 04:14:01,606 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2023-12-08 04:14:01,611 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2023-12-08 04:14:01,613 - {control.algorithm.filter_chargepoints:117} - {DEBUG:MainThread} - Geordnete Ladepunkte [1]
2023-12-08 04:14:01,614 - {control.algorithm.additional_current:26} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2023-12-08 04:14:01,615 - {control.counter:169} - {DEBUG:MainThread} - Zähler 0: [48.29, 48.95, 48.34]A verbleibende Ströme, 33011.16W verbleibende Leistung
2023-12-08 04:14:01,619 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 14A
2023-12-08 04:14:01,621 - {control.counter:211} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: 0W
2023-12-08 04:14:01,622 - {control.counter:457} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf 0W
2023-12-08 04:14:01,623 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2023-12-08 04:14:01,624 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2023-12-08 04:14:01,629 - {control.chargelog:52} - {DEBUG:MainThread} - imported_since_mode_switch 469.2400000002235 counter 6926847.17
2023-12-08 04:14:01,633 - {control.process:111} - {INFO:MainThread} - LP1: set current 14 A, state CHARGING_ALLOWED
2023-12-08 04:14:01,641 - {modules.common.component_context:24} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:14:01,717 - {control.counter:186} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2023-12-08 04:14:01,944 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2023-12-08 04:14:01,946 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2023-12-08 04:14:05,957 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2023-12-08 04:14:05,958 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2023-12-08 04:14:10,973 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2023-12-08 04:14:10,974 - {root:74} - {INFO:MainThread} - # ***Start*** 
2023-12-08 04:14:11,051 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x715cf340>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x7155e4a8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x715c75f8>}
2023-12-08 04:14:11,053 - {modules.common.component_context:24} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2023-12-08 04:14:11,054 - {modules.common.component_context:24} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:14:11,063 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2023-12-08 04:14:11,065 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2023-12-08 04:14:11,100 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-9612, -3259, -3103, -3249], Scale 0
2023-12-08 04:14:11,118 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 750
2023-12-08 04:14:11,120 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"cloud":{"connected":false},"input:0":{"id":0,"state":false},"mqtt":{"connected":false},"switch:0":{"id":0, "source":"loopback", "output":false, "apower":0.0, "voltage":241.7, "current":0.000, "aenergy":{"total":1505.625,"by_minute":[0.000,0.000,0.000],"minute_ts":1702005250},"temperature":{"tC":28.8, "tF":83.9}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:14","unixtime":1702005251,"uptime":1364579,"ram_size":248944,"ram_free":144688,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"beta":{"version":"1.1.0-beta2"},"stable":{"version":"1.0.8"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-67},"ws":{"connected":false}}

2023-12-08 04:14:11,122 - {modules.common.simcount._simcount:38} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1702005240.8525949, power=0, imported=0.0, exported=293628.5948715257)
2023-12-08 04:14:11,123 - {modules.common.simcount._calculate:13} - {DEBUG:device1} - time passed: 0.0028527, power1: 0, power2: 0
2023-12-08 04:14:11,123 - {modules.common.simcount._calculate:29} - {DEBUG:device1} - power did not change sign. Total energy: 0
2023-12-08 04:14:11,123 - {modules.common.simcount._simcount:47} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702005251.1223025, power=0, imported=0.0, exported=293628.5948715257)
2023-12-08 04:14:11,124 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:14:11,141 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [135, 129, 137], Scale -1
2023-12-08 04:14:11,219 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [24142, 24126, 23904, 0, 0, 0, 0], Scale -2
2023-12-08 04:14:11,238 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [5000], Scale -2
2023-12-08 04:14:11,258 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [9919, 9950, 9959], Scale -2
2023-12-08 04:14:11,279 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4870433, 1797042, 2153375, 1456453, 6126315, 2531687, 1862924, 2268142], Scale 0
2023-12-08 04:14:11,280 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[13.5, 12.9, 13.700000000000001], powers=[3259.0, 3103.0, 3249.0], voltages=[241.42000000000002, 241.26, 239.04], power_factors=[0.9919, 0.995, 0.9959], imported=6126315.0, exported=4870433.0, power=9612.0, frequency=50.0)
2023-12-08 04:14:11,281 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2023-12-08 04:14:11,371 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [0], Scale 0
2023-12-08 04:14:11,415 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7789710], Scale 0
2023-12-08 04:14:11,441 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [29, 31, 32], Scale -2
2023-12-08 04:14:11,460 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4816], Scale -2
2023-12-08 04:14:11,461 - {modules.common.component_state:100} - {DEBUG:device0} - currents sign wrong [0.29, 0.31, 0.32]
2023-12-08 04:14:11,461 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.29, 0.31, 0.32], power=-0.0, exported=7789710.0, dc_power=48.160000000000004)
2023-12-08 04:14:11,463 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2023-12-08 04:14:11,501 - {modules.common.simcount._simcount:38} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1702005241.2203443, power=0.0, imported=143333.37604219164, exported=116864.5215890633)
2023-12-08 04:14:11,502 - {modules.common.simcount._calculate:13} - {DEBUG:device0} - time passed: 0.0028559, power1: 0, power2: 0
2023-12-08 04:14:11,502 - {modules.common.simcount._calculate:29} - {DEBUG:device0} - power did not change sign. Total energy: 0
2023-12-08 04:14:11,502 - {modules.common.simcount._simcount:47} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702005251.5015855, power=0.0, imported=143333.37604219164, exported=116864.5215890633)
2023-12-08 04:14:11,503 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=143333.37604219164, exported=116864.5215890633, power=0.0, soc=19.0)
2023-12-08 04:14:11,514 - {modules.common.component_context:24} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2023-12-08 04:14:11,519 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=143333.37604219164, exported=116864.5215890633, power=0.0, soc=19.0)
2023-12-08 04:14:11,558 - {modules.common.component_context:24} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:14:11,561 - {modules.common.component_context:24} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2023-12-08 04:14:11,561 - {modules.common.component_context:24} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2023-12-08 04:14:11,562 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-0.0, exported=7816178.86, dc_power=None)
2023-12-08 04:14:11,562 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:14:11,563 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-0.0, exported=7816178.86, dc_power=None)
2023-12-08 04:14:11,563 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:14:11,607 - {modules.common.component_context:24} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2023-12-08 04:14:11,609 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[13.5, 12.9, 13.700000000000001], powers=[3259.0, 3103.0, 3249.0], voltages=[241.42000000000002, 241.26, 239.04], power_factors=[0.9919, 0.995, 0.9959], imported=6126315.0, exported=4870433.0, power=9612.0, frequency=50.0)
2023-12-08 04:14:11,980 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2023-12-08 04:14:11,985 - {control.bat_all:173} - {INFO:MainThread} - -50W verbleibende Speicher-Leistung
2023-12-08 04:14:11,996 - {control.counter:138} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [62.29, 62.95, 62.38]A
2023-12-08 04:14:12,000 - {control.counter:161} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 42698.39W
2023-12-08 04:14:12,009 - {control.chargepoint.chargepoint:699} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2023-12-08 04:14:12,013 - {control.chargepoint.chargepoint:682} - {DEBUG:MainThread} - Phasenzahl Lademodus: 3
2023-12-08 04:14:12,015 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 176.556269s, Dauer 1.380952380952381h, Termin heute verpasst: False
2023-12-08 04:14:12,019 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 90899.533567s, Dauer 0.18012422360248448h, Termin heute verpasst: False
2023-12-08 04:14:12,025 - {control.ev:762} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2023-12-08 04:14:12,038 - {control.chargepoint.chargepoint:898} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 14A, Lademodus scheduled_charging, Submodus: Chargemode.INSTANT_CHARGING, Phasen: 3, Priorität: False, max. Ist-Strom: 13.08
2023-12-08 04:14:12,044 - {control.chargepoint.chargepoint:277} - {INFO:MainThread} - LP 1: Zielladen mit 14A, um einen SoC von 95%  um 05:40 zu erreichen.
2023-12-08 04:14:12,052 - {modules.common.simcount._simcount:38} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1702005241.5132449, power=328.84000000000015, imported=2374399.0452829367, exported=0)
2023-12-08 04:14:12,053 - {modules.common.simcount._calculate:13} - {DEBUG:MainThread} - time passed: 0.00292757, power1: 328.84, power2: 301.61
2023-12-08 04:14:12,055 - {modules.common.simcount._calculate:29} - {DEBUG:MainThread} - power did not change sign. Total energy: 0.922845
2023-12-08 04:14:12,056 - {modules.common.simcount._simcount:47} - {DEBUG:MainThread} - imported: 0.922845 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702005252.052513, power=301.6100000000006, imported=2374399.9681275925, exported=0)
2023-12-08 04:14:12,060 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=19, daily_exported=0.0, daily_imported=0.0, imported=143333.38, exported=116864.52, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2023-12-08 04:14:12,062 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=19, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=143333.38, exported=116864.52, power=0.0), set=Set(charging_power_left=-50, switch_on_soc_reached=False))
2023-12-08 04:14:12,064 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=98.14, daily_exported=0, power=9310.39, imported=6926875.98, exported=0))
2023-12-08 04:14:12,066 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 95%, 06:00 Uhr', imported_at_plan_start=6926377.93, imported_instant_charging=None, limit=None, phases=3, prio=False, required_current=14, required_currents=[14, 14, 14], 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=[12.85, 13.08, 12.79], daily_imported=98.14, daily_exported=0, evse_current=1400, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=6926875.98, phases_in_use=3, plug_state=True, power=9310.39, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Zielladen mit 14A, um einen SoC von 95%  um 05:40 zu erreichen.', voltages=[241.61, 239.45, 241.69]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=14, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', imported_at_mode_switch=6926377.93, imported_at_plugtime=6926377.93, imported_since_mode_switch=469.2400000002235, imported_since_plugged=469.2400000002235, range_charged=2.6068888888901305, time_charged='0:02', timestamp_start_charging='12/08/2023, 04:11:30'), manual_lock=False, phases_to_use=3, plug_state_prev=True, plug_time='12/07/2023, 13:07:31', required_power=9660, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x70befd00>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB Carport', type='internal_openwb', template=1, connected_phases=3, phase_1=2, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=1))
2023-12-08 04:14:12,067 - {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-12-08 04:14:12,068 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=1, max_current_multi_phases=16, max_current_single_phase=20, name='RFID, 20A, 11kW', rfid_enabling=True, valid_tags=['0003134583', '0003526747', '1655332554', '2585022212', '2585087748'])
2023-12-08 04:14:12,069 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[63, 63, 63], max_total_power=43000), get=Get(powers=[3259.0, 3103.0, 3249.0], currents=[13.5, 12.9, 13.7], voltages=[241.42, 241.26, 239.04], power_factors=[0.99, 0.99, 1.0], unbalanced_load=0, frequency=50.0, daily_exported=0.0, daily_imported=4131.0, imported=6126315.0, exported=4870433.0, fault_state=0, fault_str='Kein Fehler.', power=9612.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=42698.39, raw_currents_left=[62.29, 62.95, 62.38], surplus_power_left=0, state_str=''))
2023-12-08 04:14:12,070 - {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': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=301.6100000000006, invalid_home_consumption=0, daily_yield_home_consumption=5546.5169343646, imported_home_consumption=2374399.9681275925, disengageable_smarthome_power=0))
2023-12-08 04:14:12,072 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2023-12-08 04:14:12,073 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Ladeprofil ***AUTO1***', disable_after_unplug=False, prio=False, load_default=True, time_charging=TimeCharging(active=True, plans={'0': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[True, True, True, True, False, False, True]), time=['22:00', '06:00'], name='Zeitladen 95%, So-Do 22:00-06:00 Uhr', current=16, limit=Limit(selected='soc', amount=1000, soc=95)), '1': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, True, True, False]), time=['22:00', '06:00'], name='Zeitladen 80%, Fr-Sa 22:00-06:00 Uhr', current=16, limit=Limit(selected='soc', amount=1000, soc=80))}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2023-12-08 04:14:12,074 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, time_charging=TimeCharging(active=True, plans={'2': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), time=['06:45', '07:00'], name='Klima 06:45-07:00 Uhr', current=6, limit=Limit(selected='none', amount=1000, soc=50)), '3': TimeChargingPlan(active=True, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, False, False, False]), time=['00:00', '23:55'], name='Immer 35%', current=10, limit=Limit(selected='soc', amount=1000, soc=35))}), chargemode=Chargemode(selected='scheduled_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={'0': ScheduledChargingPlan(active=False, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, True, False, False, False, False, False]), current=14, name='Zielladen 80%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '1': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), current=14, name='Zielladen 95%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=95), time='05:40'), '2': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once='2023-09-26', weekly=[True, False, False, True, False, True, True]), current=14, name='Zielladen 75%, 7:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=75), time='05:40')}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=80))))
2023-12-08 04:14:12,076 - {control.data:266} - {INFO:MainThread} - ev0
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=['0003134583'], get=Get(soc=0, soc_timestamp=None, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:14:12,077 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Tesla Model Y (2022)', 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=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212', '2585087748'], get=Get(soc=49.0, soc_timestamp='12/08/2023, 01:29:15', force_soc_update=False, range=220.74, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:14:12,078 - {control.data:266} - {INFO:MainThread} - ev2
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Cupra Born 58kW', 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=18000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=2, ev_template=2, name='***AUTO2***', tag_id=['1655332554'], get=Get(soc=72, soc_timestamp='12/08/2023, 04:13:18', force_soc_update=False, range=205, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:14:12,079 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40)
2023-12-08 04:14:12,080 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', 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=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40)
2023-12-08 04:14:12,081 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', 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=18000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40)
2023-12-08 04:14:12,083 - {control.data:245} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=3), pv_charging=PvCharging(bat_prio=True, charging_power_reserve=200, control_range=[-230, 230], feed_in_yield=15000, phase_switch_delay=15, phases_to_use=0, rundown_power=1000, rundown_soc=25, switch_off_delay=60, switch_off_soc=25, switch_off_threshold=50, switch_on_delay=30, switch_on_soc=50, switch_on_threshold=1400), scheduled_charging=ScheduledCharging(phases_to_use=0), time_charging=TimeCharging(phases_to_use=3), unbalanced_load_limit=20, unbalanced_load=True), control_interval=10, extern_display_mode='local', extern=False, external_buttons_hw=False, grid_protection_active=False, grid_protection_configured=True, grid_protection_random_stop=0, grid_protection_timestamp='', mqtt_bridge=False, price_kwh=0.3528, range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=True, r1_active=False, r2_active=False))
2023-12-08 04:14:12,084 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2023-12-08 04:14:12,084 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2023-12-08 04:14:12,085 - {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 0x715784f0>), led=Led(active=False), rfid=Rfid(active=True))
2023-12-08 04:14:12,087 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=0), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=293628.595, fault_state=0, fault_str='Kein Fehler.', power=0))
2023-12-08 04:14:12,088 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=9500), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=7816178.86, fault_state=0, fault_str='Kein Fehler.', power=-0.0))
2023-12-08 04:14:12,089 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=8109807.455, power=0.0))
2023-12-08 04:14:12,090 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2023-11-30 12:30:45 +0100 [285f5a5fb]', 'current_branch': 'Release', 'current_branch_commit': '2023-11-30 12:30:45 +0100 [285f5a5fb]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.2-Patch.1', 'datastore_version': 29, 'lastlivevaluesJson': {'timestamp': 1702005241, 'time': '04:14:01', 'grid': 9.644, 'house-power': 0.329, 'charging-all': 9.315, 'pv-all': -0.0, 'cp1-power': 9.315, 'ev1-soc': 49.0, 'ev2-soc': 72, 'bat-all-power': 0.0, 'bat-all-soc': 19}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2023-12-08 04:14:12,091 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2023-12-08 04:14:12,092 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2023-12-08 04:14:12,093 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2023-12-08 04:14:12,094 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2023-12-08 04:14:12,095 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2023-12-08 04:14:12,095 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2023-12-08 04:14:12,096 - {control.data:253} - {INFO:MainThread} - 

2023-12-08 04:14:12,097 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2023-12-08 04:14:12,099 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2023-12-08 04:14:12,102 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2023-12-08 04:14:12,103 - {control.counter:169} - {DEBUG:MainThread} - Zähler 0: [56.29, 56.95, 56.38]A verbleibende Ströme, 38558.39W verbleibende Leistung
2023-12-08 04:14:12,104 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2023-12-08 04:14:12,107 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2023-12-08 04:14:12,108 - {control.algorithm.filter_chargepoints:117} - {DEBUG:MainThread} - Geordnete Ladepunkte [1]
2023-12-08 04:14:12,111 - {control.algorithm.additional_current:26} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2023-12-08 04:14:12,113 - {control.counter:169} - {DEBUG:MainThread} - Zähler 0: [48.29, 48.95, 48.38]A verbleibende Ströme, 33038.39W verbleibende Leistung
2023-12-08 04:14:12,114 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 14A
2023-12-08 04:14:12,116 - {control.counter:211} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: 0W
2023-12-08 04:14:12,117 - {control.counter:457} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf 0W
2023-12-08 04:14:12,119 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2023-12-08 04:14:12,122 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2023-12-08 04:14:12,126 - {control.chargelog:52} - {DEBUG:MainThread} - imported_since_mode_switch 498.05000000074506 counter 6926875.98
2023-12-08 04:14:12,129 - {control.process:111} - {INFO:MainThread} - LP1: set current 14 A, state CHARGING_ALLOWED
2023-12-08 04:14:12,134 - {modules.common.component_context:24} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:14:12,172 - {control.counter:186} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2023-12-08 04:14:12,361 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2023-12-08 04:14:15,428 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2023-12-08 04:14:15,429 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2023-12-08 04:14:20,439 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2023-12-08 04:14:20,441 - {root:74} - {INFO:MainThread} - # ***Start*** 
2023-12-08 04:14:20,486 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x715cf340>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x7155e4a8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x715c75f8>}
2023-12-08 04:14:20,488 - {modules.common.component_context:24} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2023-12-08 04:14:20,494 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2023-12-08 04:14:20,497 - {modules.common.component_context:24} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:14:20,501 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2023-12-08 04:14:20,531 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-9479, -3212, -3059, -3207], Scale 0
2023-12-08 04:14:20,539 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 750
2023-12-08 04:14:20,541 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"cloud":{"connected":false},"input:0":{"id":0,"state":false},"mqtt":{"connected":false},"switch:0":{"id":0, "source":"loopback", "output":false, "apower":0.0, "voltage":242.0, "current":0.000, "aenergy":{"total":1505.625,"by_minute":[0.000,0.000,0.000],"minute_ts":1702005260},"temperature":{"tC":28.8, "tF":83.8}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:14","unixtime":1702005261,"uptime":1364588,"ram_size":248996,"ram_free":145264,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"beta":{"version":"1.1.0-beta2"},"stable":{"version":"1.0.8"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-69},"ws":{"connected":false}}

2023-12-08 04:14:20,543 - {modules.common.simcount._simcount:38} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1702005251.1223025, power=0, imported=0.0, exported=293628.5948715257)
2023-12-08 04:14:20,544 - {modules.common.simcount._calculate:13} - {DEBUG:device1} - time passed: 0.00261708, power1: 0, power2: 0
2023-12-08 04:14:20,545 - {modules.common.simcount._calculate:29} - {DEBUG:device1} - power did not change sign. Total energy: 0
2023-12-08 04:14:20,546 - {modules.common.simcount._simcount:47} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702005260.5437999, power=0, imported=0.0, exported=293628.5948715257)
2023-12-08 04:14:20,548 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:14:20,611 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [135, 129, 138], Scale -1
2023-12-08 04:14:20,641 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [24141, 24131, 23908, 0, 0, 0, 0], Scale -2
2023-12-08 04:14:20,669 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [5000], Scale -2
2023-12-08 04:14:20,712 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [9929, 9940, 9850], Scale -2
2023-12-08 04:14:20,751 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4870433, 1797042, 2153375, 1456453, 6126337, 2531695, 1862931, 2268150], Scale 0
2023-12-08 04:14:20,752 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[13.5, 12.9, 13.8], powers=[3212.0, 3059.0, 3207.0], voltages=[241.41, 241.31, 239.08], power_factors=[0.9929000000000001, 0.9940000000000001, 0.985], imported=6126337.0, exported=4870433.0, power=9479.0, frequency=50.0)
2023-12-08 04:14:20,757 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2023-12-08 04:14:20,779 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [0], Scale 0
2023-12-08 04:14:20,812 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7789710], Scale 0
2023-12-08 04:14:20,854 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [29, 31, 33], Scale -2
2023-12-08 04:14:20,889 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4987], Scale -2
2023-12-08 04:14:20,891 - {modules.common.component_state:100} - {DEBUG:device0} - currents sign wrong [0.29, 0.31, 0.33]
2023-12-08 04:14:20,892 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.29, 0.31, 0.33], power=-0.0, exported=7789710.0, dc_power=49.870000000000005)
2023-12-08 04:14:20,894 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2023-12-08 04:14:21,040 - {modules.common.simcount._simcount:38} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1702005251.5015855, power=0.0, imported=143333.37604219164, exported=116864.5215890633)
2023-12-08 04:14:21,040 - {modules.common.simcount._calculate:13} - {DEBUG:device0} - time passed: 0.00264957, power1: 0, power2: 0
2023-12-08 04:14:21,041 - {modules.common.simcount._calculate:29} - {DEBUG:device0} - power did not change sign. Total energy: 0
2023-12-08 04:14:21,041 - {modules.common.simcount._simcount:47} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702005261.0400507, power=0.0, imported=143333.37604219164, exported=116864.5215890633)
2023-12-08 04:14:21,042 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=143333.37604219164, exported=116864.5215890633, power=0.0, soc=19.0)
2023-12-08 04:14:21,047 - {modules.common.component_context:24} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2023-12-08 04:14:21,048 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=143333.37604219164, exported=116864.5215890633, power=0.0, soc=19.0)
2023-12-08 04:14:21,090 - {modules.common.component_context:24} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:14:21,091 - {modules.common.component_context:24} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2023-12-08 04:14:21,093 - {modules.common.component_context:24} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2023-12-08 04:14:21,095 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-0.0, exported=7816178.86, dc_power=None)
2023-12-08 04:14:21,096 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:14:21,097 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-0.0, exported=7816178.86, dc_power=None)
2023-12-08 04:14:21,097 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:14:21,139 - {modules.common.component_context:24} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2023-12-08 04:14:21,140 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[13.5, 12.9, 13.8], powers=[3212.0, 3059.0, 3207.0], voltages=[241.41, 241.31, 239.08], power_factors=[0.9929000000000001, 0.9940000000000001, 0.985], imported=6126337.0, exported=4870433.0, power=9479.0, frequency=50.0)
2023-12-08 04:14:21,306 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2023-12-08 04:14:21,311 - {control.bat_all:173} - {INFO:MainThread} - -50W verbleibende Speicher-Leistung
2023-12-08 04:14:21,325 - {control.counter:138} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [62.08, 62.74, 62.15]A
2023-12-08 04:14:21,326 - {control.counter:161} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 42705.89W
2023-12-08 04:14:21,340 - {control.chargepoint.chargepoint:699} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2023-12-08 04:14:21,342 - {control.chargepoint.chargepoint:682} - {DEBUG:MainThread} - Phasenzahl Lademodus: 3
2023-12-08 04:14:21,345 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 167.226317s, Dauer 1.380952380952381h, Termin heute verpasst: False
2023-12-08 04:14:21,346 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 90890.206338s, Dauer 0.18012422360248448h, Termin heute verpasst: False
2023-12-08 04:14:21,348 - {control.ev:762} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2023-12-08 04:14:21,370 - {control.chargepoint.chargepoint:898} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 14A, Lademodus scheduled_charging, Submodus: Chargemode.INSTANT_CHARGING, Phasen: 3, Priorität: False, max. Ist-Strom: 12.95
2023-12-08 04:14:21,391 - {control.chargepoint.chargepoint:277} - {INFO:MainThread} - LP 1: Zielladen mit 14A, um einen SoC von 95%  um 05:40 zu erreichen.
2023-12-08 04:14:21,421 - {modules.common.simcount._simcount:38} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1702005252.052513, power=301.6100000000006, imported=2374399.9681275925, exported=0)
2023-12-08 04:14:21,426 - {modules.common.simcount._calculate:13} - {DEBUG:MainThread} - time passed: 0.00260246, power1: 301.61, power2: 294.11
2023-12-08 04:14:21,430 - {modules.common.simcount._calculate:29} - {DEBUG:MainThread} - power did not change sign. Total energy: 0.775169
2023-12-08 04:14:21,436 - {modules.common.simcount._simcount:47} - {DEBUG:MainThread} - imported: 0.775169 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702005261.4213767, power=294.1100000000006, imported=2374400.7432969753, exported=0)
2023-12-08 04:14:21,450 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=19, daily_exported=0.0, daily_imported=0.0, imported=143333.38, exported=116864.52, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2023-12-08 04:14:21,453 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=19, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=143333.38, exported=116864.52, power=0.0), set=Set(charging_power_left=-50, switch_on_soc_reached=False))
2023-12-08 04:14:21,455 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=98.14, daily_exported=0, power=9184.89, imported=6926899.9, exported=0))
2023-12-08 04:14:21,459 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 95%, 06:00 Uhr', imported_at_plan_start=6926377.93, imported_instant_charging=None, limit=None, phases=3, prio=False, required_current=14, required_currents=[14, 14, 14], 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=[12.64, 12.95, 12.58], daily_imported=98.14, daily_exported=0, evse_current=1400, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=6926899.9, phases_in_use=3, plug_state=True, power=9184.89, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Zielladen mit 14A, um einen SoC von 95%  um 05:40 zu erreichen.', voltages=[241.86, 239.69, 242.01]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=14, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', imported_at_mode_switch=6926377.93, imported_at_plugtime=6926377.93, imported_since_mode_switch=498.05000000074506, imported_since_plugged=498.05000000074506, range_charged=2.7669444444485833, time_charged='0:02', timestamp_start_charging='12/08/2023, 04:11:30'), manual_lock=False, phases_to_use=3, plug_state_prev=True, plug_time='12/07/2023, 13:07:31', required_power=9660, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x70b9f028>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB Carport', type='internal_openwb', template=1, connected_phases=3, phase_1=2, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=1))
2023-12-08 04:14:21,460 - {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-12-08 04:14:21,461 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=1, max_current_multi_phases=16, max_current_single_phase=20, name='RFID, 20A, 11kW', rfid_enabling=True, valid_tags=['0003134583', '0003526747', '1655332554', '2585022212', '2585087748'])
2023-12-08 04:14:21,465 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[63, 63, 63], max_total_power=43000), get=Get(powers=[3212.0, 3059.0, 3207.0], currents=[13.5, 12.9, 13.8], voltages=[241.41, 241.31, 239.08], power_factors=[0.99, 0.99, 0.98], unbalanced_load=0, frequency=50.0, daily_exported=0.0, daily_imported=4131.0, imported=6126337.0, exported=4870433.0, fault_state=0, fault_str='Kein Fehler.', power=9479.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=42705.89, raw_currents_left=[62.08, 62.74, 62.15], surplus_power_left=0, state_str=''))
2023-12-08 04:14:21,466 - {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': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=294.1100000000006, invalid_home_consumption=0, daily_yield_home_consumption=5546.5169343646, imported_home_consumption=2374400.7432969753, disengageable_smarthome_power=0))
2023-12-08 04:14:21,467 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2023-12-08 04:14:21,468 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Ladeprofil ***AUTO1***', disable_after_unplug=False, prio=False, load_default=True, time_charging=TimeCharging(active=True, plans={'0': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[True, True, True, True, False, False, True]), time=['22:00', '06:00'], name='Zeitladen 95%, So-Do 22:00-06:00 Uhr', current=16, limit=Limit(selected='soc', amount=1000, soc=95)), '1': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, True, True, False]), time=['22:00', '06:00'], name='Zeitladen 80%, Fr-Sa 22:00-06:00 Uhr', current=16, limit=Limit(selected='soc', amount=1000, soc=80))}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2023-12-08 04:14:21,469 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, time_charging=TimeCharging(active=True, plans={'2': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), time=['06:45', '07:00'], name='Klima 06:45-07:00 Uhr', current=6, limit=Limit(selected='none', amount=1000, soc=50)), '3': TimeChargingPlan(active=True, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, False, False, False]), time=['00:00', '23:55'], name='Immer 35%', current=10, limit=Limit(selected='soc', amount=1000, soc=35))}), chargemode=Chargemode(selected='scheduled_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={'0': ScheduledChargingPlan(active=False, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, True, False, False, False, False, False]), current=14, name='Zielladen 80%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '1': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), current=14, name='Zielladen 95%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=95), time='05:40'), '2': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once='2023-09-26', weekly=[True, False, False, True, False, True, True]), current=14, name='Zielladen 75%, 7:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=75), time='05:40')}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=80))))
2023-12-08 04:14:21,470 - {control.data:266} - {INFO:MainThread} - ev0
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=['0003134583'], get=Get(soc=0, soc_timestamp=None, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:14:21,470 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Tesla Model Y (2022)', 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=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212', '2585087748'], get=Get(soc=49.0, soc_timestamp='12/08/2023, 01:29:15', force_soc_update=False, range=220.74, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:14:21,471 - {control.data:266} - {INFO:MainThread} - ev2
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Cupra Born 58kW', 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=18000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=2, ev_template=2, name='***AUTO2***', tag_id=['1655332554'], get=Get(soc=72, soc_timestamp='12/08/2023, 04:14:14', force_soc_update=False, range=205, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:14:21,471 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40)
2023-12-08 04:14:21,472 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', 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=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40)
2023-12-08 04:14:21,472 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', 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=18000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40)
2023-12-08 04:14:21,473 - {control.data:245} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=3), pv_charging=PvCharging(bat_prio=True, charging_power_reserve=200, control_range=[-230, 230], feed_in_yield=15000, phase_switch_delay=15, phases_to_use=0, rundown_power=1000, rundown_soc=25, switch_off_delay=60, switch_off_soc=25, switch_off_threshold=50, switch_on_delay=30, switch_on_soc=50, switch_on_threshold=1400), scheduled_charging=ScheduledCharging(phases_to_use=0), time_charging=TimeCharging(phases_to_use=3), unbalanced_load_limit=20, unbalanced_load=True), control_interval=10, extern_display_mode='local', extern=False, external_buttons_hw=False, grid_protection_active=False, grid_protection_configured=True, grid_protection_random_stop=0, grid_protection_timestamp='', mqtt_bridge=False, price_kwh=0.3528, range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=True, r1_active=False, r2_active=False))
2023-12-08 04:14:21,473 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2023-12-08 04:14:21,473 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2023-12-08 04:14:21,474 - {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 0x70bef778>), led=Led(active=False), rfid=Rfid(active=True))
2023-12-08 04:14:21,474 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=0), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=293628.595, fault_state=0, fault_str='Kein Fehler.', power=0))
2023-12-08 04:14:21,475 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=9500), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=7816178.86, fault_state=0, fault_str='Kein Fehler.', power=-0.0))
2023-12-08 04:14:21,475 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=8109807.455, power=0.0))
2023-12-08 04:14:21,476 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2023-11-30 12:30:45 +0100 [285f5a5fb]', 'current_branch': 'Release', 'current_branch_commit': '2023-11-30 12:30:45 +0100 [285f5a5fb]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.2-Patch.1', 'datastore_version': 29, 'lastlivevaluesJson': {'timestamp': 1702005252, 'time': '04:14:12', 'grid': 9.612, 'house-power': 0.302, 'charging-all': 9.31, 'pv-all': -0.0, 'cp1-power': 9.31, 'ev1-soc': 49.0, 'ev2-soc': 72, 'bat-all-power': 0.0, 'bat-all-soc': 19}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2023-12-08 04:14:21,476 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2023-12-08 04:14:21,477 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2023-12-08 04:14:21,477 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2023-12-08 04:14:21,478 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2023-12-08 04:14:21,478 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2023-12-08 04:14:21,478 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2023-12-08 04:14:21,479 - {control.data:253} - {INFO:MainThread} - 

2023-12-08 04:14:21,479 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2023-12-08 04:14:21,480 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2023-12-08 04:14:21,481 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2023-12-08 04:14:21,482 - {control.counter:169} - {DEBUG:MainThread} - Zähler 0: [56.08, 56.74, 56.15]A verbleibende Ströme, 38565.89W verbleibende Leistung
2023-12-08 04:14:21,482 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2023-12-08 04:14:21,485 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2023-12-08 04:14:21,486 - {control.algorithm.filter_chargepoints:117} - {DEBUG:MainThread} - Geordnete Ladepunkte [1]
2023-12-08 04:14:21,486 - {control.algorithm.additional_current:26} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2023-12-08 04:14:21,487 - {control.counter:169} - {DEBUG:MainThread} - Zähler 0: [48.08, 48.74, 48.15]A verbleibende Ströme, 33045.89W verbleibende Leistung
2023-12-08 04:14:21,488 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 14A
2023-12-08 04:14:21,489 - {control.counter:211} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: 0W
2023-12-08 04:14:21,490 - {control.counter:457} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf 0W
2023-12-08 04:14:21,491 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2023-12-08 04:14:21,491 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2023-12-08 04:14:21,493 - {control.chargelog:52} - {DEBUG:MainThread} - imported_since_mode_switch 521.9700000006706 counter 6926899.9
2023-12-08 04:14:21,500 - {control.process:111} - {INFO:MainThread} - LP1: set current 14 A, state CHARGING_ALLOWED
2023-12-08 04:14:21,534 - {modules.common.component_context:24} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:14:21,563 - {control.counter:186} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2023-12-08 04:14:21,780 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2023-12-08 04:14:21,781 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2023-12-08 04:14:25,790 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2023-12-08 04:14:25,792 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2023-12-08 04:14:30,803 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2023-12-08 04:14:30,804 - {root:74} - {INFO:MainThread} - # ***Start*** 
2023-12-08 04:14:30,880 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x715cf340>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x7155e4a8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x715c75f8>}
2023-12-08 04:14:30,882 - {modules.common.component_context:24} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2023-12-08 04:14:30,883 - {modules.common.component_context:24} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:14:30,894 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2023-12-08 04:14:30,901 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2023-12-08 04:14:30,943 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 750
2023-12-08 04:14:30,945 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"cloud":{"connected":false},"input:0":{"id":0,"state":false},"mqtt":{"connected":false},"switch:0":{"id":0, "source":"loopback", "output":false, "apower":0.0, "voltage":241.8, "current":0.000, "aenergy":{"total":1505.625,"by_minute":[0.000,0.000,0.000],"minute_ts":1702005270},"temperature":{"tC":28.8, "tF":83.9}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:14","unixtime":1702005271,"uptime":1364599,"ram_size":248996,"ram_free":145264,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"beta":{"version":"1.1.0-beta2"},"stable":{"version":"1.0.8"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-68},"ws":{"connected":false}}

2023-12-08 04:14:30,947 - {modules.common.simcount._simcount:38} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1702005260.5437999, power=0, imported=0.0, exported=293628.5948715257)
2023-12-08 04:14:30,947 - {modules.common.simcount._calculate:13} - {DEBUG:device1} - time passed: 0.0028898, power1: 0, power2: 0
2023-12-08 04:14:30,948 - {modules.common.simcount._calculate:29} - {DEBUG:device1} - power did not change sign. Total energy: 0
2023-12-08 04:14:30,948 - {modules.common.simcount._simcount:47} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702005270.9470704, power=0, imported=0.0, exported=293628.5948715257)
2023-12-08 04:14:30,949 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:14:30,960 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-9495, -3208, -3058, -3228], Scale 0
2023-12-08 04:14:31,009 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [133, 127, 136], Scale -1
2023-12-08 04:14:31,029 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [24155, 24142, 23929, 0, 0, 0, 0], Scale -2
2023-12-08 04:14:31,050 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [5000], Scale -2
2023-12-08 04:14:31,082 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [9929, 9940, 9909], Scale -2
2023-12-08 04:14:31,162 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4870433, 1797042, 2153375, 1456453, 6126379, 2531709, 1862945, 2268164], Scale 0
2023-12-08 04:14:31,163 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[13.3, 12.700000000000001, 13.600000000000001], powers=[3208.0, 3058.0, 3228.0], voltages=[241.55, 241.42000000000002, 239.29], power_factors=[0.9929000000000001, 0.9940000000000001, 0.9909], imported=6126379.0, exported=4870433.0, power=9495.0, frequency=50.0)
2023-12-08 04:14:31,164 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2023-12-08 04:14:31,189 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [0], Scale 0
2023-12-08 04:14:31,209 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7789710], Scale 0
2023-12-08 04:14:31,230 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [29, 31, 32], Scale -2
2023-12-08 04:14:31,282 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4461], Scale -2
2023-12-08 04:14:31,283 - {modules.common.component_state:100} - {DEBUG:device0} - currents sign wrong [0.29, 0.31, 0.32]
2023-12-08 04:14:31,283 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.29, 0.31, 0.32], power=-0.0, exported=7789710.0, dc_power=44.61)
2023-12-08 04:14:31,284 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2023-12-08 04:14:31,330 - {modules.common.simcount._simcount:38} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1702005261.0400507, power=0.0, imported=143333.37604219164, exported=116864.5215890633)
2023-12-08 04:14:31,331 - {modules.common.simcount._calculate:13} - {DEBUG:device0} - time passed: 0.00285846, power1: 0, power2: 0
2023-12-08 04:14:31,331 - {modules.common.simcount._calculate:29} - {DEBUG:device0} - power did not change sign. Total energy: 0
2023-12-08 04:14:31,331 - {modules.common.simcount._simcount:47} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702005271.3305082, power=0.0, imported=143333.37604219164, exported=116864.5215890633)
2023-12-08 04:14:31,332 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=143333.37604219164, exported=116864.5215890633, power=0.0, soc=19.0)
2023-12-08 04:14:31,339 - {modules.common.component_context:24} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2023-12-08 04:14:31,342 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=143333.37604219164, exported=116864.5215890633, power=0.0, soc=19.0)
2023-12-08 04:14:31,378 - {modules.common.component_context:24} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:14:31,379 - {modules.common.component_context:24} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2023-12-08 04:14:31,380 - {modules.common.component_context:24} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2023-12-08 04:14:31,381 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-0.0, exported=7816178.86, dc_power=None)
2023-12-08 04:14:31,381 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:14:31,382 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-0.0, exported=7816178.86, dc_power=None)
2023-12-08 04:14:31,382 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:14:31,417 - {modules.common.component_context:24} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2023-12-08 04:14:31,419 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[13.3, 12.700000000000001, 13.600000000000001], powers=[3208.0, 3058.0, 3228.0], voltages=[241.55, 241.42000000000002, 239.29], power_factors=[0.9929000000000001, 0.9940000000000001, 0.9909], imported=6126379.0, exported=4870433.0, power=9495.0, frequency=50.0)
2023-12-08 04:14:31,572 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2023-12-08 04:14:31,577 - {control.bat_all:173} - {INFO:MainThread} - -50W verbleibende Speicher-Leistung
2023-12-08 04:14:31,582 - {control.counter:138} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [62.3, 62.96, 62.370000000000005]A
2023-12-08 04:14:31,588 - {control.counter:161} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 42701.979999999996W
2023-12-08 04:14:31,598 - {control.chargepoint.chargepoint:699} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2023-12-08 04:14:31,601 - {control.chargepoint.chargepoint:682} - {DEBUG:MainThread} - Phasenzahl Lademodus: 3
2023-12-08 04:14:31,604 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 156.967282s, Dauer 1.380952380952381h, Termin heute verpasst: False
2023-12-08 04:14:31,607 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 90879.945556s, Dauer 0.18012422360248448h, Termin heute verpasst: False
2023-12-08 04:14:31,610 - {control.ev:762} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2023-12-08 04:14:31,615 - {control.chargepoint.chargepoint:898} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 14A, Lademodus scheduled_charging, Submodus: Chargemode.INSTANT_CHARGING, Phasen: 3, Priorität: False, max. Ist-Strom: 12.97
2023-12-08 04:14:31,619 - {control.chargepoint.chargepoint:277} - {INFO:MainThread} - LP 1: Zielladen mit 14A, um einen SoC von 95%  um 05:40 zu erreichen.
2023-12-08 04:14:31,642 - {modules.common.simcount._simcount:38} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1702005261.4213767, power=294.1100000000006, imported=2374400.7432969753, exported=0)
2023-12-08 04:14:31,648 - {modules.common.simcount._calculate:13} - {DEBUG:MainThread} - time passed: 0.00283926, power1: 294.11, power2: 298.02
2023-12-08 04:14:31,650 - {modules.common.simcount._calculate:29} - {DEBUG:MainThread} - power did not change sign. Total energy: 0.840604
2023-12-08 04:14:31,652 - {modules.common.simcount._simcount:47} - {DEBUG:MainThread} - imported: 0.840604 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702005271.6426973, power=298.02000000000044, imported=2374401.5839012233, exported=0)
2023-12-08 04:14:31,663 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=19, daily_exported=0.0, daily_imported=0.0, imported=143333.38, exported=116864.52, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2023-12-08 04:14:31,669 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=19, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=143333.38, exported=116864.52, power=0.0), set=Set(charging_power_left=-50, switch_on_soc_reached=False))
2023-12-08 04:14:31,674 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=98.14, daily_exported=0, power=9196.98, imported=6926922.85, exported=0))
2023-12-08 04:14:31,677 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 95%, 06:00 Uhr', imported_at_plan_start=6926377.93, imported_instant_charging=None, limit=None, phases=3, prio=False, required_current=14, required_currents=[14, 14, 14], 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=[12.66, 12.97, 12.6], daily_imported=98.14, daily_exported=0, evse_current=1400, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=6926922.85, phases_in_use=3, plug_state=True, power=9196.98, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Zielladen mit 14A, um einen SoC von 95%  um 05:40 zu erreichen.', voltages=[241.83, 239.65, 241.91]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=14, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', imported_at_mode_switch=6926377.93, imported_at_plugtime=6926377.93, imported_since_mode_switch=521.9700000006706, imported_since_plugged=521.9700000006706, range_charged=2.8998333333370585, time_charged='0:02', timestamp_start_charging='12/08/2023, 04:11:30'), manual_lock=False, phases_to_use=3, plug_state_prev=True, plug_time='12/07/2023, 13:07:31', required_power=9660, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x715cf790>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB Carport', type='internal_openwb', template=1, connected_phases=3, phase_1=2, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=1))
2023-12-08 04:14:31,679 - {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-12-08 04:14:31,680 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=1, max_current_multi_phases=16, max_current_single_phase=20, name='RFID, 20A, 11kW', rfid_enabling=True, valid_tags=['0003134583', '0003526747', '1655332554', '2585022212', '2585087748'])
2023-12-08 04:14:31,682 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[63, 63, 63], max_total_power=43000), get=Get(powers=[3208.0, 3058.0, 3228.0], currents=[13.3, 12.7, 13.6], voltages=[241.55, 241.42, 239.29], power_factors=[0.99, 0.99, 0.99], unbalanced_load=0, frequency=50.0, daily_exported=0.0, daily_imported=4131.0, imported=6126379.0, exported=4870433.0, fault_state=0, fault_str='Kein Fehler.', power=9495.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=42701.979999999996, raw_currents_left=[62.3, 62.96, 62.370000000000005], surplus_power_left=0, state_str=''))
2023-12-08 04:14:31,684 - {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': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=298.02000000000044, invalid_home_consumption=0, daily_yield_home_consumption=5546.5169343646, imported_home_consumption=2374401.5839012233, disengageable_smarthome_power=0))
2023-12-08 04:14:31,686 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2023-12-08 04:14:31,687 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Ladeprofil ***AUTO1***', disable_after_unplug=False, prio=False, load_default=True, time_charging=TimeCharging(active=True, plans={'0': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[True, True, True, True, False, False, True]), time=['22:00', '06:00'], name='Zeitladen 95%, So-Do 22:00-06:00 Uhr', current=16, limit=Limit(selected='soc', amount=1000, soc=95)), '1': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, True, True, False]), time=['22:00', '06:00'], name='Zeitladen 80%, Fr-Sa 22:00-06:00 Uhr', current=16, limit=Limit(selected='soc', amount=1000, soc=80))}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2023-12-08 04:14:31,690 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, time_charging=TimeCharging(active=True, plans={'2': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), time=['06:45', '07:00'], name='Klima 06:45-07:00 Uhr', current=6, limit=Limit(selected='none', amount=1000, soc=50)), '3': TimeChargingPlan(active=True, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, False, False, False]), time=['00:00', '23:55'], name='Immer 35%', current=10, limit=Limit(selected='soc', amount=1000, soc=35))}), chargemode=Chargemode(selected='scheduled_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={'0': ScheduledChargingPlan(active=False, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, True, False, False, False, False, False]), current=14, name='Zielladen 80%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '1': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), current=14, name='Zielladen 95%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=95), time='05:40'), '2': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once='2023-09-26', weekly=[True, False, False, True, False, True, True]), current=14, name='Zielladen 75%, 7:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=75), time='05:40')}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=80))))
2023-12-08 04:14:31,692 - {control.data:266} - {INFO:MainThread} - ev0
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=['0003134583'], get=Get(soc=0, soc_timestamp=None, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:14:31,694 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Tesla Model Y (2022)', 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=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212', '2585087748'], get=Get(soc=49.0, soc_timestamp='12/08/2023, 01:29:15', force_soc_update=False, range=220.74, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:14:31,696 - {control.data:266} - {INFO:MainThread} - ev2
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Cupra Born 58kW', 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=18000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=2, ev_template=2, name='***AUTO2***', tag_id=['1655332554'], get=Get(soc=72, soc_timestamp='12/08/2023, 04:14:14', force_soc_update=False, range=205, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:14:31,698 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40)
2023-12-08 04:14:31,701 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', 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=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40)
2023-12-08 04:14:31,702 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', 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=18000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40)
2023-12-08 04:14:31,704 - {control.data:245} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=3), pv_charging=PvCharging(bat_prio=True, charging_power_reserve=200, control_range=[-230, 230], feed_in_yield=15000, phase_switch_delay=15, phases_to_use=0, rundown_power=1000, rundown_soc=25, switch_off_delay=60, switch_off_soc=25, switch_off_threshold=50, switch_on_delay=30, switch_on_soc=50, switch_on_threshold=1400), scheduled_charging=ScheduledCharging(phases_to_use=0), time_charging=TimeCharging(phases_to_use=3), unbalanced_load_limit=20, unbalanced_load=True), control_interval=10, extern_display_mode='local', extern=False, external_buttons_hw=False, grid_protection_active=False, grid_protection_configured=True, grid_protection_random_stop=0, grid_protection_timestamp='', mqtt_bridge=False, price_kwh=0.3528, range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=True, r1_active=False, r2_active=False))
2023-12-08 04:14:31,706 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2023-12-08 04:14:31,707 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2023-12-08 04:14:31,709 - {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 0x71578ce8>), led=Led(active=False), rfid=Rfid(active=True))
2023-12-08 04:14:31,710 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=0), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=293628.595, fault_state=0, fault_str='Kein Fehler.', power=0))
2023-12-08 04:14:31,711 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=9500), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=7816178.86, fault_state=0, fault_str='Kein Fehler.', power=-0.0))
2023-12-08 04:14:31,715 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=8109807.455, power=0.0))
2023-12-08 04:14:31,716 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2023-11-30 12:30:45 +0100 [285f5a5fb]', 'current_branch': 'Release', 'current_branch_commit': '2023-11-30 12:30:45 +0100 [285f5a5fb]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.2-Patch.1', 'datastore_version': 29, 'lastlivevaluesJson': {'timestamp': 1702005261, 'time': '04:14:21', 'grid': 9.479, 'house-power': 0.294, 'charging-all': 9.185, 'pv-all': -0.0, 'cp1-power': 9.185, 'ev1-soc': 49.0, 'ev2-soc': 72, 'bat-all-power': 0.0, 'bat-all-soc': 19}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2023-12-08 04:14:31,718 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2023-12-08 04:14:31,719 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2023-12-08 04:14:31,721 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2023-12-08 04:14:31,722 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2023-12-08 04:14:31,723 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2023-12-08 04:14:31,724 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2023-12-08 04:14:31,725 - {control.data:253} - {INFO:MainThread} - 

2023-12-08 04:14:31,725 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2023-12-08 04:14:31,728 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2023-12-08 04:14:31,734 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2023-12-08 04:14:31,734 - {control.counter:169} - {DEBUG:MainThread} - Zähler 0: [56.3, 56.96, 56.370000000000005]A verbleibende Ströme, 38561.979999999996W verbleibende Leistung
2023-12-08 04:14:31,736 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2023-12-08 04:14:31,739 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2023-12-08 04:14:31,741 - {control.algorithm.filter_chargepoints:117} - {DEBUG:MainThread} - Geordnete Ladepunkte [1]
2023-12-08 04:14:31,743 - {control.algorithm.additional_current:26} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2023-12-08 04:14:31,747 - {control.counter:169} - {DEBUG:MainThread} - Zähler 0: [48.3, 48.96, 48.370000000000005]A verbleibende Ströme, 33041.979999999996W verbleibende Leistung
2023-12-08 04:14:31,749 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 14A
2023-12-08 04:14:31,753 - {control.counter:211} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: 0W
2023-12-08 04:14:31,754 - {control.counter:457} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf 0W
2023-12-08 04:14:31,756 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2023-12-08 04:14:31,757 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2023-12-08 04:14:31,762 - {control.chargelog:52} - {DEBUG:MainThread} - imported_since_mode_switch 544.9199999999255 counter 6926922.85
2023-12-08 04:14:31,765 - {control.process:111} - {INFO:MainThread} - LP1: set current 14 A, state CHARGING_ALLOWED
2023-12-08 04:14:31,772 - {modules.common.component_context:24} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:14:31,809 - {control.counter:186} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2023-12-08 04:14:32,101 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2023-12-08 04:14:35,128 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2023-12-08 04:14:35,129 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2023-12-08 04:14:40,140 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2023-12-08 04:14:40,141 - {root:74} - {INFO:MainThread} - # ***Start*** 
2023-12-08 04:14:40,186 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x715cf340>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x7155e4a8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x715c75f8>}
2023-12-08 04:14:40,188 - {modules.common.component_context:24} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2023-12-08 04:14:40,200 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2023-12-08 04:14:40,204 - {modules.common.component_context:24} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:14:40,205 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2023-12-08 04:14:40,239 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-9473, -3211, -3061, -3199], Scale 0
2023-12-08 04:14:40,245 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 750
2023-12-08 04:14:40,247 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"cloud":{"connected":false},"input:0":{"id":0,"state":false},"mqtt":{"connected":false},"switch:0":{"id":0, "source":"loopback", "output":false, "apower":0.0, "voltage":241.8, "current":0.000, "aenergy":{"total":1505.625,"by_minute":[0.000,0.000,0.000],"minute_ts":1702005279},"temperature":{"tC":28.8, "tF":83.8}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:14","unixtime":1702005280,"uptime":1364608,"ram_size":248996,"ram_free":145264,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"beta":{"version":"1.1.0-beta2"},"stable":{"version":"1.0.8"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-69},"ws":{"connected":false}}

2023-12-08 04:14:40,250 - {modules.common.simcount._simcount:38} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1702005270.9470704, power=0, imported=0.0, exported=293628.5948715257)
2023-12-08 04:14:40,251 - {modules.common.simcount._calculate:13} - {DEBUG:device1} - time passed: 0.00258428, power1: 0, power2: 0
2023-12-08 04:14:40,252 - {modules.common.simcount._calculate:29} - {DEBUG:device1} - power did not change sign. Total energy: 0
2023-12-08 04:14:40,253 - {modules.common.simcount._simcount:47} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702005280.250481, power=0, imported=0.0, exported=293628.5948715257)
2023-12-08 04:14:40,257 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:14:40,369 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [134, 127, 134], Scale -1
2023-12-08 04:14:40,389 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [24151, 24135, 23930, 0, 0, 0, 0], Scale -2
2023-12-08 04:14:40,409 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [5000], Scale -2
2023-12-08 04:14:40,428 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [9919, 9929, 9900], Scale -2
2023-12-08 04:14:40,449 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4870433, 1797042, 2153375, 1456453, 6126400, 2531716, 1862951, 2268171], Scale 0
2023-12-08 04:14:40,450 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[13.4, 12.700000000000001, 13.4], powers=[3211.0, 3061.0, 3199.0], voltages=[241.51, 241.35, 239.3], power_factors=[0.9919, 0.9929000000000001, 0.99], imported=6126400.0, exported=4870433.0, power=9473.0, frequency=50.0)
2023-12-08 04:14:40,452 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2023-12-08 04:14:40,470 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [0], Scale 0
2023-12-08 04:14:40,489 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7789710], Scale 0
2023-12-08 04:14:40,549 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [27, 31, 31], Scale -2
2023-12-08 04:14:40,567 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4403], Scale -2
2023-12-08 04:14:40,568 - {modules.common.component_state:100} - {DEBUG:device0} - currents sign wrong [0.27, 0.31, 0.31]
2023-12-08 04:14:40,569 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.27, 0.31, 0.31], power=-0.0, exported=7789710.0, dc_power=44.03)
2023-12-08 04:14:40,570 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2023-12-08 04:14:40,609 - {modules.common.simcount._simcount:38} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1702005271.3305082, power=0.0, imported=143333.37604219164, exported=116864.5215890633)
2023-12-08 04:14:40,610 - {modules.common.simcount._calculate:13} - {DEBUG:device0} - time passed: 0.00257754, power1: 0, power2: 0
2023-12-08 04:14:40,610 - {modules.common.simcount._calculate:29} - {DEBUG:device0} - power did not change sign. Total energy: 0
2023-12-08 04:14:40,611 - {modules.common.simcount._simcount:47} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702005280.6096535, power=0.0, imported=143333.37604219164, exported=116864.5215890633)
2023-12-08 04:14:40,612 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=143333.37604219164, exported=116864.5215890633, power=0.0, soc=19.0)
2023-12-08 04:14:40,632 - {modules.common.component_context:24} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2023-12-08 04:14:40,633 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=143333.37604219164, exported=116864.5215890633, power=0.0, soc=19.0)
2023-12-08 04:14:40,663 - {modules.common.component_context:24} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:14:40,667 - {modules.common.component_context:24} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2023-12-08 04:14:40,668 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-0.0, exported=7816178.86, dc_power=None)
2023-12-08 04:14:40,668 - {modules.common.component_context:24} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2023-12-08 04:14:40,669 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-0.0, exported=7816178.86, dc_power=None)
2023-12-08 04:14:40,670 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:14:40,672 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:14:40,712 - {modules.common.component_context:24} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2023-12-08 04:14:40,713 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[13.4, 12.700000000000001, 13.4], powers=[3211.0, 3061.0, 3199.0], voltages=[241.51, 241.35, 239.3], power_factors=[0.9919, 0.9929000000000001, 0.99], imported=6126400.0, exported=4870433.0, power=9473.0, frequency=50.0)
2023-12-08 04:14:41,106 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2023-12-08 04:14:41,108 - {control.bat_all:173} - {INFO:MainThread} - -50W verbleibende Speicher-Leistung
2023-12-08 04:14:41,110 - {control.counter:138} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [62.19, 62.95, 62.56]A
2023-12-08 04:14:41,111 - {control.counter:161} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 42716.11W
2023-12-08 04:14:41,114 - {control.chargepoint.chargepoint:699} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2023-12-08 04:14:41,114 - {control.chargepoint.chargepoint:682} - {DEBUG:MainThread} - Phasenzahl Lademodus: 3
2023-12-08 04:14:41,116 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 147.455233s, Dauer 1.380952380952381h, Termin heute verpasst: False
2023-12-08 04:14:41,118 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 90870.435044s, Dauer 0.18012422360248448h, Termin heute verpasst: False
2023-12-08 04:14:41,119 - {control.ev:762} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2023-12-08 04:14:41,124 - {control.chargepoint.chargepoint:898} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 14A, Lademodus scheduled_charging, Submodus: Chargemode.INSTANT_CHARGING, Phasen: 3, Priorität: False, max. Ist-Strom: 12.96
2023-12-08 04:14:41,126 - {control.chargepoint.chargepoint:277} - {INFO:MainThread} - LP 1: Zielladen mit 14A, um einen SoC von 95%  um 05:40 zu erreichen.
2023-12-08 04:14:41,134 - {modules.common.simcount._simcount:38} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1702005271.6426973, power=298.02000000000044, imported=2374401.5839012233, exported=0)
2023-12-08 04:14:41,137 - {modules.common.simcount._calculate:13} - {DEBUG:MainThread} - time passed: 0.00263665, power1: 298.02, power2: 283.89
2023-12-08 04:14:41,139 - {modules.common.simcount._calculate:29} - {DEBUG:MainThread} - power did not change sign. Total energy: 0.767148
2023-12-08 04:14:41,141 - {modules.common.simcount._simcount:47} - {DEBUG:MainThread} - imported: 0.767148 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702005281.1346526, power=283.8899999999994, imported=2374402.351048959, exported=0)
2023-12-08 04:14:41,143 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=19, daily_exported=0.0, daily_imported=0.0, imported=143333.38, exported=116864.52, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2023-12-08 04:14:41,146 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=19, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=143333.38, exported=116864.52, power=0.0), set=Set(charging_power_left=-50, switch_on_soc_reached=False))
2023-12-08 04:14:41,147 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=98.14, daily_exported=0, power=9189.11, imported=6926951.17, exported=0))
2023-12-08 04:14:41,150 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 95%, 06:00 Uhr', imported_at_plan_start=6926377.93, imported_instant_charging=None, limit=None, phases=3, prio=False, required_current=14, required_currents=[14, 14, 14], 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=[12.65, 12.96, 12.59], daily_imported=98.14, daily_exported=0, evse_current=1400, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=6926951.17, phases_in_use=3, plug_state=True, power=9189.11, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Zielladen mit 14A, um einen SoC von 95%  um 05:40 zu erreichen.', voltages=[241.77, 239.6, 241.88]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=14, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', imported_at_mode_switch=6926377.93, imported_at_plugtime=6926377.93, imported_since_mode_switch=544.9199999999255, imported_since_plugged=544.9199999999255, range_charged=3.0273333333329195, time_charged='0:03', timestamp_start_charging='12/08/2023, 04:11:30'), manual_lock=False, phases_to_use=3, plug_state_prev=True, plug_time='12/07/2023, 13:07:31', required_power=9660, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x7158baa8>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB Carport', type='internal_openwb', template=1, connected_phases=3, phase_1=2, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=1))
2023-12-08 04:14:41,152 - {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-12-08 04:14:41,154 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=1, max_current_multi_phases=16, max_current_single_phase=20, name='RFID, 20A, 11kW', rfid_enabling=True, valid_tags=['0003134583', '0003526747', '1655332554', '2585022212', '2585087748'])
2023-12-08 04:14:41,156 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[63, 63, 63], max_total_power=43000), get=Get(powers=[3211.0, 3061.0, 3199.0], currents=[13.4, 12.7, 13.4], voltages=[241.51, 241.35, 239.3], power_factors=[0.99, 0.99, 0.99], unbalanced_load=0, frequency=50.0, daily_exported=0.0, daily_imported=4131.0, imported=6126400.0, exported=4870433.0, fault_state=0, fault_str='Kein Fehler.', power=9473.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=42716.11, raw_currents_left=[62.19, 62.95, 62.56], surplus_power_left=0, state_str=''))
2023-12-08 04:14:41,157 - {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': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=283.8899999999994, invalid_home_consumption=0, daily_yield_home_consumption=5546.5169343646, imported_home_consumption=2374402.351048959, disengageable_smarthome_power=0))
2023-12-08 04:14:41,159 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2023-12-08 04:14:41,160 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Ladeprofil ***AUTO1***', disable_after_unplug=False, prio=False, load_default=True, time_charging=TimeCharging(active=True, plans={'0': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[True, True, True, True, False, False, True]), time=['22:00', '06:00'], name='Zeitladen 95%, So-Do 22:00-06:00 Uhr', current=16, limit=Limit(selected='soc', amount=1000, soc=95)), '1': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, True, True, False]), time=['22:00', '06:00'], name='Zeitladen 80%, Fr-Sa 22:00-06:00 Uhr', current=16, limit=Limit(selected='soc', amount=1000, soc=80))}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2023-12-08 04:14:41,162 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, time_charging=TimeCharging(active=True, plans={'2': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), time=['06:45', '07:00'], name='Klima 06:45-07:00 Uhr', current=6, limit=Limit(selected='none', amount=1000, soc=50)), '3': TimeChargingPlan(active=True, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, False, False, False]), time=['00:00', '23:55'], name='Immer 35%', current=10, limit=Limit(selected='soc', amount=1000, soc=35))}), chargemode=Chargemode(selected='scheduled_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={'0': ScheduledChargingPlan(active=False, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, True, False, False, False, False, False]), current=14, name='Zielladen 80%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '1': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), current=14, name='Zielladen 95%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=95), time='05:40'), '2': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once='2023-09-26', weekly=[True, False, False, True, False, True, True]), current=14, name='Zielladen 75%, 7:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=75), time='05:40')}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=80))))
2023-12-08 04:14:41,163 - {control.data:266} - {INFO:MainThread} - ev0
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=['0003134583'], get=Get(soc=0, soc_timestamp=None, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:14:41,164 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Tesla Model Y (2022)', 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=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212', '2585087748'], get=Get(soc=49.0, soc_timestamp='12/08/2023, 01:29:15', force_soc_update=False, range=220.74, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:14:41,166 - {control.data:266} - {INFO:MainThread} - ev2
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Cupra Born 58kW', 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=18000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=2, ev_template=2, name='***AUTO2***', tag_id=['1655332554'], get=Get(soc=72, soc_timestamp='12/08/2023, 04:14:14', force_soc_update=False, range=205, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:14:41,167 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40)
2023-12-08 04:14:41,168 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', 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=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40)
2023-12-08 04:14:41,170 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', 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=18000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40)
2023-12-08 04:14:41,171 - {control.data:245} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=3), pv_charging=PvCharging(bat_prio=True, charging_power_reserve=200, control_range=[-230, 230], feed_in_yield=15000, phase_switch_delay=15, phases_to_use=0, rundown_power=1000, rundown_soc=25, switch_off_delay=60, switch_off_soc=25, switch_off_threshold=50, switch_on_delay=30, switch_on_soc=50, switch_on_threshold=1400), scheduled_charging=ScheduledCharging(phases_to_use=0), time_charging=TimeCharging(phases_to_use=3), unbalanced_load_limit=20, unbalanced_load=True), control_interval=10, extern_display_mode='local', extern=False, external_buttons_hw=False, grid_protection_active=False, grid_protection_configured=True, grid_protection_random_stop=0, grid_protection_timestamp='', mqtt_bridge=False, price_kwh=0.3528, range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=True, r1_active=False, r2_active=False))
2023-12-08 04:14:41,172 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2023-12-08 04:14:41,173 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2023-12-08 04:14:41,173 - {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 0x70b625e0>), led=Led(active=False), rfid=Rfid(active=True))
2023-12-08 04:14:41,175 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=0), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=293628.595, fault_state=0, fault_str='Kein Fehler.', power=0))
2023-12-08 04:14:41,175 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=9500), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=7816178.86, fault_state=0, fault_str='Kein Fehler.', power=-0.0))
2023-12-08 04:14:41,176 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=8109807.455, power=0.0))
2023-12-08 04:14:41,177 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2023-11-30 12:30:45 +0100 [285f5a5fb]', 'current_branch': 'Release', 'current_branch_commit': '2023-11-30 12:30:45 +0100 [285f5a5fb]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.2-Patch.1', 'datastore_version': 29, 'lastlivevaluesJson': {'timestamp': 1702005271, 'time': '04:14:31', 'grid': 9.495, 'house-power': 0.298, 'charging-all': 9.197, 'pv-all': -0.0, 'cp1-power': 9.197, 'ev1-soc': 49.0, 'ev2-soc': 72, 'bat-all-power': 0.0, 'bat-all-soc': 19}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2023-12-08 04:14:41,179 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2023-12-08 04:14:41,180 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2023-12-08 04:14:41,181 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2023-12-08 04:14:41,182 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2023-12-08 04:14:41,183 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2023-12-08 04:14:41,184 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2023-12-08 04:14:41,185 - {control.data:253} - {INFO:MainThread} - 

2023-12-08 04:14:41,186 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2023-12-08 04:14:41,187 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2023-12-08 04:14:41,189 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2023-12-08 04:14:41,191 - {control.counter:169} - {DEBUG:MainThread} - Zähler 0: [56.19, 56.95, 56.56]A verbleibende Ströme, 38576.11W verbleibende Leistung
2023-12-08 04:14:41,192 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2023-12-08 04:14:41,195 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2023-12-08 04:14:41,197 - {control.algorithm.filter_chargepoints:117} - {DEBUG:MainThread} - Geordnete Ladepunkte [1]
2023-12-08 04:14:41,198 - {control.algorithm.additional_current:26} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2023-12-08 04:14:41,200 - {control.counter:169} - {DEBUG:MainThread} - Zähler 0: [48.19, 48.95, 48.56]A verbleibende Ströme, 33056.11W verbleibende Leistung
2023-12-08 04:14:41,201 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 14A
2023-12-08 04:14:41,202 - {control.counter:211} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: 0W
2023-12-08 04:14:41,204 - {control.counter:457} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf 0W
2023-12-08 04:14:41,205 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2023-12-08 04:14:41,206 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2023-12-08 04:14:41,208 - {control.chargelog:52} - {DEBUG:MainThread} - imported_since_mode_switch 573.2400000002235 counter 6926951.17
2023-12-08 04:14:41,212 - {control.process:111} - {INFO:MainThread} - LP1: set current 14 A, state CHARGING_ALLOWED
2023-12-08 04:14:41,214 - {modules.common.component_context:24} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:14:41,230 - {control.counter:186} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2023-12-08 04:14:41,506 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2023-12-08 04:14:41,507 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2023-12-08 04:14:45,515 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2023-12-08 04:14:50,528 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2023-12-08 04:14:50,529 - {root:74} - {INFO:MainThread} - # ***Start*** 
2023-12-08 04:14:50,573 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x715cf340>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x7155e4a8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x715c75f8>}
2023-12-08 04:14:50,574 - {modules.common.component_context:24} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2023-12-08 04:14:50,576 - {modules.common.component_context:24} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:14:50,596 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2023-12-08 04:14:50,602 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2023-12-08 04:14:50,639 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 750
2023-12-08 04:14:50,641 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"cloud":{"connected":false},"input:0":{"id":0,"state":false},"mqtt":{"connected":false},"switch:0":{"id":0, "source":"loopback", "output":false, "apower":0.0, "voltage":241.8, "current":0.000, "aenergy":{"total":1505.625,"by_minute":[0.000,0.000,0.000],"minute_ts":1702005290},"temperature":{"tC":28.8, "tF":83.9}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:14","unixtime":1702005291,"uptime":1364618,"ram_size":248996,"ram_free":145268,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"beta":{"version":"1.1.0-beta2"},"stable":{"version":"1.0.8"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-70},"ws":{"connected":false}}

2023-12-08 04:14:50,644 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-9727, -3301, -3148, -3276], Scale 0
2023-12-08 04:14:50,646 - {modules.common.simcount._simcount:38} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1702005280.250481, power=0, imported=0.0, exported=293628.5948715257)
2023-12-08 04:14:50,647 - {modules.common.simcount._calculate:13} - {DEBUG:device1} - time passed: 0.00288766, power1: 0, power2: 0
2023-12-08 04:14:50,647 - {modules.common.simcount._calculate:29} - {DEBUG:device1} - power did not change sign. Total energy: 0
2023-12-08 04:14:50,648 - {modules.common.simcount._simcount:47} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702005290.6460624, power=0, imported=0.0, exported=293628.5948715257)
2023-12-08 04:14:50,649 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:14:50,680 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [133, 127, 136], Scale -1
2023-12-08 04:14:50,730 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [24159, 24148, 23929, 0, 0, 0, 0], Scale -2
2023-12-08 04:14:50,749 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [5000], Scale -2
2023-12-08 04:14:50,771 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [9929, 9950, 9890], Scale -2
2023-12-08 04:14:50,790 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4870433, 1797042, 2153375, 1456453, 6126411, 2531723, 1862958, 2268178], Scale 0
2023-12-08 04:14:50,791 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[13.3, 12.700000000000001, 13.600000000000001], powers=[3301.0, 3148.0, 3276.0], voltages=[241.59, 241.48000000000002, 239.29], power_factors=[0.9929000000000001, 0.995, 0.9890000000000001], imported=6126411.0, exported=4870433.0, power=9727.0, frequency=50.0)
2023-12-08 04:14:50,793 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2023-12-08 04:14:50,879 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [0], Scale 0
2023-12-08 04:14:50,911 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7789710], Scale 0
2023-12-08 04:14:50,939 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [28, 31, 32], Scale -2
2023-12-08 04:14:50,959 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-5054], Scale -2
2023-12-08 04:14:50,960 - {modules.common.component_state:100} - {DEBUG:device0} - currents sign wrong [0.28, 0.31, 0.32]
2023-12-08 04:14:50,960 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.28, 0.31, 0.32], power=-0.0, exported=7789710.0, dc_power=50.54)
2023-12-08 04:14:50,961 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2023-12-08 04:14:51,011 - {modules.common.simcount._simcount:38} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1702005280.6096535, power=0.0, imported=143333.37604219164, exported=116864.5215890633)
2023-12-08 04:14:51,011 - {modules.common.simcount._calculate:13} - {DEBUG:device0} - time passed: 0.00288925, power1: 0, power2: 0
2023-12-08 04:14:51,012 - {modules.common.simcount._calculate:29} - {DEBUG:device0} - power did not change sign. Total energy: 0
2023-12-08 04:14:51,012 - {modules.common.simcount._simcount:47} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702005291.0109577, power=0.0, imported=143333.37604219164, exported=116864.5215890633)
2023-12-08 04:14:51,013 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=143333.37604219164, exported=116864.5215890633, power=0.0, soc=19.0)
2023-12-08 04:14:51,017 - {modules.common.component_context:24} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2023-12-08 04:14:51,018 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=143333.37604219164, exported=116864.5215890633, power=0.0, soc=19.0)
2023-12-08 04:14:51,058 - {modules.common.component_context:24} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:14:51,059 - {modules.common.component_context:24} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2023-12-08 04:14:51,060 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-0.0, exported=7816178.86, dc_power=None)
2023-12-08 04:14:51,062 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-0.0, exported=7816178.86, dc_power=None)
2023-12-08 04:14:51,069 - {modules.common.component_context:24} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2023-12-08 04:14:51,071 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:14:51,072 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:14:51,107 - {modules.common.component_context:24} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2023-12-08 04:14:51,108 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[13.3, 12.700000000000001, 13.600000000000001], powers=[3301.0, 3148.0, 3276.0], voltages=[241.59, 241.48000000000002, 239.29], power_factors=[0.9929000000000001, 0.995, 0.9890000000000001], imported=6126411.0, exported=4870433.0, power=9727.0, frequency=50.0)
2023-12-08 04:14:51,309 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2023-12-08 04:14:51,322 - {control.bat_all:173} - {INFO:MainThread} - -50W verbleibende Speicher-Leistung
2023-12-08 04:14:51,334 - {control.counter:138} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [62.31, 62.97, 62.25]A
2023-12-08 04:14:51,336 - {control.counter:161} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 42443.28W
2023-12-08 04:14:51,347 - {control.chargepoint.chargepoint:699} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2023-12-08 04:14:51,349 - {control.chargepoint.chargepoint:682} - {DEBUG:MainThread} - Phasenzahl Lademodus: 3
2023-12-08 04:14:51,354 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 137.217169s, Dauer 1.380952380952381h, Termin heute verpasst: False
2023-12-08 04:14:51,365 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 90860.187363s, Dauer 0.18012422360248448h, Termin heute verpasst: False
2023-12-08 04:14:51,366 - {control.ev:762} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2023-12-08 04:14:51,375 - {control.chargepoint.chargepoint:898} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 14A, Lademodus scheduled_charging, Submodus: Chargemode.INSTANT_CHARGING, Phasen: 3, Priorität: False, max. Ist-Strom: 12.85
2023-12-08 04:14:51,376 - {control.chargepoint.chargepoint:277} - {INFO:MainThread} - LP 1: Zielladen mit 14A, um einen SoC von 95%  um 05:40 zu erreichen.
2023-12-08 04:14:51,389 - {modules.common.simcount._simcount:38} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1702005281.1346526, power=283.8899999999994, imported=2374402.351048959, exported=0)
2023-12-08 04:14:51,390 - {modules.common.simcount._calculate:13} - {DEBUG:MainThread} - time passed: 0.0028485, power1: 283.89, power2: 556.72
2023-12-08 04:14:51,391 - {modules.common.simcount._calculate:29} - {DEBUG:MainThread} - power did not change sign. Total energy: 1.19724
2023-12-08 04:14:51,399 - {modules.common.simcount._simcount:47} - {DEBUG:MainThread} - imported: 1.19724 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702005291.3892372, power=556.7199999999993, imported=2374403.5482859476, exported=0)
2023-12-08 04:14:51,405 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=19, daily_exported=0.0, daily_imported=0.0, imported=143333.38, exported=116864.52, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2023-12-08 04:14:51,412 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=19, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=143333.38, exported=116864.52, power=0.0), set=Set(charging_power_left=-50, switch_on_soc_reached=False))
2023-12-08 04:14:51,420 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=98.14, daily_exported=0, power=9170.28, imported=6926974.12, exported=0))
2023-12-08 04:14:51,436 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 95%, 06:00 Uhr', imported_at_plan_start=6926377.93, imported_instant_charging=None, limit=None, phases=3, prio=False, required_current=14, required_currents=[14, 14, 14], 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=[12.67, 12.85, 12.61], daily_imported=98.14, daily_exported=0, evse_current=1400, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=6926974.12, phases_in_use=3, plug_state=True, power=9170.28, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Zielladen mit 14A, um einen SoC von 95%  um 05:40 zu erreichen.', voltages=[241.66, 239.55, 241.79]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=14, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', imported_at_mode_switch=6926377.93, imported_at_plugtime=6926377.93, imported_since_mode_switch=573.2400000002235, imported_since_plugged=573.2400000002235, range_charged=3.1846666666679084, time_charged='0:03', timestamp_start_charging='12/08/2023, 04:11:30'), manual_lock=False, phases_to_use=3, plug_state_prev=True, plug_time='12/07/2023, 13:07:31', required_power=9660, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x70bdac28>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB Carport', type='internal_openwb', template=1, connected_phases=3, phase_1=2, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=1))
2023-12-08 04:14:51,439 - {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-12-08 04:14:51,441 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=1, max_current_multi_phases=16, max_current_single_phase=20, name='RFID, 20A, 11kW', rfid_enabling=True, valid_tags=['0003134583', '0003526747', '1655332554', '2585022212', '2585087748'])
2023-12-08 04:14:51,447 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[63, 63, 63], max_total_power=43000), get=Get(powers=[3301.0, 3148.0, 3276.0], currents=[13.3, 12.7, 13.6], voltages=[241.59, 241.48, 239.29], power_factors=[0.99, 0.99, 0.99], unbalanced_load=0, frequency=50.0, daily_exported=0.0, daily_imported=4131.0, imported=6126411.0, exported=4870433.0, fault_state=0, fault_str='Kein Fehler.', power=9727.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=42443.28, raw_currents_left=[62.31, 62.97, 62.25], surplus_power_left=0, state_str=''))
2023-12-08 04:14:51,453 - {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': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=556.7199999999993, invalid_home_consumption=0, daily_yield_home_consumption=5546.5169343646, imported_home_consumption=2374403.5482859476, disengageable_smarthome_power=0))
2023-12-08 04:14:51,459 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2023-12-08 04:14:51,461 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Ladeprofil ***AUTO1***', disable_after_unplug=False, prio=False, load_default=True, time_charging=TimeCharging(active=True, plans={'0': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[True, True, True, True, False, False, True]), time=['22:00', '06:00'], name='Zeitladen 95%, So-Do 22:00-06:00 Uhr', current=16, limit=Limit(selected='soc', amount=1000, soc=95)), '1': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, True, True, False]), time=['22:00', '06:00'], name='Zeitladen 80%, Fr-Sa 22:00-06:00 Uhr', current=16, limit=Limit(selected='soc', amount=1000, soc=80))}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2023-12-08 04:14:51,462 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, time_charging=TimeCharging(active=True, plans={'2': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), time=['06:45', '07:00'], name='Klima 06:45-07:00 Uhr', current=6, limit=Limit(selected='none', amount=1000, soc=50)), '3': TimeChargingPlan(active=True, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, False, False, False]), time=['00:00', '23:55'], name='Immer 35%', current=10, limit=Limit(selected='soc', amount=1000, soc=35))}), chargemode=Chargemode(selected='scheduled_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={'0': ScheduledChargingPlan(active=False, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, True, False, False, False, False, False]), current=14, name='Zielladen 80%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '1': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), current=14, name='Zielladen 95%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=95), time='05:40'), '2': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once='2023-09-26', weekly=[True, False, False, True, False, True, True]), current=14, name='Zielladen 75%, 7:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=75), time='05:40')}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=80))))
2023-12-08 04:14:51,463 - {control.data:266} - {INFO:MainThread} - ev0
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=['0003134583'], get=Get(soc=0, soc_timestamp=None, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:14:51,464 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Tesla Model Y (2022)', 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=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212', '2585087748'], get=Get(soc=49.0, soc_timestamp='12/08/2023, 01:29:15', force_soc_update=False, range=220.74, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:14:51,465 - {control.data:266} - {INFO:MainThread} - ev2
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Cupra Born 58kW', 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=18000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=2, ev_template=2, name='***AUTO2***', tag_id=['1655332554'], get=Get(soc=72, soc_timestamp='12/08/2023, 04:14:14', force_soc_update=False, range=205, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:14:51,466 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40)
2023-12-08 04:14:51,467 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', 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=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40)
2023-12-08 04:14:51,468 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', 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=18000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40)
2023-12-08 04:14:51,469 - {control.data:245} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=3), pv_charging=PvCharging(bat_prio=True, charging_power_reserve=200, control_range=[-230, 230], feed_in_yield=15000, phase_switch_delay=15, phases_to_use=0, rundown_power=1000, rundown_soc=25, switch_off_delay=60, switch_off_soc=25, switch_off_threshold=50, switch_on_delay=30, switch_on_soc=50, switch_on_threshold=1400), scheduled_charging=ScheduledCharging(phases_to_use=0), time_charging=TimeCharging(phases_to_use=3), unbalanced_load_limit=20, unbalanced_load=True), control_interval=10, extern_display_mode='local', extern=False, external_buttons_hw=False, grid_protection_active=False, grid_protection_configured=True, grid_protection_random_stop=0, grid_protection_timestamp='', mqtt_bridge=False, price_kwh=0.3528, range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=True, r1_active=False, r2_active=False))
2023-12-08 04:14:51,469 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2023-12-08 04:14:51,470 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2023-12-08 04:14:51,470 - {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 0x70b92b20>), led=Led(active=False), rfid=Rfid(active=True))
2023-12-08 04:14:51,471 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=0), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=293628.595, fault_state=0, fault_str='Kein Fehler.', power=0))
2023-12-08 04:14:51,471 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=9500), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=7816178.86, fault_state=0, fault_str='Kein Fehler.', power=-0.0))
2023-12-08 04:14:51,472 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=8109807.455, power=0.0))
2023-12-08 04:14:51,472 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2023-11-30 12:30:45 +0100 [285f5a5fb]', 'current_branch': 'Release', 'current_branch_commit': '2023-11-30 12:30:45 +0100 [285f5a5fb]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.2-Patch.1', 'datastore_version': 29, 'lastlivevaluesJson': {'timestamp': 1702005281, 'time': '04:14:41', 'grid': 9.473, 'house-power': 0.284, 'charging-all': 9.189, 'pv-all': -0.0, 'cp1-power': 9.189, 'ev1-soc': 49.0, 'ev2-soc': 72, 'bat-all-power': 0.0, 'bat-all-soc': 19}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2023-12-08 04:14:51,473 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2023-12-08 04:14:51,473 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2023-12-08 04:14:51,474 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2023-12-08 04:14:51,474 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2023-12-08 04:14:51,474 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2023-12-08 04:14:51,475 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2023-12-08 04:14:51,475 - {control.data:253} - {INFO:MainThread} - 

2023-12-08 04:14:51,476 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2023-12-08 04:14:51,476 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2023-12-08 04:14:51,477 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2023-12-08 04:14:51,478 - {control.counter:169} - {DEBUG:MainThread} - Zähler 0: [56.31, 56.97, 56.25]A verbleibende Ströme, 38303.28W verbleibende Leistung
2023-12-08 04:14:51,479 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2023-12-08 04:14:51,481 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2023-12-08 04:14:51,483 - {control.algorithm.filter_chargepoints:117} - {DEBUG:MainThread} - Geordnete Ladepunkte [1]
2023-12-08 04:14:51,484 - {control.algorithm.additional_current:26} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2023-12-08 04:14:51,485 - {control.counter:169} - {DEBUG:MainThread} - Zähler 0: [48.31, 48.97, 48.25]A verbleibende Ströme, 32783.28W verbleibende Leistung
2023-12-08 04:14:51,486 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 14A
2023-12-08 04:14:51,488 - {control.counter:211} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: 0W
2023-12-08 04:14:51,488 - {control.counter:457} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf 0W
2023-12-08 04:14:51,489 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2023-12-08 04:14:51,489 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2023-12-08 04:14:51,491 - {control.chargelog:52} - {DEBUG:MainThread} - imported_since_mode_switch 596.1900000004098 counter 6926974.12
2023-12-08 04:14:51,495 - {control.process:111} - {INFO:MainThread} - LP1: set current 14 A, state CHARGING_ALLOWED
2023-12-08 04:14:51,508 - {modules.common.component_context:24} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:14:51,544 - {control.counter:186} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2023-12-08 04:14:51,800 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2023-12-08 04:14:51,812 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2023-12-08 04:14:55,823 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2023-12-08 04:14:55,823 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2023-12-08 04:15:00,833 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2023-12-08 04:15:00,835 - {root:74} - {INFO:MainThread} - # ***Start*** 
2023-12-08 04:15:00,907 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x715cf340>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x7155e4a8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x715c75f8>}
2023-12-08 04:15:00,908 - {modules.common.component_context:24} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2023-12-08 04:15:00,910 - {modules.common.component_context:24} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:15:00,922 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2023-12-08 04:15:00,925 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2023-12-08 04:15:00,968 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 750
2023-12-08 04:15:00,970 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"cloud":{"connected":false},"input:0":{"id":0,"state":false},"mqtt":{"connected":false},"switch:0":{"id":0, "source":"loopback", "output":false, "apower":0.0, "voltage":241.7, "current":0.000, "aenergy":{"total":1505.625,"by_minute":[0.000,0.000,0.000],"minute_ts":1702005300},"temperature":{"tC":28.9, "tF":84.0}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:15","unixtime":1702005301,"uptime":1364629,"ram_size":248944,"ram_free":144676,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"beta":{"version":"1.1.0-beta2"},"stable":{"version":"1.0.8"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-70},"ws":{"connected":false}}

2023-12-08 04:15:00,971 - {modules.common.simcount._simcount:38} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1702005290.6460624, power=0, imported=0.0, exported=293628.5948715257)
2023-12-08 04:15:00,972 - {modules.common.simcount._calculate:13} - {DEBUG:device1} - time passed: 0.00286823, power1: 0, power2: 0
2023-12-08 04:15:00,972 - {modules.common.simcount._calculate:29} - {DEBUG:device1} - power did not change sign. Total energy: 0
2023-12-08 04:15:00,973 - {modules.common.simcount._simcount:47} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702005300.9717047, power=0, imported=0.0, exported=293628.5948715257)
2023-12-08 04:15:00,974 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:15:01,001 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-9666, -3289, -3116, -3259], Scale 0
2023-12-08 04:15:01,041 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [138, 131, 136], Scale -1
2023-12-08 04:15:01,072 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [24147, 24134, 23921, 0, 0, 0, 0], Scale -2
2023-12-08 04:15:01,092 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [5000], Scale -2
2023-12-08 04:15:01,112 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [9919, 9950, 9919], Scale -2
2023-12-08 04:15:01,134 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4870433, 1797042, 2153375, 1456453, 6126454, 2531734, 1862969, 2268189], Scale 0
2023-12-08 04:15:01,136 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[13.8, 13.100000000000001, 13.600000000000001], powers=[3289.0, 3116.0, 3259.0], voltages=[241.47, 241.34, 239.21], power_factors=[0.9919, 0.995, 0.9919], imported=6126454.0, exported=4870433.0, power=9666.0, frequency=50.0)
2023-12-08 04:15:01,138 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2023-12-08 04:15:01,162 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [0], Scale 0
2023-12-08 04:15:01,201 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7789710], Scale 0
2023-12-08 04:15:01,259 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [28, 30, 32], Scale -2
2023-12-08 04:15:01,279 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-5116], Scale -2
2023-12-08 04:15:01,279 - {modules.common.component_state:100} - {DEBUG:device0} - currents sign wrong [0.28, 0.3, 0.32]
2023-12-08 04:15:01,280 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.28, 0.3, 0.32], power=-0.0, exported=7789710.0, dc_power=51.160000000000004)
2023-12-08 04:15:01,281 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2023-12-08 04:15:01,504 - {modules.common.simcount._simcount:38} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1702005291.0109577, power=0.0, imported=143333.37604219164, exported=116864.5215890633)
2023-12-08 04:15:01,504 - {modules.common.simcount._calculate:13} - {DEBUG:device0} - time passed: 0.00291477, power1: 0, power2: 0
2023-12-08 04:15:01,505 - {modules.common.simcount._calculate:29} - {DEBUG:device0} - power did not change sign. Total energy: 0
2023-12-08 04:15:01,505 - {modules.common.simcount._simcount:47} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702005301.504113, power=0.0, imported=143333.37604219164, exported=116864.5215890633)
2023-12-08 04:15:01,506 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=143333.37604219164, exported=116864.5215890633, power=0.0, soc=19.0)
2023-12-08 04:15:01,523 - {modules.common.component_context:24} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2023-12-08 04:15:01,524 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=143333.37604219164, exported=116864.5215890633, power=0.0, soc=19.0)
2023-12-08 04:15:01,555 - {modules.common.component_context:24} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:15:01,556 - {modules.common.component_context:24} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2023-12-08 04:15:01,557 - {modules.common.component_context:24} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2023-12-08 04:15:01,558 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-0.0, exported=7816178.86, dc_power=None)
2023-12-08 04:15:01,559 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:15:01,560 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-0.0, exported=7816178.86, dc_power=None)
2023-12-08 04:15:01,561 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:15:01,596 - {modules.common.component_context:24} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2023-12-08 04:15:01,597 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[13.8, 13.100000000000001, 13.600000000000001], powers=[3289.0, 3116.0, 3259.0], voltages=[241.47, 241.34, 239.21], power_factors=[0.9919, 0.995, 0.9919], imported=6126454.0, exported=4870433.0, power=9666.0, frequency=50.0)
2023-12-08 04:15:01,771 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2023-12-08 04:15:01,774 - {control.bat_all:173} - {INFO:MainThread} - -50W verbleibende Speicher-Leistung
2023-12-08 04:15:01,776 - {control.counter:138} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [62.15, 62.79, 62.56]A
2023-12-08 04:15:01,776 - {control.counter:161} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 42711.04W
2023-12-08 04:15:01,780 - {control.chargepoint.chargepoint:699} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2023-12-08 04:15:01,781 - {control.chargepoint.chargepoint:682} - {DEBUG:MainThread} - Phasenzahl Lademodus: 3
2023-12-08 04:15:01,784 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 126.787502s, Dauer 1.380952380952381h, Termin heute verpasst: False
2023-12-08 04:15:01,786 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 90849.766885s, Dauer 0.18012422360248448h, Termin heute verpasst: False
2023-12-08 04:15:01,787 - {control.ev:762} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2023-12-08 04:15:01,793 - {control.chargepoint.chargepoint:898} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 14A, Lademodus scheduled_charging, Submodus: Chargemode.INSTANT_CHARGING, Phasen: 3, Priorität: False, max. Ist-Strom: 13.16
2023-12-08 04:15:01,794 - {control.chargepoint.chargepoint:277} - {INFO:MainThread} - LP 1: Zielladen mit 14A, um einen SoC von 95%  um 05:40 zu erreichen.
2023-12-08 04:15:01,806 - {modules.common.simcount._simcount:38} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1702005291.3892372, power=556.7199999999993, imported=2374403.5482859476, exported=0)
2023-12-08 04:15:01,809 - {modules.common.simcount._calculate:13} - {DEBUG:MainThread} - time passed: 0.00289378, power1: 556.72, power2: 288.96
2023-12-08 04:15:01,814 - {modules.common.simcount._calculate:29} - {DEBUG:MainThread} - power did not change sign. Total energy: 1.22361
2023-12-08 04:15:01,822 - {modules.common.simcount._simcount:47} - {DEBUG:MainThread} - imported: 1.22361 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702005301.806856, power=288.9599999999991, imported=2374404.7718931455, exported=0)
2023-12-08 04:15:01,825 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=19, daily_exported=0.0, daily_imported=0.0, imported=143333.38, exported=116864.52, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2023-12-08 04:15:01,827 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=19, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=143333.38, exported=116864.52, power=0.0), set=Set(charging_power_left=-50, switch_on_soc_reached=False))
2023-12-08 04:15:01,830 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=98.14, daily_exported=0, power=9377.04, imported=6927002.93, exported=0))
2023-12-08 04:15:01,833 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 95%, 06:00 Uhr', imported_at_plan_start=6926377.93, imported_instant_charging=None, limit=None, phases=3, prio=False, required_current=14, required_currents=[14, 14, 14], 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=[12.89, 13.16, 12.95], daily_imported=98.14, daily_exported=0, evse_current=1400, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=6927002.93, phases_in_use=3, plug_state=True, power=9377.04, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Zielladen mit 14A, um einen SoC von 95%  um 05:40 zu erreichen.', voltages=[241.62, 239.54, 241.79]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=14, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', imported_at_mode_switch=6926377.93, imported_at_plugtime=6926377.93, imported_since_mode_switch=596.1900000004098, imported_since_plugged=596.1900000004098, range_charged=3.3121666666689435, time_charged='0:03', timestamp_start_charging='12/08/2023, 04:11:30'), manual_lock=False, phases_to_use=3, plug_state_prev=True, plug_time='12/07/2023, 13:07:31', required_power=9660, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x70ba3eb0>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB Carport', type='internal_openwb', template=1, connected_phases=3, phase_1=2, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=1))
2023-12-08 04:15:01,834 - {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-12-08 04:15:01,835 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=1, max_current_multi_phases=16, max_current_single_phase=20, name='RFID, 20A, 11kW', rfid_enabling=True, valid_tags=['0003134583', '0003526747', '1655332554', '2585022212', '2585087748'])
2023-12-08 04:15:01,837 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[63, 63, 63], max_total_power=43000), get=Get(powers=[3289.0, 3116.0, 3259.0], currents=[13.8, 13.1, 13.6], voltages=[241.47, 241.34, 239.21], power_factors=[0.99, 0.99, 0.99], unbalanced_load=0, frequency=50.0, daily_exported=0.0, daily_imported=4131.0, imported=6126454.0, exported=4870433.0, fault_state=0, fault_str='Kein Fehler.', power=9666.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=42711.04, raw_currents_left=[62.15, 62.79, 62.56], surplus_power_left=0, state_str=''))
2023-12-08 04:15:01,838 - {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': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=288.9599999999991, invalid_home_consumption=0, daily_yield_home_consumption=5546.5169343646, imported_home_consumption=2374404.7718931455, disengageable_smarthome_power=0))
2023-12-08 04:15:01,842 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2023-12-08 04:15:01,845 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Ladeprofil ***AUTO1***', disable_after_unplug=False, prio=False, load_default=True, time_charging=TimeCharging(active=True, plans={'0': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[True, True, True, True, False, False, True]), time=['22:00', '06:00'], name='Zeitladen 95%, So-Do 22:00-06:00 Uhr', current=16, limit=Limit(selected='soc', amount=1000, soc=95)), '1': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, True, True, False]), time=['22:00', '06:00'], name='Zeitladen 80%, Fr-Sa 22:00-06:00 Uhr', current=16, limit=Limit(selected='soc', amount=1000, soc=80))}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2023-12-08 04:15:01,847 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, time_charging=TimeCharging(active=True, plans={'2': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), time=['06:45', '07:00'], name='Klima 06:45-07:00 Uhr', current=6, limit=Limit(selected='none', amount=1000, soc=50)), '3': TimeChargingPlan(active=True, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, False, False, False]), time=['00:00', '23:55'], name='Immer 35%', current=10, limit=Limit(selected='soc', amount=1000, soc=35))}), chargemode=Chargemode(selected='scheduled_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={'0': ScheduledChargingPlan(active=False, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, True, False, False, False, False, False]), current=14, name='Zielladen 80%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '1': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), current=14, name='Zielladen 95%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=95), time='05:40'), '2': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once='2023-09-26', weekly=[True, False, False, True, False, True, True]), current=14, name='Zielladen 75%, 7:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=75), time='05:40')}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=80))))
2023-12-08 04:15:01,849 - {control.data:266} - {INFO:MainThread} - ev0
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=['0003134583'], get=Get(soc=0, soc_timestamp=None, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:15:01,850 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Tesla Model Y (2022)', 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=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212', '2585087748'], get=Get(soc=49.0, soc_timestamp='12/08/2023, 01:29:15', force_soc_update=False, range=220.74, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:15:01,851 - {control.data:266} - {INFO:MainThread} - ev2
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Cupra Born 58kW', 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=18000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=2, ev_template=2, name='***AUTO2***', tag_id=['1655332554'], get=Get(soc=72, soc_timestamp='12/08/2023, 04:14:14', force_soc_update=False, range=205, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:15:01,852 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40)
2023-12-08 04:15:01,853 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', 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=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40)
2023-12-08 04:15:01,857 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', 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=18000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40)
2023-12-08 04:15:01,860 - {control.data:245} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=3), pv_charging=PvCharging(bat_prio=True, charging_power_reserve=200, control_range=[-230, 230], feed_in_yield=15000, phase_switch_delay=15, phases_to_use=0, rundown_power=1000, rundown_soc=25, switch_off_delay=60, switch_off_soc=25, switch_off_threshold=50, switch_on_delay=30, switch_on_soc=50, switch_on_threshold=1400), scheduled_charging=ScheduledCharging(phases_to_use=0), time_charging=TimeCharging(phases_to_use=3), unbalanced_load_limit=20, unbalanced_load=True), control_interval=10, extern_display_mode='local', extern=False, external_buttons_hw=False, grid_protection_active=False, grid_protection_configured=True, grid_protection_random_stop=0, grid_protection_timestamp='', mqtt_bridge=False, price_kwh=0.3528, range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=True, r1_active=False, r2_active=False))
2023-12-08 04:15:01,864 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2023-12-08 04:15:01,865 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2023-12-08 04:15:01,866 - {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 0x75610e68>), led=Led(active=False), rfid=Rfid(active=True))
2023-12-08 04:15:01,867 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=0), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=293628.595, fault_state=0, fault_str='Kein Fehler.', power=0))
2023-12-08 04:15:01,867 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=9500), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=7816178.86, fault_state=0, fault_str='Kein Fehler.', power=-0.0))
2023-12-08 04:15:01,868 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=8109807.455, power=0.0))
2023-12-08 04:15:01,868 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2023-11-30 12:30:45 +0100 [285f5a5fb]', 'current_branch': 'Release', 'current_branch_commit': '2023-11-30 12:30:45 +0100 [285f5a5fb]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.2-Patch.1', 'datastore_version': 29, 'lastlivevaluesJson': {'timestamp': 1702005291, 'time': '04:14:51', 'grid': 9.727, 'house-power': 0.557, 'charging-all': 9.17, 'pv-all': -0.0, 'cp1-power': 9.17, 'ev1-soc': 49.0, 'ev2-soc': 72, 'bat-all-power': 0.0, 'bat-all-soc': 19}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2023-12-08 04:15:01,868 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2023-12-08 04:15:01,869 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2023-12-08 04:15:01,870 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2023-12-08 04:15:01,871 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2023-12-08 04:15:01,872 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2023-12-08 04:15:01,874 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2023-12-08 04:15:01,876 - {control.data:253} - {INFO:MainThread} - 

2023-12-08 04:15:01,879 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2023-12-08 04:15:01,880 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2023-12-08 04:15:01,882 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2023-12-08 04:15:01,883 - {control.counter:169} - {DEBUG:MainThread} - Zähler 0: [56.15, 56.79, 56.56]A verbleibende Ströme, 38571.04W verbleibende Leistung
2023-12-08 04:15:01,885 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2023-12-08 04:15:01,888 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2023-12-08 04:15:01,890 - {control.algorithm.filter_chargepoints:117} - {DEBUG:MainThread} - Geordnete Ladepunkte [1]
2023-12-08 04:15:01,891 - {control.algorithm.additional_current:26} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2023-12-08 04:15:01,893 - {control.counter:169} - {DEBUG:MainThread} - Zähler 0: [48.15, 48.79, 48.56]A verbleibende Ströme, 33051.04W verbleibende Leistung
2023-12-08 04:15:01,894 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 14A
2023-12-08 04:15:01,897 - {control.counter:211} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: 0W
2023-12-08 04:15:01,898 - {control.counter:457} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf 0W
2023-12-08 04:15:01,900 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2023-12-08 04:15:01,902 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2023-12-08 04:15:01,904 - {control.chargelog:52} - {DEBUG:MainThread} - imported_since_mode_switch 625.0 counter 6927002.93
2023-12-08 04:15:01,907 - {control.process:111} - {INFO:MainThread} - LP1: set current 14 A, state CHARGING_ALLOWED
2023-12-08 04:15:01,912 - {modules.common.component_context:24} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:15:01,946 - {control.counter:186} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2023-12-08 04:15:02,143 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2023-12-08 04:15:02,170 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=hours, do=inner, args=(), kwargs={})
2023-12-08 04:15:02,203 - {root:106} - {DEBUG:MainThread} - 5 Minuten Handler ausführen.
2023-12-08 04:15:02,241 - {helpermodules.system:74} - {INFO:MainThread} - my IP: 192.168.1.31
2023-12-08 04:15:02,242 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=hours, do=inner, args=(), kwargs={})
2023-12-08 04:15:05,636 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2023-12-08 04:15:05,637 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2023-12-08 04:15:10,651 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2023-12-08 04:15:10,652 - {root:74} - {INFO:MainThread} - # ***Start*** 
2023-12-08 04:15:10,691 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x715cf340>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x7155e4a8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x715c75f8>}
2023-12-08 04:15:10,694 - {modules.common.component_context:24} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2023-12-08 04:15:10,700 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2023-12-08 04:15:10,703 - {modules.common.component_context:24} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:15:10,703 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2023-12-08 04:15:10,743 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 750
2023-12-08 04:15:10,745 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"cloud":{"connected":false},"input:0":{"id":0,"state":false},"mqtt":{"connected":false},"switch:0":{"id":0, "source":"loopback", "output":false, "apower":0.0, "voltage":241.6, "current":0.000, "aenergy":{"total":1505.625,"by_minute":[0.000,0.000,0.000],"minute_ts":1702005310},"temperature":{"tC":28.8, "tF":83.8}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:15","unixtime":1702005311,"uptime":1364638,"ram_size":248944,"ram_free":144676,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"beta":{"version":"1.1.0-beta2"},"stable":{"version":"1.0.8"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-68},"ws":{"connected":false}}

2023-12-08 04:15:10,747 - {modules.common.simcount._simcount:38} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1702005300.9717047, power=0, imported=0.0, exported=293628.5948715257)
2023-12-08 04:15:10,748 - {modules.common.simcount._calculate:13} - {DEBUG:device1} - time passed: 0.00271558, power1: 0, power2: 0
2023-12-08 04:15:10,749 - {modules.common.simcount._calculate:29} - {DEBUG:device1} - power did not change sign. Total energy: 0
2023-12-08 04:15:10,749 - {modules.common.simcount._simcount:47} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702005310.7477987, power=0, imported=0.0, exported=293628.5948715257)
2023-12-08 04:15:10,751 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:15:10,788 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-9639, -3303, -3101, -3234], Scale 0
2023-12-08 04:15:10,809 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [136, 129, 137], Scale -1
2023-12-08 04:15:10,828 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [24151, 24130, 23925, 0, 0, 0, 0], Scale -2
2023-12-08 04:15:11,020 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [5000], Scale -2
2023-12-08 04:15:11,062 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [9990, 9990, 9869], Scale -2
2023-12-08 04:15:11,113 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4870433, 1797042, 2153375, 1456453, 6126476, 2531742, 1862976, 2268196], Scale 0
2023-12-08 04:15:11,114 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[13.600000000000001, 12.9, 13.700000000000001], powers=[3303.0, 3101.0, 3234.0], voltages=[241.51, 241.3, 239.25], power_factors=[0.9990000000000001, 0.9990000000000001, 0.9869], imported=6126476.0, exported=4870433.0, power=9639.0, frequency=50.0)
2023-12-08 04:15:11,116 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2023-12-08 04:15:11,160 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [0], Scale 0
2023-12-08 04:15:11,180 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7789710], Scale 0
2023-12-08 04:15:11,200 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [27, 31, 32], Scale -2
2023-12-08 04:15:11,220 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4611], Scale -2
2023-12-08 04:15:11,220 - {modules.common.component_state:100} - {DEBUG:device0} - currents sign wrong [0.27, 0.31, 0.32]
2023-12-08 04:15:11,221 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.27, 0.31, 0.32], power=-0.0, exported=7789710.0, dc_power=46.11)
2023-12-08 04:15:11,222 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2023-12-08 04:15:11,330 - {modules.common.simcount._simcount:38} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1702005301.504113, power=0.0, imported=143333.37604219164, exported=116864.5215890633)
2023-12-08 04:15:11,331 - {modules.common.simcount._calculate:13} - {DEBUG:device0} - time passed: 0.00272967, power1: 0, power2: 0
2023-12-08 04:15:11,332 - {modules.common.simcount._calculate:29} - {DEBUG:device0} - power did not change sign. Total energy: 0
2023-12-08 04:15:11,332 - {modules.common.simcount._simcount:47} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702005311.3309135, power=0.0, imported=143333.37604219164, exported=116864.5215890633)
2023-12-08 04:15:11,333 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=143333.37604219164, exported=116864.5215890633, power=0.0, soc=19.0)
2023-12-08 04:15:11,338 - {modules.common.component_context:24} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2023-12-08 04:15:11,340 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=143333.37604219164, exported=116864.5215890633, power=0.0, soc=19.0)
2023-12-08 04:15:11,386 - {modules.common.component_context:24} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:15:11,387 - {modules.common.component_context:24} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2023-12-08 04:15:11,389 - {modules.common.component_context:24} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2023-12-08 04:15:11,389 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-0.0, exported=7816178.86, dc_power=None)
2023-12-08 04:15:11,390 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:15:11,392 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-0.0, exported=7816178.86, dc_power=None)
2023-12-08 04:15:11,393 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:15:11,438 - {modules.common.component_context:24} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2023-12-08 04:15:11,440 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[13.600000000000001, 12.9, 13.700000000000001], powers=[3303.0, 3101.0, 3234.0], voltages=[241.51, 241.3, 239.25], power_factors=[0.9990000000000001, 0.9990000000000001, 0.9869], imported=6126476.0, exported=4870433.0, power=9639.0, frequency=50.0)
2023-12-08 04:15:11,639 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2023-12-08 04:15:11,640 - {control.bat_all:173} - {INFO:MainThread} - -50W verbleibende Speicher-Leistung
2023-12-08 04:15:11,642 - {control.counter:138} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [62.38, 63.03, 62.33]A
2023-12-08 04:15:11,643 - {control.counter:161} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 42727.81W
2023-12-08 04:15:11,645 - {control.chargepoint.chargepoint:699} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2023-12-08 04:15:11,646 - {control.chargepoint.chargepoint:682} - {DEBUG:MainThread} - Phasenzahl Lademodus: 3
2023-12-08 04:15:11,648 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 116.923713s, Dauer 1.380952380952381h, Termin heute verpasst: False
2023-12-08 04:15:11,650 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 90839.903102s, Dauer 0.18012422360248448h, Termin heute verpasst: False
2023-12-08 04:15:11,651 - {control.ev:762} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2023-12-08 04:15:11,653 - {control.chargepoint.chargepoint:898} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 14A, Lademodus scheduled_charging, Submodus: Chargemode.INSTANT_CHARGING, Phasen: 3, Priorität: False, max. Ist-Strom: 13.03
2023-12-08 04:15:11,655 - {control.chargepoint.chargepoint:277} - {INFO:MainThread} - LP 1: Zielladen mit 14A, um einen SoC von 95%  um 05:40 zu erreichen.
2023-12-08 04:15:11,697 - {modules.common.simcount._simcount:38} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1702005301.806856, power=288.9599999999991, imported=2374404.7718931455, exported=0)
2023-12-08 04:15:11,699 - {modules.common.simcount._calculate:13} - {DEBUG:MainThread} - time passed: 0.00274745, power1: 288.96, power2: 272.19
2023-12-08 04:15:11,700 - {modules.common.simcount._calculate:29} - {DEBUG:MainThread} - power did not change sign. Total energy: 0.770866
2023-12-08 04:15:11,701 - {modules.common.simcount._simcount:47} - {DEBUG:MainThread} - imported: 0.770866 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702005311.6976843, power=272.1900000000005, imported=2374405.5427595815, exported=0)
2023-12-08 04:15:11,704 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=19, daily_exported=0.0, daily_imported=0.0, imported=143333.38, exported=116864.52, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2023-12-08 04:15:11,712 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=19, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=143333.38, exported=116864.52, power=0.0), set=Set(charging_power_left=-50, switch_on_soc_reached=False))
2023-12-08 04:15:11,718 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=641.11, daily_exported=0, power=9366.81, imported=6927026.86, exported=0))
2023-12-08 04:15:11,720 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 95%, 06:00 Uhr', imported_at_plan_start=6926377.93, imported_instant_charging=None, limit=None, phases=3, prio=False, required_current=14, required_currents=[14, 14, 14], 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=[12.93, 13.03, 12.98], daily_imported=641.11, daily_exported=0, evse_current=1400, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=6927026.86, phases_in_use=3, plug_state=True, power=9366.81, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Zielladen mit 14A, um einen SoC von 95%  um 05:40 zu erreichen.', voltages=[241.53, 239.48, 241.64]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=14, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', imported_at_mode_switch=6926377.93, imported_at_plugtime=6926377.93, imported_since_mode_switch=625.0, imported_since_plugged=625.0, range_charged=3.4722222222222223, time_charged='0:03', timestamp_start_charging='12/08/2023, 04:11:30'), manual_lock=False, phases_to_use=3, plug_state_prev=True, plug_time='12/07/2023, 13:07:31', required_power=9660, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x70bda2b0>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB Carport', type='internal_openwb', template=1, connected_phases=3, phase_1=2, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=1))
2023-12-08 04:15:11,721 - {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-12-08 04:15:11,722 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=1, max_current_multi_phases=16, max_current_single_phase=20, name='RFID, 20A, 11kW', rfid_enabling=True, valid_tags=['0003134583', '0003526747', '1655332554', '2585022212', '2585087748'])
2023-12-08 04:15:11,723 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[63, 63, 63], max_total_power=43000), get=Get(powers=[3303.0, 3101.0, 3234.0], currents=[13.6, 12.9, 13.7], voltages=[241.51, 241.3, 239.25], power_factors=[1.0, 1.0, 0.99], unbalanced_load=0, frequency=50.0, daily_exported=0.0, daily_imported=4693.0, imported=6126476.0, exported=4870433.0, fault_state=0, fault_str='Kein Fehler.', power=9639.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=42727.81, raw_currents_left=[62.38, 63.03, 62.33], surplus_power_left=0, state_str=''))
2023-12-08 04:15:11,730 - {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': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=272.1900000000005, invalid_home_consumption=0, daily_yield_home_consumption=5589.4256330971, imported_home_consumption=2374405.5427595815, disengageable_smarthome_power=0))
2023-12-08 04:15:11,740 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2023-12-08 04:15:11,742 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Ladeprofil ***AUTO1***', disable_after_unplug=False, prio=False, load_default=True, time_charging=TimeCharging(active=True, plans={'0': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[True, True, True, True, False, False, True]), time=['22:00', '06:00'], name='Zeitladen 95%, So-Do 22:00-06:00 Uhr', current=16, limit=Limit(selected='soc', amount=1000, soc=95)), '1': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, True, True, False]), time=['22:00', '06:00'], name='Zeitladen 80%, Fr-Sa 22:00-06:00 Uhr', current=16, limit=Limit(selected='soc', amount=1000, soc=80))}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2023-12-08 04:15:11,743 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, time_charging=TimeCharging(active=True, plans={'2': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), time=['06:45', '07:00'], name='Klima 06:45-07:00 Uhr', current=6, limit=Limit(selected='none', amount=1000, soc=50)), '3': TimeChargingPlan(active=True, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, False, False, False]), time=['00:00', '23:55'], name='Immer 35%', current=10, limit=Limit(selected='soc', amount=1000, soc=35))}), chargemode=Chargemode(selected='scheduled_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={'0': ScheduledChargingPlan(active=False, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, True, False, False, False, False, False]), current=14, name='Zielladen 80%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '1': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), current=14, name='Zielladen 95%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=95), time='05:40'), '2': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once='2023-09-26', weekly=[True, False, False, True, False, True, True]), current=14, name='Zielladen 75%, 7:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=75), time='05:40')}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=80))))
2023-12-08 04:15:11,749 - {control.data:266} - {INFO:MainThread} - ev0
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=['0003134583'], get=Get(soc=0, soc_timestamp=None, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:15:11,755 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Tesla Model Y (2022)', 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=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212', '2585087748'], get=Get(soc=49.0, soc_timestamp='12/08/2023, 01:29:15', force_soc_update=False, range=220.74, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:15:11,763 - {control.data:266} - {INFO:MainThread} - ev2
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Cupra Born 58kW', 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=18000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=2, ev_template=2, name='***AUTO2***', tag_id=['1655332554'], get=Get(soc=72, soc_timestamp='12/08/2023, 04:15:09', force_soc_update=False, range=205, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:15:11,765 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40)
2023-12-08 04:15:11,768 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', 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=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40)
2023-12-08 04:15:11,770 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', 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=18000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40)
2023-12-08 04:15:11,773 - {control.data:245} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=3), pv_charging=PvCharging(bat_prio=True, charging_power_reserve=200, control_range=[-230, 230], feed_in_yield=15000, phase_switch_delay=15, phases_to_use=0, rundown_power=1000, rundown_soc=25, switch_off_delay=60, switch_off_soc=25, switch_off_threshold=50, switch_on_delay=30, switch_on_soc=50, switch_on_threshold=1400), scheduled_charging=ScheduledCharging(phases_to_use=0), time_charging=TimeCharging(phases_to_use=3), unbalanced_load_limit=20, unbalanced_load=True), control_interval=10, extern_display_mode='local', extern=False, external_buttons_hw=False, grid_protection_active=False, grid_protection_configured=True, grid_protection_random_stop=0, grid_protection_timestamp='', mqtt_bridge=False, price_kwh=0.3528, range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=True, r1_active=False, r2_active=False))
2023-12-08 04:15:11,783 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2023-12-08 04:15:11,784 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2023-12-08 04:15:11,784 - {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 0x70beff70>), led=Led(active=False), rfid=Rfid(active=True))
2023-12-08 04:15:11,786 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=0), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=293628.595, fault_state=0, fault_str='Kein Fehler.', power=0))
2023-12-08 04:15:11,788 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=9500), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=7816178.86, fault_state=0, fault_str='Kein Fehler.', power=-0.0))
2023-12-08 04:15:11,789 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=8109807.455, power=0.0))
2023-12-08 04:15:11,793 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2023-11-30 12:30:45 +0100 [285f5a5fb]', 'current_branch': 'Release', 'current_branch_commit': '2023-11-30 12:30:45 +0100 [285f5a5fb]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.2-Patch.1', 'datastore_version': 29, 'lastlivevaluesJson': {'timestamp': 1702005301, 'time': '04:15:01', 'grid': 9.666, 'house-power': 0.289, 'charging-all': 9.377, 'pv-all': -0.0, 'cp1-power': 9.377, 'ev1-soc': 49.0, 'ev2-soc': 72, 'bat-all-power': 0.0, 'bat-all-soc': 19}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2023-12-08 04:15:11,794 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2023-12-08 04:15:11,795 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2023-12-08 04:15:11,796 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2023-12-08 04:15:11,798 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2023-12-08 04:15:11,801 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2023-12-08 04:15:11,803 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2023-12-08 04:15:11,806 - {control.data:253} - {INFO:MainThread} - 

2023-12-08 04:15:11,812 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2023-12-08 04:15:11,817 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2023-12-08 04:15:11,819 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2023-12-08 04:15:11,823 - {control.counter:169} - {DEBUG:MainThread} - Zähler 0: [56.38, 57.03, 56.33]A verbleibende Ströme, 38587.81W verbleibende Leistung
2023-12-08 04:15:11,824 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2023-12-08 04:15:11,828 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2023-12-08 04:15:11,830 - {control.algorithm.filter_chargepoints:117} - {DEBUG:MainThread} - Geordnete Ladepunkte [1]
2023-12-08 04:15:11,832 - {control.algorithm.additional_current:26} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2023-12-08 04:15:11,834 - {control.counter:169} - {DEBUG:MainThread} - Zähler 0: [48.38, 49.03, 48.33]A verbleibende Ströme, 33067.81W verbleibende Leistung
2023-12-08 04:15:11,835 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 14A
2023-12-08 04:15:11,838 - {control.counter:211} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: 0W
2023-12-08 04:15:11,840 - {control.counter:457} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf 0W
2023-12-08 04:15:11,841 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2023-12-08 04:15:11,842 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2023-12-08 04:15:11,844 - {control.chargelog:52} - {DEBUG:MainThread} - imported_since_mode_switch 648.9300000006333 counter 6927026.86
2023-12-08 04:15:11,847 - {control.process:111} - {INFO:MainThread} - LP1: set current 14 A, state CHARGING_ALLOWED
2023-12-08 04:15:11,850 - {modules.common.component_context:24} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:15:11,903 - {control.counter:186} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2023-12-08 04:15:12,118 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2023-12-08 04:15:12,140 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2023-12-08 04:15:15,149 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2023-12-08 04:15:15,150 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2023-12-08 04:15:20,160 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2023-12-08 04:15:20,161 - {root:74} - {INFO:MainThread} - # ***Start*** 
2023-12-08 04:15:20,199 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x715cf340>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x7155e4a8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x715c75f8>}
2023-12-08 04:15:20,200 - {modules.common.component_context:24} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2023-12-08 04:15:20,201 - {modules.common.component_context:24} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:15:20,208 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2023-12-08 04:15:20,211 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2023-12-08 04:15:20,254 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 750
2023-12-08 04:15:20,257 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"cloud":{"connected":false},"input:0":{"id":0,"state":false},"mqtt":{"connected":false},"switch:0":{"id":0, "source":"loopback", "output":false, "apower":0.0, "voltage":241.5, "current":0.000, "aenergy":{"total":1505.625,"by_minute":[0.000,0.000,0.000],"minute_ts":1702005319},"temperature":{"tC":28.8, "tF":83.9}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:15","unixtime":1702005320,"uptime":1364648,"ram_size":248996,"ram_free":145264,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"beta":{"version":"1.1.0-beta2"},"stable":{"version":"1.0.8"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-68},"ws":{"connected":false}}

2023-12-08 04:15:20,261 - {modules.common.simcount._simcount:38} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1702005310.7477987, power=0, imported=0.0, exported=293628.5948715257)
2023-12-08 04:15:20,262 - {modules.common.simcount._calculate:13} - {DEBUG:device1} - time passed: 0.00264276, power1: 0, power2: 0
2023-12-08 04:15:20,263 - {modules.common.simcount._calculate:29} - {DEBUG:device1} - power did not change sign. Total energy: 0
2023-12-08 04:15:20,264 - {modules.common.simcount._simcount:47} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702005320.2617254, power=0, imported=0.0, exported=293628.5948715257)
2023-12-08 04:15:20,266 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:15:20,318 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-9845, -3355, -3202, -3287], Scale 0
2023-12-08 04:15:20,337 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [135, 129, 136], Scale -1
2023-12-08 04:15:20,357 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [24130, 24113, 23907, 0, 0, 0, 0], Scale -2
2023-12-08 04:15:20,377 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [5000], Scale -2
2023-12-08 04:15:20,398 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [9940, 9950, 9919], Scale -2
2023-12-08 04:15:20,443 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4870433, 1797042, 2153375, 1456453, 6126497, 2531749, 1862983, 2268203], Scale 0
2023-12-08 04:15:20,443 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[13.5, 12.9, 13.600000000000001], powers=[3355.0, 3202.0, 3287.0], voltages=[241.3, 241.13, 239.07], power_factors=[0.9940000000000001, 0.995, 0.9919], imported=6126497.0, exported=4870433.0, power=9845.0, frequency=50.0)
2023-12-08 04:15:20,449 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2023-12-08 04:15:20,490 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [0], Scale 0
2023-12-08 04:15:20,539 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7789710], Scale 0
2023-12-08 04:15:20,568 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [29, 32, 33], Scale -2
2023-12-08 04:15:20,588 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4323], Scale -2
2023-12-08 04:15:20,589 - {modules.common.component_state:100} - {DEBUG:device0} - currents sign wrong [0.29, 0.32, 0.33]
2023-12-08 04:15:20,589 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.29, 0.32, 0.33], power=-0.0, exported=7789710.0, dc_power=43.230000000000004)
2023-12-08 04:15:20,592 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2023-12-08 04:15:20,729 - {modules.common.simcount._simcount:38} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1702005311.3309135, power=0.0, imported=143333.37604219164, exported=116864.5215890633)
2023-12-08 04:15:20,730 - {modules.common.simcount._calculate:13} - {DEBUG:device0} - time passed: 0.00261064, power1: 0, power2: 0
2023-12-08 04:15:20,730 - {modules.common.simcount._calculate:29} - {DEBUG:device0} - power did not change sign. Total energy: 0
2023-12-08 04:15:20,731 - {modules.common.simcount._simcount:47} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702005320.7292047, power=0.0, imported=143333.37604219164, exported=116864.5215890633)
2023-12-08 04:15:20,732 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=143333.37604219164, exported=116864.5215890633, power=0.0, soc=19.0)
2023-12-08 04:15:20,741 - {modules.common.component_context:24} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2023-12-08 04:15:20,743 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=143333.37604219164, exported=116864.5215890633, power=0.0, soc=19.0)
2023-12-08 04:15:20,795 - {modules.common.component_context:24} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:15:20,797 - {modules.common.component_context:24} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2023-12-08 04:15:20,798 - {modules.common.component_context:24} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2023-12-08 04:15:20,799 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-0.0, exported=7816178.86, dc_power=None)
2023-12-08 04:15:20,800 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:15:20,801 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-0.0, exported=7816178.86, dc_power=None)
2023-12-08 04:15:20,802 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:15:20,859 - {modules.common.component_context:24} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2023-12-08 04:15:20,860 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[13.5, 12.9, 13.600000000000001], powers=[3355.0, 3202.0, 3287.0], voltages=[241.3, 241.13, 239.07], power_factors=[0.9940000000000001, 0.995, 0.9919], imported=6126497.0, exported=4870433.0, power=9845.0, frequency=50.0)
2023-12-08 04:15:21,023 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2023-12-08 04:15:21,027 - {control.bat_all:173} - {INFO:MainThread} - -50W verbleibende Speicher-Leistung
2023-12-08 04:15:21,039 - {control.counter:138} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [62.69, 63.35, 62.64]A
2023-12-08 04:15:21,041 - {control.counter:161} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 42703.729999999996W
2023-12-08 04:15:21,050 - {control.chargepoint.chargepoint:699} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2023-12-08 04:15:21,055 - {control.chargepoint.chargepoint:682} - {DEBUG:MainThread} - Phasenzahl Lademodus: 3
2023-12-08 04:15:21,056 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 107.515633s, Dauer 1.380952380952381h, Termin heute verpasst: False
2023-12-08 04:15:21,058 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 90830.494984s, Dauer 0.18012422360248448h, Termin heute verpasst: False
2023-12-08 04:15:21,059 - {control.ev:762} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2023-12-08 04:15:21,062 - {control.chargepoint.chargepoint:898} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 14A, Lademodus scheduled_charging, Submodus: Chargemode.INSTANT_CHARGING, Phasen: 3, Priorität: False, max. Ist-Strom: 13.25
2023-12-08 04:15:21,065 - {control.chargepoint.chargepoint:277} - {INFO:MainThread} - LP 1: Zielladen mit 14A, um einen SoC von 95%  um 05:40 zu erreichen.
2023-12-08 04:15:21,085 - {modules.common.simcount._simcount:38} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1702005311.6976843, power=272.1900000000005, imported=2374405.5427595815, exported=0)
2023-12-08 04:15:21,089 - {modules.common.simcount._calculate:13} - {DEBUG:MainThread} - time passed: 0.00260782, power1: 272.19, power2: 296.27
2023-12-08 04:15:21,097 - {modules.common.simcount._calculate:29} - {DEBUG:MainThread} - power did not change sign. Total energy: 0.741221
2023-12-08 04:15:21,098 - {modules.common.simcount._simcount:47} - {DEBUG:MainThread} - imported: 0.741221 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702005321.0858371, power=296.27000000000044, imported=2374406.2839803263, exported=0)
2023-12-08 04:15:21,102 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=19, daily_exported=0.0, daily_imported=0.0, imported=143333.38, exported=116864.52, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2023-12-08 04:15:21,104 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=19, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=143333.38, exported=116864.52, power=0.0), set=Set(charging_power_left=-50, switch_on_soc_reached=False))
2023-12-08 04:15:21,106 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=641.11, daily_exported=0, power=9548.73, imported=6927050.78, exported=0))
2023-12-08 04:15:21,107 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 95%, 06:00 Uhr', imported_at_plan_start=6926377.93, imported_instant_charging=None, limit=None, phases=3, prio=False, required_current=14, required_currents=[14, 14, 14], 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=[13.25, 13.24, 13.19], daily_imported=641.11, daily_exported=0, evse_current=1400, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=6927050.78, phases_in_use=3, plug_state=True, power=9548.73, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Zielladen mit 14A, um einen SoC von 95%  um 05:40 zu erreichen.', voltages=[241.42, 239.53, 241.61]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=14, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', imported_at_mode_switch=6926377.93, imported_at_plugtime=6926377.93, imported_since_mode_switch=648.9300000006333, imported_since_plugged=648.9300000006333, range_charged=3.605166666670185, time_charged='0:03', timestamp_start_charging='12/08/2023, 04:11:30'), manual_lock=False, phases_to_use=3, plug_state_prev=True, plug_time='12/07/2023, 13:07:31', required_power=9660, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x7157bad8>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB Carport', type='internal_openwb', template=1, connected_phases=3, phase_1=2, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=1))
2023-12-08 04:15:21,108 - {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-12-08 04:15:21,109 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=1, max_current_multi_phases=16, max_current_single_phase=20, name='RFID, 20A, 11kW', rfid_enabling=True, valid_tags=['0003134583', '0003526747', '1655332554', '2585022212', '2585087748'])
2023-12-08 04:15:21,110 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[63, 63, 63], max_total_power=43000), get=Get(powers=[3355.0, 3202.0, 3287.0], currents=[13.5, 12.9, 13.6], voltages=[241.3, 241.13, 239.07], power_factors=[0.99, 0.99, 0.99], unbalanced_load=0, frequency=50.0, daily_exported=0.0, daily_imported=4693.0, imported=6126497.0, exported=4870433.0, fault_state=0, fault_str='Kein Fehler.', power=9845.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=42703.729999999996, raw_currents_left=[62.69, 63.35, 62.64], surplus_power_left=0, state_str=''))
2023-12-08 04:15:21,112 - {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': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=296.27000000000044, invalid_home_consumption=0, daily_yield_home_consumption=5589.4256330971, imported_home_consumption=2374406.2839803263, disengageable_smarthome_power=0))
2023-12-08 04:15:21,114 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2023-12-08 04:15:21,115 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Ladeprofil ***AUTO1***', disable_after_unplug=False, prio=False, load_default=True, time_charging=TimeCharging(active=True, plans={'0': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[True, True, True, True, False, False, True]), time=['22:00', '06:00'], name='Zeitladen 95%, So-Do 22:00-06:00 Uhr', current=16, limit=Limit(selected='soc', amount=1000, soc=95)), '1': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, True, True, False]), time=['22:00', '06:00'], name='Zeitladen 80%, Fr-Sa 22:00-06:00 Uhr', current=16, limit=Limit(selected='soc', amount=1000, soc=80))}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2023-12-08 04:15:21,116 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, time_charging=TimeCharging(active=True, plans={'2': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), time=['06:45', '07:00'], name='Klima 06:45-07:00 Uhr', current=6, limit=Limit(selected='none', amount=1000, soc=50)), '3': TimeChargingPlan(active=True, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, False, False, False]), time=['00:00', '23:55'], name='Immer 35%', current=10, limit=Limit(selected='soc', amount=1000, soc=35))}), chargemode=Chargemode(selected='scheduled_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={'0': ScheduledChargingPlan(active=False, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, True, False, False, False, False, False]), current=14, name='Zielladen 80%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '1': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), current=14, name='Zielladen 95%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=95), time='05:40'), '2': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once='2023-09-26', weekly=[True, False, False, True, False, True, True]), current=14, name='Zielladen 75%, 7:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=75), time='05:40')}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=80))))
2023-12-08 04:15:21,117 - {control.data:266} - {INFO:MainThread} - ev0
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=['0003134583'], get=Get(soc=0, soc_timestamp=None, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:15:21,121 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Tesla Model Y (2022)', 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=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212', '2585087748'], get=Get(soc=49.0, soc_timestamp='12/08/2023, 01:29:15', force_soc_update=False, range=220.74, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:15:21,122 - {control.data:266} - {INFO:MainThread} - ev2
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Cupra Born 58kW', 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=18000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=2, ev_template=2, name='***AUTO2***', tag_id=['1655332554'], get=Get(soc=72, soc_timestamp='12/08/2023, 04:15:09', force_soc_update=False, range=205, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:15:21,122 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40)
2023-12-08 04:15:21,124 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', 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=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40)
2023-12-08 04:15:21,125 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', 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=18000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40)
2023-12-08 04:15:21,126 - {control.data:245} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=3), pv_charging=PvCharging(bat_prio=True, charging_power_reserve=200, control_range=[-230, 230], feed_in_yield=15000, phase_switch_delay=15, phases_to_use=0, rundown_power=1000, rundown_soc=25, switch_off_delay=60, switch_off_soc=25, switch_off_threshold=50, switch_on_delay=30, switch_on_soc=50, switch_on_threshold=1400), scheduled_charging=ScheduledCharging(phases_to_use=0), time_charging=TimeCharging(phases_to_use=3), unbalanced_load_limit=20, unbalanced_load=True), control_interval=10, extern_display_mode='local', extern=False, external_buttons_hw=False, grid_protection_active=False, grid_protection_configured=True, grid_protection_random_stop=0, grid_protection_timestamp='', mqtt_bridge=False, price_kwh=0.3528, range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=True, r1_active=False, r2_active=False))
2023-12-08 04:15:21,128 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2023-12-08 04:15:21,130 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2023-12-08 04:15:21,131 - {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 0x7158b6d0>), led=Led(active=False), rfid=Rfid(active=True))
2023-12-08 04:15:21,134 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=0), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=293628.595, fault_state=0, fault_str='Kein Fehler.', power=0))
2023-12-08 04:15:21,136 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=9500), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=7816178.86, fault_state=0, fault_str='Kein Fehler.', power=-0.0))
2023-12-08 04:15:21,138 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=8109807.455, power=0.0))
2023-12-08 04:15:21,139 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2023-11-30 12:30:45 +0100 [285f5a5fb]', 'current_branch': 'Release', 'current_branch_commit': '2023-11-30 12:30:45 +0100 [285f5a5fb]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.2-Patch.1', 'datastore_version': 29, 'lastlivevaluesJson': {'timestamp': 1702005311, 'time': '04:15:11', 'grid': 9.639, 'house-power': 0.272, 'charging-all': 9.367, 'pv-all': -0.0, 'cp1-power': 9.367, 'ev1-soc': 49.0, 'ev2-soc': 72, 'bat-all-power': 0.0, 'bat-all-soc': 19}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2023-12-08 04:15:21,141 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2023-12-08 04:15:21,142 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2023-12-08 04:15:21,142 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2023-12-08 04:15:21,144 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2023-12-08 04:15:21,146 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2023-12-08 04:15:21,149 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2023-12-08 04:15:21,153 - {control.data:253} - {INFO:MainThread} - 

2023-12-08 04:15:21,154 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2023-12-08 04:15:21,156 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2023-12-08 04:15:21,158 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2023-12-08 04:15:21,160 - {control.counter:169} - {DEBUG:MainThread} - Zähler 0: [56.69, 57.35, 56.64]A verbleibende Ströme, 38563.729999999996W verbleibende Leistung
2023-12-08 04:15:21,161 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2023-12-08 04:15:21,163 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2023-12-08 04:15:21,167 - {control.algorithm.filter_chargepoints:117} - {DEBUG:MainThread} - Geordnete Ladepunkte [1]
2023-12-08 04:15:21,170 - {control.algorithm.additional_current:26} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2023-12-08 04:15:21,171 - {control.counter:169} - {DEBUG:MainThread} - Zähler 0: [48.69, 49.35, 48.64]A verbleibende Ströme, 33043.729999999996W verbleibende Leistung
2023-12-08 04:15:21,173 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 14A
2023-12-08 04:15:21,175 - {control.counter:211} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: 0W
2023-12-08 04:15:21,176 - {control.counter:457} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf 0W
2023-12-08 04:15:21,178 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2023-12-08 04:15:21,179 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2023-12-08 04:15:21,181 - {control.chargelog:52} - {DEBUG:MainThread} - imported_since_mode_switch 672.8500000005588 counter 6927050.78
2023-12-08 04:15:21,185 - {control.process:111} - {INFO:MainThread} - LP1: set current 14 A, state CHARGING_ALLOWED
2023-12-08 04:15:21,188 - {modules.common.component_context:24} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:15:21,225 - {control.counter:186} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2023-12-08 04:15:21,411 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2023-12-08 04:15:25,450 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2023-12-08 04:15:25,450 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2023-12-08 04:15:30,465 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2023-12-08 04:15:30,471 - {root:74} - {INFO:MainThread} - # ***Start*** 
2023-12-08 04:15:30,546 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x715cf340>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x7155e4a8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x715c75f8>}
2023-12-08 04:15:30,547 - {modules.common.component_context:24} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2023-12-08 04:15:30,548 - {modules.common.component_context:24} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:15:30,557 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2023-12-08 04:15:30,561 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2023-12-08 04:15:30,603 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 750
2023-12-08 04:15:30,606 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"cloud":{"connected":false},"input:0":{"id":0,"state":false},"mqtt":{"connected":false},"switch:0":{"id":0, "source":"loopback", "output":false, "apower":0.0, "voltage":241.4, "current":0.000, "aenergy":{"total":1505.625,"by_minute":[0.000,0.000,0.000],"minute_ts":1702005330},"temperature":{"tC":28.7, "tF":83.6}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:15","unixtime":1702005331,"uptime":1364658,"ram_size":248996,"ram_free":145264,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"beta":{"version":"1.1.0-beta2"},"stable":{"version":"1.0.8"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-69},"ws":{"connected":false}}

2023-12-08 04:15:30,615 - {modules.common.simcount._simcount:38} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1702005320.2617254, power=0, imported=0.0, exported=293628.5948715257)
2023-12-08 04:15:30,618 - {modules.common.simcount._calculate:13} - {DEBUG:device1} - time passed: 0.00287579, power1: 0, power2: 0
2023-12-08 04:15:30,619 - {modules.common.simcount._calculate:29} - {DEBUG:device1} - power did not change sign. Total energy: 0
2023-12-08 04:15:30,620 - {modules.common.simcount._simcount:47} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702005330.6145573, power=0, imported=0.0, exported=293628.5948715257)
2023-12-08 04:15:30,622 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-9707, -3310, -3161, -3235], Scale 0
2023-12-08 04:15:30,624 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:15:30,667 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [137, 131, 138], Scale -1
2023-12-08 04:15:30,691 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [24118, 24105, 23909, 0, 0, 0, 0], Scale -2
2023-12-08 04:15:30,709 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [5000], Scale -2
2023-12-08 04:15:30,733 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [9929, 9929, 9919], Scale -2
2023-12-08 04:15:30,751 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4870433, 1797042, 2153375, 1456453, 6126541, 2531764, 1862997, 2268218], Scale 0
2023-12-08 04:15:30,752 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[13.700000000000001, 13.100000000000001, 13.8], powers=[3310.0, 3161.0, 3235.0], voltages=[241.18, 241.05, 239.09], power_factors=[0.9929000000000001, 0.9929000000000001, 0.9919], imported=6126541.0, exported=4870433.0, power=9707.0, frequency=50.0)
2023-12-08 04:15:30,757 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2023-12-08 04:15:30,822 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [0], Scale 0
2023-12-08 04:15:30,841 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7789710], Scale 0
2023-12-08 04:15:30,862 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [28, 30, 31], Scale -2
2023-12-08 04:15:30,880 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4642], Scale -2
2023-12-08 04:15:30,882 - {modules.common.component_state:100} - {DEBUG:device0} - currents sign wrong [0.28, 0.3, 0.31]
2023-12-08 04:15:30,885 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.28, 0.3, 0.31], power=-0.0, exported=7789710.0, dc_power=46.42)
2023-12-08 04:15:30,889 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2023-12-08 04:15:31,017 - {modules.common.simcount._simcount:38} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1702005320.7292047, power=0.0, imported=143333.37604219164, exported=116864.5215890633)
2023-12-08 04:15:31,018 - {modules.common.simcount._calculate:13} - {DEBUG:device0} - time passed: 0.00285798, power1: 0, power2: 0
2023-12-08 04:15:31,019 - {modules.common.simcount._calculate:29} - {DEBUG:device0} - power did not change sign. Total energy: 0
2023-12-08 04:15:31,019 - {modules.common.simcount._simcount:47} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702005331.0179338, power=0.0, imported=143333.37604219164, exported=116864.5215890633)
2023-12-08 04:15:31,020 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=143333.37604219164, exported=116864.5215890633, power=0.0, soc=19.0)
2023-12-08 04:15:31,025 - {modules.common.component_context:24} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2023-12-08 04:15:31,027 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=143333.37604219164, exported=116864.5215890633, power=0.0, soc=19.0)
2023-12-08 04:15:31,070 - {modules.common.component_context:24} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:15:31,071 - {modules.common.component_context:24} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2023-12-08 04:15:31,072 - {modules.common.component_context:24} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2023-12-08 04:15:31,075 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-0.0, exported=7816178.86, dc_power=None)
2023-12-08 04:15:31,075 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:15:31,076 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-0.0, exported=7816178.86, dc_power=None)
2023-12-08 04:15:31,076 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:15:31,119 - {modules.common.component_context:24} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2023-12-08 04:15:31,120 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[13.700000000000001, 13.100000000000001, 13.8], powers=[3310.0, 3161.0, 3235.0], voltages=[241.18, 241.05, 239.09], power_factors=[0.9929000000000001, 0.9929000000000001, 0.9919], imported=6126541.0, exported=4870433.0, power=9707.0, frequency=50.0)
2023-12-08 04:15:31,286 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2023-12-08 04:15:31,288 - {control.bat_all:173} - {INFO:MainThread} - -50W verbleibende Speicher-Leistung
2023-12-08 04:15:31,290 - {control.counter:138} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [62.32, 62.99, 62.39]A
2023-12-08 04:15:31,291 - {control.counter:161} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 42728.5W
2023-12-08 04:15:31,293 - {control.chargepoint.chargepoint:699} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2023-12-08 04:15:31,294 - {control.chargepoint.chargepoint:682} - {DEBUG:MainThread} - Phasenzahl Lademodus: 3
2023-12-08 04:15:31,296 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 97.275836s, Dauer 1.380952380952381h, Termin heute verpasst: False
2023-12-08 04:15:31,297 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 90820.255357s, Dauer 0.18012422360248448h, Termin heute verpasst: False
2023-12-08 04:15:31,298 - {control.ev:762} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2023-12-08 04:15:31,305 - {control.chargepoint.chargepoint:898} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 14A, Lademodus scheduled_charging, Submodus: Chargemode.INSTANT_CHARGING, Phasen: 3, Priorität: False, max. Ist-Strom: 13.19
2023-12-08 04:15:31,308 - {control.chargepoint.chargepoint:277} - {INFO:MainThread} - LP 1: Zielladen mit 14A, um einen SoC von 95%  um 05:40 zu erreichen.
2023-12-08 04:15:31,316 - {modules.common.simcount._simcount:38} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1702005321.0858371, power=296.27000000000044, imported=2374406.2839803263, exported=0)
2023-12-08 04:15:31,319 - {modules.common.simcount._calculate:13} - {DEBUG:MainThread} - time passed: 0.00284181, power1: 296.27, power2: 271.5
2023-12-08 04:15:31,320 - {modules.common.simcount._calculate:29} - {DEBUG:MainThread} - power did not change sign. Total energy: 0.806746
2023-12-08 04:15:31,321 - {modules.common.simcount._simcount:47} - {DEBUG:MainThread} - imported: 0.806746 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702005331.316342, power=271.5, imported=2374407.09072669, exported=0)
2023-12-08 04:15:31,326 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=19, daily_exported=0.0, daily_imported=0.0, imported=143333.38, exported=116864.52, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2023-12-08 04:15:31,328 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=19, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=143333.38, exported=116864.52, power=0.0), set=Set(charging_power_left=-50, switch_on_soc_reached=False))
2023-12-08 04:15:31,330 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=641.11, daily_exported=0, power=9435.5, imported=6927080.08, exported=0))
2023-12-08 04:15:31,334 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 95%, 06:00 Uhr', imported_at_plan_start=6926377.93, imported_instant_charging=None, limit=None, phases=3, prio=False, required_current=14, required_currents=[14, 14, 14], 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=[13.09, 13.19, 13.02], daily_imported=641.11, daily_exported=0, evse_current=1400, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=6927080.08, phases_in_use=3, plug_state=True, power=9435.5, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Zielladen mit 14A, um einen SoC von 95%  um 05:40 zu erreichen.', voltages=[241.26, 239.34, 241.41]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=14, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', imported_at_mode_switch=6926377.93, imported_at_plugtime=6926377.93, imported_since_mode_switch=672.8500000005588, imported_since_plugged=672.8500000005588, range_charged=3.73805555555866, time_charged='0:03', timestamp_start_charging='12/08/2023, 04:11:30'), manual_lock=False, phases_to_use=3, plug_state_prev=True, plug_time='12/07/2023, 13:07:31', required_power=9660, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x70b9f730>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB Carport', type='internal_openwb', template=1, connected_phases=3, phase_1=2, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=1))
2023-12-08 04:15:31,336 - {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-12-08 04:15:31,337 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=1, max_current_multi_phases=16, max_current_single_phase=20, name='RFID, 20A, 11kW', rfid_enabling=True, valid_tags=['0003134583', '0003526747', '1655332554', '2585022212', '2585087748'])
2023-12-08 04:15:31,339 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[63, 63, 63], max_total_power=43000), get=Get(powers=[3310.0, 3161.0, 3235.0], currents=[13.7, 13.1, 13.8], voltages=[241.18, 241.05, 239.09], power_factors=[0.99, 0.99, 0.99], unbalanced_load=0, frequency=50.0, daily_exported=0.0, daily_imported=4693.0, imported=6126541.0, exported=4870433.0, fault_state=0, fault_str='Kein Fehler.', power=9707.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=42728.5, raw_currents_left=[62.32, 62.99, 62.39], surplus_power_left=0, state_str=''))
2023-12-08 04:15:31,341 - {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': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=271.5, invalid_home_consumption=0, daily_yield_home_consumption=5589.4256330971, imported_home_consumption=2374407.09072669, disengageable_smarthome_power=0))
2023-12-08 04:15:31,343 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2023-12-08 04:15:31,344 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Ladeprofil ***AUTO1***', disable_after_unplug=False, prio=False, load_default=True, time_charging=TimeCharging(active=True, plans={'0': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[True, True, True, True, False, False, True]), time=['22:00', '06:00'], name='Zeitladen 95%, So-Do 22:00-06:00 Uhr', current=16, limit=Limit(selected='soc', amount=1000, soc=95)), '1': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, True, True, False]), time=['22:00', '06:00'], name='Zeitladen 80%, Fr-Sa 22:00-06:00 Uhr', current=16, limit=Limit(selected='soc', amount=1000, soc=80))}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2023-12-08 04:15:31,346 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, time_charging=TimeCharging(active=True, plans={'2': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), time=['06:45', '07:00'], name='Klima 06:45-07:00 Uhr', current=6, limit=Limit(selected='none', amount=1000, soc=50)), '3': TimeChargingPlan(active=True, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, False, False, False]), time=['00:00', '23:55'], name='Immer 35%', current=10, limit=Limit(selected='soc', amount=1000, soc=35))}), chargemode=Chargemode(selected='scheduled_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={'0': ScheduledChargingPlan(active=False, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, True, False, False, False, False, False]), current=14, name='Zielladen 80%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '1': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), current=14, name='Zielladen 95%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=95), time='05:40'), '2': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once='2023-09-26', weekly=[True, False, False, True, False, True, True]), current=14, name='Zielladen 75%, 7:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=75), time='05:40')}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=80))))
2023-12-08 04:15:31,348 - {control.data:266} - {INFO:MainThread} - ev0
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=['0003134583'], get=Get(soc=0, soc_timestamp=None, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:15:31,349 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Tesla Model Y (2022)', 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=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212', '2585087748'], get=Get(soc=49.0, soc_timestamp='12/08/2023, 01:29:15', force_soc_update=False, range=220.74, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:15:31,351 - {control.data:266} - {INFO:MainThread} - ev2
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Cupra Born 58kW', 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=18000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=2, ev_template=2, name='***AUTO2***', tag_id=['1655332554'], get=Get(soc=72, soc_timestamp='12/08/2023, 04:15:09', force_soc_update=False, range=205, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:15:31,352 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40)
2023-12-08 04:15:31,353 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', 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=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40)
2023-12-08 04:15:31,354 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', 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=18000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40)
2023-12-08 04:15:31,355 - {control.data:245} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=3), pv_charging=PvCharging(bat_prio=True, charging_power_reserve=200, control_range=[-230, 230], feed_in_yield=15000, phase_switch_delay=15, phases_to_use=0, rundown_power=1000, rundown_soc=25, switch_off_delay=60, switch_off_soc=25, switch_off_threshold=50, switch_on_delay=30, switch_on_soc=50, switch_on_threshold=1400), scheduled_charging=ScheduledCharging(phases_to_use=0), time_charging=TimeCharging(phases_to_use=3), unbalanced_load_limit=20, unbalanced_load=True), control_interval=10, extern_display_mode='local', extern=False, external_buttons_hw=False, grid_protection_active=False, grid_protection_configured=True, grid_protection_random_stop=0, grid_protection_timestamp='', mqtt_bridge=False, price_kwh=0.3528, range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=True, r1_active=False, r2_active=False))
2023-12-08 04:15:31,356 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2023-12-08 04:15:31,357 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2023-12-08 04:15:31,357 - {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 0x71578058>), led=Led(active=False), rfid=Rfid(active=True))
2023-12-08 04:15:31,359 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=0), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=293628.595, fault_state=0, fault_str='Kein Fehler.', power=0))
2023-12-08 04:15:31,360 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=9500), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=7816178.86, fault_state=0, fault_str='Kein Fehler.', power=-0.0))
2023-12-08 04:15:31,363 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=8109807.455, power=0.0))
2023-12-08 04:15:31,364 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2023-11-30 12:30:45 +0100 [285f5a5fb]', 'current_branch': 'Release', 'current_branch_commit': '2023-11-30 12:30:45 +0100 [285f5a5fb]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.2-Patch.1', 'datastore_version': 29, 'lastlivevaluesJson': {'timestamp': 1702005321, 'time': '04:15:21', 'grid': 9.845, 'house-power': 0.296, 'charging-all': 9.549, 'pv-all': -0.0, 'cp1-power': 9.549, 'ev1-soc': 49.0, 'ev2-soc': 72, 'bat-all-power': 0.0, 'bat-all-soc': 19}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2023-12-08 04:15:31,365 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2023-12-08 04:15:31,365 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2023-12-08 04:15:31,367 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2023-12-08 04:15:31,368 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2023-12-08 04:15:31,369 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2023-12-08 04:15:31,370 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2023-12-08 04:15:31,371 - {control.data:253} - {INFO:MainThread} - 

2023-12-08 04:15:31,372 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2023-12-08 04:15:31,373 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2023-12-08 04:15:31,375 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2023-12-08 04:15:31,377 - {control.counter:169} - {DEBUG:MainThread} - Zähler 0: [56.32, 56.99, 56.39]A verbleibende Ströme, 38588.5W verbleibende Leistung
2023-12-08 04:15:31,378 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2023-12-08 04:15:31,381 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2023-12-08 04:15:31,383 - {control.algorithm.filter_chargepoints:117} - {DEBUG:MainThread} - Geordnete Ladepunkte [1]
2023-12-08 04:15:31,384 - {control.algorithm.additional_current:26} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2023-12-08 04:15:31,386 - {control.counter:169} - {DEBUG:MainThread} - Zähler 0: [48.32, 48.99, 48.39]A verbleibende Ströme, 33068.5W verbleibende Leistung
2023-12-08 04:15:31,387 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 14A
2023-12-08 04:15:31,390 - {control.counter:211} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: 0W
2023-12-08 04:15:31,391 - {control.counter:457} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf 0W
2023-12-08 04:15:31,392 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2023-12-08 04:15:31,394 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2023-12-08 04:15:31,395 - {control.chargelog:52} - {DEBUG:MainThread} - imported_since_mode_switch 702.1500000003725 counter 6927080.08
2023-12-08 04:15:31,399 - {control.process:111} - {INFO:MainThread} - LP1: set current 14 A, state CHARGING_ALLOWED
2023-12-08 04:15:31,403 - {modules.common.component_context:24} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:15:31,423 - {control.counter:186} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2023-12-08 04:15:31,708 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2023-12-08 04:15:31,709 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2023-12-08 04:15:35,725 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2023-12-08 04:15:40,737 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2023-12-08 04:15:40,738 - {root:74} - {INFO:MainThread} - # ***Start*** 
2023-12-08 04:15:40,778 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x715cf340>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x7155e4a8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x715c75f8>}
2023-12-08 04:15:40,780 - {modules.common.component_context:24} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2023-12-08 04:15:40,787 - {modules.common.component_context:24} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:15:40,788 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2023-12-08 04:15:40,791 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2023-12-08 04:15:40,832 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 750
2023-12-08 04:15:40,834 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"cloud":{"connected":false},"input:0":{"id":0,"state":false},"mqtt":{"connected":false},"switch:0":{"id":0, "source":"loopback", "output":false, "apower":0.0, "voltage":241.6, "current":0.000, "aenergy":{"total":1505.625,"by_minute":[0.000,0.000,0.000],"minute_ts":1702005340},"temperature":{"tC":28.8, "tF":83.9}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:15","unixtime":1702005341,"uptime":1364669,"ram_size":248996,"ram_free":145264,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"beta":{"version":"1.1.0-beta2"},"stable":{"version":"1.0.8"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-68},"ws":{"connected":false}}

2023-12-08 04:15:40,836 - {modules.common.simcount._simcount:38} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1702005330.6145573, power=0, imported=0.0, exported=293628.5948715257)
2023-12-08 04:15:40,837 - {modules.common.simcount._calculate:13} - {DEBUG:device1} - time passed: 0.00283938, power1: 0, power2: 0
2023-12-08 04:15:40,837 - {modules.common.simcount._calculate:29} - {DEBUG:device1} - power did not change sign. Total energy: 0
2023-12-08 04:15:40,837 - {modules.common.simcount._simcount:47} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702005340.8363147, power=0, imported=0.0, exported=293628.5948715257)
2023-12-08 04:15:40,838 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:15:40,879 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-9627, -3285, -3107, -3234], Scale 0
2023-12-08 04:15:40,900 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [138, 129, 136], Scale -1
2023-12-08 04:15:40,919 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [24133, 24123, 23924, 0, 0, 0, 0], Scale -2
2023-12-08 04:15:40,972 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [5002], Scale -2
2023-12-08 04:15:40,999 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [9919, 9940, 9909], Scale -2
2023-12-08 04:15:41,018 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4870433, 1797042, 2153375, 1456453, 6126562, 2531771, 1863004, 2268225], Scale 0
2023-12-08 04:15:41,019 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[13.8, 12.9, 13.600000000000001], powers=[3285.0, 3107.0, 3234.0], voltages=[241.33, 241.23000000000002, 239.24], power_factors=[0.9919, 0.9940000000000001, 0.9909], imported=6126562.0, exported=4870433.0, power=9627.0, frequency=50.02)
2023-12-08 04:15:41,028 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2023-12-08 04:15:41,068 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [0], Scale 0
2023-12-08 04:15:41,088 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7789710], Scale 0
2023-12-08 04:15:41,108 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [29, 31, 32], Scale -2
2023-12-08 04:15:41,222 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4736], Scale -2
2023-12-08 04:15:41,222 - {modules.common.component_state:100} - {DEBUG:device0} - currents sign wrong [0.29, 0.31, 0.32]
2023-12-08 04:15:41,223 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.29, 0.31, 0.32], power=-0.0, exported=7789710.0, dc_power=47.36)
2023-12-08 04:15:41,224 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2023-12-08 04:15:41,292 - {modules.common.simcount._simcount:38} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1702005331.0179338, power=0.0, imported=143333.37604219164, exported=116864.5215890633)
2023-12-08 04:15:41,292 - {modules.common.simcount._calculate:13} - {DEBUG:device0} - time passed: 0.00285391, power1: 0, power2: 0
2023-12-08 04:15:41,293 - {modules.common.simcount._calculate:29} - {DEBUG:device0} - power did not change sign. Total energy: 0
2023-12-08 04:15:41,293 - {modules.common.simcount._simcount:47} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702005341.292018, power=0.0, imported=143333.37604219164, exported=116864.5215890633)
2023-12-08 04:15:41,294 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=143333.37604219164, exported=116864.5215890633, power=0.0, soc=19.0)
2023-12-08 04:15:41,298 - {modules.common.component_context:24} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2023-12-08 04:15:41,299 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=143333.37604219164, exported=116864.5215890633, power=0.0, soc=19.0)
2023-12-08 04:15:41,346 - {modules.common.component_context:24} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:15:41,348 - {modules.common.component_context:24} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2023-12-08 04:15:41,350 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-0.0, exported=7816178.86, dc_power=None)
2023-12-08 04:15:41,351 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-0.0, exported=7816178.86, dc_power=None)
2023-12-08 04:15:41,356 - {modules.common.component_context:24} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2023-12-08 04:15:41,362 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:15:41,365 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:15:41,401 - {modules.common.component_context:24} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2023-12-08 04:15:41,402 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[13.8, 12.9, 13.600000000000001], powers=[3285.0, 3107.0, 3234.0], voltages=[241.33, 241.23000000000002, 239.24], power_factors=[0.9919, 0.9940000000000001, 0.9909], imported=6126562.0, exported=4870433.0, power=9627.0, frequency=50.02)
2023-12-08 04:15:41,635 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2023-12-08 04:15:41,651 - {control.bat_all:173} - {INFO:MainThread} - -50W verbleibende Speicher-Leistung
2023-12-08 04:15:41,660 - {control.counter:138} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [62.2, 62.97, 62.370000000000005]A
2023-12-08 04:15:41,674 - {control.counter:161} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 42703.96W
2023-12-08 04:15:41,690 - {control.chargepoint.chargepoint:699} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2023-12-08 04:15:41,694 - {control.chargepoint.chargepoint:682} - {DEBUG:MainThread} - Phasenzahl Lademodus: 3
2023-12-08 04:15:41,696 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 86.875718s, Dauer 1.380952380952381h, Termin heute verpasst: False
2023-12-08 04:15:41,712 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 90809.840687s, Dauer 0.18012422360248448h, Termin heute verpasst: False
2023-12-08 04:15:41,713 - {control.ev:762} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2023-12-08 04:15:41,727 - {control.chargepoint.chargepoint:898} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 14A, Lademodus scheduled_charging, Submodus: Chargemode.INSTANT_CHARGING, Phasen: 3, Priorität: False, max. Ist-Strom: 13.0
2023-12-08 04:15:41,729 - {control.chargepoint.chargepoint:277} - {INFO:MainThread} - LP 1: Zielladen mit 14A, um einen SoC von 95%  um 05:40 zu erreichen.
2023-12-08 04:15:41,766 - {modules.common.simcount._simcount:38} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1702005331.316342, power=271.5, imported=2374407.09072669, exported=0)
2023-12-08 04:15:41,767 - {modules.common.simcount._calculate:13} - {DEBUG:MainThread} - time passed: 0.00290273, power1: 271.5, power2: 296.04
2023-12-08 04:15:41,768 - {modules.common.simcount._calculate:29} - {DEBUG:MainThread} - power did not change sign. Total energy: 0.823708
2023-12-08 04:15:41,769 - {modules.common.simcount._simcount:47} - {DEBUG:MainThread} - imported: 0.823708 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702005341.7661712, power=296.0400000000009, imported=2374407.914434469, exported=0)
2023-12-08 04:15:41,779 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=19, daily_exported=0.0, daily_imported=0.0, imported=143333.38, exported=116864.52, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2023-12-08 04:15:41,782 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=19, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=143333.38, exported=116864.52, power=0.0), set=Set(charging_power_left=-50, switch_on_soc_reached=False))
2023-12-08 04:15:41,783 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=641.11, daily_exported=0, power=9330.96, imported=6927104.0, exported=0))
2023-12-08 04:15:41,784 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 95%, 06:00 Uhr', imported_at_plan_start=6926377.93, imported_instant_charging=None, limit=None, phases=3, prio=False, required_current=14, required_currents=[14, 14, 14], 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=[12.87, 12.97, 13.0], daily_imported=641.11, daily_exported=0, evse_current=1400, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=6927104.0, phases_in_use=3, plug_state=True, power=9330.96, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Zielladen mit 14A, um einen SoC von 95%  um 05:40 zu erreichen.', voltages=[241.49, 239.55, 241.58]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=14, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', imported_at_mode_switch=6926377.93, imported_at_plugtime=6926377.93, imported_since_mode_switch=702.1500000003725, imported_since_plugged=702.1500000003725, range_charged=3.9008333333354033, time_charged='0:04', timestamp_start_charging='12/08/2023, 04:11:30'), manual_lock=False, phases_to_use=3, plug_state_prev=True, plug_time='12/07/2023, 13:07:31', required_power=9660, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x70bb30e8>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB Carport', type='internal_openwb', template=1, connected_phases=3, phase_1=2, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=1))
2023-12-08 04:15:41,786 - {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-12-08 04:15:41,789 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=1, max_current_multi_phases=16, max_current_single_phase=20, name='RFID, 20A, 11kW', rfid_enabling=True, valid_tags=['0003134583', '0003526747', '1655332554', '2585022212', '2585087748'])
2023-12-08 04:15:41,791 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[63, 63, 63], max_total_power=43000), get=Get(powers=[3285.0, 3107.0, 3234.0], currents=[13.8, 12.9, 13.6], voltages=[241.33, 241.23, 239.24], power_factors=[0.99, 0.99, 0.99], unbalanced_load=0, frequency=50.02, daily_exported=0.0, daily_imported=4693.0, imported=6126562.0, exported=4870433.0, fault_state=0, fault_str='Kein Fehler.', power=9627.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=42703.96, raw_currents_left=[62.2, 62.97, 62.370000000000005], surplus_power_left=0, state_str=''))
2023-12-08 04:15:41,791 - {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': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=296.0400000000009, invalid_home_consumption=0, daily_yield_home_consumption=5589.4256330971, imported_home_consumption=2374407.914434469, disengageable_smarthome_power=0))
2023-12-08 04:15:41,793 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2023-12-08 04:15:41,794 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Ladeprofil ***AUTO1***', disable_after_unplug=False, prio=False, load_default=True, time_charging=TimeCharging(active=True, plans={'0': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[True, True, True, True, False, False, True]), time=['22:00', '06:00'], name='Zeitladen 95%, So-Do 22:00-06:00 Uhr', current=16, limit=Limit(selected='soc', amount=1000, soc=95)), '1': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, True, True, False]), time=['22:00', '06:00'], name='Zeitladen 80%, Fr-Sa 22:00-06:00 Uhr', current=16, limit=Limit(selected='soc', amount=1000, soc=80))}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2023-12-08 04:15:41,796 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, time_charging=TimeCharging(active=True, plans={'2': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), time=['06:45', '07:00'], name='Klima 06:45-07:00 Uhr', current=6, limit=Limit(selected='none', amount=1000, soc=50)), '3': TimeChargingPlan(active=True, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, False, False, False]), time=['00:00', '23:55'], name='Immer 35%', current=10, limit=Limit(selected='soc', amount=1000, soc=35))}), chargemode=Chargemode(selected='scheduled_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={'0': ScheduledChargingPlan(active=False, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, True, False, False, False, False, False]), current=14, name='Zielladen 80%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '1': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), current=14, name='Zielladen 95%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=95), time='05:40'), '2': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once='2023-09-26', weekly=[True, False, False, True, False, True, True]), current=14, name='Zielladen 75%, 7:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=75), time='05:40')}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=80))))
2023-12-08 04:15:41,799 - {control.data:266} - {INFO:MainThread} - ev0
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=['0003134583'], get=Get(soc=0, soc_timestamp=None, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:15:41,801 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Tesla Model Y (2022)', 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=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212', '2585087748'], get=Get(soc=49.0, soc_timestamp='12/08/2023, 01:29:15', force_soc_update=False, range=220.74, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:15:41,802 - {control.data:266} - {INFO:MainThread} - ev2
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Cupra Born 58kW', 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=18000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=2, ev_template=2, name='***AUTO2***', tag_id=['1655332554'], get=Get(soc=72, soc_timestamp='12/08/2023, 04:15:09', force_soc_update=False, range=205, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:15:41,804 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40)
2023-12-08 04:15:41,806 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', 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=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40)
2023-12-08 04:15:41,809 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', 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=18000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40)
2023-12-08 04:15:41,811 - {control.data:245} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=3), pv_charging=PvCharging(bat_prio=True, charging_power_reserve=200, control_range=[-230, 230], feed_in_yield=15000, phase_switch_delay=15, phases_to_use=0, rundown_power=1000, rundown_soc=25, switch_off_delay=60, switch_off_soc=25, switch_off_threshold=50, switch_on_delay=30, switch_on_soc=50, switch_on_threshold=1400), scheduled_charging=ScheduledCharging(phases_to_use=0), time_charging=TimeCharging(phases_to_use=3), unbalanced_load_limit=20, unbalanced_load=True), control_interval=10, extern_display_mode='local', extern=False, external_buttons_hw=False, grid_protection_active=False, grid_protection_configured=True, grid_protection_random_stop=0, grid_protection_timestamp='', mqtt_bridge=False, price_kwh=0.3528, range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=True, r1_active=False, r2_active=False))
2023-12-08 04:15:41,813 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2023-12-08 04:15:41,813 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2023-12-08 04:15:41,815 - {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 0x70bb3790>), led=Led(active=False), rfid=Rfid(active=True))
2023-12-08 04:15:41,816 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=0), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=293628.595, fault_state=0, fault_str='Kein Fehler.', power=0))
2023-12-08 04:15:41,817 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=9500), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=7816178.86, fault_state=0, fault_str='Kein Fehler.', power=-0.0))
2023-12-08 04:15:41,819 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=8109807.455, power=0.0))
2023-12-08 04:15:41,820 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2023-11-30 12:30:45 +0100 [285f5a5fb]', 'current_branch': 'Release', 'current_branch_commit': '2023-11-30 12:30:45 +0100 [285f5a5fb]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.2-Patch.1', 'datastore_version': 29, 'lastlivevaluesJson': {'timestamp': 1702005331, 'time': '04:15:31', 'grid': 9.707, 'house-power': 0.272, 'charging-all': 9.435, 'pv-all': -0.0, 'cp1-power': 9.435, 'ev1-soc': 49.0, 'ev2-soc': 72, 'bat-all-power': 0.0, 'bat-all-soc': 19}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2023-12-08 04:15:41,821 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2023-12-08 04:15:41,823 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2023-12-08 04:15:41,824 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2023-12-08 04:15:41,825 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2023-12-08 04:15:41,828 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2023-12-08 04:15:41,829 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2023-12-08 04:15:41,830 - {control.data:253} - {INFO:MainThread} - 

2023-12-08 04:15:41,831 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2023-12-08 04:15:41,834 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2023-12-08 04:15:41,835 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2023-12-08 04:15:41,837 - {control.counter:169} - {DEBUG:MainThread} - Zähler 0: [56.2, 56.97, 56.370000000000005]A verbleibende Ströme, 38563.96W verbleibende Leistung
2023-12-08 04:15:41,838 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2023-12-08 04:15:41,843 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2023-12-08 04:15:41,846 - {control.algorithm.filter_chargepoints:117} - {DEBUG:MainThread} - Geordnete Ladepunkte [1]
2023-12-08 04:15:41,847 - {control.algorithm.additional_current:26} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2023-12-08 04:15:41,850 - {control.counter:169} - {DEBUG:MainThread} - Zähler 0: [48.2, 48.97, 48.370000000000005]A verbleibende Ströme, 33043.96W verbleibende Leistung
2023-12-08 04:15:41,851 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 14A
2023-12-08 04:15:41,854 - {control.counter:211} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: 0W
2023-12-08 04:15:41,857 - {control.counter:457} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf 0W
2023-12-08 04:15:41,859 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2023-12-08 04:15:41,860 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2023-12-08 04:15:41,862 - {control.chargelog:52} - {DEBUG:MainThread} - imported_since_mode_switch 726.070000000298 counter 6927104.0
2023-12-08 04:15:41,871 - {control.process:111} - {INFO:MainThread} - LP1: set current 14 A, state CHARGING_ALLOWED
2023-12-08 04:15:41,887 - {modules.common.component_context:24} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:15:41,908 - {control.counter:186} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2023-12-08 04:15:42,208 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2023-12-08 04:15:42,219 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2023-12-08 04:15:45,226 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2023-12-08 04:15:45,228 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2023-12-08 04:15:50,240 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2023-12-08 04:15:50,241 - {root:74} - {INFO:MainThread} - # ***Start*** 
2023-12-08 04:15:50,327 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x715cf340>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x7155e4a8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x715c75f8>}
2023-12-08 04:15:50,329 - {modules.common.component_context:24} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2023-12-08 04:15:50,330 - {modules.common.component_context:24} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:15:50,339 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2023-12-08 04:15:50,342 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2023-12-08 04:15:50,378 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-9600, -3260, -3106, -3233], Scale 0
2023-12-08 04:15:50,385 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 750
2023-12-08 04:15:50,388 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"cloud":{"connected":false},"input:0":{"id":0,"state":false},"mqtt":{"connected":false},"switch:0":{"id":0, "source":"loopback", "output":false, "apower":0.0, "voltage":241.5, "current":0.000, "aenergy":{"total":1505.625,"by_minute":[0.000,0.000,0.000],"minute_ts":1702005349},"temperature":{"tC":28.7, "tF":83.7}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:15","unixtime":1702005351,"uptime":1364678,"ram_size":248996,"ram_free":145264,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"beta":{"version":"1.1.0-beta2"},"stable":{"version":"1.0.8"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-68},"ws":{"connected":false}}

2023-12-08 04:15:50,391 - {modules.common.simcount._simcount:38} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1702005340.8363147, power=0, imported=0.0, exported=293628.5948715257)
2023-12-08 04:15:50,391 - {modules.common.simcount._calculate:13} - {DEBUG:device1} - time passed: 0.00265406, power1: 0, power2: 0
2023-12-08 04:15:50,392 - {modules.common.simcount._calculate:29} - {DEBUG:device1} - power did not change sign. Total energy: 0
2023-12-08 04:15:50,392 - {modules.common.simcount._simcount:47} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702005350.390937, power=0, imported=0.0, exported=293628.5948715257)
2023-12-08 04:15:50,394 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:15:50,399 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [136, 129, 136], Scale -1
2023-12-08 04:15:50,468 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [24129, 24114, 23914, 0, 0, 0, 0], Scale -2
2023-12-08 04:15:50,488 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [5002], Scale -2
2023-12-08 04:15:50,509 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [9929, 9940, 9909], Scale -2
2023-12-08 04:15:50,530 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4870433, 1797042, 2153375, 1456453, 6126583, 2531778, 1863011, 2268233], Scale 0
2023-12-08 04:15:50,531 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[13.600000000000001, 12.9, 13.600000000000001], powers=[3260.0, 3106.0, 3233.0], voltages=[241.29, 241.14000000000001, 239.14000000000001], power_factors=[0.9929000000000001, 0.9940000000000001, 0.9909], imported=6126583.0, exported=4870433.0, power=9600.0, frequency=50.02)
2023-12-08 04:15:50,532 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2023-12-08 04:15:50,575 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [0], Scale 0
2023-12-08 04:15:50,599 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7789710], Scale 0
2023-12-08 04:15:50,619 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [28, 30, 32], Scale -2
2023-12-08 04:15:50,639 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4673], Scale -2
2023-12-08 04:15:50,640 - {modules.common.component_state:100} - {DEBUG:device0} - currents sign wrong [0.28, 0.3, 0.32]
2023-12-08 04:15:50,641 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.28, 0.3, 0.32], power=-0.0, exported=7789710.0, dc_power=46.730000000000004)
2023-12-08 04:15:50,643 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2023-12-08 04:15:50,708 - {modules.common.simcount._simcount:38} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1702005341.292018, power=0.0, imported=143333.37604219164, exported=116864.5215890633)
2023-12-08 04:15:50,709 - {modules.common.simcount._calculate:13} - {DEBUG:device0} - time passed: 0.00261572, power1: 0, power2: 0
2023-12-08 04:15:50,710 - {modules.common.simcount._calculate:29} - {DEBUG:device0} - power did not change sign. Total energy: 0
2023-12-08 04:15:50,711 - {modules.common.simcount._simcount:47} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702005350.7086158, power=0.0, imported=143333.37604219164, exported=116864.5215890633)
2023-12-08 04:15:50,712 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=143333.37604219164, exported=116864.5215890633, power=0.0, soc=19.0)
2023-12-08 04:15:50,715 - {modules.common.component_context:24} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2023-12-08 04:15:50,716 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=143333.37604219164, exported=116864.5215890633, power=0.0, soc=19.0)
2023-12-08 04:15:50,769 - {modules.common.component_context:24} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:15:50,770 - {modules.common.component_context:24} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2023-12-08 04:15:50,771 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-0.0, exported=7816178.86, dc_power=None)
2023-12-08 04:15:50,771 - {modules.common.component_context:24} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2023-12-08 04:15:50,772 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-0.0, exported=7816178.86, dc_power=None)
2023-12-08 04:15:50,772 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:15:50,774 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:15:50,819 - {modules.common.component_context:24} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2023-12-08 04:15:50,820 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[13.600000000000001, 12.9, 13.600000000000001], powers=[3260.0, 3106.0, 3233.0], voltages=[241.29, 241.14000000000001, 239.14000000000001], power_factors=[0.9929000000000001, 0.9940000000000001, 0.9909], imported=6126583.0, exported=4870433.0, power=9600.0, frequency=50.02)
2023-12-08 04:15:51,208 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2023-12-08 04:15:51,212 - {control.bat_all:173} - {INFO:MainThread} - -50W verbleibende Speicher-Leistung
2023-12-08 04:15:51,224 - {control.counter:138} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [62.32, 62.99, 62.4]A
2023-12-08 04:15:51,226 - {control.counter:161} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 42716.05W
2023-12-08 04:15:51,230 - {control.chargepoint.chargepoint:699} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2023-12-08 04:15:51,231 - {control.chargepoint.chargepoint:682} - {DEBUG:MainThread} - Phasenzahl Lademodus: 3
2023-12-08 04:15:51,232 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 77.338929s, Dauer 1.380952380952381h, Termin heute verpasst: False
2023-12-08 04:15:51,234 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 90800.318881s, Dauer 0.18012422360248448h, Termin heute verpasst: False
2023-12-08 04:15:51,235 - {control.ev:762} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2023-12-08 04:15:51,237 - {control.chargepoint.chargepoint:898} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 14A, Lademodus scheduled_charging, Submodus: Chargemode.INSTANT_CHARGING, Phasen: 3, Priorität: False, max. Ist-Strom: 13.0
2023-12-08 04:15:51,238 - {control.chargepoint.chargepoint:277} - {INFO:MainThread} - LP 1: Zielladen mit 14A, um einen SoC von 95%  um 05:40 zu erreichen.
2023-12-08 04:15:51,275 - {modules.common.simcount._simcount:38} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1702005341.7661712, power=296.0400000000009, imported=2374407.914434469, exported=0)
2023-12-08 04:15:51,280 - {modules.common.simcount._calculate:13} - {DEBUG:MainThread} - time passed: 0.00264138, power1: 296.04, power2: 283.95
2023-12-08 04:15:51,288 - {modules.common.simcount._calculate:29} - {DEBUG:MainThread} - power did not change sign. Total energy: 0.765987
2023-12-08 04:15:51,291 - {modules.common.simcount._simcount:47} - {DEBUG:MainThread} - imported: 0.765987 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702005351.2751431, power=283.9500000000007, imported=2374408.6804217785, exported=0)
2023-12-08 04:15:51,296 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=19, daily_exported=0.0, daily_imported=0.0, imported=143333.38, exported=116864.52, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2023-12-08 04:15:51,297 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=19, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=143333.38, exported=116864.52, power=0.0), set=Set(charging_power_left=-50, switch_on_soc_reached=False))
2023-12-08 04:15:51,300 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=641.11, daily_exported=0, power=9316.05, imported=6927132.81, exported=0))
2023-12-08 04:15:51,301 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 95%, 06:00 Uhr', imported_at_plan_start=6926377.93, imported_instant_charging=None, limit=None, phases=3, prio=False, required_current=14, required_currents=[14, 14, 14], 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=[12.89, 13.0, 12.92], daily_imported=641.11, daily_exported=0, evse_current=1400, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=6927132.81, phases_in_use=3, plug_state=True, power=9316.05, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Zielladen mit 14A, um einen SoC von 95%  um 05:40 zu erreichen.', voltages=[241.31, 239.34, 241.51]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=14, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', imported_at_mode_switch=6926377.93, imported_at_plugtime=6926377.93, imported_since_mode_switch=726.070000000298, imported_since_plugged=726.070000000298, range_charged=4.033722222223878, time_charged='0:04', timestamp_start_charging='12/08/2023, 04:11:30'), manual_lock=False, phases_to_use=3, plug_state_prev=True, plug_time='12/07/2023, 13:07:31', required_power=9660, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x70bebc88>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB Carport', type='internal_openwb', template=1, connected_phases=3, phase_1=2, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=1))
2023-12-08 04:15:51,305 - {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-12-08 04:15:51,306 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=1, max_current_multi_phases=16, max_current_single_phase=20, name='RFID, 20A, 11kW', rfid_enabling=True, valid_tags=['0003134583', '0003526747', '1655332554', '2585022212', '2585087748'])
2023-12-08 04:15:51,307 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[63, 63, 63], max_total_power=43000), get=Get(powers=[3260.0, 3106.0, 3233.0], currents=[13.6, 12.9, 13.6], voltages=[241.29, 241.14, 239.14], power_factors=[0.99, 0.99, 0.99], unbalanced_load=0, frequency=50.02, daily_exported=0.0, daily_imported=4693.0, imported=6126583.0, exported=4870433.0, fault_state=0, fault_str='Kein Fehler.', power=9600.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=42716.05, raw_currents_left=[62.32, 62.99, 62.4], surplus_power_left=0, state_str=''))
2023-12-08 04:15:51,311 - {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': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=283.9500000000007, invalid_home_consumption=0, daily_yield_home_consumption=5589.4256330971, imported_home_consumption=2374408.6804217785, disengageable_smarthome_power=0))
2023-12-08 04:15:51,315 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2023-12-08 04:15:51,317 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Ladeprofil ***AUTO1***', disable_after_unplug=False, prio=False, load_default=True, time_charging=TimeCharging(active=True, plans={'0': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[True, True, True, True, False, False, True]), time=['22:00', '06:00'], name='Zeitladen 95%, So-Do 22:00-06:00 Uhr', current=16, limit=Limit(selected='soc', amount=1000, soc=95)), '1': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, True, True, False]), time=['22:00', '06:00'], name='Zeitladen 80%, Fr-Sa 22:00-06:00 Uhr', current=16, limit=Limit(selected='soc', amount=1000, soc=80))}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2023-12-08 04:15:51,322 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, time_charging=TimeCharging(active=True, plans={'2': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), time=['06:45', '07:00'], name='Klima 06:45-07:00 Uhr', current=6, limit=Limit(selected='none', amount=1000, soc=50)), '3': TimeChargingPlan(active=True, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, False, False, False]), time=['00:00', '23:55'], name='Immer 35%', current=10, limit=Limit(selected='soc', amount=1000, soc=35))}), chargemode=Chargemode(selected='scheduled_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={'0': ScheduledChargingPlan(active=False, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, True, False, False, False, False, False]), current=14, name='Zielladen 80%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '1': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), current=14, name='Zielladen 95%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=95), time='05:40'), '2': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once='2023-09-26', weekly=[True, False, False, True, False, True, True]), current=14, name='Zielladen 75%, 7:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=75), time='05:40')}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=80))))
2023-12-08 04:15:51,324 - {control.data:266} - {INFO:MainThread} - ev0
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=['0003134583'], get=Get(soc=0, soc_timestamp=None, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:15:51,325 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Tesla Model Y (2022)', 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=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212', '2585087748'], get=Get(soc=49.0, soc_timestamp='12/08/2023, 01:29:15', force_soc_update=False, range=220.74, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:15:51,325 - {control.data:266} - {INFO:MainThread} - ev2
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Cupra Born 58kW', 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=18000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=2, ev_template=2, name='***AUTO2***', tag_id=['1655332554'], get=Get(soc=72, soc_timestamp='12/08/2023, 04:15:09', force_soc_update=False, range=205, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:15:51,327 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40)
2023-12-08 04:15:51,328 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', 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=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40)
2023-12-08 04:15:51,329 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', 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=18000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40)
2023-12-08 04:15:51,330 - {control.data:245} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=3), pv_charging=PvCharging(bat_prio=True, charging_power_reserve=200, control_range=[-230, 230], feed_in_yield=15000, phase_switch_delay=15, phases_to_use=0, rundown_power=1000, rundown_soc=25, switch_off_delay=60, switch_off_soc=25, switch_off_threshold=50, switch_on_delay=30, switch_on_soc=50, switch_on_threshold=1400), scheduled_charging=ScheduledCharging(phases_to_use=0), time_charging=TimeCharging(phases_to_use=3), unbalanced_load_limit=20, unbalanced_load=True), control_interval=10, extern_display_mode='local', extern=False, external_buttons_hw=False, grid_protection_active=False, grid_protection_configured=True, grid_protection_random_stop=0, grid_protection_timestamp='', mqtt_bridge=False, price_kwh=0.3528, range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=True, r1_active=False, r2_active=False))
2023-12-08 04:15:51,331 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2023-12-08 04:15:51,332 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2023-12-08 04:15:51,333 - {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 0x70beb178>), led=Led(active=False), rfid=Rfid(active=True))
2023-12-08 04:15:51,334 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=0), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=293628.595, fault_state=0, fault_str='Kein Fehler.', power=0))
2023-12-08 04:15:51,334 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=9500), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=7816178.86, fault_state=0, fault_str='Kein Fehler.', power=-0.0))
2023-12-08 04:15:51,334 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=8109807.455, power=0.0))
2023-12-08 04:15:51,335 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2023-11-30 12:30:45 +0100 [285f5a5fb]', 'current_branch': 'Release', 'current_branch_commit': '2023-11-30 12:30:45 +0100 [285f5a5fb]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.2-Patch.1', 'datastore_version': 29, 'lastlivevaluesJson': {'timestamp': 1702005341, 'time': '04:15:41', 'grid': 9.627, 'house-power': 0.296, 'charging-all': 9.331, 'pv-all': -0.0, 'cp1-power': 9.331, 'ev1-soc': 49.0, 'ev2-soc': 72, 'bat-all-power': 0.0, 'bat-all-soc': 19}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2023-12-08 04:15:51,336 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2023-12-08 04:15:51,339 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2023-12-08 04:15:51,341 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2023-12-08 04:15:51,341 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2023-12-08 04:15:51,342 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2023-12-08 04:15:51,342 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2023-12-08 04:15:51,343 - {control.data:253} - {INFO:MainThread} - 

2023-12-08 04:15:51,343 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2023-12-08 04:15:51,343 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2023-12-08 04:15:51,344 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2023-12-08 04:15:51,345 - {control.counter:169} - {DEBUG:MainThread} - Zähler 0: [56.32, 56.99, 56.4]A verbleibende Ströme, 38576.05W verbleibende Leistung
2023-12-08 04:15:51,345 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2023-12-08 04:15:51,347 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2023-12-08 04:15:51,348 - {control.algorithm.filter_chargepoints:117} - {DEBUG:MainThread} - Geordnete Ladepunkte [1]
2023-12-08 04:15:51,349 - {control.algorithm.additional_current:26} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2023-12-08 04:15:51,349 - {control.counter:169} - {DEBUG:MainThread} - Zähler 0: [48.32, 48.99, 48.4]A verbleibende Ströme, 33056.05W verbleibende Leistung
2023-12-08 04:15:51,350 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 14A
2023-12-08 04:15:51,351 - {control.counter:211} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: 0W
2023-12-08 04:15:51,351 - {control.counter:457} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf 0W
2023-12-08 04:15:51,352 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2023-12-08 04:15:51,352 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2023-12-08 04:15:51,353 - {control.chargelog:52} - {DEBUG:MainThread} - imported_since_mode_switch 754.8799999998882 counter 6927132.81
2023-12-08 04:15:51,357 - {control.process:111} - {INFO:MainThread} - LP1: set current 14 A, state CHARGING_ALLOWED
2023-12-08 04:15:51,362 - {modules.common.component_context:24} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:15:51,400 - {control.counter:186} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2023-12-08 04:15:51,591 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2023-12-08 04:15:55,615 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2023-12-08 04:15:55,616 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2023-12-08 04:16:00,626 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2023-12-08 04:16:00,626 - {root:74} - {INFO:MainThread} - # ***Start*** 
2023-12-08 04:16:00,663 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x715cf340>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x7155e4a8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x715c75f8>}
2023-12-08 04:16:00,670 - {modules.common.component_context:24} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2023-12-08 04:16:00,676 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2023-12-08 04:16:00,679 - {modules.common.component_context:24} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:16:00,679 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2023-12-08 04:16:00,709 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-9898, -3361, -3203, -3333], Scale 0
2023-12-08 04:16:00,730 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 750
2023-12-08 04:16:00,733 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"cloud":{"connected":false},"input:0":{"id":0,"state":false},"mqtt":{"connected":false},"switch:0":{"id":0, "source":"loopback", "output":false, "apower":0.0, "voltage":241.4, "current":0.000, "aenergy":{"total":1505.625,"by_minute":[0.000,0.000,0.000],"minute_ts":1702005360},"temperature":{"tC":28.8, "tF":83.8}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:16","unixtime":1702005361,"uptime":1364688,"ram_size":248944,"ram_free":144696,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"beta":{"version":"1.1.0-beta2"},"stable":{"version":"1.0.8"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-68},"ws":{"connected":false}}

2023-12-08 04:16:00,736 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [136, 129, 136], Scale -1
2023-12-08 04:16:00,753 - {modules.common.simcount._simcount:38} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1702005350.390937, power=0, imported=0.0, exported=293628.5948715257)
2023-12-08 04:16:00,754 - {modules.common.simcount._calculate:13} - {DEBUG:device1} - time passed: 0.00287855, power1: 0, power2: 0
2023-12-08 04:16:00,755 - {modules.common.simcount._calculate:29} - {DEBUG:device1} - power did not change sign. Total energy: 0
2023-12-08 04:16:00,755 - {modules.common.simcount._simcount:47} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702005360.7537093, power=0, imported=0.0, exported=293628.5948715257)
2023-12-08 04:16:00,759 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:16:00,768 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [24129, 24117, 23910, 0, 0, 0, 0], Scale -2
2023-12-08 04:16:00,788 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [5000], Scale -2
2023-12-08 04:16:00,812 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [9929, 9940, 9909], Scale -2
2023-12-08 04:16:00,829 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4870433, 1797042, 2153375, 1456453, 6126605, 2531786, 1863018, 2268240], Scale 0
2023-12-08 04:16:00,830 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[13.600000000000001, 12.9, 13.600000000000001], powers=[3361.0, 3203.0, 3333.0], voltages=[241.29, 241.17000000000002, 239.1], power_factors=[0.9929000000000001, 0.9940000000000001, 0.9909], imported=6126605.0, exported=4870433.0, power=9898.0, frequency=50.0)
2023-12-08 04:16:00,832 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2023-12-08 04:16:00,847 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [0], Scale 0
2023-12-08 04:16:00,914 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7789710], Scale 0
2023-12-08 04:16:00,939 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [28, 30, 32], Scale -2
2023-12-08 04:16:00,958 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-5015], Scale -2
2023-12-08 04:16:00,959 - {modules.common.component_state:100} - {DEBUG:device0} - currents sign wrong [0.28, 0.3, 0.32]
2023-12-08 04:16:00,959 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.28, 0.3, 0.32], power=-0.0, exported=7789710.0, dc_power=50.15)
2023-12-08 04:16:00,961 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2023-12-08 04:16:01,109 - {modules.common.simcount._simcount:38} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1702005350.7086158, power=0.0, imported=143333.37604219164, exported=116864.5215890633)
2023-12-08 04:16:01,110 - {modules.common.simcount._calculate:13} - {DEBUG:device0} - time passed: 0.00288924, power1: 0, power2: 0
2023-12-08 04:16:01,111 - {modules.common.simcount._calculate:29} - {DEBUG:device0} - power did not change sign. Total energy: 0
2023-12-08 04:16:01,111 - {modules.common.simcount._simcount:47} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702005361.1098635, power=0.0, imported=143333.37604219164, exported=116864.5215890633)
2023-12-08 04:16:01,112 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=143333.37604219164, exported=116864.5215890633, power=0.0, soc=19.0)
2023-12-08 04:16:01,129 - {modules.common.component_context:24} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2023-12-08 04:16:01,130 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=143333.37604219164, exported=116864.5215890633, power=0.0, soc=19.0)
2023-12-08 04:16:01,164 - {modules.common.component_context:24} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:16:01,167 - {modules.common.component_context:24} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2023-12-08 04:16:01,169 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-0.0, exported=7816178.86, dc_power=None)
2023-12-08 04:16:01,169 - {modules.common.component_context:24} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2023-12-08 04:16:01,170 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-0.0, exported=7816178.86, dc_power=None)
2023-12-08 04:16:01,170 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:16:01,172 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:16:01,212 - {modules.common.component_context:24} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2023-12-08 04:16:01,213 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[13.600000000000001, 12.9, 13.600000000000001], powers=[3361.0, 3203.0, 3333.0], voltages=[241.29, 241.17000000000002, 239.1], power_factors=[0.9929000000000001, 0.9940000000000001, 0.9909], imported=6126605.0, exported=4870433.0, power=9898.0, frequency=50.0)
2023-12-08 04:16:01,386 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2023-12-08 04:16:01,390 - {control.bat_all:173} - {INFO:MainThread} - -50W verbleibende Speicher-Leistung
2023-12-08 04:16:01,392 - {control.counter:138} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [62.6, 63.37, 62.78]A
2023-12-08 04:16:01,393 - {control.counter:161} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 42676.53W
2023-12-08 04:16:01,397 - {control.chargepoint.chargepoint:699} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2023-12-08 04:16:01,400 - {control.chargepoint.chargepoint:682} - {DEBUG:MainThread} - Phasenzahl Lademodus: 3
2023-12-08 04:16:01,402 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 67.169324s, Dauer 1.380952380952381h, Termin heute verpasst: False
2023-12-08 04:16:01,405 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 90790.147749s, Dauer 0.18012422360248448h, Termin heute verpasst: False
2023-12-08 04:16:01,406 - {control.ev:762} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2023-12-08 04:16:01,441 - {control.chargepoint.chargepoint:898} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 14A, Lademodus scheduled_charging, Submodus: Chargemode.INSTANT_CHARGING, Phasen: 3, Priorität: False, max. Ist-Strom: 13.38
2023-12-08 04:16:01,445 - {control.chargepoint.chargepoint:277} - {INFO:MainThread} - LP 1: Zielladen mit 14A, um einen SoC von 95%  um 05:40 zu erreichen.
2023-12-08 04:16:01,452 - {modules.common.simcount._simcount:38} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1702005351.2751431, power=283.9500000000007, imported=2374408.6804217785, exported=0)
2023-12-08 04:16:01,455 - {modules.common.simcount._calculate:13} - {DEBUG:MainThread} - time passed: 0.00282703, power1: 283.95, power2: 323.47
2023-12-08 04:16:01,471 - {modules.common.simcount._calculate:29} - {DEBUG:MainThread} - power did not change sign. Total energy: 0.858596
2023-12-08 04:16:01,492 - {modules.common.simcount._simcount:47} - {DEBUG:MainThread} - imported: 0.858596 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702005361.452435, power=323.46999999999935, imported=2374409.539017699, exported=0)
2023-12-08 04:16:01,494 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=19, daily_exported=0.0, daily_imported=0.0, imported=143333.38, exported=116864.52, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2023-12-08 04:16:01,495 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=19, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=143333.38, exported=116864.52, power=0.0), set=Set(charging_power_left=-50, switch_on_soc_reached=False))
2023-12-08 04:16:01,497 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=641.11, daily_exported=0, power=9574.53, imported=6927155.76, exported=0))
2023-12-08 04:16:01,499 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 95%, 06:00 Uhr', imported_at_plan_start=6926377.93, imported_instant_charging=None, limit=None, phases=3, prio=False, required_current=14, required_currents=[14, 14, 14], 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=[13.27, 13.38, 13.2], daily_imported=641.11, daily_exported=0, evse_current=1400, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=6927155.76, phases_in_use=3, plug_state=True, power=9574.53, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Zielladen mit 14A, um einen SoC von 95%  um 05:40 zu erreichen.', voltages=[241.36, 239.44, 241.48]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=14, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', imported_at_mode_switch=6926377.93, imported_at_plugtime=6926377.93, imported_since_mode_switch=754.8799999998882, imported_since_plugged=754.8799999998882, range_charged=4.193777777777157, time_charged='0:04', timestamp_start_charging='12/08/2023, 04:11:30'), manual_lock=False, phases_to_use=3, plug_state_prev=True, plug_time='12/07/2023, 13:07:31', required_power=9660, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x715cf130>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB Carport', type='internal_openwb', template=1, connected_phases=3, phase_1=2, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=1))
2023-12-08 04:16:01,503 - {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-12-08 04:16:01,505 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=1, max_current_multi_phases=16, max_current_single_phase=20, name='RFID, 20A, 11kW', rfid_enabling=True, valid_tags=['0003134583', '0003526747', '1655332554', '2585022212', '2585087748'])
2023-12-08 04:16:01,510 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[63, 63, 63], max_total_power=43000), get=Get(powers=[3361.0, 3203.0, 3333.0], currents=[13.6, 12.9, 13.6], voltages=[241.29, 241.17, 239.1], power_factors=[0.99, 0.99, 0.99], unbalanced_load=0, frequency=50.0, daily_exported=0.0, daily_imported=4693.0, imported=6126605.0, exported=4870433.0, fault_state=0, fault_str='Kein Fehler.', power=9898.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=42676.53, raw_currents_left=[62.6, 63.37, 62.78], surplus_power_left=0, state_str=''))
2023-12-08 04:16:01,520 - {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': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=323.46999999999935, invalid_home_consumption=0, daily_yield_home_consumption=5589.4256330971, imported_home_consumption=2374409.539017699, disengageable_smarthome_power=0))
2023-12-08 04:16:01,521 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2023-12-08 04:16:01,525 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Ladeprofil ***AUTO1***', disable_after_unplug=False, prio=False, load_default=True, time_charging=TimeCharging(active=True, plans={'0': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[True, True, True, True, False, False, True]), time=['22:00', '06:00'], name='Zeitladen 95%, So-Do 22:00-06:00 Uhr', current=16, limit=Limit(selected='soc', amount=1000, soc=95)), '1': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, True, True, False]), time=['22:00', '06:00'], name='Zeitladen 80%, Fr-Sa 22:00-06:00 Uhr', current=16, limit=Limit(selected='soc', amount=1000, soc=80))}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2023-12-08 04:16:01,528 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, time_charging=TimeCharging(active=True, plans={'2': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), time=['06:45', '07:00'], name='Klima 06:45-07:00 Uhr', current=6, limit=Limit(selected='none', amount=1000, soc=50)), '3': TimeChargingPlan(active=True, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, False, False, False]), time=['00:00', '23:55'], name='Immer 35%', current=10, limit=Limit(selected='soc', amount=1000, soc=35))}), chargemode=Chargemode(selected='scheduled_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={'0': ScheduledChargingPlan(active=False, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, True, False, False, False, False, False]), current=14, name='Zielladen 80%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '1': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), current=14, name='Zielladen 95%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=95), time='05:40'), '2': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once='2023-09-26', weekly=[True, False, False, True, False, True, True]), current=14, name='Zielladen 75%, 7:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=75), time='05:40')}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=80))))
2023-12-08 04:16:01,530 - {control.data:266} - {INFO:MainThread} - ev0
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=['0003134583'], get=Get(soc=0, soc_timestamp=None, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:16:01,545 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Tesla Model Y (2022)', 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=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212', '2585087748'], get=Get(soc=49.0, soc_timestamp='12/08/2023, 01:29:15', force_soc_update=False, range=220.74, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:16:01,546 - {control.data:266} - {INFO:MainThread} - ev2
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Cupra Born 58kW', 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=18000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=2, ev_template=2, name='***AUTO2***', tag_id=['1655332554'], get=Get(soc=72, soc_timestamp='12/08/2023, 04:15:09', force_soc_update=False, range=205, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:16:01,555 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40)
2023-12-08 04:16:01,556 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', 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=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40)
2023-12-08 04:16:01,557 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', 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=18000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40)
2023-12-08 04:16:01,560 - {control.data:245} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=3), pv_charging=PvCharging(bat_prio=True, charging_power_reserve=200, control_range=[-230, 230], feed_in_yield=15000, phase_switch_delay=15, phases_to_use=0, rundown_power=1000, rundown_soc=25, switch_off_delay=60, switch_off_soc=25, switch_off_threshold=50, switch_on_delay=30, switch_on_soc=50, switch_on_threshold=1400), scheduled_charging=ScheduledCharging(phases_to_use=0), time_charging=TimeCharging(phases_to_use=3), unbalanced_load_limit=20, unbalanced_load=True), control_interval=10, extern_display_mode='local', extern=False, external_buttons_hw=False, grid_protection_active=False, grid_protection_configured=True, grid_protection_random_stop=0, grid_protection_timestamp='', mqtt_bridge=False, price_kwh=0.3528, range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=True, r1_active=False, r2_active=False))
2023-12-08 04:16:01,563 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2023-12-08 04:16:01,567 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2023-12-08 04:16:01,568 - {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 0x7158bfb8>), led=Led(active=False), rfid=Rfid(active=True))
2023-12-08 04:16:01,568 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=0), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=293628.595, fault_state=0, fault_str='Kein Fehler.', power=0))
2023-12-08 04:16:01,569 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=9500), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=7816178.86, fault_state=0, fault_str='Kein Fehler.', power=-0.0))
2023-12-08 04:16:01,569 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=8109807.455, power=0.0))
2023-12-08 04:16:01,570 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2023-11-30 12:30:45 +0100 [285f5a5fb]', 'current_branch': 'Release', 'current_branch_commit': '2023-11-30 12:30:45 +0100 [285f5a5fb]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.2-Patch.1', 'datastore_version': 29, 'lastlivevaluesJson': {'timestamp': 1702005351, 'time': '04:15:51', 'grid': 9.6, 'house-power': 0.284, 'charging-all': 9.316, 'pv-all': -0.0, 'cp1-power': 9.316, 'ev1-soc': 49.0, 'ev2-soc': 72, 'bat-all-power': 0.0, 'bat-all-soc': 19}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2023-12-08 04:16:01,570 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2023-12-08 04:16:01,570 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2023-12-08 04:16:01,571 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2023-12-08 04:16:01,571 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2023-12-08 04:16:01,572 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2023-12-08 04:16:01,572 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2023-12-08 04:16:01,572 - {control.data:253} - {INFO:MainThread} - 

2023-12-08 04:16:01,573 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2023-12-08 04:16:01,573 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2023-12-08 04:16:01,574 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2023-12-08 04:16:01,575 - {control.counter:169} - {DEBUG:MainThread} - Zähler 0: [56.6, 57.37, 56.78]A verbleibende Ströme, 38536.53W verbleibende Leistung
2023-12-08 04:16:01,575 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2023-12-08 04:16:01,577 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2023-12-08 04:16:01,580 - {control.algorithm.filter_chargepoints:117} - {DEBUG:MainThread} - Geordnete Ladepunkte [1]
2023-12-08 04:16:01,580 - {control.algorithm.additional_current:26} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2023-12-08 04:16:01,581 - {control.counter:169} - {DEBUG:MainThread} - Zähler 0: [48.6, 49.37, 48.78]A verbleibende Ströme, 33016.53W verbleibende Leistung
2023-12-08 04:16:01,582 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 14A
2023-12-08 04:16:01,583 - {control.counter:211} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: 0W
2023-12-08 04:16:01,584 - {control.counter:457} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf 0W
2023-12-08 04:16:01,584 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2023-12-08 04:16:01,584 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2023-12-08 04:16:01,585 - {control.chargelog:52} - {DEBUG:MainThread} - imported_since_mode_switch 777.8300000000745 counter 6927155.76
2023-12-08 04:16:01,588 - {control.process:111} - {INFO:MainThread} - LP1: set current 14 A, state CHARGING_ALLOWED
2023-12-08 04:16:01,610 - {modules.common.component_context:24} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:16:01,643 - {control.counter:186} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2023-12-08 04:16:01,880 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2023-12-08 04:16:01,881 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2023-12-08 04:16:05,913 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2023-12-08 04:16:10,924 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2023-12-08 04:16:10,925 - {root:74} - {INFO:MainThread} - # ***Start*** 
2023-12-08 04:16:10,966 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x715cf340>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x7155e4a8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x715c75f8>}
2023-12-08 04:16:10,967 - {modules.common.component_context:24} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2023-12-08 04:16:10,976 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2023-12-08 04:16:10,979 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2023-12-08 04:16:10,969 - {modules.common.component_context:24} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:16:11,021 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 750
2023-12-08 04:16:11,024 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"cloud":{"connected":false},"input:0":{"id":0,"state":false},"mqtt":{"connected":false},"switch:0":{"id":0, "source":"loopback", "output":false, "apower":0.0, "voltage":241.3, "current":0.000, "aenergy":{"total":1505.625,"by_minute":[0.000,0.000,0.000],"minute_ts":1702005370},"temperature":{"tC":28.8, "tF":83.8}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:16","unixtime":1702005371,"uptime":1364699,"ram_size":248944,"ram_free":144696,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"beta":{"version":"1.1.0-beta2"},"stable":{"version":"1.0.8"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-69},"ws":{"connected":false}}

2023-12-08 04:16:11,026 - {modules.common.simcount._simcount:38} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1702005360.7537093, power=0, imported=0.0, exported=293628.5948715257)
2023-12-08 04:16:11,027 - {modules.common.simcount._calculate:13} - {DEBUG:device1} - time passed: 0.00285353, power1: 0, power2: 0
2023-12-08 04:16:11,028 - {modules.common.simcount._calculate:29} - {DEBUG:device1} - power did not change sign. Total energy: 0
2023-12-08 04:16:11,029 - {modules.common.simcount._simcount:47} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702005371.0264153, power=0, imported=0.0, exported=293628.5948715257)
2023-12-08 04:16:11,031 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:16:11,040 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-9853, -3364, -3202, -3285], Scale 0
2023-12-08 04:16:11,059 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [140, 132, 138], Scale -1
2023-12-08 04:16:11,079 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [24094, 24087, 23890, 0, 0, 0, 0], Scale -2
2023-12-08 04:16:11,154 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [5000], Scale -2
2023-12-08 04:16:11,208 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [9929, 9980, 9919], Scale -2
2023-12-08 04:16:11,244 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4870433, 1797042, 2153375, 1456453, 6126648, 2531800, 1863032, 2268255], Scale 0
2023-12-08 04:16:11,245 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[14.0, 13.200000000000001, 13.8], powers=[3364.0, 3202.0, 3285.0], voltages=[240.94, 240.87, 238.9], power_factors=[0.9929000000000001, 0.998, 0.9919], imported=6126648.0, exported=4870433.0, power=9853.0, frequency=50.0)
2023-12-08 04:16:11,252 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2023-12-08 04:16:11,269 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [0], Scale 0
2023-12-08 04:16:11,289 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7789710], Scale 0
2023-12-08 04:16:11,310 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [29, 31, 33], Scale -2
2023-12-08 04:16:11,343 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4781], Scale -2
2023-12-08 04:16:11,344 - {modules.common.component_state:100} - {DEBUG:device0} - currents sign wrong [0.29, 0.31, 0.33]
2023-12-08 04:16:11,345 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.29, 0.31, 0.33], power=-0.0, exported=7789710.0, dc_power=47.81)
2023-12-08 04:16:11,347 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2023-12-08 04:16:11,408 - {modules.common.simcount._simcount:38} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1702005361.1098635, power=0.0, imported=143333.37604219164, exported=116864.5215890633)
2023-12-08 04:16:11,409 - {modules.common.simcount._calculate:13} - {DEBUG:device0} - time passed: 0.00286065, power1: 0, power2: 0
2023-12-08 04:16:11,409 - {modules.common.simcount._calculate:29} - {DEBUG:device0} - power did not change sign. Total energy: 0
2023-12-08 04:16:11,409 - {modules.common.simcount._simcount:47} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702005371.4082158, power=0.0, imported=143333.37604219164, exported=116864.5215890633)
2023-12-08 04:16:11,410 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=143333.37604219164, exported=116864.5215890633, power=0.0, soc=19.0)
2023-12-08 04:16:11,414 - {modules.common.component_context:24} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2023-12-08 04:16:11,415 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=143333.37604219164, exported=116864.5215890633, power=0.0, soc=19.0)
2023-12-08 04:16:11,456 - {modules.common.component_context:24} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:16:11,458 - {modules.common.component_context:24} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2023-12-08 04:16:11,459 - {modules.common.component_context:24} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2023-12-08 04:16:11,459 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-0.0, exported=7816178.86, dc_power=None)
2023-12-08 04:16:11,462 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:16:11,463 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-0.0, exported=7816178.86, dc_power=None)
2023-12-08 04:16:11,464 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:16:11,503 - {modules.common.component_context:24} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2023-12-08 04:16:11,504 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[14.0, 13.200000000000001, 13.8], powers=[3364.0, 3202.0, 3285.0], voltages=[240.94, 240.87, 238.9], power_factors=[0.9929000000000001, 0.998, 0.9919], imported=6126648.0, exported=4870433.0, power=9853.0, frequency=50.0)
2023-12-08 04:16:11,682 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2023-12-08 04:16:11,684 - {control.bat_all:173} - {INFO:MainThread} - -50W verbleibende Speicher-Leistung
2023-12-08 04:16:11,686 - {control.counter:138} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [62.22, 63.08, 62.41]A
2023-12-08 04:16:11,687 - {control.counter:161} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 42675.22W
2023-12-08 04:16:11,690 - {control.chargepoint.chargepoint:699} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2023-12-08 04:16:11,691 - {control.chargepoint.chargepoint:682} - {DEBUG:MainThread} - Phasenzahl Lademodus: 3
2023-12-08 04:16:11,693 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 56.878145s, Dauer 1.380952380952381h, Termin heute verpasst: False
2023-12-08 04:16:11,695 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 90779.858154s, Dauer 0.18012422360248448h, Termin heute verpasst: False
2023-12-08 04:16:11,695 - {control.ev:762} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2023-12-08 04:16:11,703 - {control.chargepoint.chargepoint:898} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 14A, Lademodus scheduled_charging, Submodus: Chargemode.INSTANT_CHARGING, Phasen: 3, Priorität: False, max. Ist-Strom: 13.28
2023-12-08 04:16:11,704 - {control.chargepoint.chargepoint:277} - {INFO:MainThread} - LP 1: Zielladen mit 14A, um einen SoC von 95%  um 05:40 zu erreichen.
2023-12-08 04:16:11,708 - {modules.common.simcount._simcount:38} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1702005361.452435, power=323.46999999999935, imported=2374409.539017699, exported=0)
2023-12-08 04:16:11,714 - {modules.common.simcount._calculate:13} - {DEBUG:MainThread} - time passed: 0.00284881, power1: 323.47, power2: 324.78
2023-12-08 04:16:11,716 - {modules.common.simcount._calculate:29} - {DEBUG:MainThread} - power did not change sign. Total energy: 0.923371
2023-12-08 04:16:11,728 - {modules.common.simcount._simcount:47} - {DEBUG:MainThread} - imported: 0.923371 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702005371.7081602, power=324.78000000000065, imported=2374410.462389064, exported=0)
2023-12-08 04:16:11,733 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=19, daily_exported=0.0, daily_imported=0.0, imported=143333.38, exported=116864.52, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2023-12-08 04:16:11,735 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=19, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=143333.38, exported=116864.52, power=0.0), set=Set(charging_power_left=-50, switch_on_soc_reached=False))
2023-12-08 04:16:11,740 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=641.11, daily_exported=0, power=9528.22, imported=6927186.04, exported=0))
2023-12-08 04:16:11,742 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 95%, 06:00 Uhr', imported_at_plan_start=6926377.93, imported_instant_charging=None, limit=None, phases=3, prio=False, required_current=14, required_currents=[14, 14, 14], 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=[13.28, 13.21, 13.22], daily_imported=641.11, daily_exported=0, evse_current=1400, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=6927186.04, phases_in_use=3, plug_state=True, power=9528.22, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Zielladen mit 14A, um einen SoC von 95%  um 05:40 zu erreichen.', voltages=[241.29, 239.29, 241.27]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=14, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', imported_at_mode_switch=6926377.93, imported_at_plugtime=6926377.93, imported_since_mode_switch=777.8300000000745, imported_since_plugged=777.8300000000745, range_charged=4.321277777778191, time_charged='0:04', timestamp_start_charging='12/08/2023, 04:11:30'), manual_lock=False, phases_to_use=3, plug_state_prev=True, plug_time='12/07/2023, 13:07:31', required_power=9660, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x70bef9d0>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB Carport', type='internal_openwb', template=1, connected_phases=3, phase_1=2, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=1))
2023-12-08 04:16:11,743 - {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-12-08 04:16:11,746 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=1, max_current_multi_phases=16, max_current_single_phase=20, name='RFID, 20A, 11kW', rfid_enabling=True, valid_tags=['0003134583', '0003526747', '1655332554', '2585022212', '2585087748'])
2023-12-08 04:16:11,747 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[63, 63, 63], max_total_power=43000), get=Get(powers=[3364.0, 3202.0, 3285.0], currents=[14.0, 13.2, 13.8], voltages=[240.94, 240.87, 238.9], power_factors=[0.99, 1.0, 0.99], unbalanced_load=0, frequency=50.0, daily_exported=0.0, daily_imported=4693.0, imported=6126648.0, exported=4870433.0, fault_state=0, fault_str='Kein Fehler.', power=9853.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=42675.22, raw_currents_left=[62.22, 63.08, 62.41], surplus_power_left=0, state_str=''))
2023-12-08 04:16:11,752 - {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': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=324.78000000000065, invalid_home_consumption=0, daily_yield_home_consumption=5589.4256330971, imported_home_consumption=2374410.462389064, disengageable_smarthome_power=0))
2023-12-08 04:16:11,753 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2023-12-08 04:16:11,757 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Ladeprofil ***AUTO1***', disable_after_unplug=False, prio=False, load_default=True, time_charging=TimeCharging(active=True, plans={'0': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[True, True, True, True, False, False, True]), time=['22:00', '06:00'], name='Zeitladen 95%, So-Do 22:00-06:00 Uhr', current=16, limit=Limit(selected='soc', amount=1000, soc=95)), '1': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, True, True, False]), time=['22:00', '06:00'], name='Zeitladen 80%, Fr-Sa 22:00-06:00 Uhr', current=16, limit=Limit(selected='soc', amount=1000, soc=80))}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2023-12-08 04:16:11,758 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, time_charging=TimeCharging(active=True, plans={'2': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), time=['06:45', '07:00'], name='Klima 06:45-07:00 Uhr', current=6, limit=Limit(selected='none', amount=1000, soc=50)), '3': TimeChargingPlan(active=True, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, False, False, False]), time=['00:00', '23:55'], name='Immer 35%', current=10, limit=Limit(selected='soc', amount=1000, soc=35))}), chargemode=Chargemode(selected='scheduled_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={'0': ScheduledChargingPlan(active=False, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, True, False, False, False, False, False]), current=14, name='Zielladen 80%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '1': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), current=14, name='Zielladen 95%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=95), time='05:40'), '2': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once='2023-09-26', weekly=[True, False, False, True, False, True, True]), current=14, name='Zielladen 75%, 7:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=75), time='05:40')}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=80))))
2023-12-08 04:16:11,761 - {control.data:266} - {INFO:MainThread} - ev0
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=['0003134583'], get=Get(soc=0, soc_timestamp=None, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:16:11,766 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Tesla Model Y (2022)', 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=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212', '2585087748'], get=Get(soc=49.0, soc_timestamp='12/08/2023, 01:29:15', force_soc_update=False, range=220.74, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:16:11,768 - {control.data:266} - {INFO:MainThread} - ev2
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Cupra Born 58kW', 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=18000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=2, ev_template=2, name='***AUTO2***', tag_id=['1655332554'], get=Get(soc=72, soc_timestamp='12/08/2023, 04:16:05', force_soc_update=False, range=205, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:16:11,774 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40)
2023-12-08 04:16:11,775 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', 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=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40)
2023-12-08 04:16:11,780 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', 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=18000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40)
2023-12-08 04:16:11,781 - {control.data:245} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=3), pv_charging=PvCharging(bat_prio=True, charging_power_reserve=200, control_range=[-230, 230], feed_in_yield=15000, phase_switch_delay=15, phases_to_use=0, rundown_power=1000, rundown_soc=25, switch_off_delay=60, switch_off_soc=25, switch_off_threshold=50, switch_on_delay=30, switch_on_soc=50, switch_on_threshold=1400), scheduled_charging=ScheduledCharging(phases_to_use=0), time_charging=TimeCharging(phases_to_use=3), unbalanced_load_limit=20, unbalanced_load=True), control_interval=10, extern_display_mode='local', extern=False, external_buttons_hw=False, grid_protection_active=False, grid_protection_configured=True, grid_protection_random_stop=0, grid_protection_timestamp='', mqtt_bridge=False, price_kwh=0.3528, range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=True, r1_active=False, r2_active=False))
2023-12-08 04:16:11,785 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2023-12-08 04:16:11,790 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2023-12-08 04:16:11,791 - {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 0x70b9f250>), led=Led(active=False), rfid=Rfid(active=True))
2023-12-08 04:16:11,796 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=0), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=293628.595, fault_state=0, fault_str='Kein Fehler.', power=0))
2023-12-08 04:16:11,797 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=9500), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=7816178.86, fault_state=0, fault_str='Kein Fehler.', power=-0.0))
2023-12-08 04:16:11,801 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=8109807.455, power=0.0))
2023-12-08 04:16:11,804 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2023-11-30 12:30:45 +0100 [285f5a5fb]', 'current_branch': 'Release', 'current_branch_commit': '2023-11-30 12:30:45 +0100 [285f5a5fb]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.2-Patch.1', 'datastore_version': 29, 'lastlivevaluesJson': {'timestamp': 1702005361, 'time': '04:16:01', 'grid': 9.898, 'house-power': 0.323, 'charging-all': 9.575, 'pv-all': -0.0, 'cp1-power': 9.575, 'ev1-soc': 49.0, 'ev2-soc': 72, 'bat-all-power': 0.0, 'bat-all-soc': 19}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2023-12-08 04:16:11,806 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2023-12-08 04:16:11,808 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2023-12-08 04:16:11,808 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2023-12-08 04:16:11,809 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2023-12-08 04:16:11,814 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2023-12-08 04:16:11,815 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2023-12-08 04:16:11,815 - {control.data:253} - {INFO:MainThread} - 

2023-12-08 04:16:11,819 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2023-12-08 04:16:11,826 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2023-12-08 04:16:11,828 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2023-12-08 04:16:11,830 - {control.counter:169} - {DEBUG:MainThread} - Zähler 0: [56.22, 57.08, 56.41]A verbleibende Ströme, 38535.22W verbleibende Leistung
2023-12-08 04:16:11,834 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2023-12-08 04:16:11,842 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2023-12-08 04:16:11,843 - {control.algorithm.filter_chargepoints:117} - {DEBUG:MainThread} - Geordnete Ladepunkte [1]
2023-12-08 04:16:11,844 - {control.algorithm.additional_current:26} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2023-12-08 04:16:11,845 - {control.counter:169} - {DEBUG:MainThread} - Zähler 0: [48.22, 49.08, 48.41]A verbleibende Ströme, 33015.22W verbleibende Leistung
2023-12-08 04:16:11,845 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 14A
2023-12-08 04:16:11,847 - {control.counter:211} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: 0W
2023-12-08 04:16:11,847 - {control.counter:457} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf 0W
2023-12-08 04:16:11,848 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2023-12-08 04:16:11,848 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2023-12-08 04:16:11,849 - {control.chargelog:52} - {DEBUG:MainThread} - imported_since_mode_switch 808.1100000003353 counter 6927186.04
2023-12-08 04:16:11,851 - {control.process:111} - {INFO:MainThread} - LP1: set current 14 A, state CHARGING_ALLOWED
2023-12-08 04:16:11,882 - {modules.common.component_context:24} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:16:11,904 - {control.counter:186} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2023-12-08 04:16:12,105 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2023-12-08 04:16:12,106 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2023-12-08 04:16:15,113 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2023-12-08 04:16:15,114 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2023-12-08 04:16:20,124 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2023-12-08 04:16:20,125 - {root:74} - {INFO:MainThread} - # ***Start*** 
2023-12-08 04:16:20,201 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x715cf340>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x7155e4a8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x715c75f8>}
2023-12-08 04:16:20,202 - {modules.common.component_context:24} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2023-12-08 04:16:20,203 - {modules.common.component_context:24} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:16:20,213 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2023-12-08 04:16:20,214 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2023-12-08 04:16:20,256 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 750
2023-12-08 04:16:20,258 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"cloud":{"connected":false},"input:0":{"id":0,"state":false},"mqtt":{"connected":false},"switch:0":{"id":0, "source":"loopback", "output":false, "apower":0.0, "voltage":241.4, "current":0.000, "aenergy":{"total":1505.625,"by_minute":[0.000,0.000,0.000],"minute_ts":1702005379},"temperature":{"tC":28.7, "tF":83.7}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:16","unixtime":1702005380,"uptime":1364708,"ram_size":248996,"ram_free":145264,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"beta":{"version":"1.1.0-beta2"},"stable":{"version":"1.0.8"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-68},"ws":{"connected":false}}

2023-12-08 04:16:20,260 - {modules.common.simcount._simcount:38} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1702005371.0264153, power=0, imported=0.0, exported=293628.5948715257)
2023-12-08 04:16:20,261 - {modules.common.simcount._calculate:13} - {DEBUG:device1} - time passed: 0.002565, power1: 0, power2: 0
2023-12-08 04:16:20,261 - {modules.common.simcount._calculate:29} - {DEBUG:device1} - power did not change sign. Total energy: 0
2023-12-08 04:16:20,261 - {modules.common.simcount._simcount:47} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702005380.2604187, power=0, imported=0.0, exported=293628.5948715257)
2023-12-08 04:16:20,262 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:16:20,288 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-9753, -3315, -3156, -3282], Scale 0
2023-12-08 04:16:20,307 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [140, 133, 138], Scale -1
2023-12-08 04:16:20,348 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [24097, 24093, 23896, 0, 0, 0, 0], Scale -2
2023-12-08 04:16:20,427 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [5000], Scale -2
2023-12-08 04:16:20,471 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [9929, 9940, 9929], Scale -2
2023-12-08 04:16:20,500 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4870433, 1797042, 2153375, 1456453, 6126670, 2531808, 1863039, 2268262], Scale 0
2023-12-08 04:16:20,501 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[14.0, 13.3, 13.8], powers=[3315.0, 3156.0, 3282.0], voltages=[240.97, 240.93, 238.96], power_factors=[0.9929000000000001, 0.9940000000000001, 0.9929000000000001], imported=6126670.0, exported=4870433.0, power=9753.0, frequency=50.0)
2023-12-08 04:16:20,504 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2023-12-08 04:16:20,537 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [0], Scale 0
2023-12-08 04:16:20,557 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7789710], Scale 0
2023-12-08 04:16:20,578 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [28, 31, 32], Scale -2
2023-12-08 04:16:20,598 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4400], Scale -2
2023-12-08 04:16:20,599 - {modules.common.component_state:100} - {DEBUG:device0} - currents sign wrong [0.28, 0.31, 0.32]
2023-12-08 04:16:20,599 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.28, 0.31, 0.32], power=-0.0, exported=7789710.0, dc_power=44.0)
2023-12-08 04:16:20,601 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2023-12-08 04:16:20,669 - {modules.common.simcount._simcount:38} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1702005371.4082158, power=0.0, imported=143333.37604219164, exported=116864.5215890633)
2023-12-08 04:16:20,669 - {modules.common.simcount._calculate:13} - {DEBUG:device0} - time passed: 0.00257242, power1: 0, power2: 0
2023-12-08 04:16:20,670 - {modules.common.simcount._calculate:29} - {DEBUG:device0} - power did not change sign. Total energy: 0
2023-12-08 04:16:20,670 - {modules.common.simcount._simcount:47} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702005380.6689112, power=0.0, imported=143333.37604219164, exported=116864.5215890633)
2023-12-08 04:16:20,673 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=143333.37604219164, exported=116864.5215890633, power=0.0, soc=19.0)
2023-12-08 04:16:20,685 - {modules.common.component_context:24} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2023-12-08 04:16:20,686 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=143333.37604219164, exported=116864.5215890633, power=0.0, soc=19.0)
2023-12-08 04:16:20,716 - {modules.common.component_context:24} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:16:20,717 - {modules.common.component_context:24} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2023-12-08 04:16:20,717 - {modules.common.component_context:24} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2023-12-08 04:16:20,718 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-0.0, exported=7816178.86, dc_power=None)
2023-12-08 04:16:20,718 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:16:20,719 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-0.0, exported=7816178.86, dc_power=None)
2023-12-08 04:16:20,719 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:16:20,758 - {modules.common.component_context:24} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2023-12-08 04:16:20,759 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[14.0, 13.3, 13.8], powers=[3315.0, 3156.0, 3282.0], voltages=[240.97, 240.93, 238.96], power_factors=[0.9929000000000001, 0.9940000000000001, 0.9929000000000001], imported=6126670.0, exported=4870433.0, power=9753.0, frequency=50.0)
2023-12-08 04:16:20,904 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2023-12-08 04:16:20,906 - {control.bat_all:173} - {INFO:MainThread} - -50W verbleibende Speicher-Leistung
2023-12-08 04:16:20,909 - {control.counter:138} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [62.03, 62.79, 62.36]A
2023-12-08 04:16:20,912 - {control.counter:161} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 42701.46W
2023-12-08 04:16:20,915 - {control.chargepoint.chargepoint:699} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2023-12-08 04:16:20,916 - {control.chargepoint.chargepoint:682} - {DEBUG:MainThread} - Phasenzahl Lademodus: 3
2023-12-08 04:16:20,919 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 47.652222s, Dauer 1.380952380952381h, Termin heute verpasst: False
2023-12-08 04:16:20,927 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 90770.625587s, Dauer 0.18012422360248448h, Termin heute verpasst: False
2023-12-08 04:16:20,930 - {control.ev:762} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2023-12-08 04:16:20,948 - {control.chargepoint.chargepoint:898} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 14A, Lademodus scheduled_charging, Submodus: Chargemode.INSTANT_CHARGING, Phasen: 3, Priorität: False, max. Ist-Strom: 13.16
2023-12-08 04:16:20,949 - {control.chargepoint.chargepoint:277} - {INFO:MainThread} - LP 1: Zielladen mit 14A, um einen SoC von 95%  um 05:40 zu erreichen.
2023-12-08 04:16:20,973 - {modules.common.simcount._simcount:38} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1702005371.7081602, power=324.78000000000065, imported=2374410.462389064, exported=0)
2023-12-08 04:16:20,975 - {modules.common.simcount._calculate:13} - {DEBUG:MainThread} - time passed: 0.00257356, power1: 324.78, power2: 298.54
2023-12-08 04:16:20,979 - {modules.common.simcount._calculate:29} - {DEBUG:MainThread} - power did not change sign. Total energy: 0.802076
2023-12-08 04:16:20,981 - {modules.common.simcount._simcount:47} - {DEBUG:MainThread} - imported: 0.802076 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702005380.9729836, power=298.5400000000009, imported=2374411.2644654172, exported=0)
2023-12-08 04:16:20,993 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=19, daily_exported=0.0, daily_imported=0.0, imported=143333.38, exported=116864.52, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2023-12-08 04:16:20,994 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=19, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=143333.38, exported=116864.52, power=0.0), set=Set(charging_power_left=-50, switch_on_soc_reached=False))
2023-12-08 04:16:20,996 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=641.11, daily_exported=0, power=9454.46, imported=6927209.96, exported=0))
2023-12-08 04:16:20,999 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 95%, 06:00 Uhr', imported_at_plan_start=6926377.93, imported_instant_charging=None, limit=None, phases=3, prio=False, required_current=14, required_currents=[14, 14, 14], 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=[13.09, 13.16, 13.03], daily_imported=641.11, daily_exported=0, evse_current=1400, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=6927209.96, phases_in_use=3, plug_state=True, power=9454.46, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Zielladen mit 14A, um einen SoC von 95%  um 05:40 zu erreichen.', voltages=[241.25, 239.18, 241.18]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=14, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', imported_at_mode_switch=6926377.93, imported_at_plugtime=6926377.93, imported_since_mode_switch=808.1100000003353, imported_since_plugged=808.1100000003353, range_charged=4.489500000001863, time_charged='0:04', timestamp_start_charging='12/08/2023, 04:11:30'), manual_lock=False, phases_to_use=3, plug_state_prev=True, plug_time='12/07/2023, 13:07:31', required_power=9660, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x715cfbe0>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB Carport', type='internal_openwb', template=1, connected_phases=3, phase_1=2, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=1))
2023-12-08 04:16:21,000 - {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-12-08 04:16:21,001 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=1, max_current_multi_phases=16, max_current_single_phase=20, name='RFID, 20A, 11kW', rfid_enabling=True, valid_tags=['0003134583', '0003526747', '1655332554', '2585022212', '2585087748'])
2023-12-08 04:16:21,004 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[63, 63, 63], max_total_power=43000), get=Get(powers=[3315.0, 3156.0, 3282.0], currents=[14.0, 13.3, 13.8], voltages=[240.97, 240.93, 238.96], power_factors=[0.99, 0.99, 0.99], unbalanced_load=0, frequency=50.0, daily_exported=0.0, daily_imported=4693.0, imported=6126670.0, exported=4870433.0, fault_state=0, fault_str='Kein Fehler.', power=9753.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=42701.46, raw_currents_left=[62.03, 62.79, 62.36], surplus_power_left=0, state_str=''))
2023-12-08 04:16:21,006 - {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': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=298.5400000000009, invalid_home_consumption=0, daily_yield_home_consumption=5589.4256330971, imported_home_consumption=2374411.2644654172, disengageable_smarthome_power=0))
2023-12-08 04:16:21,008 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2023-12-08 04:16:21,009 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Ladeprofil ***AUTO1***', disable_after_unplug=False, prio=False, load_default=True, time_charging=TimeCharging(active=True, plans={'0': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[True, True, True, True, False, False, True]), time=['22:00', '06:00'], name='Zeitladen 95%, So-Do 22:00-06:00 Uhr', current=16, limit=Limit(selected='soc', amount=1000, soc=95)), '1': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, True, True, False]), time=['22:00', '06:00'], name='Zeitladen 80%, Fr-Sa 22:00-06:00 Uhr', current=16, limit=Limit(selected='soc', amount=1000, soc=80))}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2023-12-08 04:16:21,011 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, time_charging=TimeCharging(active=True, plans={'2': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), time=['06:45', '07:00'], name='Klima 06:45-07:00 Uhr', current=6, limit=Limit(selected='none', amount=1000, soc=50)), '3': TimeChargingPlan(active=True, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, False, False, False]), time=['00:00', '23:55'], name='Immer 35%', current=10, limit=Limit(selected='soc', amount=1000, soc=35))}), chargemode=Chargemode(selected='scheduled_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={'0': ScheduledChargingPlan(active=False, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, True, False, False, False, False, False]), current=14, name='Zielladen 80%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '1': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), current=14, name='Zielladen 95%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=95), time='05:40'), '2': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once='2023-09-26', weekly=[True, False, False, True, False, True, True]), current=14, name='Zielladen 75%, 7:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=75), time='05:40')}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=80))))
2023-12-08 04:16:21,013 - {control.data:266} - {INFO:MainThread} - ev0
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=['0003134583'], get=Get(soc=0, soc_timestamp=None, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:16:21,014 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Tesla Model Y (2022)', 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=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212', '2585087748'], get=Get(soc=49.0, soc_timestamp='12/08/2023, 01:29:15', force_soc_update=False, range=220.74, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:16:21,016 - {control.data:266} - {INFO:MainThread} - ev2
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Cupra Born 58kW', 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=18000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=2, ev_template=2, name='***AUTO2***', tag_id=['1655332554'], get=Get(soc=72, soc_timestamp='12/08/2023, 04:16:05', force_soc_update=False, range=205, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:16:21,017 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40)
2023-12-08 04:16:21,018 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', 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=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40)
2023-12-08 04:16:21,019 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', 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=18000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40)
2023-12-08 04:16:21,020 - {control.data:245} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=3), pv_charging=PvCharging(bat_prio=True, charging_power_reserve=200, control_range=[-230, 230], feed_in_yield=15000, phase_switch_delay=15, phases_to_use=0, rundown_power=1000, rundown_soc=25, switch_off_delay=60, switch_off_soc=25, switch_off_threshold=50, switch_on_delay=30, switch_on_soc=50, switch_on_threshold=1400), scheduled_charging=ScheduledCharging(phases_to_use=0), time_charging=TimeCharging(phases_to_use=3), unbalanced_load_limit=20, unbalanced_load=True), control_interval=10, extern_display_mode='local', extern=False, external_buttons_hw=False, grid_protection_active=False, grid_protection_configured=True, grid_protection_random_stop=0, grid_protection_timestamp='', mqtt_bridge=False, price_kwh=0.3528, range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=True, r1_active=False, r2_active=False))
2023-12-08 04:16:21,021 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2023-12-08 04:16:21,022 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2023-12-08 04:16:21,023 - {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 0x715cfd90>), led=Led(active=False), rfid=Rfid(active=True))
2023-12-08 04:16:21,023 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=0), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=293628.595, fault_state=0, fault_str='Kein Fehler.', power=0))
2023-12-08 04:16:21,024 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=9500), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=7816178.86, fault_state=0, fault_str='Kein Fehler.', power=-0.0))
2023-12-08 04:16:21,025 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=8109807.455, power=0.0))
2023-12-08 04:16:21,026 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2023-11-30 12:30:45 +0100 [285f5a5fb]', 'current_branch': 'Release', 'current_branch_commit': '2023-11-30 12:30:45 +0100 [285f5a5fb]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.2-Patch.1', 'datastore_version': 29, 'lastlivevaluesJson': {'timestamp': 1702005371, 'time': '04:16:11', 'grid': 9.853, 'house-power': 0.325, 'charging-all': 9.528, 'pv-all': -0.0, 'cp1-power': 9.528, 'ev1-soc': 49.0, 'ev2-soc': 72, 'bat-all-power': 0.0, 'bat-all-soc': 19}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2023-12-08 04:16:21,027 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2023-12-08 04:16:21,029 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2023-12-08 04:16:21,030 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2023-12-08 04:16:21,031 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2023-12-08 04:16:21,031 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2023-12-08 04:16:21,032 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2023-12-08 04:16:21,033 - {control.data:253} - {INFO:MainThread} - 

2023-12-08 04:16:21,035 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2023-12-08 04:16:21,035 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2023-12-08 04:16:21,037 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2023-12-08 04:16:21,038 - {control.counter:169} - {DEBUG:MainThread} - Zähler 0: [56.03, 56.79, 56.36]A verbleibende Ströme, 38561.46W verbleibende Leistung
2023-12-08 04:16:21,039 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2023-12-08 04:16:21,042 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2023-12-08 04:16:21,044 - {control.algorithm.filter_chargepoints:117} - {DEBUG:MainThread} - Geordnete Ladepunkte [1]
2023-12-08 04:16:21,045 - {control.algorithm.additional_current:26} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2023-12-08 04:16:21,046 - {control.counter:169} - {DEBUG:MainThread} - Zähler 0: [48.03, 48.79, 48.36]A verbleibende Ströme, 33041.46W verbleibende Leistung
2023-12-08 04:16:21,047 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 14A
2023-12-08 04:16:21,049 - {control.counter:211} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: 0W
2023-12-08 04:16:21,050 - {control.counter:457} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf 0W
2023-12-08 04:16:21,051 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2023-12-08 04:16:21,052 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2023-12-08 04:16:21,054 - {control.chargelog:52} - {DEBUG:MainThread} - imported_since_mode_switch 832.0300000002608 counter 6927209.96
2023-12-08 04:16:21,059 - {control.process:111} - {INFO:MainThread} - LP1: set current 14 A, state CHARGING_ALLOWED
2023-12-08 04:16:21,066 - {modules.common.component_context:24} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:16:21,102 - {control.counter:186} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2023-12-08 04:16:21,296 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2023-12-08 04:16:25,311 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2023-12-08 04:16:25,312 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2023-12-08 04:16:30,321 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2023-12-08 04:16:30,322 - {root:74} - {INFO:MainThread} - # ***Start*** 
2023-12-08 04:16:30,365 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x715cf340>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x7155e4a8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x715c75f8>}
2023-12-08 04:16:30,367 - {modules.common.component_context:24} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2023-12-08 04:16:30,374 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2023-12-08 04:16:30,377 - {modules.common.component_context:24} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:16:30,378 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2023-12-08 04:16:30,412 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-9761, -3319, -3160, -3281], Scale 0
2023-12-08 04:16:30,418 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 750
2023-12-08 04:16:30,421 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"cloud":{"connected":false},"input:0":{"id":0,"state":false},"mqtt":{"connected":false},"switch:0":{"id":0, "source":"loopback", "output":false, "apower":0.0, "voltage":241.7, "current":0.000, "aenergy":{"total":1505.625,"by_minute":[0.000,0.000,0.000],"minute_ts":1702005389},"temperature":{"tC":28.8, "tF":83.9}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:16","unixtime":1702005391,"uptime":1364718,"ram_size":248996,"ram_free":145264,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"beta":{"version":"1.1.0-beta2"},"stable":{"version":"1.0.8"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-70},"ws":{"connected":false}}

2023-12-08 04:16:30,424 - {modules.common.simcount._simcount:38} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1702005380.2604187, power=0, imported=0.0, exported=293628.5948715257)
2023-12-08 04:16:30,425 - {modules.common.simcount._calculate:13} - {DEBUG:device1} - time passed: 0.00282331, power1: 0, power2: 0
2023-12-08 04:16:30,426 - {modules.common.simcount._calculate:29} - {DEBUG:device1} - power did not change sign. Total energy: 0
2023-12-08 04:16:30,427 - {modules.common.simcount._simcount:47} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702005390.424333, power=0, imported=0.0, exported=293628.5948715257)
2023-12-08 04:16:30,429 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:16:30,434 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [138, 131, 138], Scale -1
2023-12-08 04:16:30,458 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [24131, 24135, 23930, 0, 0, 0, 0], Scale -2
2023-12-08 04:16:30,480 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4999], Scale -2
2023-12-08 04:16:30,499 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [9919, 9929, 9940], Scale -2
2023-12-08 04:16:30,521 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4870433, 1797042, 2153375, 1456453, 6126692, 2531815, 1863046, 2268269], Scale 0
2023-12-08 04:16:30,522 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[13.8, 13.100000000000001, 13.8], powers=[3319.0, 3160.0, 3281.0], voltages=[241.31, 241.35, 239.3], power_factors=[0.9919, 0.9929000000000001, 0.9940000000000001], imported=6126692.0, exported=4870433.0, power=9761.0, frequency=49.99)
2023-12-08 04:16:30,524 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2023-12-08 04:16:30,580 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [0], Scale 0
2023-12-08 04:16:30,598 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7789710], Scale 0
2023-12-08 04:16:30,618 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [27, 30, 32], Scale -2
2023-12-08 04:16:30,638 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4802], Scale -2
2023-12-08 04:16:30,639 - {modules.common.component_state:100} - {DEBUG:device0} - currents sign wrong [0.27, 0.3, 0.32]
2023-12-08 04:16:30,639 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.27, 0.3, 0.32], power=-0.0, exported=7789710.0, dc_power=48.02)
2023-12-08 04:16:30,641 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2023-12-08 04:16:30,709 - {modules.common.simcount._simcount:38} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1702005380.6689112, power=0.0, imported=143333.37604219164, exported=116864.5215890633)
2023-12-08 04:16:30,710 - {modules.common.simcount._calculate:13} - {DEBUG:device0} - time passed: 0.00278902, power1: 0, power2: 0
2023-12-08 04:16:30,710 - {modules.common.simcount._calculate:29} - {DEBUG:device0} - power did not change sign. Total energy: 0
2023-12-08 04:16:30,711 - {modules.common.simcount._simcount:47} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702005390.709375, power=0.0, imported=143333.37604219164, exported=116864.5215890633)
2023-12-08 04:16:30,712 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=143333.37604219164, exported=116864.5215890633, power=0.0, soc=19.0)
2023-12-08 04:16:30,716 - {modules.common.component_context:24} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2023-12-08 04:16:30,729 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=143333.37604219164, exported=116864.5215890633, power=0.0, soc=19.0)
2023-12-08 04:16:30,762 - {modules.common.component_context:24} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:16:30,764 - {modules.common.component_context:24} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2023-12-08 04:16:30,766 - {modules.common.component_context:24} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2023-12-08 04:16:30,769 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-0.0, exported=7816178.86, dc_power=None)
2023-12-08 04:16:30,770 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:16:30,771 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-0.0, exported=7816178.86, dc_power=None)
2023-12-08 04:16:30,771 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:16:30,815 - {modules.common.component_context:24} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2023-12-08 04:16:30,816 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[13.8, 13.100000000000001, 13.8], powers=[3319.0, 3160.0, 3281.0], voltages=[241.31, 241.35, 239.3], power_factors=[0.9919, 0.9929000000000001, 0.9940000000000001], imported=6126692.0, exported=4870433.0, power=9761.0, frequency=49.99)
2023-12-08 04:16:30,992 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2023-12-08 04:16:30,994 - {control.bat_all:173} - {INFO:MainThread} - -50W verbleibende Speicher-Leistung
2023-12-08 04:16:31,014 - {control.counter:138} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [62.21, 62.97, 62.17]A
2023-12-08 04:16:31,015 - {control.counter:161} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 42664.1W
2023-12-08 04:16:31,017 - {control.chargepoint.chargepoint:699} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2023-12-08 04:16:31,018 - {control.chargepoint.chargepoint:682} - {DEBUG:MainThread} - Phasenzahl Lademodus: 3
2023-12-08 04:16:31,020 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 37.551117s, Dauer 1.380952380952381h, Termin heute verpasst: False
2023-12-08 04:16:31,022 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 90760.53103s, Dauer 0.18012422360248448h, Termin heute verpasst: False
2023-12-08 04:16:31,023 - {control.ev:762} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2023-12-08 04:16:31,026 - {control.chargepoint.chargepoint:898} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 14A, Lademodus scheduled_charging, Submodus: Chargemode.INSTANT_CHARGING, Phasen: 3, Priorität: False, max. Ist-Strom: 13.07
2023-12-08 04:16:31,027 - {control.chargepoint.chargepoint:277} - {INFO:MainThread} - LP 1: Zielladen mit 14A, um einen SoC von 95%  um 05:40 zu erreichen.
2023-12-08 04:16:31,047 - {modules.common.simcount._simcount:38} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1702005380.9729836, power=298.5400000000009, imported=2374411.2644654172, exported=0)
2023-12-08 04:16:31,050 - {modules.common.simcount._calculate:13} - {DEBUG:MainThread} - time passed: 0.00279856, power1: 298.54, power2: 335.9
2023-12-08 04:16:31,051 - {modules.common.simcount._calculate:29} - {DEBUG:MainThread} - power did not change sign. Total energy: 0.887758
2023-12-08 04:16:31,055 - {modules.common.simcount._simcount:47} - {DEBUG:MainThread} - imported: 0.887758 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702005391.047786, power=335.89999999999964, imported=2374412.1522234217, exported=0)
2023-12-08 04:16:31,059 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=19, daily_exported=0.0, daily_imported=0.0, imported=143333.38, exported=116864.52, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2023-12-08 04:16:31,060 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=19, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=143333.38, exported=116864.52, power=0.0), set=Set(charging_power_left=-50, switch_on_soc_reached=False))
2023-12-08 04:16:31,061 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=641.11, daily_exported=0, power=9425.1, imported=6927233.89, exported=0))
2023-12-08 04:16:31,064 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 95%, 06:00 Uhr', imported_at_plan_start=6926377.93, imported_instant_charging=None, limit=None, phases=3, prio=False, required_current=14, required_currents=[14, 14, 14], 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=[13.07, 12.97, 13.01], daily_imported=641.11, daily_exported=0, evse_current=1400, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=6927233.89, phases_in_use=3, plug_state=True, power=9425.1, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Zielladen mit 14A, um einen SoC von 95%  um 05:40 zu erreichen.', voltages=[241.58, 239.71, 241.62]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=14, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', imported_at_mode_switch=6926377.93, imported_at_plugtime=6926377.93, imported_since_mode_switch=832.0300000002608, imported_since_plugged=832.0300000002608, range_charged=4.622388888890338, time_charged='0:04', timestamp_start_charging='12/08/2023, 04:11:30'), manual_lock=False, phases_to_use=3, plug_state_prev=True, plug_time='12/07/2023, 13:07:31', required_power=9660, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x70b62478>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB Carport', type='internal_openwb', template=1, connected_phases=3, phase_1=2, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=1))
2023-12-08 04:16:31,065 - {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-12-08 04:16:31,066 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=1, max_current_multi_phases=16, max_current_single_phase=20, name='RFID, 20A, 11kW', rfid_enabling=True, valid_tags=['0003134583', '0003526747', '1655332554', '2585022212', '2585087748'])
2023-12-08 04:16:31,067 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[63, 63, 63], max_total_power=43000), get=Get(powers=[3319.0, 3160.0, 3281.0], currents=[13.8, 13.1, 13.8], voltages=[241.31, 241.35, 239.3], power_factors=[0.99, 0.99, 0.99], unbalanced_load=0, frequency=49.99, daily_exported=0.0, daily_imported=4693.0, imported=6126692.0, exported=4870433.0, fault_state=0, fault_str='Kein Fehler.', power=9761.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=42664.1, raw_currents_left=[62.21, 62.97, 62.17], surplus_power_left=0, state_str=''))
2023-12-08 04:16:31,069 - {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': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=335.89999999999964, invalid_home_consumption=0, daily_yield_home_consumption=5589.4256330971, imported_home_consumption=2374412.1522234217, disengageable_smarthome_power=0))
2023-12-08 04:16:31,070 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2023-12-08 04:16:31,073 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Ladeprofil ***AUTO1***', disable_after_unplug=False, prio=False, load_default=True, time_charging=TimeCharging(active=True, plans={'0': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[True, True, True, True, False, False, True]), time=['22:00', '06:00'], name='Zeitladen 95%, So-Do 22:00-06:00 Uhr', current=16, limit=Limit(selected='soc', amount=1000, soc=95)), '1': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, True, True, False]), time=['22:00', '06:00'], name='Zeitladen 80%, Fr-Sa 22:00-06:00 Uhr', current=16, limit=Limit(selected='soc', amount=1000, soc=80))}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2023-12-08 04:16:31,074 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, time_charging=TimeCharging(active=True, plans={'2': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), time=['06:45', '07:00'], name='Klima 06:45-07:00 Uhr', current=6, limit=Limit(selected='none', amount=1000, soc=50)), '3': TimeChargingPlan(active=True, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, False, False, False]), time=['00:00', '23:55'], name='Immer 35%', current=10, limit=Limit(selected='soc', amount=1000, soc=35))}), chargemode=Chargemode(selected='scheduled_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={'0': ScheduledChargingPlan(active=False, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, True, False, False, False, False, False]), current=14, name='Zielladen 80%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '1': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), current=14, name='Zielladen 95%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=95), time='05:40'), '2': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once='2023-09-26', weekly=[True, False, False, True, False, True, True]), current=14, name='Zielladen 75%, 7:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=75), time='05:40')}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=80))))
2023-12-08 04:16:31,075 - {control.data:266} - {INFO:MainThread} - ev0
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=['0003134583'], get=Get(soc=0, soc_timestamp=None, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:16:31,079 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Tesla Model Y (2022)', 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=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212', '2585087748'], get=Get(soc=49.0, soc_timestamp='12/08/2023, 01:29:15', force_soc_update=False, range=220.74, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:16:31,081 - {control.data:266} - {INFO:MainThread} - ev2
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Cupra Born 58kW', 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=18000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=2, ev_template=2, name='***AUTO2***', tag_id=['1655332554'], get=Get(soc=72, soc_timestamp='12/08/2023, 04:16:05', force_soc_update=False, range=205, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:16:31,083 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40)
2023-12-08 04:16:31,084 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', 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=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40)
2023-12-08 04:16:31,085 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', 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=18000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40)
2023-12-08 04:16:31,086 - {control.data:245} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=3), pv_charging=PvCharging(bat_prio=True, charging_power_reserve=200, control_range=[-230, 230], feed_in_yield=15000, phase_switch_delay=15, phases_to_use=0, rundown_power=1000, rundown_soc=25, switch_off_delay=60, switch_off_soc=25, switch_off_threshold=50, switch_on_delay=30, switch_on_soc=50, switch_on_threshold=1400), scheduled_charging=ScheduledCharging(phases_to_use=0), time_charging=TimeCharging(phases_to_use=3), unbalanced_load_limit=20, unbalanced_load=True), control_interval=10, extern_display_mode='local', extern=False, external_buttons_hw=False, grid_protection_active=False, grid_protection_configured=True, grid_protection_random_stop=0, grid_protection_timestamp='', mqtt_bridge=False, price_kwh=0.3528, range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=True, r1_active=False, r2_active=False))
2023-12-08 04:16:31,087 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2023-12-08 04:16:31,088 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2023-12-08 04:16:31,089 - {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 0x70b9f0e8>), led=Led(active=False), rfid=Rfid(active=True))
2023-12-08 04:16:31,091 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=0), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=293628.595, fault_state=0, fault_str='Kein Fehler.', power=0))
2023-12-08 04:16:31,093 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=9500), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=7816178.86, fault_state=0, fault_str='Kein Fehler.', power=-0.0))
2023-12-08 04:16:31,095 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=8109807.455, power=0.0))
2023-12-08 04:16:31,098 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2023-11-30 12:30:45 +0100 [285f5a5fb]', 'current_branch': 'Release', 'current_branch_commit': '2023-11-30 12:30:45 +0100 [285f5a5fb]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.2-Patch.1', 'datastore_version': 29, 'lastlivevaluesJson': {'timestamp': 1702005381, 'time': '04:16:21', 'grid': 9.753, 'house-power': 0.299, 'charging-all': 9.454, 'pv-all': -0.0, 'cp1-power': 9.454, 'ev1-soc': 49.0, 'ev2-soc': 72, 'bat-all-power': 0.0, 'bat-all-soc': 19}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2023-12-08 04:16:31,099 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2023-12-08 04:16:31,101 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2023-12-08 04:16:31,102 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2023-12-08 04:16:31,103 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2023-12-08 04:16:31,104 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2023-12-08 04:16:31,106 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2023-12-08 04:16:31,107 - {control.data:253} - {INFO:MainThread} - 

2023-12-08 04:16:31,107 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2023-12-08 04:16:31,108 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2023-12-08 04:16:31,110 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2023-12-08 04:16:31,111 - {control.counter:169} - {DEBUG:MainThread} - Zähler 0: [56.21, 56.97, 56.17]A verbleibende Ströme, 38524.1W verbleibende Leistung
2023-12-08 04:16:31,112 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2023-12-08 04:16:31,115 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2023-12-08 04:16:31,117 - {control.algorithm.filter_chargepoints:117} - {DEBUG:MainThread} - Geordnete Ladepunkte [1]
2023-12-08 04:16:31,118 - {control.algorithm.additional_current:26} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2023-12-08 04:16:31,120 - {control.counter:169} - {DEBUG:MainThread} - Zähler 0: [48.21, 48.97, 48.17]A verbleibende Ströme, 33004.1W verbleibende Leistung
2023-12-08 04:16:31,121 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 14A
2023-12-08 04:16:31,123 - {control.counter:211} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: 0W
2023-12-08 04:16:31,124 - {control.counter:457} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf 0W
2023-12-08 04:16:31,125 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2023-12-08 04:16:31,127 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2023-12-08 04:16:31,129 - {control.chargelog:52} - {DEBUG:MainThread} - imported_since_mode_switch 855.9599999999627 counter 6927233.89
2023-12-08 04:16:31,132 - {control.process:111} - {INFO:MainThread} - LP1: set current 14 A, state CHARGING_ALLOWED
2023-12-08 04:16:31,135 - {modules.common.component_context:24} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:16:31,149 - {control.counter:186} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2023-12-08 04:16:31,533 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2023-12-08 04:16:31,539 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2023-12-08 04:16:35,555 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2023-12-08 04:16:40,570 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2023-12-08 04:16:40,573 - {root:74} - {INFO:MainThread} - # ***Start*** 
2023-12-08 04:16:40,625 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x715cf340>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x7155e4a8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x715c75f8>}
2023-12-08 04:16:40,633 - {modules.common.component_context:24} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2023-12-08 04:16:40,642 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2023-12-08 04:16:40,644 - {modules.common.component_context:24} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:16:40,663 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2023-12-08 04:16:40,678 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-9708, -3313, -3156, -3239], Scale 0
2023-12-08 04:16:40,711 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [138, 131, 136], Scale -1
2023-12-08 04:16:40,779 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 750
2023-12-08 04:16:40,781 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"cloud":{"connected":false},"input:0":{"id":0,"state":false},"mqtt":{"connected":false},"switch:0":{"id":0, "source":"loopback", "output":false, "apower":0.0, "voltage":241.8, "current":0.000, "aenergy":{"total":1505.625,"by_minute":[0.000,0.000,0.000],"minute_ts":1702005400},"temperature":{"tC":28.8, "tF":83.8}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:16","unixtime":1702005401,"uptime":1364728,"ram_size":248996,"ram_free":145264,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"beta":{"version":"1.1.0-beta2"},"stable":{"version":"1.0.8"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-68},"ws":{"connected":false}}

2023-12-08 04:16:40,784 - {modules.common.simcount._simcount:38} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1702005390.424333, power=0, imported=0.0, exported=293628.5948715257)
2023-12-08 04:16:40,785 - {modules.common.simcount._calculate:13} - {DEBUG:device1} - time passed: 0.00287782, power1: 0, power2: 0
2023-12-08 04:16:40,786 - {modules.common.simcount._calculate:29} - {DEBUG:device1} - power did not change sign. Total energy: 0
2023-12-08 04:16:40,787 - {modules.common.simcount._simcount:47} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702005400.784499, power=0, imported=0.0, exported=293628.5948715257)
2023-12-08 04:16:40,790 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:16:40,791 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [24119, 24112, 23926, 0, 0, 0, 0], Scale -2
2023-12-08 04:16:40,830 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4997], Scale -2
2023-12-08 04:16:40,858 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [9929, 9940, 9909], Scale -2
2023-12-08 04:16:40,885 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4870433, 1797042, 2153375, 1456453, 6126714, 2531823, 1863053, 2268276], Scale 0
2023-12-08 04:16:40,886 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[13.8, 13.100000000000001, 13.600000000000001], powers=[3313.0, 3156.0, 3239.0], voltages=[241.19, 241.12, 239.26], power_factors=[0.9929000000000001, 0.9940000000000001, 0.9909], imported=6126714.0, exported=4870433.0, power=9708.0, frequency=49.97)
2023-12-08 04:16:40,890 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2023-12-08 04:16:40,909 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [0], Scale 0
2023-12-08 04:16:40,927 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7789710], Scale 0
2023-12-08 04:16:40,959 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [29, 31, 31], Scale -2
2023-12-08 04:16:41,005 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4613], Scale -2
2023-12-08 04:16:41,005 - {modules.common.component_state:100} - {DEBUG:device0} - currents sign wrong [0.29, 0.31, 0.31]
2023-12-08 04:16:41,006 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.29, 0.31, 0.31], power=-0.0, exported=7789710.0, dc_power=46.13)
2023-12-08 04:16:41,007 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2023-12-08 04:16:41,049 - {modules.common.simcount._simcount:38} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1702005390.709375, power=0.0, imported=143333.37604219164, exported=116864.5215890633)
2023-12-08 04:16:41,049 - {modules.common.simcount._calculate:13} - {DEBUG:device0} - time passed: 0.00287215, power1: 0, power2: 0
2023-12-08 04:16:41,050 - {modules.common.simcount._calculate:29} - {DEBUG:device0} - power did not change sign. Total energy: 0
2023-12-08 04:16:41,050 - {modules.common.simcount._simcount:47} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702005401.0491128, power=0.0, imported=143333.37604219164, exported=116864.5215890633)
2023-12-08 04:16:41,051 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=143333.37604219164, exported=116864.5215890633, power=0.0, soc=19.0)
2023-12-08 04:16:41,055 - {modules.common.component_context:24} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2023-12-08 04:16:41,056 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=143333.37604219164, exported=116864.5215890633, power=0.0, soc=19.0)
2023-12-08 04:16:41,100 - {modules.common.component_context:24} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:16:41,101 - {modules.common.component_context:24} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2023-12-08 04:16:41,102 - {modules.common.component_context:24} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2023-12-08 04:16:41,103 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-0.0, exported=7816178.86, dc_power=None)
2023-12-08 04:16:41,104 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:16:41,105 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-0.0, exported=7816178.86, dc_power=None)
2023-12-08 04:16:41,106 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:16:41,150 - {modules.common.component_context:24} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2023-12-08 04:16:41,151 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[13.8, 13.100000000000001, 13.600000000000001], powers=[3313.0, 3156.0, 3239.0], voltages=[241.19, 241.12, 239.26], power_factors=[0.9929000000000001, 0.9940000000000001, 0.9909], imported=6126714.0, exported=4870433.0, power=9708.0, frequency=49.97)
2023-12-08 04:16:41,319 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2023-12-08 04:16:41,327 - {control.bat_all:173} - {INFO:MainThread} - -50W verbleibende Speicher-Leistung
2023-12-08 04:16:41,332 - {control.counter:138} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [62.23, 62.980000000000004, 62.46]A
2023-12-08 04:16:41,339 - {control.counter:161} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 42695.32W
2023-12-08 04:16:41,347 - {control.chargepoint.chargepoint:699} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2023-12-08 04:16:41,355 - {control.chargepoint.chargepoint:682} - {DEBUG:MainThread} - Phasenzahl Lademodus: 3
2023-12-08 04:16:41,359 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 27.212645s, Dauer 1.380952380952381h, Termin heute verpasst: False
2023-12-08 04:16:41,361 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 90750.191309s, Dauer 0.18012422360248448h, Termin heute verpasst: False
2023-12-08 04:16:41,364 - {control.ev:762} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2023-12-08 04:16:41,384 - {control.chargepoint.chargepoint:898} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 14A, Lademodus scheduled_charging, Submodus: Chargemode.INSTANT_CHARGING, Phasen: 3, Priorität: False, max. Ist-Strom: 13.08
2023-12-08 04:16:41,386 - {control.chargepoint.chargepoint:277} - {INFO:MainThread} - LP 1: Zielladen mit 14A, um einen SoC von 95%  um 05:40 zu erreichen.
2023-12-08 04:16:41,421 - {modules.common.simcount._simcount:38} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1702005391.047786, power=335.89999999999964, imported=2374412.1522234217, exported=0)
2023-12-08 04:16:41,422 - {modules.common.simcount._calculate:13} - {DEBUG:MainThread} - time passed: 0.00288166, power1: 335.9, power2: 304.68
2023-12-08 04:16:41,423 - {modules.common.simcount._calculate:29} - {DEBUG:MainThread} - power did not change sign. Total energy: 0.922968
2023-12-08 04:16:41,425 - {modules.common.simcount._simcount:47} - {DEBUG:MainThread} - imported: 0.922968 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702005401.4217784, power=304.6800000000003, imported=2374413.075191766, exported=0)
2023-12-08 04:16:41,429 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=19, daily_exported=0.0, daily_imported=0.0, imported=143333.38, exported=116864.52, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2023-12-08 04:16:41,431 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=19, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=143333.38, exported=116864.52, power=0.0), set=Set(charging_power_left=-50, switch_on_soc_reached=False))
2023-12-08 04:16:41,432 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=641.11, daily_exported=0, power=9403.32, imported=6927263.18, exported=0))
2023-12-08 04:16:41,434 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 95%, 06:00 Uhr', imported_at_plan_start=6926377.93, imported_instant_charging=None, limit=None, phases=3, prio=False, required_current=14, required_currents=[14, 14, 14], 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=[13.08, 13.06, 13.03], daily_imported=641.11, daily_exported=0, evse_current=1400, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=6927263.18, phases_in_use=3, plug_state=True, power=9403.32, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Zielladen mit 14A, um einen SoC von 95%  um 05:40 zu erreichen.', voltages=[241.69, 239.6, 241.62]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=14, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', imported_at_mode_switch=6926377.93, imported_at_plugtime=6926377.93, imported_since_mode_switch=855.9599999999627, imported_since_plugged=855.9599999999627, range_charged=4.755333333333126, time_charged='0:05', timestamp_start_charging='12/08/2023, 04:11:30'), manual_lock=False, phases_to_use=3, plug_state_prev=True, plug_time='12/07/2023, 13:07:31', required_power=9660, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x70bda9d0>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB Carport', type='internal_openwb', template=1, connected_phases=3, phase_1=2, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=1))
2023-12-08 04:16:41,437 - {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-12-08 04:16:41,438 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=1, max_current_multi_phases=16, max_current_single_phase=20, name='RFID, 20A, 11kW', rfid_enabling=True, valid_tags=['0003134583', '0003526747', '1655332554', '2585022212', '2585087748'])
2023-12-08 04:16:41,440 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[63, 63, 63], max_total_power=43000), get=Get(powers=[3313.0, 3156.0, 3239.0], currents=[13.8, 13.1, 13.6], voltages=[241.19, 241.12, 239.26], power_factors=[0.99, 0.99, 0.99], unbalanced_load=0, frequency=49.97, daily_exported=0.0, daily_imported=4693.0, imported=6126714.0, exported=4870433.0, fault_state=0, fault_str='Kein Fehler.', power=9708.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=42695.32, raw_currents_left=[62.23, 62.980000000000004, 62.46], surplus_power_left=0, state_str=''))
2023-12-08 04:16:41,442 - {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': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=304.6800000000003, invalid_home_consumption=0, daily_yield_home_consumption=5589.4256330971, imported_home_consumption=2374413.075191766, disengageable_smarthome_power=0))
2023-12-08 04:16:41,443 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2023-12-08 04:16:41,445 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Ladeprofil ***AUTO1***', disable_after_unplug=False, prio=False, load_default=True, time_charging=TimeCharging(active=True, plans={'0': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[True, True, True, True, False, False, True]), time=['22:00', '06:00'], name='Zeitladen 95%, So-Do 22:00-06:00 Uhr', current=16, limit=Limit(selected='soc', amount=1000, soc=95)), '1': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, True, True, False]), time=['22:00', '06:00'], name='Zeitladen 80%, Fr-Sa 22:00-06:00 Uhr', current=16, limit=Limit(selected='soc', amount=1000, soc=80))}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2023-12-08 04:16:41,446 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, time_charging=TimeCharging(active=True, plans={'2': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), time=['06:45', '07:00'], name='Klima 06:45-07:00 Uhr', current=6, limit=Limit(selected='none', amount=1000, soc=50)), '3': TimeChargingPlan(active=True, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, False, False, False]), time=['00:00', '23:55'], name='Immer 35%', current=10, limit=Limit(selected='soc', amount=1000, soc=35))}), chargemode=Chargemode(selected='scheduled_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={'0': ScheduledChargingPlan(active=False, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, True, False, False, False, False, False]), current=14, name='Zielladen 80%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '1': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), current=14, name='Zielladen 95%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=95), time='05:40'), '2': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once='2023-09-26', weekly=[True, False, False, True, False, True, True]), current=14, name='Zielladen 75%, 7:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=75), time='05:40')}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=80))))
2023-12-08 04:16:41,447 - {control.data:266} - {INFO:MainThread} - ev0
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=['0003134583'], get=Get(soc=0, soc_timestamp=None, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:16:41,449 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Tesla Model Y (2022)', 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=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212', '2585087748'], get=Get(soc=49.0, soc_timestamp='12/08/2023, 01:29:15', force_soc_update=False, range=220.74, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:16:41,451 - {control.data:266} - {INFO:MainThread} - ev2
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Cupra Born 58kW', 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=18000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=2, ev_template=2, name='***AUTO2***', tag_id=['1655332554'], get=Get(soc=72, soc_timestamp='12/08/2023, 04:16:05', force_soc_update=False, range=205, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:16:41,452 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40)
2023-12-08 04:16:41,454 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', 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=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40)
2023-12-08 04:16:41,455 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', 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=18000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40)
2023-12-08 04:16:41,456 - {control.data:245} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=3), pv_charging=PvCharging(bat_prio=True, charging_power_reserve=200, control_range=[-230, 230], feed_in_yield=15000, phase_switch_delay=15, phases_to_use=0, rundown_power=1000, rundown_soc=25, switch_off_delay=60, switch_off_soc=25, switch_off_threshold=50, switch_on_delay=30, switch_on_soc=50, switch_on_threshold=1400), scheduled_charging=ScheduledCharging(phases_to_use=0), time_charging=TimeCharging(phases_to_use=3), unbalanced_load_limit=20, unbalanced_load=True), control_interval=10, extern_display_mode='local', extern=False, external_buttons_hw=False, grid_protection_active=False, grid_protection_configured=True, grid_protection_random_stop=0, grid_protection_timestamp='', mqtt_bridge=False, price_kwh=0.3528, range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=True, r1_active=False, r2_active=False))
2023-12-08 04:16:41,457 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2023-12-08 04:16:41,458 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2023-12-08 04:16:41,460 - {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 0x71594af0>), led=Led(active=False), rfid=Rfid(active=True))
2023-12-08 04:16:41,462 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=0), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=293628.595, fault_state=0, fault_str='Kein Fehler.', power=0))
2023-12-08 04:16:41,462 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=9500), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=7816178.86, fault_state=0, fault_str='Kein Fehler.', power=-0.0))
2023-12-08 04:16:41,464 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=8109807.455, power=0.0))
2023-12-08 04:16:41,465 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2023-11-30 12:30:45 +0100 [285f5a5fb]', 'current_branch': 'Release', 'current_branch_commit': '2023-11-30 12:30:45 +0100 [285f5a5fb]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.2-Patch.1', 'datastore_version': 29, 'lastlivevaluesJson': {'timestamp': 1702005391, 'time': '04:16:31', 'grid': 9.761, 'house-power': 0.336, 'charging-all': 9.425, 'pv-all': -0.0, 'cp1-power': 9.425, 'ev1-soc': 49.0, 'ev2-soc': 72, 'bat-all-power': 0.0, 'bat-all-soc': 19}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2023-12-08 04:16:41,466 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2023-12-08 04:16:41,467 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2023-12-08 04:16:41,473 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2023-12-08 04:16:41,474 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2023-12-08 04:16:41,476 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2023-12-08 04:16:41,479 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2023-12-08 04:16:41,481 - {control.data:253} - {INFO:MainThread} - 

2023-12-08 04:16:41,482 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2023-12-08 04:16:41,484 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2023-12-08 04:16:41,485 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2023-12-08 04:16:41,487 - {control.counter:169} - {DEBUG:MainThread} - Zähler 0: [56.23, 56.980000000000004, 56.46]A verbleibende Ströme, 38555.32W verbleibende Leistung
2023-12-08 04:16:41,490 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2023-12-08 04:16:41,493 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2023-12-08 04:16:41,494 - {control.algorithm.filter_chargepoints:117} - {DEBUG:MainThread} - Geordnete Ladepunkte [1]
2023-12-08 04:16:41,495 - {control.algorithm.additional_current:26} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2023-12-08 04:16:41,496 - {control.counter:169} - {DEBUG:MainThread} - Zähler 0: [48.23, 48.980000000000004, 48.46]A verbleibende Ströme, 33035.32W verbleibende Leistung
2023-12-08 04:16:41,497 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 14A
2023-12-08 04:16:41,499 - {control.counter:211} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: 0W
2023-12-08 04:16:41,500 - {control.counter:457} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf 0W
2023-12-08 04:16:41,501 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2023-12-08 04:16:41,502 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2023-12-08 04:16:41,505 - {control.chargelog:52} - {DEBUG:MainThread} - imported_since_mode_switch 885.25 counter 6927263.18
2023-12-08 04:16:41,508 - {control.process:111} - {INFO:MainThread} - LP1: set current 14 A, state CHARGING_ALLOWED
2023-12-08 04:16:41,517 - {modules.common.component_context:24} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:16:41,564 - {control.counter:186} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2023-12-08 04:16:41,799 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2023-12-08 04:16:41,800 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2023-12-08 04:16:45,816 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2023-12-08 04:16:45,817 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2023-12-08 04:16:50,829 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2023-12-08 04:16:50,830 - {root:74} - {INFO:MainThread} - # ***Start*** 
2023-12-08 04:16:50,905 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x715cf340>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x7155e4a8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x715c75f8>}
2023-12-08 04:16:50,906 - {modules.common.component_context:24} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2023-12-08 04:16:50,910 - {modules.common.component_context:24} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:16:50,921 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2023-12-08 04:16:50,924 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2023-12-08 04:16:50,949 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-9769, -3319, -3160, -3289], Scale 0
2023-12-08 04:16:50,965 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 750
2023-12-08 04:16:50,966 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"cloud":{"connected":false},"input:0":{"id":0,"state":false},"mqtt":{"connected":false},"switch:0":{"id":0, "source":"loopback", "output":false, "apower":0.0, "voltage":241.8, "current":0.000, "aenergy":{"total":1505.625,"by_minute":[0.000,0.000,0.000],"minute_ts":1702005410},"temperature":{"tC":28.8, "tF":83.9}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:16","unixtime":1702005411,"uptime":1364739,"ram_size":248996,"ram_free":145264,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"beta":{"version":"1.1.0-beta2"},"stable":{"version":"1.0.8"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-68},"ws":{"connected":false}}

2023-12-08 04:16:50,968 - {modules.common.simcount._simcount:38} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1702005400.784499, power=0, imported=0.0, exported=293628.5948715257)
2023-12-08 04:16:50,969 - {modules.common.simcount._calculate:13} - {DEBUG:device1} - time passed: 0.00282889, power1: 0, power2: 0
2023-12-08 04:16:50,969 - {modules.common.simcount._calculate:29} - {DEBUG:device1} - power did not change sign. Total energy: 0
2023-12-08 04:16:50,970 - {modules.common.simcount._simcount:47} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702005410.9684887, power=0, imported=0.0, exported=293628.5948715257)
2023-12-08 04:16:50,970 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:16:51,038 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [138, 131, 138], Scale -1
2023-12-08 04:16:51,088 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [24121, 24132, 23944, 0, 0, 0, 0], Scale -2
2023-12-08 04:16:51,128 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4997], Scale -2
2023-12-08 04:16:51,148 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [9929, 9940, 9919], Scale -2
2023-12-08 04:16:51,169 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4870433, 1797042, 2153375, 1456453, 6126757, 2531838, 1863067, 2268291], Scale 0
2023-12-08 04:16:51,169 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[13.8, 13.100000000000001, 13.8], powers=[3319.0, 3160.0, 3289.0], voltages=[241.21, 241.32, 239.44], power_factors=[0.9929000000000001, 0.9940000000000001, 0.9919], imported=6126757.0, exported=4870433.0, power=9769.0, frequency=49.97)
2023-12-08 04:16:51,172 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2023-12-08 04:16:51,188 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [0], Scale 0
2023-12-08 04:16:51,229 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7789710], Scale 0
2023-12-08 04:16:51,278 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [29, 31, 32], Scale -2
2023-12-08 04:16:51,298 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-5079], Scale -2
2023-12-08 04:16:51,298 - {modules.common.component_state:100} - {DEBUG:device0} - currents sign wrong [0.29, 0.31, 0.32]
2023-12-08 04:16:51,299 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.29, 0.31, 0.32], power=-0.0, exported=7789710.0, dc_power=50.79)
2023-12-08 04:16:51,301 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2023-12-08 04:16:51,349 - {modules.common.simcount._simcount:38} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1702005401.0491128, power=0.0, imported=143333.37604219164, exported=116864.5215890633)
2023-12-08 04:16:51,349 - {modules.common.simcount._calculate:13} - {DEBUG:device0} - time passed: 0.0028611, power1: 0, power2: 0
2023-12-08 04:16:51,350 - {modules.common.simcount._calculate:29} - {DEBUG:device0} - power did not change sign. Total energy: 0
2023-12-08 04:16:51,350 - {modules.common.simcount._simcount:47} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702005411.3490562, power=0.0, imported=143333.37604219164, exported=116864.5215890633)
2023-12-08 04:16:51,351 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=143333.37604219164, exported=116864.5215890633, power=0.0, soc=19.0)
2023-12-08 04:16:51,360 - {modules.common.component_context:24} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2023-12-08 04:16:51,361 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=143333.37604219164, exported=116864.5215890633, power=0.0, soc=19.0)
2023-12-08 04:16:51,393 - {modules.common.component_context:24} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:16:51,394 - {modules.common.component_context:24} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2023-12-08 04:16:51,395 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-0.0, exported=7816178.86, dc_power=None)
2023-12-08 04:16:51,395 - {modules.common.component_context:24} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2023-12-08 04:16:51,396 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-0.0, exported=7816178.86, dc_power=None)
2023-12-08 04:16:51,396 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:16:51,398 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:16:51,432 - {modules.common.component_context:24} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2023-12-08 04:16:51,433 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[13.8, 13.100000000000001, 13.8], powers=[3319.0, 3160.0, 3289.0], voltages=[241.21, 241.32, 239.44], power_factors=[0.9929000000000001, 0.9940000000000001, 0.9919], imported=6126757.0, exported=4870433.0, power=9769.0, frequency=49.97)
2023-12-08 04:16:51,591 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2023-12-08 04:16:51,608 - {control.bat_all:173} - {INFO:MainThread} - -50W verbleibende Speicher-Leistung
2023-12-08 04:16:51,623 - {control.counter:138} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [62.22, 62.980000000000004, 62.29]A
2023-12-08 04:16:51,628 - {control.counter:161} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 42647.45W
2023-12-08 04:16:51,649 - {control.chargepoint.chargepoint:699} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2023-12-08 04:16:51,650 - {control.chargepoint.chargepoint:682} - {DEBUG:MainThread} - Phasenzahl Lademodus: 3
2023-12-08 04:16:51,656 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 16.916117s, Dauer 1.380952380952381h, Termin heute verpasst: False
2023-12-08 04:16:51,661 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 90739.893017s, Dauer 0.18012422360248448h, Termin heute verpasst: False
2023-12-08 04:16:51,664 - {control.ev:762} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2023-12-08 04:16:51,677 - {control.chargepoint.chargepoint:898} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 14A, Lademodus scheduled_charging, Submodus: Chargemode.INSTANT_CHARGING, Phasen: 3, Priorität: False, max. Ist-Strom: 13.09
2023-12-08 04:16:51,678 - {control.chargepoint.chargepoint:277} - {INFO:MainThread} - LP 1: Zielladen mit 14A, um einen SoC von 95%  um 05:40 zu erreichen.
2023-12-08 04:16:51,704 - {modules.common.simcount._simcount:38} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1702005401.4217784, power=304.6800000000003, imported=2374413.075191766, exported=0)
2023-12-08 04:16:51,707 - {modules.common.simcount._calculate:13} - {DEBUG:MainThread} - time passed: 0.00285622, power1: 304.68, power2: 352.55
2023-12-08 04:16:51,708 - {modules.common.simcount._calculate:29} - {DEBUG:MainThread} - power did not change sign. Total energy: 0.938596
2023-12-08 04:16:51,710 - {modules.common.simcount._simcount:47} - {DEBUG:MainThread} - imported: 0.938596 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702005411.7041657, power=352.5499999999993, imported=2374414.013788068, exported=0)
2023-12-08 04:16:51,715 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=19, daily_exported=0.0, daily_imported=0.0, imported=143333.38, exported=116864.52, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2023-12-08 04:16:51,717 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=19, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=143333.38, exported=116864.52, power=0.0), set=Set(charging_power_left=-50, switch_on_soc_reached=False))
2023-12-08 04:16:51,720 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=641.11, daily_exported=0, power=9416.45, imported=6927287.11, exported=0))
2023-12-08 04:16:51,723 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 95%, 06:00 Uhr', imported_at_plan_start=6926377.93, imported_instant_charging=None, limit=None, phases=3, prio=False, required_current=14, required_currents=[14, 14, 14], 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=[13.08, 13.09, 13.02], daily_imported=641.11, daily_exported=0, evse_current=1400, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=6927287.11, phases_in_use=3, plug_state=True, power=9416.45, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Zielladen mit 14A, um einen SoC von 95%  um 05:40 zu erreichen.', voltages=[241.59, 239.68, 241.45]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=14, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', imported_at_mode_switch=6926377.93, imported_at_plugtime=6926377.93, imported_since_mode_switch=885.25, imported_since_plugged=885.25, range_charged=4.918055555555555, time_charged='0:05', timestamp_start_charging='12/08/2023, 04:11:30'), manual_lock=False, phases_to_use=3, plug_state_prev=True, plug_time='12/07/2023, 13:07:31', required_power=9660, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x75610dc0>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB Carport', type='internal_openwb', template=1, connected_phases=3, phase_1=2, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=1))
2023-12-08 04:16:51,724 - {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-12-08 04:16:51,729 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=1, max_current_multi_phases=16, max_current_single_phase=20, name='RFID, 20A, 11kW', rfid_enabling=True, valid_tags=['0003134583', '0003526747', '1655332554', '2585022212', '2585087748'])
2023-12-08 04:16:51,734 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[63, 63, 63], max_total_power=43000), get=Get(powers=[3319.0, 3160.0, 3289.0], currents=[13.8, 13.1, 13.8], voltages=[241.21, 241.32, 239.44], power_factors=[0.99, 0.99, 0.99], unbalanced_load=0, frequency=49.97, daily_exported=0.0, daily_imported=4693.0, imported=6126757.0, exported=4870433.0, fault_state=0, fault_str='Kein Fehler.', power=9769.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=42647.45, raw_currents_left=[62.22, 62.980000000000004, 62.29], surplus_power_left=0, state_str=''))
2023-12-08 04:16:51,735 - {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': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=352.5499999999993, invalid_home_consumption=0, daily_yield_home_consumption=5589.4256330971, imported_home_consumption=2374414.013788068, disengageable_smarthome_power=0))
2023-12-08 04:16:51,736 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2023-12-08 04:16:51,742 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Ladeprofil ***AUTO1***', disable_after_unplug=False, prio=False, load_default=True, time_charging=TimeCharging(active=True, plans={'0': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[True, True, True, True, False, False, True]), time=['22:00', '06:00'], name='Zeitladen 95%, So-Do 22:00-06:00 Uhr', current=16, limit=Limit(selected='soc', amount=1000, soc=95)), '1': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, True, True, False]), time=['22:00', '06:00'], name='Zeitladen 80%, Fr-Sa 22:00-06:00 Uhr', current=16, limit=Limit(selected='soc', amount=1000, soc=80))}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2023-12-08 04:16:51,744 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, time_charging=TimeCharging(active=True, plans={'2': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), time=['06:45', '07:00'], name='Klima 06:45-07:00 Uhr', current=6, limit=Limit(selected='none', amount=1000, soc=50)), '3': TimeChargingPlan(active=True, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, False, False, False]), time=['00:00', '23:55'], name='Immer 35%', current=10, limit=Limit(selected='soc', amount=1000, soc=35))}), chargemode=Chargemode(selected='scheduled_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={'0': ScheduledChargingPlan(active=False, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, True, False, False, False, False, False]), current=14, name='Zielladen 80%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '1': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), current=14, name='Zielladen 95%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=95), time='05:40'), '2': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once='2023-09-26', weekly=[True, False, False, True, False, True, True]), current=14, name='Zielladen 75%, 7:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=75), time='05:40')}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=80))))
2023-12-08 04:16:51,745 - {control.data:266} - {INFO:MainThread} - ev0
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=['0003134583'], get=Get(soc=0, soc_timestamp=None, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:16:51,747 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Tesla Model Y (2022)', 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=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212', '2585087748'], get=Get(soc=49.0, soc_timestamp='12/08/2023, 01:29:15', force_soc_update=False, range=220.74, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:16:51,748 - {control.data:266} - {INFO:MainThread} - ev2
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Cupra Born 58kW', 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=18000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=2, ev_template=2, name='***AUTO2***', tag_id=['1655332554'], get=Get(soc=72, soc_timestamp='12/08/2023, 04:16:05', force_soc_update=False, range=205, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:16:51,749 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40)
2023-12-08 04:16:51,750 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', 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=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40)
2023-12-08 04:16:51,752 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', 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=18000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40)
2023-12-08 04:16:51,753 - {control.data:245} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=3), pv_charging=PvCharging(bat_prio=True, charging_power_reserve=200, control_range=[-230, 230], feed_in_yield=15000, phase_switch_delay=15, phases_to_use=0, rundown_power=1000, rundown_soc=25, switch_off_delay=60, switch_off_soc=25, switch_off_threshold=50, switch_on_delay=30, switch_on_soc=50, switch_on_threshold=1400), scheduled_charging=ScheduledCharging(phases_to_use=0), time_charging=TimeCharging(phases_to_use=3), unbalanced_load_limit=20, unbalanced_load=True), control_interval=10, extern_display_mode='local', extern=False, external_buttons_hw=False, grid_protection_active=False, grid_protection_configured=True, grid_protection_random_stop=0, grid_protection_timestamp='', mqtt_bridge=False, price_kwh=0.3528, range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=True, r1_active=False, r2_active=False))
2023-12-08 04:16:51,754 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2023-12-08 04:16:51,754 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2023-12-08 04:16:51,755 - {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 0x70b68238>), led=Led(active=False), rfid=Rfid(active=True))
2023-12-08 04:16:51,756 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=0), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=293628.595, fault_state=0, fault_str='Kein Fehler.', power=0))
2023-12-08 04:16:51,757 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=9500), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=7816178.86, fault_state=0, fault_str='Kein Fehler.', power=-0.0))
2023-12-08 04:16:51,758 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=8109807.455, power=0.0))
2023-12-08 04:16:51,760 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2023-11-30 12:30:45 +0100 [285f5a5fb]', 'current_branch': 'Release', 'current_branch_commit': '2023-11-30 12:30:45 +0100 [285f5a5fb]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.2-Patch.1', 'datastore_version': 29, 'lastlivevaluesJson': {'timestamp': 1702005401, 'time': '04:16:41', 'grid': 9.708, 'house-power': 0.305, 'charging-all': 9.403, 'pv-all': -0.0, 'cp1-power': 9.403, 'ev1-soc': 49.0, 'ev2-soc': 72, 'bat-all-power': 0.0, 'bat-all-soc': 19}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2023-12-08 04:16:51,761 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2023-12-08 04:16:51,762 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2023-12-08 04:16:51,768 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2023-12-08 04:16:51,769 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2023-12-08 04:16:51,770 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2023-12-08 04:16:51,771 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2023-12-08 04:16:51,772 - {control.data:253} - {INFO:MainThread} - 

2023-12-08 04:16:51,774 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2023-12-08 04:16:51,775 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2023-12-08 04:16:51,784 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2023-12-08 04:16:51,785 - {control.counter:169} - {DEBUG:MainThread} - Zähler 0: [56.22, 56.980000000000004, 56.29]A verbleibende Ströme, 38507.45W verbleibende Leistung
2023-12-08 04:16:51,791 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2023-12-08 04:16:51,794 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2023-12-08 04:16:51,795 - {control.algorithm.filter_chargepoints:117} - {DEBUG:MainThread} - Geordnete Ladepunkte [1]
2023-12-08 04:16:51,798 - {control.algorithm.additional_current:26} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2023-12-08 04:16:51,800 - {control.counter:169} - {DEBUG:MainThread} - Zähler 0: [48.22, 48.980000000000004, 48.29]A verbleibende Ströme, 32987.45W verbleibende Leistung
2023-12-08 04:16:51,801 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 14A
2023-12-08 04:16:51,804 - {control.counter:211} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: 0W
2023-12-08 04:16:51,805 - {control.counter:457} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf 0W
2023-12-08 04:16:51,806 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2023-12-08 04:16:51,807 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2023-12-08 04:16:51,810 - {control.chargelog:52} - {DEBUG:MainThread} - imported_since_mode_switch 909.1800000006333 counter 6927287.11
2023-12-08 04:16:51,813 - {control.process:111} - {INFO:MainThread} - LP1: set current 14 A, state CHARGING_ALLOWED
2023-12-08 04:16:51,817 - {modules.common.component_context:24} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:16:51,841 - {control.counter:186} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2023-12-08 04:16:52,109 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2023-12-08 04:16:55,138 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2023-12-08 04:16:55,139 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2023-12-08 04:17:00,149 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2023-12-08 04:17:00,150 - {root:74} - {INFO:MainThread} - # ***Start*** 
2023-12-08 04:17:00,201 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x715cf340>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x7155e4a8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x715c75f8>}
2023-12-08 04:17:00,203 - {modules.common.component_context:24} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2023-12-08 04:17:00,204 - {modules.common.component_context:24} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:17:00,211 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2023-12-08 04:17:00,211 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2023-12-08 04:17:00,256 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 750
2023-12-08 04:17:00,258 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"cloud":{"connected":false},"input:0":{"id":0,"state":false},"mqtt":{"connected":false},"switch:0":{"id":0, "source":"loopback", "output":false, "apower":0.0, "voltage":241.6, "current":0.000, "aenergy":{"total":1505.625,"by_minute":[0.000,0.000,0.000],"minute_ts":1702005419},"temperature":{"tC":28.8, "tF":83.8}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:17","unixtime":1702005420,"uptime":1364748,"ram_size":248944,"ram_free":144684,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"beta":{"version":"1.1.0-beta2"},"stable":{"version":"1.0.8"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-68},"ws":{"connected":false}}

2023-12-08 04:17:00,261 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-9754, -3313, -3159, -3281], Scale 0
2023-12-08 04:17:00,262 - {modules.common.simcount._simcount:38} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1702005410.9684887, power=0, imported=0.0, exported=293628.5948715257)
2023-12-08 04:17:00,264 - {modules.common.simcount._calculate:13} - {DEBUG:device1} - time passed: 0.00258164, power1: 0, power2: 0
2023-12-08 04:17:00,265 - {modules.common.simcount._calculate:29} - {DEBUG:device1} - power did not change sign. Total energy: 0
2023-12-08 04:17:00,265 - {modules.common.simcount._simcount:47} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702005420.2623777, power=0, imported=0.0, exported=293628.5948715257)
2023-12-08 04:17:00,266 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:17:00,282 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [138, 131, 138], Scale -1
2023-12-08 04:17:00,297 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [24106, 24124, 23949, 0, 0, 0, 0], Scale -2
2023-12-08 04:17:00,338 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4999], Scale -2
2023-12-08 04:17:00,418 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [9929, 9940, 9890], Scale -2
2023-12-08 04:17:00,439 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4870433, 1797042, 2153375, 1456453, 6126768, 2531845, 1863074, 2268298], Scale 0
2023-12-08 04:17:00,440 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[13.8, 13.100000000000001, 13.8], powers=[3313.0, 3159.0, 3281.0], voltages=[241.06, 241.24, 239.49], power_factors=[0.9929000000000001, 0.9940000000000001, 0.9890000000000001], imported=6126768.0, exported=4870433.0, power=9754.0, frequency=49.99)
2023-12-08 04:17:00,441 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2023-12-08 04:17:00,458 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [0], Scale 0
2023-12-08 04:17:00,478 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7789710], Scale 0
2023-12-08 04:17:00,519 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [28, 30, 31], Scale -2
2023-12-08 04:17:00,539 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4537], Scale -2
2023-12-08 04:17:00,540 - {modules.common.component_state:100} - {DEBUG:device0} - currents sign wrong [0.28, 0.3, 0.31]
2023-12-08 04:17:00,540 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.28, 0.3, 0.31], power=-0.0, exported=7789710.0, dc_power=45.37)
2023-12-08 04:17:00,543 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2023-12-08 04:17:00,579 - {modules.common.simcount._simcount:38} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1702005411.3490562, power=0.0, imported=143333.37604219164, exported=116864.5215890633)
2023-12-08 04:17:00,580 - {modules.common.simcount._calculate:13} - {DEBUG:device0} - time passed: 0.00256398, power1: 0, power2: 0
2023-12-08 04:17:00,580 - {modules.common.simcount._calculate:29} - {DEBUG:device0} - power did not change sign. Total energy: 0
2023-12-08 04:17:00,580 - {modules.common.simcount._simcount:47} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702005420.5793946, power=0.0, imported=143333.37604219164, exported=116864.5215890633)
2023-12-08 04:17:00,581 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=143333.37604219164, exported=116864.5215890633, power=0.0, soc=19.0)
2023-12-08 04:17:00,587 - {modules.common.component_context:24} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2023-12-08 04:17:00,589 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=143333.37604219164, exported=116864.5215890633, power=0.0, soc=19.0)
2023-12-08 04:17:00,630 - {modules.common.component_context:24} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:17:00,634 - {modules.common.component_context:24} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2023-12-08 04:17:00,635 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-0.0, exported=7816178.86, dc_power=None)
2023-12-08 04:17:00,635 - {modules.common.component_context:24} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2023-12-08 04:17:00,636 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-0.0, exported=7816178.86, dc_power=None)
2023-12-08 04:17:00,636 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:17:00,638 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:17:00,677 - {modules.common.component_context:24} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2023-12-08 04:17:00,678 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[13.8, 13.100000000000001, 13.8], powers=[3313.0, 3159.0, 3281.0], voltages=[241.06, 241.24, 239.49], power_factors=[0.9929000000000001, 0.9940000000000001, 0.9890000000000001], imported=6126768.0, exported=4870433.0, power=9754.0, frequency=49.99)
2023-12-08 04:17:01,025 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2023-12-08 04:17:01,039 - {control.bat_all:173} - {INFO:MainThread} - -50W verbleibende Speicher-Leistung
2023-12-08 04:17:01,055 - {control.counter:138} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [62.25, 62.99, 62.26]A
2023-12-08 04:17:01,057 - {control.counter:161} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 42671.71W
2023-12-08 04:17:01,063 - {control.chargepoint.chargepoint:699} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2023-12-08 04:17:01,066 - {control.chargepoint.chargepoint:682} - {DEBUG:MainThread} - Phasenzahl Lademodus: 3
2023-12-08 04:17:01,070 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 7.501744s, Dauer 1.380952380952381h, Termin heute verpasst: False
2023-12-08 04:17:01,072 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 90730.481121s, Dauer 0.18012422360248448h, Termin heute verpasst: False
2023-12-08 04:17:01,075 - {control.ev:762} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2023-12-08 04:17:01,108 - {control.chargepoint.chargepoint:898} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 14A, Lademodus scheduled_charging, Submodus: Chargemode.INSTANT_CHARGING, Phasen: 3, Priorität: False, max. Ist-Strom: 13.09
2023-12-08 04:17:01,118 - {control.chargepoint.chargepoint:277} - {INFO:MainThread} - LP 1: Zielladen mit 14A, um einen SoC von 95%  um 05:40 zu erreichen.
2023-12-08 04:17:01,142 - {modules.common.simcount._simcount:38} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1702005411.7041657, power=352.5499999999993, imported=2374414.013788068, exported=0)
2023-12-08 04:17:01,144 - {modules.common.simcount._calculate:13} - {DEBUG:MainThread} - time passed: 0.00262165, power1: 352.55, power2: 328.29
2023-12-08 04:17:01,146 - {modules.common.simcount._calculate:29} - {DEBUG:MainThread} - power did not change sign. Total energy: 0.892462
2023-12-08 04:17:01,152 - {modules.common.simcount._simcount:47} - {DEBUG:MainThread} - imported: 0.892462 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702005421.1421087, power=328.2900000000009, imported=2374414.9062504433, exported=0)
2023-12-08 04:17:01,157 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=19, daily_exported=0.0, daily_imported=0.0, imported=143333.38, exported=116864.52, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2023-12-08 04:17:01,161 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=19, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=143333.38, exported=116864.52, power=0.0), set=Set(charging_power_left=-50, switch_on_soc_reached=False))
2023-12-08 04:17:01,165 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=641.11, daily_exported=0, power=9425.71, imported=6927315.92, exported=0))
2023-12-08 04:17:01,177 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 95%, 06:00 Uhr', imported_at_plan_start=6926377.93, imported_instant_charging=None, limit=None, phases=3, prio=False, required_current=14, required_currents=[14, 14, 14], 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=[13.09, 13.06, 13.05], daily_imported=641.11, daily_exported=0, evse_current=1400, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=6927315.92, phases_in_use=3, plug_state=True, power=9425.71, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Zielladen mit 14A, um einen SoC von 95%  um 05:40 zu erreichen.', voltages=[241.4, 239.71, 241.15]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=14, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', imported_at_mode_switch=6926377.93, imported_at_plugtime=6926377.93, imported_since_mode_switch=909.1800000006333, imported_since_plugged=909.1800000006333, range_charged=5.051000000003518, time_charged='0:05', timestamp_start_charging='12/08/2023, 04:11:30'), manual_lock=False, phases_to_use=3, plug_state_prev=True, plug_time='12/07/2023, 13:07:31', required_power=9660, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x715781c0>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB Carport', type='internal_openwb', template=1, connected_phases=3, phase_1=2, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=1))
2023-12-08 04:17:01,180 - {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-12-08 04:17:01,188 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=1, max_current_multi_phases=16, max_current_single_phase=20, name='RFID, 20A, 11kW', rfid_enabling=True, valid_tags=['0003134583', '0003526747', '1655332554', '2585022212', '2585087748'])
2023-12-08 04:17:01,190 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[63, 63, 63], max_total_power=43000), get=Get(powers=[3313.0, 3159.0, 3281.0], currents=[13.8, 13.1, 13.8], voltages=[241.06, 241.24, 239.49], power_factors=[0.99, 0.99, 0.99], unbalanced_load=0, frequency=49.99, daily_exported=0.0, daily_imported=4693.0, imported=6126768.0, exported=4870433.0, fault_state=0, fault_str='Kein Fehler.', power=9754.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=42671.71, raw_currents_left=[62.25, 62.99, 62.26], surplus_power_left=0, state_str=''))
2023-12-08 04:17:01,197 - {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': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=328.2900000000009, invalid_home_consumption=0, daily_yield_home_consumption=5589.4256330971, imported_home_consumption=2374414.9062504433, disengageable_smarthome_power=0))
2023-12-08 04:17:01,198 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2023-12-08 04:17:01,199 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Ladeprofil ***AUTO1***', disable_after_unplug=False, prio=False, load_default=True, time_charging=TimeCharging(active=True, plans={'0': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[True, True, True, True, False, False, True]), time=['22:00', '06:00'], name='Zeitladen 95%, So-Do 22:00-06:00 Uhr', current=16, limit=Limit(selected='soc', amount=1000, soc=95)), '1': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, True, True, False]), time=['22:00', '06:00'], name='Zeitladen 80%, Fr-Sa 22:00-06:00 Uhr', current=16, limit=Limit(selected='soc', amount=1000, soc=80))}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2023-12-08 04:17:01,202 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, time_charging=TimeCharging(active=True, plans={'2': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), time=['06:45', '07:00'], name='Klima 06:45-07:00 Uhr', current=6, limit=Limit(selected='none', amount=1000, soc=50)), '3': TimeChargingPlan(active=True, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, False, False, False]), time=['00:00', '23:55'], name='Immer 35%', current=10, limit=Limit(selected='soc', amount=1000, soc=35))}), chargemode=Chargemode(selected='scheduled_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={'0': ScheduledChargingPlan(active=False, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, True, False, False, False, False, False]), current=14, name='Zielladen 80%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '1': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), current=14, name='Zielladen 95%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=95), time='05:40'), '2': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once='2023-09-26', weekly=[True, False, False, True, False, True, True]), current=14, name='Zielladen 75%, 7:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=75), time='05:40')}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=80))))
2023-12-08 04:17:01,203 - {control.data:266} - {INFO:MainThread} - ev0
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=['0003134583'], get=Get(soc=0, soc_timestamp=None, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:17:01,206 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Tesla Model Y (2022)', 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=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212', '2585087748'], get=Get(soc=49.0, soc_timestamp='12/08/2023, 01:29:15', force_soc_update=False, range=220.74, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:17:01,207 - {control.data:266} - {INFO:MainThread} - ev2
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Cupra Born 58kW', 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=18000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=2, ev_template=2, name='***AUTO2***', tag_id=['1655332554'], get=Get(soc=72, soc_timestamp='12/08/2023, 04:16:05', force_soc_update=False, range=205, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:17:01,208 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40)
2023-12-08 04:17:01,210 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', 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=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40)
2023-12-08 04:17:01,211 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', 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=18000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40)
2023-12-08 04:17:01,213 - {control.data:245} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=3), pv_charging=PvCharging(bat_prio=True, charging_power_reserve=200, control_range=[-230, 230], feed_in_yield=15000, phase_switch_delay=15, phases_to_use=0, rundown_power=1000, rundown_soc=25, switch_off_delay=60, switch_off_soc=25, switch_off_threshold=50, switch_on_delay=30, switch_on_soc=50, switch_on_threshold=1400), scheduled_charging=ScheduledCharging(phases_to_use=0), time_charging=TimeCharging(phases_to_use=3), unbalanced_load_limit=20, unbalanced_load=True), control_interval=10, extern_display_mode='local', extern=False, external_buttons_hw=False, grid_protection_active=False, grid_protection_configured=True, grid_protection_random_stop=0, grid_protection_timestamp='', mqtt_bridge=False, price_kwh=0.3528, range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=True, r1_active=False, r2_active=False))
2023-12-08 04:17:01,214 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2023-12-08 04:17:01,215 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2023-12-08 04:17:01,216 - {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 0x70b9f088>), led=Led(active=False), rfid=Rfid(active=True))
2023-12-08 04:17:01,217 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=0), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=293628.595, fault_state=0, fault_str='Kein Fehler.', power=0))
2023-12-08 04:17:01,218 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=9500), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=7816178.86, fault_state=0, fault_str='Kein Fehler.', power=-0.0))
2023-12-08 04:17:01,221 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=8109807.455, power=0.0))
2023-12-08 04:17:01,222 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2023-11-30 12:30:45 +0100 [285f5a5fb]', 'current_branch': 'Release', 'current_branch_commit': '2023-11-30 12:30:45 +0100 [285f5a5fb]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.2-Patch.1', 'datastore_version': 29, 'lastlivevaluesJson': {'timestamp': 1702005411, 'time': '04:16:51', 'grid': 9.769, 'house-power': 0.353, 'charging-all': 9.416, 'pv-all': -0.0, 'cp1-power': 9.416, 'ev1-soc': 49.0, 'ev2-soc': 72, 'bat-all-power': 0.0, 'bat-all-soc': 19}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2023-12-08 04:17:01,223 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2023-12-08 04:17:01,226 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2023-12-08 04:17:01,227 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2023-12-08 04:17:01,228 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2023-12-08 04:17:01,229 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2023-12-08 04:17:01,231 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2023-12-08 04:17:01,232 - {control.data:253} - {INFO:MainThread} - 

2023-12-08 04:17:01,233 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2023-12-08 04:17:01,233 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2023-12-08 04:17:01,235 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2023-12-08 04:17:01,237 - {control.counter:169} - {DEBUG:MainThread} - Zähler 0: [56.25, 56.99, 56.26]A verbleibende Ströme, 38531.71W verbleibende Leistung
2023-12-08 04:17:01,238 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2023-12-08 04:17:01,241 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2023-12-08 04:17:01,243 - {control.algorithm.filter_chargepoints:117} - {DEBUG:MainThread} - Geordnete Ladepunkte [1]
2023-12-08 04:17:01,245 - {control.algorithm.additional_current:26} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2023-12-08 04:17:01,246 - {control.counter:169} - {DEBUG:MainThread} - Zähler 0: [48.25, 48.99, 48.26]A verbleibende Ströme, 33011.71W verbleibende Leistung
2023-12-08 04:17:01,247 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 14A
2023-12-08 04:17:01,249 - {control.counter:211} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: 0W
2023-12-08 04:17:01,250 - {control.counter:457} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf 0W
2023-12-08 04:17:01,251 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2023-12-08 04:17:01,252 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2023-12-08 04:17:01,254 - {control.chargelog:52} - {DEBUG:MainThread} - imported_since_mode_switch 937.9900000002235 counter 6927315.92
2023-12-08 04:17:01,258 - {control.process:111} - {INFO:MainThread} - LP1: set current 14 A, state CHARGING_ALLOWED
2023-12-08 04:17:01,261 - {modules.common.component_context:24} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:17:01,281 - {control.counter:186} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2023-12-08 04:17:01,548 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2023-12-08 04:17:01,550 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2023-12-08 04:17:05,561 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2023-12-08 04:17:05,562 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2023-12-08 04:17:10,573 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2023-12-08 04:17:10,573 - {root:74} - {INFO:MainThread} - # ***Start*** 
2023-12-08 04:17:10,611 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x715cf340>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x7155e4a8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x715c75f8>}
2023-12-08 04:17:10,612 - {modules.common.component_context:24} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2023-12-08 04:17:10,619 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2023-12-08 04:17:10,621 - {modules.common.component_context:24} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:17:10,623 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2023-12-08 04:17:10,663 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 750
2023-12-08 04:17:10,665 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"cloud":{"connected":false},"input:0":{"id":0,"state":false},"mqtt":{"connected":false},"switch:0":{"id":0, "source":"loopback", "output":false, "apower":0.0, "voltage":241.4, "current":0.000, "aenergy":{"total":1505.625,"by_minute":[0.000,0.000,0.000],"minute_ts":1702005430},"temperature":{"tC":28.9, "tF":84.0}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:17","unixtime":1702005431,"uptime":1364758,"ram_size":248932,"ram_free":144576,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"beta":{"version":"1.1.0-beta2"},"stable":{"version":"1.0.8"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-69},"ws":{"connected":false}}

2023-12-08 04:17:10,667 - {modules.common.simcount._simcount:38} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1702005420.2623777, power=0, imported=0.0, exported=293628.5948715257)
2023-12-08 04:17:10,667 - {modules.common.simcount._calculate:13} - {DEBUG:device1} - time passed: 0.00289017, power1: 0, power2: 0
2023-12-08 04:17:10,668 - {modules.common.simcount._calculate:29} - {DEBUG:device1} - power did not change sign. Total energy: 0
2023-12-08 04:17:10,668 - {modules.common.simcount._simcount:47} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702005430.6669743, power=0, imported=0.0, exported=293628.5948715257)
2023-12-08 04:17:10,670 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-9617, -3266, -3112, -3239], Scale 0
2023-12-08 04:17:10,672 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:17:10,691 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [138, 131, 136], Scale -1
2023-12-08 04:17:10,718 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [24089, 24121, 23945, 0, 0, 0, 0], Scale -2
2023-12-08 04:17:10,749 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4999], Scale -2
2023-12-08 04:17:10,768 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [9929, 9959, 9909], Scale -2
2023-12-08 04:17:10,813 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4870433, 1797042, 2153375, 1456453, 6126790, 2531852, 1863081, 2268305], Scale 0
2023-12-08 04:17:10,814 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[13.8, 13.100000000000001, 13.600000000000001], powers=[3266.0, 3112.0, 3239.0], voltages=[240.89000000000001, 241.21, 239.45000000000002], power_factors=[0.9929000000000001, 0.9959, 0.9909], imported=6126790.0, exported=4870433.0, power=9617.0, frequency=49.99)
2023-12-08 04:17:10,816 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2023-12-08 04:17:10,838 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [0], Scale 0
2023-12-08 04:17:10,869 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7789710], Scale 0
2023-12-08 04:17:10,891 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [30, 32, 34], Scale -2
2023-12-08 04:17:10,931 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4907], Scale -2
2023-12-08 04:17:10,931 - {modules.common.component_state:100} - {DEBUG:device0} - currents sign wrong [0.3, 0.32, 0.34]
2023-12-08 04:17:10,932 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.3, 0.32, 0.34], power=-0.0, exported=7789710.0, dc_power=49.07)
2023-12-08 04:17:10,934 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2023-12-08 04:17:11,030 - {modules.common.simcount._simcount:38} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1702005420.5793946, power=0.0, imported=143333.37604219164, exported=116864.5215890633)
2023-12-08 04:17:11,031 - {modules.common.simcount._calculate:13} - {DEBUG:device0} - time passed: 0.00290297, power1: 0, power2: 0
2023-12-08 04:17:11,031 - {modules.common.simcount._calculate:29} - {DEBUG:device0} - power did not change sign. Total energy: 0
2023-12-08 04:17:11,032 - {modules.common.simcount._simcount:47} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702005431.0300984, power=0.0, imported=143333.37604219164, exported=116864.5215890633)
2023-12-08 04:17:11,033 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=143333.37604219164, exported=116864.5215890633, power=0.0, soc=19.0)
2023-12-08 04:17:11,038 - {modules.common.component_context:24} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2023-12-08 04:17:11,040 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=143333.37604219164, exported=116864.5215890633, power=0.0, soc=19.0)
2023-12-08 04:17:11,098 - {modules.common.component_context:24} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:17:11,100 - {modules.common.component_context:24} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2023-12-08 04:17:11,101 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-0.0, exported=7816178.86, dc_power=None)
2023-12-08 04:17:11,102 - {modules.common.component_context:24} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2023-12-08 04:17:11,102 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-0.0, exported=7816178.86, dc_power=None)
2023-12-08 04:17:11,103 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:17:11,106 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:17:11,152 - {modules.common.component_context:24} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2023-12-08 04:17:11,153 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[13.8, 13.100000000000001, 13.600000000000001], powers=[3266.0, 3112.0, 3239.0], voltages=[240.89000000000001, 241.21, 239.45000000000002], power_factors=[0.9929000000000001, 0.9959, 0.9909], imported=6126790.0, exported=4870433.0, power=9617.0, frequency=49.99)
2023-12-08 04:17:11,335 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2023-12-08 04:17:11,345 - {control.bat_all:173} - {INFO:MainThread} - -50W verbleibende Speicher-Leistung
2023-12-08 04:17:11,356 - {control.counter:138} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [62.05, 62.79, 62.38]A
2023-12-08 04:17:11,357 - {control.counter:161} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 42694.0W
2023-12-08 04:17:11,360 - {control.chargepoint.chargepoint:699} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2023-12-08 04:17:11,361 - {control.chargepoint.chargepoint:682} - {DEBUG:MainThread} - Phasenzahl Lademodus: 3
2023-12-08 04:17:11,364 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -2.79223s, Dauer 1.380952380952381h, Termin heute verpasst: False
2023-12-08 04:17:11,365 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 90720.187468s, Dauer 0.18012422360248448h, Termin heute verpasst: False
2023-12-08 04:17:11,367 - {control.ev:762} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2023-12-08 04:17:11,370 - {control.chargepoint.chargepoint:898} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 14A, Lademodus scheduled_charging, Submodus: Chargemode.INSTANT_CHARGING, Phasen: 3, Priorität: False, max. Ist-Strom: 12.98
2023-12-08 04:17:11,371 - {control.chargepoint.chargepoint:277} - {INFO:MainThread} - LP 1: Zielladen mit 14A, um einen SoC von 95%  um 05:40 zu erreichen.
2023-12-08 04:17:11,390 - {modules.common.simcount._simcount:38} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1702005421.1421087, power=328.2900000000009, imported=2374414.9062504433, exported=0)
2023-12-08 04:17:11,393 - {modules.common.simcount._calculate:13} - {DEBUG:MainThread} - time passed: 0.00284659, power1: 328.29, power2: 306
2023-12-08 04:17:11,397 - {modules.common.simcount._calculate:29} - {DEBUG:MainThread} - power did not change sign. Total energy: 0.902782
2023-12-08 04:17:11,398 - {modules.common.simcount._simcount:47} - {DEBUG:MainThread} - imported: 0.902782 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702005431.3898404, power=306.0, imported=2374415.809032906, exported=0)
2023-12-08 04:17:11,408 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=19, daily_exported=0.0, daily_imported=0.0, imported=143333.38, exported=116864.52, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2023-12-08 04:17:11,413 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=19, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=143333.38, exported=116864.52, power=0.0), set=Set(charging_power_left=-50, switch_on_soc_reached=False))
2023-12-08 04:17:11,414 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=641.11, daily_exported=0, power=9311.0, imported=6927339.84, exported=0))
2023-12-08 04:17:11,416 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 95%, 06:00 Uhr', imported_at_plan_start=6926377.93, imported_instant_charging=None, limit=None, phases=3, prio=False, required_current=14, required_currents=[14, 14, 14], 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=[12.89, 12.98, 12.85], daily_imported=641.11, daily_exported=0, evse_current=1400, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=6927339.84, phases_in_use=3, plug_state=True, power=9311.0, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Zielladen mit 14A, um einen SoC von 95%  um 05:40 zu erreichen.', voltages=[241.27, 239.77, 240.93]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=14, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', imported_at_mode_switch=6926377.93, imported_at_plugtime=6926377.93, imported_since_mode_switch=937.9900000002235, imported_since_plugged=937.9900000002235, range_charged=5.211055555556798, time_charged='0:05', timestamp_start_charging='12/08/2023, 04:11:30'), manual_lock=False, phases_to_use=3, plug_state_prev=True, plug_time='12/07/2023, 13:07:31', required_power=9660, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x70bdac10>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB Carport', type='internal_openwb', template=1, connected_phases=3, phase_1=2, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=1))
2023-12-08 04:17:11,416 - {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-12-08 04:17:11,418 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=1, max_current_multi_phases=16, max_current_single_phase=20, name='RFID, 20A, 11kW', rfid_enabling=True, valid_tags=['0003134583', '0003526747', '1655332554', '2585022212', '2585087748'])
2023-12-08 04:17:11,420 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[63, 63, 63], max_total_power=43000), get=Get(powers=[3266.0, 3112.0, 3239.0], currents=[13.8, 13.1, 13.6], voltages=[240.89, 241.21, 239.45], power_factors=[0.99, 1.0, 0.99], unbalanced_load=0, frequency=49.99, daily_exported=0.0, daily_imported=4693.0, imported=6126790.0, exported=4870433.0, fault_state=0, fault_str='Kein Fehler.', power=9617.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=42694.0, raw_currents_left=[62.05, 62.79, 62.38], surplus_power_left=0, state_str=''))
2023-12-08 04:17:11,421 - {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': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=306.0, invalid_home_consumption=0, daily_yield_home_consumption=5589.4256330971, imported_home_consumption=2374415.809032906, disengageable_smarthome_power=0))
2023-12-08 04:17:11,422 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2023-12-08 04:17:11,424 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Ladeprofil ***AUTO1***', disable_after_unplug=False, prio=False, load_default=True, time_charging=TimeCharging(active=True, plans={'0': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[True, True, True, True, False, False, True]), time=['22:00', '06:00'], name='Zeitladen 95%, So-Do 22:00-06:00 Uhr', current=16, limit=Limit(selected='soc', amount=1000, soc=95)), '1': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, True, True, False]), time=['22:00', '06:00'], name='Zeitladen 80%, Fr-Sa 22:00-06:00 Uhr', current=16, limit=Limit(selected='soc', amount=1000, soc=80))}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2023-12-08 04:17:11,429 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, time_charging=TimeCharging(active=True, plans={'2': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), time=['06:45', '07:00'], name='Klima 06:45-07:00 Uhr', current=6, limit=Limit(selected='none', amount=1000, soc=50)), '3': TimeChargingPlan(active=True, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, False, False, False]), time=['00:00', '23:55'], name='Immer 35%', current=10, limit=Limit(selected='soc', amount=1000, soc=35))}), chargemode=Chargemode(selected='scheduled_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={'0': ScheduledChargingPlan(active=False, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, True, False, False, False, False, False]), current=14, name='Zielladen 80%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '1': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), current=14, name='Zielladen 95%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=95), time='05:40'), '2': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once='2023-09-26', weekly=[True, False, False, True, False, True, True]), current=14, name='Zielladen 75%, 7:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=75), time='05:40')}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=80))))
2023-12-08 04:17:11,431 - {control.data:266} - {INFO:MainThread} - ev0
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=['0003134583'], get=Get(soc=0, soc_timestamp=None, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:17:11,432 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Tesla Model Y (2022)', 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=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212', '2585087748'], get=Get(soc=49.0, soc_timestamp='12/08/2023, 01:29:15', force_soc_update=False, range=220.74, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:17:11,433 - {control.data:266} - {INFO:MainThread} - ev2
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Cupra Born 58kW', 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=18000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=2, ev_template=2, name='***AUTO2***', tag_id=['1655332554'], get=Get(soc=72, soc_timestamp='12/08/2023, 04:17:02', force_soc_update=False, range=205, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:17:11,434 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40)
2023-12-08 04:17:11,435 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', 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=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40)
2023-12-08 04:17:11,439 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', 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=18000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40)
2023-12-08 04:17:11,443 - {control.data:245} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=3), pv_charging=PvCharging(bat_prio=True, charging_power_reserve=200, control_range=[-230, 230], feed_in_yield=15000, phase_switch_delay=15, phases_to_use=0, rundown_power=1000, rundown_soc=25, switch_off_delay=60, switch_off_soc=25, switch_off_threshold=50, switch_on_delay=30, switch_on_soc=50, switch_on_threshold=1400), scheduled_charging=ScheduledCharging(phases_to_use=0), time_charging=TimeCharging(phases_to_use=3), unbalanced_load_limit=20, unbalanced_load=True), control_interval=10, extern_display_mode='local', extern=False, external_buttons_hw=False, grid_protection_active=False, grid_protection_configured=True, grid_protection_random_stop=0, grid_protection_timestamp='', mqtt_bridge=False, price_kwh=0.3528, range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=True, r1_active=False, r2_active=False))
2023-12-08 04:17:11,444 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2023-12-08 04:17:11,444 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2023-12-08 04:17:11,445 - {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 0x70bdabc8>), led=Led(active=False), rfid=Rfid(active=True))
2023-12-08 04:17:11,447 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=0), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=293628.595, fault_state=0, fault_str='Kein Fehler.', power=0))
2023-12-08 04:17:11,447 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=9500), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=7816178.86, fault_state=0, fault_str='Kein Fehler.', power=-0.0))
2023-12-08 04:17:11,448 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=8109807.455, power=0.0))
2023-12-08 04:17:11,450 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2023-11-30 12:30:45 +0100 [285f5a5fb]', 'current_branch': 'Release', 'current_branch_commit': '2023-11-30 12:30:45 +0100 [285f5a5fb]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.2-Patch.1', 'datastore_version': 29, 'lastlivevaluesJson': {'timestamp': 1702005421, 'time': '04:17:01', 'grid': 9.754, 'house-power': 0.328, 'charging-all': 9.426, 'pv-all': -0.0, 'cp1-power': 9.426, 'ev1-soc': 49.0, 'ev2-soc': 72, 'bat-all-power': 0.0, 'bat-all-soc': 19}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2023-12-08 04:17:11,451 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2023-12-08 04:17:11,453 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2023-12-08 04:17:11,454 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2023-12-08 04:17:11,456 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2023-12-08 04:17:11,457 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2023-12-08 04:17:11,460 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2023-12-08 04:17:11,461 - {control.data:253} - {INFO:MainThread} - 

2023-12-08 04:17:11,461 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2023-12-08 04:17:11,462 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2023-12-08 04:17:11,463 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2023-12-08 04:17:11,463 - {control.counter:169} - {DEBUG:MainThread} - Zähler 0: [56.05, 56.79, 56.38]A verbleibende Ströme, 38554.0W verbleibende Leistung
2023-12-08 04:17:11,464 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2023-12-08 04:17:11,466 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2023-12-08 04:17:11,467 - {control.algorithm.filter_chargepoints:117} - {DEBUG:MainThread} - Geordnete Ladepunkte [1]
2023-12-08 04:17:11,468 - {control.algorithm.additional_current:26} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2023-12-08 04:17:11,469 - {control.counter:169} - {DEBUG:MainThread} - Zähler 0: [48.05, 48.79, 48.38]A verbleibende Ströme, 33034.0W verbleibende Leistung
2023-12-08 04:17:11,470 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 14A
2023-12-08 04:17:11,473 - {control.counter:211} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: 0W
2023-12-08 04:17:11,474 - {control.counter:457} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf 0W
2023-12-08 04:17:11,475 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2023-12-08 04:17:11,477 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2023-12-08 04:17:11,479 - {control.chargelog:52} - {DEBUG:MainThread} - imported_since_mode_switch 961.910000000149 counter 6927339.84
2023-12-08 04:17:11,484 - {control.process:111} - {INFO:MainThread} - LP1: set current 14 A, state CHARGING_ALLOWED
2023-12-08 04:17:11,486 - {modules.common.component_context:24} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:17:11,519 - {control.counter:186} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2023-12-08 04:17:11,724 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2023-12-08 04:17:15,762 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2023-12-08 04:17:15,763 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2023-12-08 04:17:20,773 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2023-12-08 04:17:20,774 - {root:74} - {INFO:MainThread} - # ***Start*** 
2023-12-08 04:17:20,818 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x715cf340>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x7155e4a8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x715c75f8>}
2023-12-08 04:17:20,819 - {modules.common.component_context:24} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2023-12-08 04:17:20,821 - {modules.common.component_context:24} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:17:20,828 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2023-12-08 04:17:20,829 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2023-12-08 04:17:20,860 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-9646, -3302, -3109, -3235], Scale 0
2023-12-08 04:17:20,873 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 750
2023-12-08 04:17:20,875 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"cloud":{"connected":false},"input:0":{"id":0,"state":false},"mqtt":{"connected":false},"switch:0":{"id":0, "source":"loopback", "output":false, "apower":0.0, "voltage":241.2, "current":0.000, "aenergy":{"total":1505.625,"by_minute":[0.000,0.000,0.000],"minute_ts":1702005440},"temperature":{"tC":28.8, "tF":83.8}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:17","unixtime":1702005441,"uptime":1364769,"ram_size":248996,"ram_free":145264,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"beta":{"version":"1.1.0-beta2"},"stable":{"version":"1.0.8"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-68},"ws":{"connected":false}}

2023-12-08 04:17:20,877 - {modules.common.simcount._simcount:38} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1702005430.6669743, power=0, imported=0.0, exported=293628.5948715257)
2023-12-08 04:17:20,877 - {modules.common.simcount._calculate:13} - {DEBUG:device1} - time passed: 0.00283613, power1: 0, power2: 0
2023-12-08 04:17:20,878 - {modules.common.simcount._calculate:29} - {DEBUG:device1} - power did not change sign. Total energy: 0
2023-12-08 04:17:20,878 - {modules.common.simcount._simcount:47} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702005440.8770397, power=0, imported=0.0, exported=293628.5948715257)
2023-12-08 04:17:20,880 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:17:20,882 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [138, 129, 136], Scale -1
2023-12-08 04:17:20,924 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [24046, 24080, 23930, 0, 0, 0, 0], Scale -2
2023-12-08 04:17:20,939 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4999], Scale -2
2023-12-08 04:17:20,959 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [9890, 9929, 9919], Scale -2
2023-12-08 04:17:20,980 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4870433, 1797042, 2153375, 1456453, 6126833, 2531863, 1863091, 2268316], Scale 0
2023-12-08 04:17:20,980 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[13.8, 12.9, 13.600000000000001], powers=[3302.0, 3109.0, 3235.0], voltages=[240.46, 240.8, 239.3], power_factors=[0.9890000000000001, 0.9929000000000001, 0.9919], imported=6126833.0, exported=4870433.0, power=9646.0, frequency=49.99)
2023-12-08 04:17:20,982 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2023-12-08 04:17:20,998 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [0], Scale 0
2023-12-08 04:17:21,059 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7789710], Scale 0
2023-12-08 04:17:21,078 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [28, 30, 31], Scale -2
2023-12-08 04:17:21,100 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4719], Scale -2
2023-12-08 04:17:21,101 - {modules.common.component_state:100} - {DEBUG:device0} - currents sign wrong [0.28, 0.3, 0.31]
2023-12-08 04:17:21,102 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.28, 0.3, 0.31], power=-0.0, exported=7789710.0, dc_power=47.19)
2023-12-08 04:17:21,104 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2023-12-08 04:17:21,223 - {modules.common.simcount._simcount:38} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1702005431.0300984, power=0.0, imported=143333.37604219164, exported=116864.5215890633)
2023-12-08 04:17:21,224 - {modules.common.simcount._calculate:13} - {DEBUG:device0} - time passed: 0.00283161, power1: 0, power2: 0
2023-12-08 04:17:21,225 - {modules.common.simcount._calculate:29} - {DEBUG:device0} - power did not change sign. Total energy: 0
2023-12-08 04:17:21,225 - {modules.common.simcount._simcount:47} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702005441.2238827, power=0.0, imported=143333.37604219164, exported=116864.5215890633)
2023-12-08 04:17:21,227 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=143333.37604219164, exported=116864.5215890633, power=0.0, soc=19.0)
2023-12-08 04:17:21,239 - {modules.common.component_context:24} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2023-12-08 04:17:21,241 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=143333.37604219164, exported=116864.5215890633, power=0.0, soc=19.0)
2023-12-08 04:17:21,421 - {modules.common.component_context:24} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:17:21,423 - {modules.common.component_context:24} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2023-12-08 04:17:21,425 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-0.0, exported=7816178.86, dc_power=None)
2023-12-08 04:17:21,426 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-0.0, exported=7816178.86, dc_power=None)
2023-12-08 04:17:21,430 - {modules.common.component_context:24} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2023-12-08 04:17:21,435 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:17:21,439 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:17:21,555 - {modules.common.component_context:24} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2023-12-08 04:17:21,556 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[13.8, 12.9, 13.600000000000001], powers=[3302.0, 3109.0, 3235.0], voltages=[240.46, 240.8, 239.3], power_factors=[0.9890000000000001, 0.9929000000000001, 0.9919], imported=6126833.0, exported=4870433.0, power=9646.0, frequency=49.99)
2023-12-08 04:17:21,708 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2023-12-08 04:17:21,713 - {control.bat_all:173} - {INFO:MainThread} - -50W verbleibende Speicher-Leistung
2023-12-08 04:17:21,725 - {control.counter:138} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [62.09, 63.019999999999996, 62.4]A
2023-12-08 04:17:21,732 - {control.counter:161} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 42676.6W
2023-12-08 04:17:21,736 - {control.chargepoint.chargepoint:699} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2023-12-08 04:17:21,741 - {control.chargepoint.chargepoint:682} - {DEBUG:MainThread} - Phasenzahl Lademodus: 3
2023-12-08 04:17:21,745 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -13.173598s, Dauer 1.380952380952381h, Termin heute verpasst: False
2023-12-08 04:17:21,747 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 90709.805873s, Dauer 0.18012422360248448h, Termin heute verpasst: False
2023-12-08 04:17:21,748 - {control.ev:762} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2023-12-08 04:17:21,769 - {control.chargepoint.chargepoint:898} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 14A, Lademodus scheduled_charging, Submodus: Chargemode.INSTANT_CHARGING, Phasen: 3, Priorität: False, max. Ist-Strom: 13.0
2023-12-08 04:17:21,781 - {control.chargepoint.chargepoint:277} - {INFO:MainThread} - LP 1: Zielladen mit 14A, um einen SoC von 95%  um 05:40 zu erreichen.
2023-12-08 04:17:21,814 - {modules.common.simcount._simcount:38} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1702005431.3898404, power=306.0, imported=2374415.809032906, exported=0)
2023-12-08 04:17:21,822 - {modules.common.simcount._calculate:13} - {DEBUG:MainThread} - time passed: 0.00289574, power1: 306, power2: 323.4
2023-12-08 04:17:21,825 - {modules.common.simcount._calculate:29} - {DEBUG:MainThread} - power did not change sign. Total energy: 0.911291
2023-12-08 04:17:21,827 - {modules.common.simcount._simcount:47} - {DEBUG:MainThread} - imported: 0.911291 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702005441.8145206, power=323.39999999999964, imported=2374416.720323703, exported=0)
2023-12-08 04:17:21,833 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=19, daily_exported=0.0, daily_imported=0.0, imported=143333.38, exported=116864.52, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2023-12-08 04:17:21,837 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=19, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=143333.38, exported=116864.52, power=0.0), set=Set(charging_power_left=-50, switch_on_soc_reached=False))
2023-12-08 04:17:21,839 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=641.11, daily_exported=0, power=9322.6, imported=6927369.14, exported=0))
2023-12-08 04:17:21,842 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 95%, 06:00 Uhr', imported_at_plan_start=6926377.93, imported_instant_charging=None, limit=None, phases=3, prio=False, required_current=14, required_currents=[14, 14, 14], 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=[12.92, 13.0, 12.89], daily_imported=641.11, daily_exported=0, evse_current=1400, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=6927369.14, phases_in_use=3, plug_state=True, power=9322.6, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Zielladen mit 14A, um einen SoC von 95%  um 05:40 zu erreichen.', voltages=[241.05, 239.59, 240.77]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=14, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', imported_at_mode_switch=6926377.93, imported_at_plugtime=6926377.93, imported_since_mode_switch=961.910000000149, imported_since_plugged=961.910000000149, range_charged=5.343944444445272, time_charged='0:05', timestamp_start_charging='12/08/2023, 04:11:30'), manual_lock=False, phases_to_use=3, plug_state_prev=True, plug_time='12/07/2023, 13:07:31', required_power=9660, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x71578be0>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB Carport', type='internal_openwb', template=1, connected_phases=3, phase_1=2, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=1))
2023-12-08 04:17:21,847 - {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-12-08 04:17:21,851 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=1, max_current_multi_phases=16, max_current_single_phase=20, name='RFID, 20A, 11kW', rfid_enabling=True, valid_tags=['0003134583', '0003526747', '1655332554', '2585022212', '2585087748'])
2023-12-08 04:17:21,852 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[63, 63, 63], max_total_power=43000), get=Get(powers=[3302.0, 3109.0, 3235.0], currents=[13.8, 12.9, 13.6], voltages=[240.46, 240.8, 239.3], power_factors=[0.99, 0.99, 0.99], unbalanced_load=0, frequency=49.99, daily_exported=0.0, daily_imported=4693.0, imported=6126833.0, exported=4870433.0, fault_state=0, fault_str='Kein Fehler.', power=9646.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=42676.6, raw_currents_left=[62.09, 63.019999999999996, 62.4], surplus_power_left=0, state_str=''))
2023-12-08 04:17:21,853 - {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': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=323.39999999999964, invalid_home_consumption=0, daily_yield_home_consumption=5589.4256330971, imported_home_consumption=2374416.720323703, disengageable_smarthome_power=0))
2023-12-08 04:17:21,853 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2023-12-08 04:17:21,854 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Ladeprofil ***AUTO1***', disable_after_unplug=False, prio=False, load_default=True, time_charging=TimeCharging(active=True, plans={'0': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[True, True, True, True, False, False, True]), time=['22:00', '06:00'], name='Zeitladen 95%, So-Do 22:00-06:00 Uhr', current=16, limit=Limit(selected='soc', amount=1000, soc=95)), '1': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, True, True, False]), time=['22:00', '06:00'], name='Zeitladen 80%, Fr-Sa 22:00-06:00 Uhr', current=16, limit=Limit(selected='soc', amount=1000, soc=80))}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2023-12-08 04:17:21,855 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, time_charging=TimeCharging(active=True, plans={'2': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), time=['06:45', '07:00'], name='Klima 06:45-07:00 Uhr', current=6, limit=Limit(selected='none', amount=1000, soc=50)), '3': TimeChargingPlan(active=True, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, False, False, False]), time=['00:00', '23:55'], name='Immer 35%', current=10, limit=Limit(selected='soc', amount=1000, soc=35))}), chargemode=Chargemode(selected='scheduled_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={'0': ScheduledChargingPlan(active=False, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, True, False, False, False, False, False]), current=14, name='Zielladen 80%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '1': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), current=14, name='Zielladen 95%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=95), time='05:40'), '2': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once='2023-09-26', weekly=[True, False, False, True, False, True, True]), current=14, name='Zielladen 75%, 7:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=75), time='05:40')}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=80))))
2023-12-08 04:17:21,856 - {control.data:266} - {INFO:MainThread} - ev0
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=['0003134583'], get=Get(soc=0, soc_timestamp=None, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:17:21,856 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Tesla Model Y (2022)', 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=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212', '2585087748'], get=Get(soc=49.0, soc_timestamp='12/08/2023, 01:29:15', force_soc_update=False, range=220.74, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:17:21,857 - {control.data:266} - {INFO:MainThread} - ev2
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Cupra Born 58kW', 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=18000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=2, ev_template=2, name='***AUTO2***', tag_id=['1655332554'], get=Get(soc=72, soc_timestamp='12/08/2023, 04:17:02', force_soc_update=False, range=205, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:17:21,857 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40)
2023-12-08 04:17:21,857 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', 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=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40)
2023-12-08 04:17:21,858 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', 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=18000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40)
2023-12-08 04:17:21,858 - {control.data:245} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=3), pv_charging=PvCharging(bat_prio=True, charging_power_reserve=200, control_range=[-230, 230], feed_in_yield=15000, phase_switch_delay=15, phases_to_use=0, rundown_power=1000, rundown_soc=25, switch_off_delay=60, switch_off_soc=25, switch_off_threshold=50, switch_on_delay=30, switch_on_soc=50, switch_on_threshold=1400), scheduled_charging=ScheduledCharging(phases_to_use=0), time_charging=TimeCharging(phases_to_use=3), unbalanced_load_limit=20, unbalanced_load=True), control_interval=10, extern_display_mode='local', extern=False, external_buttons_hw=False, grid_protection_active=False, grid_protection_configured=True, grid_protection_random_stop=0, grid_protection_timestamp='', mqtt_bridge=False, price_kwh=0.3528, range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=True, r1_active=False, r2_active=False))
2023-12-08 04:17:21,859 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2023-12-08 04:17:21,859 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2023-12-08 04:17:21,860 - {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 0x70bf0658>), led=Led(active=False), rfid=Rfid(active=True))
2023-12-08 04:17:21,860 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=0), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=293628.595, fault_state=0, fault_str='Kein Fehler.', power=0))
2023-12-08 04:17:21,861 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=9500), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=7816178.86, fault_state=0, fault_str='Kein Fehler.', power=-0.0))
2023-12-08 04:17:21,861 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=8109807.455, power=0.0))
2023-12-08 04:17:21,862 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2023-11-30 12:30:45 +0100 [285f5a5fb]', 'current_branch': 'Release', 'current_branch_commit': '2023-11-30 12:30:45 +0100 [285f5a5fb]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.2-Patch.1', 'datastore_version': 29, 'lastlivevaluesJson': {'timestamp': 1702005431, 'time': '04:17:11', 'grid': 9.617, 'house-power': 0.306, 'charging-all': 9.311, 'pv-all': -0.0, 'cp1-power': 9.311, 'ev1-soc': 49.0, 'ev2-soc': 72, 'bat-all-power': 0.0, 'bat-all-soc': 19}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2023-12-08 04:17:21,862 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2023-12-08 04:17:21,862 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2023-12-08 04:17:21,863 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2023-12-08 04:17:21,863 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2023-12-08 04:17:21,864 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2023-12-08 04:17:21,864 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2023-12-08 04:17:21,864 - {control.data:253} - {INFO:MainThread} - 

2023-12-08 04:17:21,865 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2023-12-08 04:17:21,865 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2023-12-08 04:17:21,866 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2023-12-08 04:17:21,867 - {control.counter:169} - {DEBUG:MainThread} - Zähler 0: [56.09, 57.019999999999996, 56.4]A verbleibende Ströme, 38536.6W verbleibende Leistung
2023-12-08 04:17:21,868 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2023-12-08 04:17:21,870 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2023-12-08 04:17:21,871 - {control.algorithm.filter_chargepoints:117} - {DEBUG:MainThread} - Geordnete Ladepunkte [1]
2023-12-08 04:17:21,872 - {control.algorithm.additional_current:26} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2023-12-08 04:17:21,873 - {control.counter:169} - {DEBUG:MainThread} - Zähler 0: [48.09, 49.019999999999996, 48.4]A verbleibende Ströme, 33016.6W verbleibende Leistung
2023-12-08 04:17:21,873 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 14A
2023-12-08 04:17:21,875 - {control.counter:211} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: 0W
2023-12-08 04:17:21,875 - {control.counter:457} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf 0W
2023-12-08 04:17:21,876 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2023-12-08 04:17:21,876 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2023-12-08 04:17:21,878 - {control.chargelog:52} - {DEBUG:MainThread} - imported_since_mode_switch 991.2099999999627 counter 6927369.14
2023-12-08 04:17:21,886 - {control.process:111} - {INFO:MainThread} - LP1: set current 14 A, state CHARGING_ALLOWED
2023-12-08 04:17:21,915 - {modules.common.component_context:24} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:17:21,931 - {control.counter:186} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2023-12-08 04:17:22,153 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2023-12-08 04:17:22,155 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2023-12-08 04:17:25,166 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2023-12-08 04:17:25,167 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2023-12-08 04:17:30,177 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2023-12-08 04:17:30,178 - {root:74} - {INFO:MainThread} - # ***Start*** 
2023-12-08 04:17:30,252 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x715cf340>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x7155e4a8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x715c75f8>}
2023-12-08 04:17:30,253 - {modules.common.component_context:24} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2023-12-08 04:17:30,255 - {modules.common.component_context:24} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:17:30,267 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2023-12-08 04:17:30,269 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2023-12-08 04:17:30,297 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-9624, -3265, -3115, -3243], Scale 0
2023-12-08 04:17:30,312 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 750
2023-12-08 04:17:30,314 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"cloud":{"connected":false},"input:0":{"id":0,"state":false},"mqtt":{"connected":false},"switch:0":{"id":0, "source":"loopback", "output":false, "apower":0.0, "voltage":241.2, "current":0.000, "aenergy":{"total":1505.625,"by_minute":[0.000,0.000,0.000],"minute_ts":1702005449},"temperature":{"tC":28.8, "tF":83.9}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:17","unixtime":1702005450,"uptime":1364778,"ram_size":248996,"ram_free":145264,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"beta":{"version":"1.1.0-beta2"},"stable":{"version":"1.0.8"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-68},"ws":{"connected":false}}

2023-12-08 04:17:30,316 - {modules.common.simcount._simcount:38} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1702005440.8770397, power=0, imported=0.0, exported=293628.5948715257)
2023-12-08 04:17:30,317 - {modules.common.simcount._calculate:13} - {DEBUG:device1} - time passed: 0.002622, power1: 0, power2: 0
2023-12-08 04:17:30,317 - {modules.common.simcount._calculate:29} - {DEBUG:device1} - power did not change sign. Total energy: 0
2023-12-08 04:17:30,317 - {modules.common.simcount._simcount:47} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702005450.3162427, power=0, imported=0.0, exported=293628.5948715257)
2023-12-08 04:17:30,318 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:17:30,323 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [136, 129, 136], Scale -1
2023-12-08 04:17:30,346 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [24044, 24078, 23948, 0, 0, 0, 0], Scale -2
2023-12-08 04:17:30,388 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4999], Scale -2
2023-12-08 04:17:30,417 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [9940, 9950, 9919], Scale -2
2023-12-08 04:17:30,472 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4870433, 1797042, 2153375, 1456453, 6126854, 2531870, 1863098, 2268323], Scale 0
2023-12-08 04:17:30,479 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[13.600000000000001, 12.9, 13.600000000000001], powers=[3265.0, 3115.0, 3243.0], voltages=[240.44, 240.78, 239.48000000000002], power_factors=[0.9940000000000001, 0.995, 0.9919], imported=6126854.0, exported=4870433.0, power=9624.0, frequency=49.99)
2023-12-08 04:17:30,496 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2023-12-08 04:17:30,578 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [0], Scale 0
2023-12-08 04:17:30,612 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7789710], Scale 0
2023-12-08 04:17:30,637 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [30, 31, 33], Scale -2
2023-12-08 04:17:30,657 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4967], Scale -2
2023-12-08 04:17:30,658 - {modules.common.component_state:100} - {DEBUG:device0} - currents sign wrong [0.3, 0.31, 0.33]
2023-12-08 04:17:30,658 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.3, 0.31, 0.33], power=-0.0, exported=7789710.0, dc_power=49.67)
2023-12-08 04:17:30,660 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2023-12-08 04:17:30,697 - {modules.common.simcount._simcount:38} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1702005441.2238827, power=0.0, imported=143333.37604219164, exported=116864.5215890633)
2023-12-08 04:17:30,698 - {modules.common.simcount._calculate:13} - {DEBUG:device0} - time passed: 0.00263163, power1: 0, power2: 0
2023-12-08 04:17:30,698 - {modules.common.simcount._calculate:29} - {DEBUG:device0} - power did not change sign. Total energy: 0
2023-12-08 04:17:30,699 - {modules.common.simcount._simcount:47} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702005450.6977558, power=0.0, imported=143333.37604219164, exported=116864.5215890633)
2023-12-08 04:17:30,700 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=143333.37604219164, exported=116864.5215890633, power=0.0, soc=19.0)
2023-12-08 04:17:30,706 - {modules.common.component_context:24} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2023-12-08 04:17:30,707 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=143333.37604219164, exported=116864.5215890633, power=0.0, soc=19.0)
2023-12-08 04:17:30,741 - {modules.common.component_context:24} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:17:30,742 - {modules.common.component_context:24} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2023-12-08 04:17:30,742 - {modules.common.component_context:24} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2023-12-08 04:17:30,743 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-0.0, exported=7816178.86, dc_power=None)
2023-12-08 04:17:30,743 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:17:30,744 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-0.0, exported=7816178.86, dc_power=None)
2023-12-08 04:17:30,744 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:17:30,780 - {modules.common.component_context:24} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2023-12-08 04:17:30,780 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[13.600000000000001, 12.9, 13.600000000000001], powers=[3265.0, 3115.0, 3243.0], voltages=[240.44, 240.78, 239.48000000000002], power_factors=[0.9940000000000001, 0.995, 0.9919], imported=6126854.0, exported=4870433.0, power=9624.0, frequency=49.99)
2023-12-08 04:17:30,919 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2023-12-08 04:17:30,921 - {control.bat_all:173} - {INFO:MainThread} - -50W verbleibende Speicher-Leistung
2023-12-08 04:17:30,923 - {control.counter:138} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [62.26, 63.01, 62.370000000000005]A
2023-12-08 04:17:30,924 - {control.counter:161} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 42675.42W
2023-12-08 04:17:30,926 - {control.chargepoint.chargepoint:699} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2023-12-08 04:17:30,927 - {control.chargepoint.chargepoint:682} - {DEBUG:MainThread} - Phasenzahl Lademodus: 3
2023-12-08 04:17:30,929 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -22.357571s, Dauer 1.380952380952381h, Termin heute verpasst: False
2023-12-08 04:17:30,930 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 90700.62253s, Dauer 0.18012422360248448h, Termin heute verpasst: False
2023-12-08 04:17:30,931 - {control.ev:762} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2023-12-08 04:17:30,935 - {control.chargepoint.chargepoint:898} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 14A, Lademodus scheduled_charging, Submodus: Chargemode.INSTANT_CHARGING, Phasen: 3, Priorität: False, max. Ist-Strom: 12.97
2023-12-08 04:17:30,935 - {control.chargepoint.chargepoint:277} - {INFO:MainThread} - LP 1: Zielladen mit 14A, um einen SoC von 95%  um 05:40 zu erreichen.
2023-12-08 04:17:30,942 - {modules.common.simcount._simcount:38} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1702005441.8145206, power=323.39999999999964, imported=2374416.720323703, exported=0)
2023-12-08 04:17:30,943 - {modules.common.simcount._calculate:13} - {DEBUG:MainThread} - time passed: 0.00253548, power1: 323.4, power2: 324.58
2023-12-08 04:17:30,945 - {modules.common.simcount._calculate:29} - {DEBUG:MainThread} - power did not change sign. Total energy: 0.82147
2023-12-08 04:17:30,951 - {modules.common.simcount._simcount:47} - {DEBUG:MainThread} - imported: 0.82147 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702005450.942242, power=324.5799999999999, imported=2374417.541793266, exported=0)
2023-12-08 04:17:30,964 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=19, daily_exported=0.0, daily_imported=0.0, imported=143333.38, exported=116864.52, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2023-12-08 04:17:30,965 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=19, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=143333.38, exported=116864.52, power=0.0), set=Set(charging_power_left=-50, switch_on_soc_reached=False))
2023-12-08 04:17:30,967 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=641.11, daily_exported=0, power=9299.42, imported=6927393.07, exported=0))
2023-12-08 04:17:30,969 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 95%, 06:00 Uhr', imported_at_plan_start=6926377.93, imported_instant_charging=None, limit=None, phases=3, prio=False, required_current=14, required_currents=[14, 14, 14], 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=[12.91, 12.97, 12.86], daily_imported=641.11, daily_exported=0, evse_current=1400, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=6927393.07, phases_in_use=3, plug_state=True, power=9299.42, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Zielladen mit 14A, um einen SoC von 95%  um 05:40 zu erreichen.', voltages=[241.08, 239.87, 240.78]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=14, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', imported_at_mode_switch=6926377.93, imported_at_plugtime=6926377.93, imported_since_mode_switch=991.2099999999627, imported_since_plugged=991.2099999999627, range_charged=5.506722222222015, time_charged='0:05', timestamp_start_charging='12/08/2023, 04:11:30'), manual_lock=False, phases_to_use=3, plug_state_prev=True, plug_time='12/07/2023, 13:07:31', required_power=9660, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x715781d8>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB Carport', type='internal_openwb', template=1, connected_phases=3, phase_1=2, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=1))
2023-12-08 04:17:30,972 - {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-12-08 04:17:30,973 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=1, max_current_multi_phases=16, max_current_single_phase=20, name='RFID, 20A, 11kW', rfid_enabling=True, valid_tags=['0003134583', '0003526747', '1655332554', '2585022212', '2585087748'])
2023-12-08 04:17:30,975 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[63, 63, 63], max_total_power=43000), get=Get(powers=[3265.0, 3115.0, 3243.0], currents=[13.6, 12.9, 13.6], voltages=[240.44, 240.78, 239.48], power_factors=[0.99, 0.99, 0.99], unbalanced_load=0, frequency=49.99, daily_exported=0.0, daily_imported=4693.0, imported=6126854.0, exported=4870433.0, fault_state=0, fault_str='Kein Fehler.', power=9624.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=42675.42, raw_currents_left=[62.26, 63.01, 62.370000000000005], surplus_power_left=0, state_str=''))
2023-12-08 04:17:30,977 - {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': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=324.5799999999999, invalid_home_consumption=0, daily_yield_home_consumption=5589.4256330971, imported_home_consumption=2374417.541793266, disengageable_smarthome_power=0))
2023-12-08 04:17:30,979 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2023-12-08 04:17:30,981 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Ladeprofil ***AUTO1***', disable_after_unplug=False, prio=False, load_default=True, time_charging=TimeCharging(active=True, plans={'0': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[True, True, True, True, False, False, True]), time=['22:00', '06:00'], name='Zeitladen 95%, So-Do 22:00-06:00 Uhr', current=16, limit=Limit(selected='soc', amount=1000, soc=95)), '1': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, True, True, False]), time=['22:00', '06:00'], name='Zeitladen 80%, Fr-Sa 22:00-06:00 Uhr', current=16, limit=Limit(selected='soc', amount=1000, soc=80))}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2023-12-08 04:17:30,982 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, time_charging=TimeCharging(active=True, plans={'2': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), time=['06:45', '07:00'], name='Klima 06:45-07:00 Uhr', current=6, limit=Limit(selected='none', amount=1000, soc=50)), '3': TimeChargingPlan(active=True, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, False, False, False]), time=['00:00', '23:55'], name='Immer 35%', current=10, limit=Limit(selected='soc', amount=1000, soc=35))}), chargemode=Chargemode(selected='scheduled_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={'0': ScheduledChargingPlan(active=False, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, True, False, False, False, False, False]), current=14, name='Zielladen 80%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '1': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), current=14, name='Zielladen 95%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=95), time='05:40'), '2': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once='2023-09-26', weekly=[True, False, False, True, False, True, True]), current=14, name='Zielladen 75%, 7:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=75), time='05:40')}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=80))))
2023-12-08 04:17:30,983 - {control.data:266} - {INFO:MainThread} - ev0
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=['0003134583'], get=Get(soc=0, soc_timestamp=None, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:17:30,985 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Tesla Model Y (2022)', 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=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212', '2585087748'], get=Get(soc=49.0, soc_timestamp='12/08/2023, 01:29:15', force_soc_update=False, range=220.74, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:17:30,986 - {control.data:266} - {INFO:MainThread} - ev2
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Cupra Born 58kW', 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=18000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=2, ev_template=2, name='***AUTO2***', tag_id=['1655332554'], get=Get(soc=72, soc_timestamp='12/08/2023, 04:17:02', force_soc_update=False, range=205, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:17:30,987 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40)
2023-12-08 04:17:30,987 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', 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=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40)
2023-12-08 04:17:30,988 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', 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=18000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40)
2023-12-08 04:17:30,988 - {control.data:245} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=3), pv_charging=PvCharging(bat_prio=True, charging_power_reserve=200, control_range=[-230, 230], feed_in_yield=15000, phase_switch_delay=15, phases_to_use=0, rundown_power=1000, rundown_soc=25, switch_off_delay=60, switch_off_soc=25, switch_off_threshold=50, switch_on_delay=30, switch_on_soc=50, switch_on_threshold=1400), scheduled_charging=ScheduledCharging(phases_to_use=0), time_charging=TimeCharging(phases_to_use=3), unbalanced_load_limit=20, unbalanced_load=True), control_interval=10, extern_display_mode='local', extern=False, external_buttons_hw=False, grid_protection_active=False, grid_protection_configured=True, grid_protection_random_stop=0, grid_protection_timestamp='', mqtt_bridge=False, price_kwh=0.3528, range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=True, r1_active=False, r2_active=False))
2023-12-08 04:17:30,992 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2023-12-08 04:17:30,993 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2023-12-08 04:17:30,994 - {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 0x7158be38>), led=Led(active=False), rfid=Rfid(active=True))
2023-12-08 04:17:30,995 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=0), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=293628.595, fault_state=0, fault_str='Kein Fehler.', power=0))
2023-12-08 04:17:30,997 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=9500), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=7816178.86, fault_state=0, fault_str='Kein Fehler.', power=-0.0))
2023-12-08 04:17:30,998 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=8109807.455, power=0.0))
2023-12-08 04:17:31,000 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2023-11-30 12:30:45 +0100 [285f5a5fb]', 'current_branch': 'Release', 'current_branch_commit': '2023-11-30 12:30:45 +0100 [285f5a5fb]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.2-Patch.1', 'datastore_version': 29, 'lastlivevaluesJson': {'timestamp': 1702005441, 'time': '04:17:21', 'grid': 9.646, 'house-power': 0.323, 'charging-all': 9.323, 'pv-all': -0.0, 'cp1-power': 9.323, 'ev1-soc': 49.0, 'ev2-soc': 72, 'bat-all-power': 0.0, 'bat-all-soc': 19}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2023-12-08 04:17:31,005 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2023-12-08 04:17:31,008 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2023-12-08 04:17:31,009 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2023-12-08 04:17:31,012 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2023-12-08 04:17:31,014 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2023-12-08 04:17:31,015 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2023-12-08 04:17:31,021 - {control.data:253} - {INFO:MainThread} - 

2023-12-08 04:17:31,022 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2023-12-08 04:17:31,024 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2023-12-08 04:17:31,025 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2023-12-08 04:17:31,026 - {control.counter:169} - {DEBUG:MainThread} - Zähler 0: [56.26, 57.01, 56.370000000000005]A verbleibende Ströme, 38535.42W verbleibende Leistung
2023-12-08 04:17:31,027 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2023-12-08 04:17:31,033 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2023-12-08 04:17:31,035 - {control.algorithm.filter_chargepoints:117} - {DEBUG:MainThread} - Geordnete Ladepunkte [1]
2023-12-08 04:17:31,036 - {control.algorithm.additional_current:26} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2023-12-08 04:17:31,037 - {control.counter:169} - {DEBUG:MainThread} - Zähler 0: [48.26, 49.01, 48.370000000000005]A verbleibende Ströme, 33015.42W verbleibende Leistung
2023-12-08 04:17:31,039 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 14A
2023-12-08 04:17:31,041 - {control.counter:211} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: 0W
2023-12-08 04:17:31,045 - {control.counter:457} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf 0W
2023-12-08 04:17:31,049 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2023-12-08 04:17:31,050 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2023-12-08 04:17:31,053 - {control.chargelog:52} - {DEBUG:MainThread} - imported_since_mode_switch 1015.140000000596 counter 6927393.07
2023-12-08 04:17:31,056 - {control.process:111} - {INFO:MainThread} - LP1: set current 14 A, state CHARGING_ALLOWED
2023-12-08 04:17:31,058 - {modules.common.component_context:24} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:17:31,090 - {control.counter:186} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2023-12-08 04:17:31,318 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2023-12-08 04:17:35,365 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2023-12-08 04:17:35,366 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2023-12-08 04:17:40,376 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2023-12-08 04:17:40,377 - {root:74} - {INFO:MainThread} - # ***Start*** 
2023-12-08 04:17:40,418 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x715cf340>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x7155e4a8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x715c75f8>}
2023-12-08 04:17:40,419 - {modules.common.component_context:24} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2023-12-08 04:17:40,421 - {modules.common.component_context:24} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:17:40,427 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2023-12-08 04:17:40,430 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2023-12-08 04:17:40,471 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 750
2023-12-08 04:17:40,473 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"cloud":{"connected":false},"input:0":{"id":0,"state":false},"mqtt":{"connected":false},"switch:0":{"id":0, "source":"loopback", "output":false, "apower":0.0, "voltage":241.1, "current":0.000, "aenergy":{"total":1505.625,"by_minute":[0.000,0.000,0.000],"minute_ts":1702005459},"temperature":{"tC":28.7, "tF":83.7}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:17","unixtime":1702005461,"uptime":1364788,"ram_size":248996,"ram_free":145264,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"beta":{"version":"1.1.0-beta2"},"stable":{"version":"1.0.8"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-70},"ws":{"connected":false}}

2023-12-08 04:17:40,475 - {modules.common.simcount._simcount:38} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1702005450.3162427, power=0, imported=0.0, exported=293628.5948715257)
2023-12-08 04:17:40,475 - {modules.common.simcount._calculate:13} - {DEBUG:device1} - time passed: 0.00282186, power1: 0, power2: 0
2023-12-08 04:17:40,476 - {modules.common.simcount._calculate:29} - {DEBUG:device1} - power did not change sign. Total energy: 0
2023-12-08 04:17:40,476 - {modules.common.simcount._simcount:47} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702005460.4749472, power=0, imported=0.0, exported=293628.5948715257)
2023-12-08 04:17:40,477 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:17:40,502 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-9601, -3266, -3113, -3220], Scale 0
2023-12-08 04:17:40,528 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [136, 129, 136], Scale -1
2023-12-08 04:17:40,547 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [24055, 24081, 23960, 0, 0, 0, 0], Scale -2
2023-12-08 04:17:40,627 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4997], Scale -2
2023-12-08 04:17:40,647 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [9929, 9940, 9919], Scale -2
2023-12-08 04:17:40,680 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4870433, 1797042, 2153375, 1456453, 6126875, 2531878, 1863105, 2268330], Scale 0
2023-12-08 04:17:40,680 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[13.600000000000001, 12.9, 13.600000000000001], powers=[3266.0, 3113.0, 3220.0], voltages=[240.55, 240.81, 239.6], power_factors=[0.9929000000000001, 0.9940000000000001, 0.9919], imported=6126875.0, exported=4870433.0, power=9601.0, frequency=49.97)
2023-12-08 04:17:40,682 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2023-12-08 04:17:40,705 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [0], Scale 0
2023-12-08 04:17:40,728 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7789710], Scale 0
2023-12-08 04:17:40,748 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [27, 31, 32], Scale -2
2023-12-08 04:17:40,779 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4379], Scale -2
2023-12-08 04:17:40,780 - {modules.common.component_state:100} - {DEBUG:device0} - currents sign wrong [0.27, 0.31, 0.32]
2023-12-08 04:17:40,780 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.27, 0.31, 0.32], power=-0.0, exported=7789710.0, dc_power=43.79)
2023-12-08 04:17:40,782 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2023-12-08 04:17:40,851 - {modules.common.simcount._simcount:38} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1702005450.6977558, power=0.0, imported=143333.37604219164, exported=116864.5215890633)
2023-12-08 04:17:40,852 - {modules.common.simcount._calculate:13} - {DEBUG:device0} - time passed: 0.00282054, power1: 0, power2: 0
2023-12-08 04:17:40,853 - {modules.common.simcount._calculate:29} - {DEBUG:device0} - power did not change sign. Total energy: 0
2023-12-08 04:17:40,853 - {modules.common.simcount._simcount:47} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702005460.8516867, power=0.0, imported=143333.37604219164, exported=116864.5215890633)
2023-12-08 04:17:40,854 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=143333.37604219164, exported=116864.5215890633, power=0.0, soc=19.0)
2023-12-08 04:17:40,867 - {modules.common.component_context:24} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2023-12-08 04:17:40,868 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=143333.37604219164, exported=116864.5215890633, power=0.0, soc=19.0)
2023-12-08 04:17:40,912 - {modules.common.component_context:24} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:17:40,913 - {modules.common.component_context:24} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2023-12-08 04:17:40,914 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-0.0, exported=7816178.86, dc_power=None)
2023-12-08 04:17:40,915 - {modules.common.component_context:24} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2023-12-08 04:17:40,915 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-0.0, exported=7816178.86, dc_power=None)
2023-12-08 04:17:40,916 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:17:40,918 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:17:40,964 - {modules.common.component_context:24} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2023-12-08 04:17:40,965 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[13.600000000000001, 12.9, 13.600000000000001], powers=[3266.0, 3113.0, 3220.0], voltages=[240.55, 240.81, 239.6], power_factors=[0.9929000000000001, 0.9940000000000001, 0.9919], imported=6126875.0, exported=4870433.0, power=9601.0, frequency=49.97)
2023-12-08 04:17:41,140 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2023-12-08 04:17:41,143 - {control.bat_all:173} - {INFO:MainThread} - -50W verbleibende Speicher-Leistung
2023-12-08 04:17:41,145 - {control.counter:138} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [62.269999999999996, 63.01, 62.33]A
2023-12-08 04:17:41,146 - {control.counter:161} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 42703.19W
2023-12-08 04:17:41,150 - {control.chargepoint.chargepoint:699} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2023-12-08 04:17:41,157 - {control.chargepoint.chargepoint:682} - {DEBUG:MainThread} - Phasenzahl Lademodus: 3
2023-12-08 04:17:41,159 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -32.587148s, Dauer 1.380952380952381h, Termin heute verpasst: False
2023-12-08 04:17:41,160 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 90690.392709s, Dauer 0.18012422360248448h, Termin heute verpasst: False
2023-12-08 04:17:41,163 - {control.ev:762} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2023-12-08 04:17:41,178 - {control.chargepoint.chargepoint:898} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 14A, Lademodus scheduled_charging, Submodus: Chargemode.INSTANT_CHARGING, Phasen: 3, Priorität: False, max. Ist-Strom: 12.93
2023-12-08 04:17:41,179 - {control.chargepoint.chargepoint:277} - {INFO:MainThread} - LP 1: Zielladen mit 14A, um einen SoC von 95%  um 05:40 zu erreichen.
2023-12-08 04:17:41,200 - {modules.common.simcount._simcount:38} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1702005450.942242, power=324.5799999999999, imported=2374417.541793266, exported=0)
2023-12-08 04:17:41,203 - {modules.common.simcount._calculate:13} - {DEBUG:MainThread} - time passed: 0.00284961, power1: 324.58, power2: 296.81
2023-12-08 04:17:41,203 - {modules.common.simcount._calculate:29} - {DEBUG:MainThread} - power did not change sign. Total energy: 0.885361
2023-12-08 04:17:41,205 - {modules.common.simcount._simcount:47} - {DEBUG:MainThread} - imported: 0.885361 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702005461.2008514, power=296.8099999999995, imported=2374418.427154013, exported=0)
2023-12-08 04:17:41,214 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=19, daily_exported=0.0, daily_imported=0.0, imported=143333.38, exported=116864.52, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2023-12-08 04:17:41,224 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=19, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=143333.38, exported=116864.52, power=0.0), set=Set(charging_power_left=-50, switch_on_soc_reached=False))
2023-12-08 04:17:41,225 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=641.11, daily_exported=0, power=9304.19, imported=6927416.99, exported=0))
2023-12-08 04:17:41,227 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 95%, 06:00 Uhr', imported_at_plan_start=6926377.93, imported_instant_charging=None, limit=None, phases=3, prio=False, required_current=14, required_currents=[14, 14, 14], 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=[12.91, 12.93, 12.87], daily_imported=641.11, daily_exported=0, evse_current=1400, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=6927416.99, phases_in_use=3, plug_state=True, power=9304.19, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Zielladen mit 14A, um einen SoC von 95%  um 05:40 zu erreichen.', voltages=[240.98, 239.81, 240.83]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=14, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', imported_at_mode_switch=6926377.93, imported_at_plugtime=6926377.93, imported_since_mode_switch=1015.140000000596, imported_since_plugged=1015.140000000596, range_charged=5.639666666669978, time_charged='0:06', timestamp_start_charging='12/08/2023, 04:11:30'), manual_lock=False, phases_to_use=3, plug_state_prev=True, plug_time='12/07/2023, 13:07:31', required_power=9660, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x70b9fad8>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB Carport', type='internal_openwb', template=1, connected_phases=3, phase_1=2, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=1))
2023-12-08 04:17:41,227 - {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-12-08 04:17:41,229 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=1, max_current_multi_phases=16, max_current_single_phase=20, name='RFID, 20A, 11kW', rfid_enabling=True, valid_tags=['0003134583', '0003526747', '1655332554', '2585022212', '2585087748'])
2023-12-08 04:17:41,230 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[63, 63, 63], max_total_power=43000), get=Get(powers=[3266.0, 3113.0, 3220.0], currents=[13.6, 12.9, 13.6], voltages=[240.55, 240.81, 239.6], power_factors=[0.99, 0.99, 0.99], unbalanced_load=0, frequency=49.97, daily_exported=0.0, daily_imported=4693.0, imported=6126875.0, exported=4870433.0, fault_state=0, fault_str='Kein Fehler.', power=9601.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=42703.19, raw_currents_left=[62.269999999999996, 63.01, 62.33], surplus_power_left=0, state_str=''))
2023-12-08 04:17:41,231 - {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': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=296.8099999999995, invalid_home_consumption=0, daily_yield_home_consumption=5589.4256330971, imported_home_consumption=2374418.427154013, disengageable_smarthome_power=0))
2023-12-08 04:17:41,232 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2023-12-08 04:17:41,233 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Ladeprofil ***AUTO1***', disable_after_unplug=False, prio=False, load_default=True, time_charging=TimeCharging(active=True, plans={'0': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[True, True, True, True, False, False, True]), time=['22:00', '06:00'], name='Zeitladen 95%, So-Do 22:00-06:00 Uhr', current=16, limit=Limit(selected='soc', amount=1000, soc=95)), '1': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, True, True, False]), time=['22:00', '06:00'], name='Zeitladen 80%, Fr-Sa 22:00-06:00 Uhr', current=16, limit=Limit(selected='soc', amount=1000, soc=80))}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2023-12-08 04:17:41,234 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, time_charging=TimeCharging(active=True, plans={'2': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), time=['06:45', '07:00'], name='Klima 06:45-07:00 Uhr', current=6, limit=Limit(selected='none', amount=1000, soc=50)), '3': TimeChargingPlan(active=True, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, False, False, False]), time=['00:00', '23:55'], name='Immer 35%', current=10, limit=Limit(selected='soc', amount=1000, soc=35))}), chargemode=Chargemode(selected='scheduled_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={'0': ScheduledChargingPlan(active=False, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, True, False, False, False, False, False]), current=14, name='Zielladen 80%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '1': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), current=14, name='Zielladen 95%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=95), time='05:40'), '2': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once='2023-09-26', weekly=[True, False, False, True, False, True, True]), current=14, name='Zielladen 75%, 7:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=75), time='05:40')}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=80))))
2023-12-08 04:17:41,236 - {control.data:266} - {INFO:MainThread} - ev0
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=['0003134583'], get=Get(soc=0, soc_timestamp=None, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:17:41,238 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Tesla Model Y (2022)', 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=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212', '2585087748'], get=Get(soc=49.0, soc_timestamp='12/08/2023, 01:29:15', force_soc_update=False, range=220.74, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:17:41,243 - {control.data:266} - {INFO:MainThread} - ev2
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Cupra Born 58kW', 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=18000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=2, ev_template=2, name='***AUTO2***', tag_id=['1655332554'], get=Get(soc=72, soc_timestamp='12/08/2023, 04:17:02', force_soc_update=False, range=205, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:17:41,244 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40)
2023-12-08 04:17:41,244 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', 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=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40)
2023-12-08 04:17:41,246 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', 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=18000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40)
2023-12-08 04:17:41,247 - {control.data:245} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=3), pv_charging=PvCharging(bat_prio=True, charging_power_reserve=200, control_range=[-230, 230], feed_in_yield=15000, phase_switch_delay=15, phases_to_use=0, rundown_power=1000, rundown_soc=25, switch_off_delay=60, switch_off_soc=25, switch_off_threshold=50, switch_on_delay=30, switch_on_soc=50, switch_on_threshold=1400), scheduled_charging=ScheduledCharging(phases_to_use=0), time_charging=TimeCharging(phases_to_use=3), unbalanced_load_limit=20, unbalanced_load=True), control_interval=10, extern_display_mode='local', extern=False, external_buttons_hw=False, grid_protection_active=False, grid_protection_configured=True, grid_protection_random_stop=0, grid_protection_timestamp='', mqtt_bridge=False, price_kwh=0.3528, range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=True, r1_active=False, r2_active=False))
2023-12-08 04:17:41,250 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2023-12-08 04:17:41,251 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2023-12-08 04:17:41,253 - {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 0x715cff10>), led=Led(active=False), rfid=Rfid(active=True))
2023-12-08 04:17:41,253 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=0), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=293628.595, fault_state=0, fault_str='Kein Fehler.', power=0))
2023-12-08 04:17:41,254 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=9500), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=7816178.86, fault_state=0, fault_str='Kein Fehler.', power=-0.0))
2023-12-08 04:17:41,255 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=8109807.455, power=0.0))
2023-12-08 04:17:41,258 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2023-11-30 12:30:45 +0100 [285f5a5fb]', 'current_branch': 'Release', 'current_branch_commit': '2023-11-30 12:30:45 +0100 [285f5a5fb]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.2-Patch.1', 'datastore_version': 29, 'lastlivevaluesJson': {'timestamp': 1702005451, 'time': '04:17:31', 'grid': 9.624, 'house-power': 0.325, 'charging-all': 9.299, 'pv-all': -0.0, 'cp1-power': 9.299, 'ev1-soc': 49.0, 'ev2-soc': 72, 'bat-all-power': 0.0, 'bat-all-soc': 19}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2023-12-08 04:17:41,260 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2023-12-08 04:17:41,261 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2023-12-08 04:17:41,262 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2023-12-08 04:17:41,265 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2023-12-08 04:17:41,267 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2023-12-08 04:17:41,268 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2023-12-08 04:17:41,269 - {control.data:253} - {INFO:MainThread} - 

2023-12-08 04:17:41,271 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2023-12-08 04:17:41,273 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2023-12-08 04:17:41,275 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2023-12-08 04:17:41,277 - {control.counter:169} - {DEBUG:MainThread} - Zähler 0: [56.269999999999996, 57.01, 56.33]A verbleibende Ströme, 38563.19W verbleibende Leistung
2023-12-08 04:17:41,278 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2023-12-08 04:17:41,283 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2023-12-08 04:17:41,285 - {control.algorithm.filter_chargepoints:117} - {DEBUG:MainThread} - Geordnete Ladepunkte [1]
2023-12-08 04:17:41,286 - {control.algorithm.additional_current:26} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2023-12-08 04:17:41,288 - {control.counter:169} - {DEBUG:MainThread} - Zähler 0: [48.269999999999996, 49.01, 48.33]A verbleibende Ströme, 33043.19W verbleibende Leistung
2023-12-08 04:17:41,289 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 14A
2023-12-08 04:17:41,296 - {control.counter:211} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: 0W
2023-12-08 04:17:41,297 - {control.counter:457} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf 0W
2023-12-08 04:17:41,298 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2023-12-08 04:17:41,300 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2023-12-08 04:17:41,301 - {control.chargelog:52} - {DEBUG:MainThread} - imported_since_mode_switch 1039.0600000005215 counter 6927416.99
2023-12-08 04:17:41,303 - {control.process:111} - {INFO:MainThread} - LP1: set current 14 A, state CHARGING_ALLOWED
2023-12-08 04:17:41,305 - {modules.common.component_context:24} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:17:41,324 - {control.counter:186} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2023-12-08 04:17:41,699 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2023-12-08 04:17:41,701 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2023-12-08 04:17:45,710 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2023-12-08 04:17:50,724 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2023-12-08 04:17:50,727 - {root:74} - {INFO:MainThread} - # ***Start*** 
2023-12-08 04:17:50,781 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x715cf340>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x7155e4a8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x715c75f8>}
2023-12-08 04:17:50,788 - {modules.common.component_context:24} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2023-12-08 04:17:50,794 - {modules.common.component_context:24} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:17:50,813 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2023-12-08 04:17:50,821 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2023-12-08 04:17:50,862 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 750
2023-12-08 04:17:50,865 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"cloud":{"connected":false},"input:0":{"id":0,"state":false},"mqtt":{"connected":false},"switch:0":{"id":0, "source":"loopback", "output":false, "apower":0.0, "voltage":241.1, "current":0.000, "aenergy":{"total":1505.625,"by_minute":[0.000,0.000,0.000],"minute_ts":1702005470},"temperature":{"tC":28.8, "tF":83.9}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:17","unixtime":1702005471,"uptime":1364799,"ram_size":248996,"ram_free":145260,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"beta":{"version":"1.1.0-beta2"},"stable":{"version":"1.0.8"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-69},"ws":{"connected":false}}

2023-12-08 04:17:50,867 - {modules.common.simcount._simcount:38} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1702005460.4749472, power=0, imported=0.0, exported=293628.5948715257)
2023-12-08 04:17:50,869 - {modules.common.simcount._calculate:13} - {DEBUG:device1} - time passed: 0.00288685, power1: 0, power2: 0
2023-12-08 04:17:50,871 - {modules.common.simcount._calculate:29} - {DEBUG:device1} - power did not change sign. Total energy: 0
2023-12-08 04:17:50,875 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-9643, -3266, -3112, -3264], Scale 0
2023-12-08 04:17:50,875 - {modules.common.simcount._simcount:47} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702005470.867595, power=0, imported=0.0, exported=293628.5948715257)
2023-12-08 04:17:50,880 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:17:50,910 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [136, 130, 137], Scale -1
2023-12-08 04:17:50,949 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [24061, 24071, 23921, 0, 0, 0, 0], Scale -2
2023-12-08 04:17:50,968 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4997], Scale -2
2023-12-08 04:17:50,988 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [9919, 9940, 9909], Scale -2
2023-12-08 04:17:51,018 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4870433, 1797042, 2153375, 1456453, 6126918, 2531892, 1863119, 2268345], Scale 0
2023-12-08 04:17:51,019 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[13.600000000000001, 13.0, 13.700000000000001], powers=[3266.0, 3112.0, 3264.0], voltages=[240.61, 240.71, 239.21], power_factors=[0.9919, 0.9940000000000001, 0.9909], imported=6126918.0, exported=4870433.0, power=9643.0, frequency=49.97)
2023-12-08 04:17:51,021 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2023-12-08 04:17:51,037 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [0], Scale 0
2023-12-08 04:17:51,078 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7789710], Scale 0
2023-12-08 04:17:51,122 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [28, 31, 34], Scale -2
2023-12-08 04:17:51,149 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4269], Scale -2
2023-12-08 04:17:51,150 - {modules.common.component_state:100} - {DEBUG:device0} - currents sign wrong [0.28, 0.31, 0.34]
2023-12-08 04:17:51,150 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.28, 0.31, 0.34], power=-0.0, exported=7789710.0, dc_power=42.69)
2023-12-08 04:17:51,151 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2023-12-08 04:17:51,188 - {modules.common.simcount._simcount:38} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1702005460.8516867, power=0.0, imported=143333.37604219164, exported=116864.5215890633)
2023-12-08 04:17:51,189 - {modules.common.simcount._calculate:13} - {DEBUG:device0} - time passed: 0.0028713, power1: 0, power2: 0
2023-12-08 04:17:51,189 - {modules.common.simcount._calculate:29} - {DEBUG:device0} - power did not change sign. Total energy: 0
2023-12-08 04:17:51,190 - {modules.common.simcount._simcount:47} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702005471.1883671, power=0.0, imported=143333.37604219164, exported=116864.5215890633)
2023-12-08 04:17:51,191 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=143333.37604219164, exported=116864.5215890633, power=0.0, soc=19.0)
2023-12-08 04:17:51,196 - {modules.common.component_context:24} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2023-12-08 04:17:51,197 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=143333.37604219164, exported=116864.5215890633, power=0.0, soc=19.0)
2023-12-08 04:17:51,262 - {modules.common.component_context:24} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:17:51,263 - {modules.common.component_context:24} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2023-12-08 04:17:51,264 - {modules.common.component_context:24} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2023-12-08 04:17:51,264 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-0.0, exported=7816178.86, dc_power=None)
2023-12-08 04:17:51,265 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:17:51,266 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-0.0, exported=7816178.86, dc_power=None)
2023-12-08 04:17:51,266 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:17:51,307 - {modules.common.component_context:24} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2023-12-08 04:17:51,307 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[13.600000000000001, 13.0, 13.700000000000001], powers=[3266.0, 3112.0, 3264.0], voltages=[240.61, 240.71, 239.21], power_factors=[0.9919, 0.9940000000000001, 0.9909], imported=6126918.0, exported=4870433.0, power=9643.0, frequency=49.97)
2023-12-08 04:17:51,459 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2023-12-08 04:17:51,461 - {control.bat_all:173} - {INFO:MainThread} - -50W verbleibende Speicher-Leistung
2023-12-08 04:17:51,464 - {control.counter:138} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [62.26, 62.92, 62.29]A
2023-12-08 04:17:51,465 - {control.counter:161} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 42649.97W
2023-12-08 04:17:51,467 - {control.chargepoint.chargepoint:699} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2023-12-08 04:17:51,468 - {control.chargepoint.chargepoint:682} - {DEBUG:MainThread} - Phasenzahl Lademodus: 3
2023-12-08 04:17:51,470 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -42.898593s, Dauer 1.380952380952381h, Termin heute verpasst: False
2023-12-08 04:17:51,472 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 90680.081227s, Dauer 0.18012422360248448h, Termin heute verpasst: False
2023-12-08 04:17:51,472 - {control.ev:762} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2023-12-08 04:17:51,477 - {control.chargepoint.chargepoint:898} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 14A, Lademodus scheduled_charging, Submodus: Chargemode.INSTANT_CHARGING, Phasen: 3, Priorität: False, max. Ist-Strom: 12.99
2023-12-08 04:17:51,482 - {control.chargepoint.chargepoint:277} - {INFO:MainThread} - LP 1: Zielladen mit 14A, um einen SoC von 95%  um 05:40 zu erreichen.
2023-12-08 04:17:51,504 - {modules.common.simcount._simcount:38} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1702005461.2008514, power=296.8099999999995, imported=2374418.427154013, exported=0)
2023-12-08 04:17:51,506 - {modules.common.simcount._calculate:13} - {DEBUG:MainThread} - time passed: 0.0028621, power1: 296.81, power2: 350.03
2023-12-08 04:17:51,507 - {modules.common.simcount._calculate:29} - {DEBUG:MainThread} - power did not change sign. Total energy: 0.925659
2023-12-08 04:17:51,510 - {modules.common.simcount._simcount:47} - {DEBUG:MainThread} - imported: 0.925659 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702005471.504397, power=350.03000000000065, imported=2374419.35281309, exported=0)
2023-12-08 04:17:51,513 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=19, daily_exported=0.0, daily_imported=0.0, imported=143333.38, exported=116864.52, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2023-12-08 04:17:51,517 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=19, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=143333.38, exported=116864.52, power=0.0), set=Set(charging_power_left=-50, switch_on_soc_reached=False))
2023-12-08 04:17:51,519 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=641.11, daily_exported=0, power=9292.97, imported=6927444.82, exported=0))
2023-12-08 04:17:51,528 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 95%, 06:00 Uhr', imported_at_plan_start=6926377.93, imported_instant_charging=None, limit=None, phases=3, prio=False, required_current=14, required_currents=[14, 14, 14], 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=[12.92, 12.99, 12.86], daily_imported=641.11, daily_exported=0, evse_current=1400, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=6927444.82, phases_in_use=3, plug_state=True, power=9292.97, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Zielladen mit 14A, um einen SoC von 95%  um 05:40 zu erreichen.', voltages=[241.06, 239.53, 240.94]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=14, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', imported_at_mode_switch=6926377.93, imported_at_plugtime=6926377.93, imported_since_mode_switch=1039.0600000005215, imported_since_plugged=1039.0600000005215, range_charged=5.772555555558453, time_charged='0:06', timestamp_start_charging='12/08/2023, 04:11:30'), manual_lock=False, phases_to_use=3, plug_state_prev=True, plug_time='12/07/2023, 13:07:31', required_power=9660, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x70bb3208>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB Carport', type='internal_openwb', template=1, connected_phases=3, phase_1=2, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=1))
2023-12-08 04:17:51,530 - {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-12-08 04:17:51,531 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=1, max_current_multi_phases=16, max_current_single_phase=20, name='RFID, 20A, 11kW', rfid_enabling=True, valid_tags=['0003134583', '0003526747', '1655332554', '2585022212', '2585087748'])
2023-12-08 04:17:51,533 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[63, 63, 63], max_total_power=43000), get=Get(powers=[3266.0, 3112.0, 3264.0], currents=[13.6, 13.0, 13.7], voltages=[240.61, 240.71, 239.21], power_factors=[0.99, 0.99, 0.99], unbalanced_load=0, frequency=49.97, daily_exported=0.0, daily_imported=4693.0, imported=6126918.0, exported=4870433.0, fault_state=0, fault_str='Kein Fehler.', power=9643.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=42649.97, raw_currents_left=[62.26, 62.92, 62.29], surplus_power_left=0, state_str=''))
2023-12-08 04:17:51,535 - {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': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=350.03000000000065, invalid_home_consumption=0, daily_yield_home_consumption=5589.4256330971, imported_home_consumption=2374419.35281309, disengageable_smarthome_power=0))
2023-12-08 04:17:51,537 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2023-12-08 04:17:51,539 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Ladeprofil ***AUTO1***', disable_after_unplug=False, prio=False, load_default=True, time_charging=TimeCharging(active=True, plans={'0': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[True, True, True, True, False, False, True]), time=['22:00', '06:00'], name='Zeitladen 95%, So-Do 22:00-06:00 Uhr', current=16, limit=Limit(selected='soc', amount=1000, soc=95)), '1': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, True, True, False]), time=['22:00', '06:00'], name='Zeitladen 80%, Fr-Sa 22:00-06:00 Uhr', current=16, limit=Limit(selected='soc', amount=1000, soc=80))}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2023-12-08 04:17:51,542 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, time_charging=TimeCharging(active=True, plans={'2': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), time=['06:45', '07:00'], name='Klima 06:45-07:00 Uhr', current=6, limit=Limit(selected='none', amount=1000, soc=50)), '3': TimeChargingPlan(active=True, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, False, False, False]), time=['00:00', '23:55'], name='Immer 35%', current=10, limit=Limit(selected='soc', amount=1000, soc=35))}), chargemode=Chargemode(selected='scheduled_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={'0': ScheduledChargingPlan(active=False, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, True, False, False, False, False, False]), current=14, name='Zielladen 80%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '1': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), current=14, name='Zielladen 95%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=95), time='05:40'), '2': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once='2023-09-26', weekly=[True, False, False, True, False, True, True]), current=14, name='Zielladen 75%, 7:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=75), time='05:40')}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=80))))
2023-12-08 04:17:51,544 - {control.data:266} - {INFO:MainThread} - ev0
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=['0003134583'], get=Get(soc=0, soc_timestamp=None, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:17:51,545 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Tesla Model Y (2022)', 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=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212', '2585087748'], get=Get(soc=49.0, soc_timestamp='12/08/2023, 01:29:15', force_soc_update=False, range=220.74, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:17:51,546 - {control.data:266} - {INFO:MainThread} - ev2
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Cupra Born 58kW', 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=18000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=2, ev_template=2, name='***AUTO2***', tag_id=['1655332554'], get=Get(soc=72, soc_timestamp='12/08/2023, 04:17:02', force_soc_update=False, range=205, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:17:51,549 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40)
2023-12-08 04:17:51,551 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', 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=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40)
2023-12-08 04:17:51,552 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', 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=18000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40)
2023-12-08 04:17:51,553 - {control.data:245} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=3), pv_charging=PvCharging(bat_prio=True, charging_power_reserve=200, control_range=[-230, 230], feed_in_yield=15000, phase_switch_delay=15, phases_to_use=0, rundown_power=1000, rundown_soc=25, switch_off_delay=60, switch_off_soc=25, switch_off_threshold=50, switch_on_delay=30, switch_on_soc=50, switch_on_threshold=1400), scheduled_charging=ScheduledCharging(phases_to_use=0), time_charging=TimeCharging(phases_to_use=3), unbalanced_load_limit=20, unbalanced_load=True), control_interval=10, extern_display_mode='local', extern=False, external_buttons_hw=False, grid_protection_active=False, grid_protection_configured=True, grid_protection_random_stop=0, grid_protection_timestamp='', mqtt_bridge=False, price_kwh=0.3528, range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=True, r1_active=False, r2_active=False))
2023-12-08 04:17:51,555 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2023-12-08 04:17:51,557 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2023-12-08 04:17:51,559 - {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 0x70bb3c88>), led=Led(active=False), rfid=Rfid(active=True))
2023-12-08 04:17:51,560 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=0), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=293628.595, fault_state=0, fault_str='Kein Fehler.', power=0))
2023-12-08 04:17:51,562 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=9500), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=7816178.86, fault_state=0, fault_str='Kein Fehler.', power=-0.0))
2023-12-08 04:17:51,563 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=8109807.455, power=0.0))
2023-12-08 04:17:51,564 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2023-11-30 12:30:45 +0100 [285f5a5fb]', 'current_branch': 'Release', 'current_branch_commit': '2023-11-30 12:30:45 +0100 [285f5a5fb]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.2-Patch.1', 'datastore_version': 29, 'lastlivevaluesJson': {'timestamp': 1702005461, 'time': '04:17:41', 'grid': 9.601, 'house-power': 0.297, 'charging-all': 9.304, 'pv-all': -0.0, 'cp1-power': 9.304, 'ev1-soc': 49.0, 'ev2-soc': 72, 'bat-all-power': 0.0, 'bat-all-soc': 19}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2023-12-08 04:17:51,566 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2023-12-08 04:17:51,567 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2023-12-08 04:17:51,568 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2023-12-08 04:17:51,569 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2023-12-08 04:17:51,570 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2023-12-08 04:17:51,572 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2023-12-08 04:17:51,573 - {control.data:253} - {INFO:MainThread} - 

2023-12-08 04:17:51,574 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2023-12-08 04:17:51,575 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2023-12-08 04:17:51,577 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2023-12-08 04:17:51,579 - {control.counter:169} - {DEBUG:MainThread} - Zähler 0: [56.26, 56.92, 56.29]A verbleibende Ströme, 38509.97W verbleibende Leistung
2023-12-08 04:17:51,580 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2023-12-08 04:17:51,583 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2023-12-08 04:17:51,585 - {control.algorithm.filter_chargepoints:117} - {DEBUG:MainThread} - Geordnete Ladepunkte [1]
2023-12-08 04:17:51,587 - {control.algorithm.additional_current:26} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2023-12-08 04:17:51,588 - {control.counter:169} - {DEBUG:MainThread} - Zähler 0: [48.26, 48.92, 48.29]A verbleibende Ströme, 32989.97W verbleibende Leistung
2023-12-08 04:17:51,589 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 14A
2023-12-08 04:17:51,591 - {control.counter:211} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: 0W
2023-12-08 04:17:51,593 - {control.counter:457} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf 0W
2023-12-08 04:17:51,596 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2023-12-08 04:17:51,597 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2023-12-08 04:17:51,599 - {control.chargelog:52} - {DEBUG:MainThread} - imported_since_mode_switch 1066.890000000596 counter 6927444.82
2023-12-08 04:17:51,602 - {control.process:111} - {INFO:MainThread} - LP1: set current 14 A, state CHARGING_ALLOWED
2023-12-08 04:17:51,606 - {modules.common.component_context:24} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:17:51,633 - {control.counter:186} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2023-12-08 04:17:51,897 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2023-12-08 04:17:51,898 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2023-12-08 04:17:55,907 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2023-12-08 04:17:55,908 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2023-12-08 04:18:00,918 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2023-12-08 04:18:00,919 - {root:74} - {INFO:MainThread} - # ***Start*** 
2023-12-08 04:18:00,990 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x715cf340>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x7155e4a8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x715c75f8>}
2023-12-08 04:18:00,991 - {modules.common.component_context:24} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2023-12-08 04:18:00,992 - {modules.common.component_context:24} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:18:00,999 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2023-12-08 04:18:01,001 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2023-12-08 04:18:01,042 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 750
2023-12-08 04:18:01,044 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"cloud":{"connected":false},"input:0":{"id":0,"state":false},"mqtt":{"connected":false},"switch:0":{"id":0, "source":"loopback", "output":false, "apower":0.0, "voltage":241.3, "current":0.000, "aenergy":{"total":1505.625,"by_minute":[0.000,0.000,0.000],"minute_ts":1702005480},"temperature":{"tC":28.8, "tF":83.9}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:18","unixtime":1702005481,"uptime":1364809,"ram_size":248944,"ram_free":144680,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"beta":{"version":"1.1.0-beta2"},"stable":{"version":"1.0.8"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-68},"ws":{"connected":false}}

2023-12-08 04:18:01,046 - {modules.common.simcount._simcount:38} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1702005470.867595, power=0, imported=0.0, exported=293628.5948715257)
2023-12-08 04:18:01,046 - {modules.common.simcount._calculate:13} - {DEBUG:device1} - time passed: 0.00282737, power1: 0, power2: 0
2023-12-08 04:18:01,047 - {modules.common.simcount._calculate:29} - {DEBUG:device1} - power did not change sign. Total energy: 0
2023-12-08 04:18:01,047 - {modules.common.simcount._simcount:47} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702005481.0461323, power=0, imported=0.0, exported=293628.5948715257)
2023-12-08 04:18:01,048 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:18:01,068 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-9492, -3223, -3066, -3201], Scale 0
2023-12-08 04:18:01,086 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [136, 129, 137], Scale -1
2023-12-08 04:18:01,107 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [24083, 24099, 23939, 0, 0, 0, 0], Scale -2
2023-12-08 04:18:01,126 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4999], Scale -2
2023-12-08 04:18:01,198 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [9919, 9919, 9919], Scale -2
2023-12-08 04:18:01,245 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4870433, 1797042, 2153375, 1456453, 6126940, 2531900, 1863126, 2268352], Scale 0
2023-12-08 04:18:01,246 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[13.600000000000001, 12.9, 13.700000000000001], powers=[3223.0, 3066.0, 3201.0], voltages=[240.83, 240.99, 239.39000000000001], power_factors=[0.9919, 0.9919, 0.9919], imported=6126940.0, exported=4870433.0, power=9492.0, frequency=49.99)
2023-12-08 04:18:01,248 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2023-12-08 04:18:01,267 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [0], Scale 0
2023-12-08 04:18:01,288 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7789710], Scale 0
2023-12-08 04:18:01,306 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [29, 32, 33], Scale -2
2023-12-08 04:18:01,326 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4473], Scale -2
2023-12-08 04:18:01,327 - {modules.common.component_state:100} - {DEBUG:device0} - currents sign wrong [0.29, 0.32, 0.33]
2023-12-08 04:18:01,327 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.29, 0.32, 0.33], power=-0.0, exported=7789710.0, dc_power=44.730000000000004)
2023-12-08 04:18:01,329 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2023-12-08 04:18:01,400 - {modules.common.simcount._simcount:38} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1702005471.1883671, power=0.0, imported=143333.37604219164, exported=116864.5215890633)
2023-12-08 04:18:01,400 - {modules.common.simcount._calculate:13} - {DEBUG:device0} - time passed: 0.00283657, power1: 0, power2: 0
2023-12-08 04:18:01,401 - {modules.common.simcount._calculate:29} - {DEBUG:device0} - power did not change sign. Total energy: 0
2023-12-08 04:18:01,401 - {modules.common.simcount._simcount:47} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702005481.4000244, power=0.0, imported=143333.37604219164, exported=116864.5215890633)
2023-12-08 04:18:01,402 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=143333.37604219164, exported=116864.5215890633, power=0.0, soc=19.0)
2023-12-08 04:18:01,413 - {modules.common.component_context:24} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2023-12-08 04:18:01,414 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=143333.37604219164, exported=116864.5215890633, power=0.0, soc=19.0)
2023-12-08 04:18:01,447 - {modules.common.component_context:24} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:18:01,448 - {modules.common.component_context:24} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2023-12-08 04:18:01,448 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-0.0, exported=7816178.86, dc_power=None)
2023-12-08 04:18:01,449 - {modules.common.component_context:24} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2023-12-08 04:18:01,449 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-0.0, exported=7816178.86, dc_power=None)
2023-12-08 04:18:01,450 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:18:01,452 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:18:01,489 - {modules.common.component_context:24} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2023-12-08 04:18:01,490 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[13.600000000000001, 12.9, 13.700000000000001], powers=[3223.0, 3066.0, 3201.0], voltages=[240.83, 240.99, 239.39000000000001], power_factors=[0.9919, 0.9919, 0.9919], imported=6126940.0, exported=4870433.0, power=9492.0, frequency=49.99)
2023-12-08 04:18:01,683 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2023-12-08 04:18:01,686 - {control.bat_all:173} - {INFO:MainThread} - -50W verbleibende Speicher-Leistung
2023-12-08 04:18:01,689 - {control.counter:138} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [62.08, 62.83, 62.13]A
2023-12-08 04:18:01,690 - {control.counter:161} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 42814.67W
2023-12-08 04:18:01,692 - {control.chargepoint.chargepoint:699} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2023-12-08 04:18:01,696 - {control.chargepoint.chargepoint:682} - {DEBUG:MainThread} - Phasenzahl Lademodus: 3
2023-12-08 04:18:01,702 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -53.130263s, Dauer 1.380952380952381h, Termin heute verpasst: False
2023-12-08 04:18:01,704 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 90669.848938s, Dauer 0.18012422360248448h, Termin heute verpasst: False
2023-12-08 04:18:01,705 - {control.ev:762} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2023-12-08 04:18:01,713 - {control.chargepoint.chargepoint:898} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 14A, Lademodus scheduled_charging, Submodus: Chargemode.INSTANT_CHARGING, Phasen: 3, Priorität: False, max. Ist-Strom: 12.83
2023-12-08 04:18:01,714 - {control.chargepoint.chargepoint:277} - {INFO:MainThread} - LP 1: Zielladen mit 14A, um einen SoC von 95%  um 05:40 zu erreichen.
2023-12-08 04:18:01,734 - {modules.common.simcount._simcount:38} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1702005471.504397, power=350.03000000000065, imported=2374419.35281309, exported=0)
2023-12-08 04:18:01,735 - {modules.common.simcount._calculate:13} - {DEBUG:MainThread} - time passed: 0.00284157, power1: 350.03, power2: 185.33
2023-12-08 04:18:01,737 - {modules.common.simcount._calculate:29} - {DEBUG:MainThread} - power did not change sign. Total energy: 0.760631
2023-12-08 04:18:01,741 - {modules.common.simcount._simcount:47} - {DEBUG:MainThread} - imported: 0.760631 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702005481.7340455, power=185.32999999999993, imported=2374420.1134442943, exported=0)
2023-12-08 04:18:01,747 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=19, daily_exported=0.0, daily_imported=0.0, imported=143333.38, exported=116864.52, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2023-12-08 04:18:01,750 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=19, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=143333.38, exported=116864.52, power=0.0), set=Set(charging_power_left=-50, switch_on_soc_reached=False))
2023-12-08 04:18:01,751 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=641.11, daily_exported=0, power=9306.67, imported=6927469.24, exported=0))
2023-12-08 04:18:01,753 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 95%, 06:00 Uhr', imported_at_plan_start=6926377.93, imported_instant_charging=None, limit=None, phases=3, prio=False, required_current=14, required_currents=[14, 14, 14], 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=[12.73, 12.83, 12.68], daily_imported=641.11, daily_exported=0, evse_current=1400, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=6927469.24, phases_in_use=3, plug_state=True, power=9306.67, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Zielladen mit 14A, um einen SoC von 95%  um 05:40 zu erreichen.', voltages=[241.22, 239.63, 241.09]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=14, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', imported_at_mode_switch=6926377.93, imported_at_plugtime=6926377.93, imported_since_mode_switch=1066.890000000596, imported_since_plugged=1066.890000000596, range_charged=5.927166666669978, time_charged='0:06', timestamp_start_charging='12/08/2023, 04:11:30'), manual_lock=False, phases_to_use=3, plug_state_prev=True, plug_time='12/07/2023, 13:07:31', required_power=9660, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x71568ef8>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB Carport', type='internal_openwb', template=1, connected_phases=3, phase_1=2, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=1))
2023-12-08 04:18:01,758 - {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-12-08 04:18:01,767 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=1, max_current_multi_phases=16, max_current_single_phase=20, name='RFID, 20A, 11kW', rfid_enabling=True, valid_tags=['0003134583', '0003526747', '1655332554', '2585022212', '2585087748'])
2023-12-08 04:18:01,772 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[63, 63, 63], max_total_power=43000), get=Get(powers=[3223.0, 3066.0, 3201.0], currents=[13.6, 12.9, 13.7], voltages=[240.83, 240.99, 239.39], power_factors=[0.99, 0.99, 0.99], unbalanced_load=0, frequency=49.99, daily_exported=0.0, daily_imported=4693.0, imported=6126940.0, exported=4870433.0, fault_state=0, fault_str='Kein Fehler.', power=9492.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=42814.67, raw_currents_left=[62.08, 62.83, 62.13], surplus_power_left=0, state_str=''))
2023-12-08 04:18:01,774 - {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': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=185.32999999999993, invalid_home_consumption=0, daily_yield_home_consumption=5589.4256330971, imported_home_consumption=2374420.1134442943, disengageable_smarthome_power=0))
2023-12-08 04:18:01,780 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2023-12-08 04:18:01,789 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Ladeprofil ***AUTO1***', disable_after_unplug=False, prio=False, load_default=True, time_charging=TimeCharging(active=True, plans={'0': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[True, True, True, True, False, False, True]), time=['22:00', '06:00'], name='Zeitladen 95%, So-Do 22:00-06:00 Uhr', current=16, limit=Limit(selected='soc', amount=1000, soc=95)), '1': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, True, True, False]), time=['22:00', '06:00'], name='Zeitladen 80%, Fr-Sa 22:00-06:00 Uhr', current=16, limit=Limit(selected='soc', amount=1000, soc=80))}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2023-12-08 04:18:01,791 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, time_charging=TimeCharging(active=True, plans={'2': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), time=['06:45', '07:00'], name='Klima 06:45-07:00 Uhr', current=6, limit=Limit(selected='none', amount=1000, soc=50)), '3': TimeChargingPlan(active=True, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, False, False, False]), time=['00:00', '23:55'], name='Immer 35%', current=10, limit=Limit(selected='soc', amount=1000, soc=35))}), chargemode=Chargemode(selected='scheduled_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={'0': ScheduledChargingPlan(active=False, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, True, False, False, False, False, False]), current=14, name='Zielladen 80%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '1': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), current=14, name='Zielladen 95%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=95), time='05:40'), '2': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once='2023-09-26', weekly=[True, False, False, True, False, True, True]), current=14, name='Zielladen 75%, 7:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=75), time='05:40')}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=80))))
2023-12-08 04:18:01,794 - {control.data:266} - {INFO:MainThread} - ev0
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=['0003134583'], get=Get(soc=0, soc_timestamp=None, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:18:01,796 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Tesla Model Y (2022)', 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=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212', '2585087748'], get=Get(soc=49.0, soc_timestamp='12/08/2023, 01:29:15', force_soc_update=False, range=220.74, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:18:01,799 - {control.data:266} - {INFO:MainThread} - ev2
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Cupra Born 58kW', 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=18000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=2, ev_template=2, name='***AUTO2***', tag_id=['1655332554'], get=Get(soc=72, soc_timestamp='12/08/2023, 04:17:58', force_soc_update=False, range=205, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:18:01,800 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40)
2023-12-08 04:18:01,802 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', 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=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40)
2023-12-08 04:18:01,803 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', 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=18000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40)
2023-12-08 04:18:01,804 - {control.data:245} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=3), pv_charging=PvCharging(bat_prio=True, charging_power_reserve=200, control_range=[-230, 230], feed_in_yield=15000, phase_switch_delay=15, phases_to_use=0, rundown_power=1000, rundown_soc=25, switch_off_delay=60, switch_off_soc=25, switch_off_threshold=50, switch_on_delay=30, switch_on_soc=50, switch_on_threshold=1400), scheduled_charging=ScheduledCharging(phases_to_use=0), time_charging=TimeCharging(phases_to_use=3), unbalanced_load_limit=20, unbalanced_load=True), control_interval=10, extern_display_mode='local', extern=False, external_buttons_hw=False, grid_protection_active=False, grid_protection_configured=True, grid_protection_random_stop=0, grid_protection_timestamp='', mqtt_bridge=False, price_kwh=0.3528, range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=True, r1_active=False, r2_active=False))
2023-12-08 04:18:01,805 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2023-12-08 04:18:01,806 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2023-12-08 04:18:01,809 - {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 0x7157bb68>), led=Led(active=False), rfid=Rfid(active=True))
2023-12-08 04:18:01,813 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=0), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=293628.595, fault_state=0, fault_str='Kein Fehler.', power=0))
2023-12-08 04:18:01,816 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=9500), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=7816178.86, fault_state=0, fault_str='Kein Fehler.', power=-0.0))
2023-12-08 04:18:01,816 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=8109807.455, power=0.0))
2023-12-08 04:18:01,818 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2023-11-30 12:30:45 +0100 [285f5a5fb]', 'current_branch': 'Release', 'current_branch_commit': '2023-11-30 12:30:45 +0100 [285f5a5fb]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.2-Patch.1', 'datastore_version': 29, 'lastlivevaluesJson': {'timestamp': 1702005471, 'time': '04:17:51', 'grid': 9.643, 'house-power': 0.35, 'charging-all': 9.293, 'pv-all': -0.0, 'cp1-power': 9.293, 'ev1-soc': 49.0, 'ev2-soc': 72, 'bat-all-power': 0.0, 'bat-all-soc': 19}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2023-12-08 04:18:01,821 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2023-12-08 04:18:01,822 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2023-12-08 04:18:01,824 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2023-12-08 04:18:01,825 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2023-12-08 04:18:01,827 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2023-12-08 04:18:01,829 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2023-12-08 04:18:01,829 - {control.data:253} - {INFO:MainThread} - 

2023-12-08 04:18:01,830 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2023-12-08 04:18:01,830 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2023-12-08 04:18:01,831 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2023-12-08 04:18:01,833 - {control.counter:169} - {DEBUG:MainThread} - Zähler 0: [56.08, 56.83, 56.13]A verbleibende Ströme, 38674.67W verbleibende Leistung
2023-12-08 04:18:01,834 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2023-12-08 04:18:01,837 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2023-12-08 04:18:01,839 - {control.algorithm.filter_chargepoints:117} - {DEBUG:MainThread} - Geordnete Ladepunkte [1]
2023-12-08 04:18:01,840 - {control.algorithm.additional_current:26} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2023-12-08 04:18:01,841 - {control.counter:169} - {DEBUG:MainThread} - Zähler 0: [48.08, 48.83, 48.13]A verbleibende Ströme, 33154.67W verbleibende Leistung
2023-12-08 04:18:01,843 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 14A
2023-12-08 04:18:01,845 - {control.counter:211} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: 0W
2023-12-08 04:18:01,846 - {control.counter:457} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf 0W
2023-12-08 04:18:01,847 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2023-12-08 04:18:01,848 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2023-12-08 04:18:01,851 - {control.chargelog:52} - {DEBUG:MainThread} - imported_since_mode_switch 1091.3100000005215 counter 6927469.24
2023-12-08 04:18:01,853 - {control.process:111} - {INFO:MainThread} - LP1: set current 14 A, state CHARGING_ALLOWED
2023-12-08 04:18:01,856 - {modules.common.component_context:24} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:18:01,886 - {control.counter:186} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2023-12-08 04:18:02,160 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2023-12-08 04:18:05,199 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2023-12-08 04:18:05,201 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2023-12-08 04:18:10,213 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2023-12-08 04:18:10,214 - {root:74} - {INFO:MainThread} - # ***Start*** 
2023-12-08 04:18:10,251 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x715cf340>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x7155e4a8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x715c75f8>}
2023-12-08 04:18:10,258 - {modules.common.component_context:24} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2023-12-08 04:18:10,265 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2023-12-08 04:18:10,272 - {modules.common.component_context:24} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:18:10,272 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2023-12-08 04:18:10,311 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 750
2023-12-08 04:18:10,313 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"cloud":{"connected":false},"input:0":{"id":0,"state":false},"mqtt":{"connected":false},"switch:0":{"id":0, "source":"loopback", "output":false, "apower":0.0, "voltage":241.3, "current":0.000, "aenergy":{"total":1505.625,"by_minute":[0.000,0.000,0.000],"minute_ts":1702005489},"temperature":{"tC":28.7, "tF":83.6}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:18","unixtime":1702005490,"uptime":1364818,"ram_size":248912,"ram_free":144244,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"beta":{"version":"1.1.0-beta2"},"stable":{"version":"1.0.8"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-69},"ws":{"connected":false}}

2023-12-08 04:18:10,317 - {modules.common.simcount._simcount:38} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1702005481.0461323, power=0, imported=0.0, exported=293628.5948715257)
2023-12-08 04:18:10,318 - {modules.common.simcount._calculate:13} - {DEBUG:device1} - time passed: 0.00257536, power1: 0, power2: 0
2023-12-08 04:18:10,318 - {modules.common.simcount._calculate:29} - {DEBUG:device1} - power did not change sign. Total energy: 0
2023-12-08 04:18:10,319 - {modules.common.simcount._simcount:47} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702005490.3174236, power=0, imported=0.0, exported=293628.5948715257)
2023-12-08 04:18:10,322 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:18:10,326 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-9490, -3224, -3069, -3197], Scale 0
2023-12-08 04:18:10,345 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [135, 128, 135], Scale -1
2023-12-08 04:18:10,366 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [24067, 24083, 23916, 0, 0, 0, 0], Scale -2
2023-12-08 04:18:10,427 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4999], Scale -2
2023-12-08 04:18:10,457 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [9879, 9929, 9919], Scale -2
2023-12-08 04:18:10,477 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4870433, 1797042, 2153375, 1456453, 6126961, 2531907, 1863133, 2268359], Scale 0
2023-12-08 04:18:10,478 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[13.5, 12.8, 13.5], powers=[3224.0, 3069.0, 3197.0], voltages=[240.67000000000002, 240.83, 239.16], power_factors=[0.9879000000000001, 0.9929000000000001, 0.9919], imported=6126961.0, exported=4870433.0, power=9490.0, frequency=49.99)
2023-12-08 04:18:10,480 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2023-12-08 04:18:10,496 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [0], Scale 0
2023-12-08 04:18:10,548 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7789710], Scale 0
2023-12-08 04:18:10,593 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [29, 32, 33], Scale -2
2023-12-08 04:18:10,617 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-5317], Scale -2
2023-12-08 04:18:10,618 - {modules.common.component_state:100} - {DEBUG:device0} - currents sign wrong [0.29, 0.32, 0.33]
2023-12-08 04:18:10,618 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.29, 0.32, 0.33], power=-0.0, exported=7789710.0, dc_power=53.17)
2023-12-08 04:18:10,620 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2023-12-08 04:18:10,718 - {modules.common.simcount._simcount:38} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1702005481.4000244, power=0.0, imported=143333.37604219164, exported=116864.5215890633)
2023-12-08 04:18:10,719 - {modules.common.simcount._calculate:13} - {DEBUG:device0} - time passed: 0.00258847, power1: 0, power2: 0
2023-12-08 04:18:10,720 - {modules.common.simcount._calculate:29} - {DEBUG:device0} - power did not change sign. Total energy: 0
2023-12-08 04:18:10,720 - {modules.common.simcount._simcount:47} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702005490.718528, power=0.0, imported=143333.37604219164, exported=116864.5215890633)
2023-12-08 04:18:10,721 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=143333.37604219164, exported=116864.5215890633, power=0.0, soc=19.0)
2023-12-08 04:18:10,738 - {modules.common.component_context:24} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2023-12-08 04:18:10,739 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=143333.37604219164, exported=116864.5215890633, power=0.0, soc=19.0)
2023-12-08 04:18:10,773 - {modules.common.component_context:24} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:18:10,775 - {modules.common.component_context:24} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2023-12-08 04:18:10,776 - {modules.common.component_context:24} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2023-12-08 04:18:10,777 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-0.0, exported=7816178.86, dc_power=None)
2023-12-08 04:18:10,778 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:18:10,778 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-0.0, exported=7816178.86, dc_power=None)
2023-12-08 04:18:10,779 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:18:10,826 - {modules.common.component_context:24} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2023-12-08 04:18:10,827 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[13.5, 12.8, 13.5], powers=[3224.0, 3069.0, 3197.0], voltages=[240.67000000000002, 240.83, 239.16], power_factors=[0.9879000000000001, 0.9929000000000001, 0.9919], imported=6126961.0, exported=4870433.0, power=9490.0, frequency=49.99)
2023-12-08 04:18:11,206 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2023-12-08 04:18:11,208 - {control.bat_all:173} - {INFO:MainThread} - -50W verbleibende Speicher-Leistung
2023-12-08 04:18:11,212 - {control.counter:138} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [62.36, 62.92, 62.31]A
2023-12-08 04:18:11,213 - {control.counter:161} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 42723.6W
2023-12-08 04:18:11,216 - {control.chargepoint.chargepoint:699} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2023-12-08 04:18:11,217 - {control.chargepoint.chargepoint:682} - {DEBUG:MainThread} - Phasenzahl Lademodus: 3
2023-12-08 04:18:11,219 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -62.647041s, Dauer 1.380952380952381h, Termin heute verpasst: False
2023-12-08 04:18:11,220 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 90660.332882s, Dauer 0.18012422360248448h, Termin heute verpasst: False
2023-12-08 04:18:11,222 - {control.ev:762} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2023-12-08 04:18:11,226 - {control.chargepoint.chargepoint:898} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 14.178671340038926A, Lademodus scheduled_charging, Submodus: Chargemode.INSTANT_CHARGING, Phasen: 3, Priorität: False, max. Ist-Strom: 12.86
2023-12-08 04:18:11,229 - {control.chargepoint.chargepoint:277} - {INFO:MainThread} - LP 1: Zielladen mit 14.18A. Der Ladestrom wurde erhöht, um den Zieltermin zu erreichen. Es wird bis max. 20 Minuten nach dem angegebenen Zieltermin geladen.
2023-12-08 04:18:11,263 - {modules.common.simcount._simcount:38} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1702005481.7340455, power=185.32999999999993, imported=2374420.1134442943, exported=0)
2023-12-08 04:18:11,264 - {modules.common.simcount._calculate:13} - {DEBUG:MainThread} - time passed: 0.00264691, power1: 185.33, power2: 276.4
2023-12-08 04:18:11,270 - {modules.common.simcount._calculate:29} - {DEBUG:MainThread} - power did not change sign. Total energy: 0.61108
2023-12-08 04:18:11,272 - {modules.common.simcount._simcount:47} - {DEBUG:MainThread} - imported: 0.61108 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702005491.2629395, power=276.39999999999964, imported=2374420.7245243224, exported=0)
2023-12-08 04:18:11,276 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=19, daily_exported=0.0, daily_imported=0.0, imported=143333.38, exported=116864.52, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2023-12-08 04:18:11,277 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=19, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=143333.38, exported=116864.52, power=0.0), set=Set(charging_power_left=-50, switch_on_soc_reached=False))
2023-12-08 04:18:11,278 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=641.11, daily_exported=0, power=9213.6, imported=6927497.07, exported=0))
2023-12-08 04:18:11,285 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 95%, 06:00 Uhr', imported_at_plan_start=6926377.93, imported_instant_charging=None, limit=None, phases=3, prio=False, required_current=14.178671340038926, required_currents=[14.178671340038926, 14.178671340038926, 14.178671340038926], 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=[12.72, 12.81, 12.86], daily_imported=641.11, daily_exported=0, evse_current=1400, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=6927497.07, phases_in_use=3, plug_state=True, power=9213.6, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Zielladen mit 14.18A. Der Ladestrom wurde erhöht, um den Zieltermin zu erreichen. Es wird bis max. 20 Minuten nach dem angegebenen Zieltermin geladen.', voltages=[241.28, 239.6, 241.06]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=14, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', imported_at_mode_switch=6926377.93, imported_at_plugtime=6926377.93, imported_since_mode_switch=1091.3100000005215, imported_since_plugged=1091.3100000005215, range_charged=6.062833333336231, time_charged='0:06', timestamp_start_charging='12/08/2023, 04:11:30'), manual_lock=False, phases_to_use=3, plug_state_prev=True, plug_time='12/07/2023, 13:07:31', required_power=9783.283224626859, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x70ba3e38>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB Carport', type='internal_openwb', template=1, connected_phases=3, phase_1=2, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=1))
2023-12-08 04:18:11,286 - {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-12-08 04:18:11,288 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=1, max_current_multi_phases=16, max_current_single_phase=20, name='RFID, 20A, 11kW', rfid_enabling=True, valid_tags=['0003134583', '0003526747', '1655332554', '2585022212', '2585087748'])
2023-12-08 04:18:11,290 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[63, 63, 63], max_total_power=43000), get=Get(powers=[3224.0, 3069.0, 3197.0], currents=[13.5, 12.8, 13.5], voltages=[240.67, 240.83, 239.16], power_factors=[0.99, 0.99, 0.99], unbalanced_load=0, frequency=49.99, daily_exported=0.0, daily_imported=4693.0, imported=6126961.0, exported=4870433.0, fault_state=0, fault_str='Kein Fehler.', power=9490.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=42723.6, raw_currents_left=[62.36, 62.92, 62.31], surplus_power_left=0, state_str=''))
2023-12-08 04:18:11,295 - {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': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=276.39999999999964, invalid_home_consumption=0, daily_yield_home_consumption=5589.4256330971, imported_home_consumption=2374420.7245243224, disengageable_smarthome_power=0))
2023-12-08 04:18:11,296 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2023-12-08 04:18:11,303 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Ladeprofil ***AUTO1***', disable_after_unplug=False, prio=False, load_default=True, time_charging=TimeCharging(active=True, plans={'0': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[True, True, True, True, False, False, True]), time=['22:00', '06:00'], name='Zeitladen 95%, So-Do 22:00-06:00 Uhr', current=16, limit=Limit(selected='soc', amount=1000, soc=95)), '1': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, True, True, False]), time=['22:00', '06:00'], name='Zeitladen 80%, Fr-Sa 22:00-06:00 Uhr', current=16, limit=Limit(selected='soc', amount=1000, soc=80))}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2023-12-08 04:18:11,305 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, time_charging=TimeCharging(active=True, plans={'2': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), time=['06:45', '07:00'], name='Klima 06:45-07:00 Uhr', current=6, limit=Limit(selected='none', amount=1000, soc=50)), '3': TimeChargingPlan(active=True, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, False, False, False]), time=['00:00', '23:55'], name='Immer 35%', current=10, limit=Limit(selected='soc', amount=1000, soc=35))}), chargemode=Chargemode(selected='scheduled_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={'0': ScheduledChargingPlan(active=False, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, True, False, False, False, False, False]), current=14, name='Zielladen 80%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '1': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), current=14, name='Zielladen 95%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=95), time='05:40'), '2': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once='2023-09-26', weekly=[True, False, False, True, False, True, True]), current=14, name='Zielladen 75%, 7:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=75), time='05:40')}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=80))))
2023-12-08 04:18:11,320 - {control.data:266} - {INFO:MainThread} - ev0
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=['0003134583'], get=Get(soc=0, soc_timestamp=None, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:18:11,321 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Tesla Model Y (2022)', 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=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212', '2585087748'], get=Get(soc=49.0, soc_timestamp='12/08/2023, 01:29:15', force_soc_update=False, range=220.74, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:18:11,322 - {control.data:266} - {INFO:MainThread} - ev2
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Cupra Born 58kW', 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=18000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=2, ev_template=2, name='***AUTO2***', tag_id=['1655332554'], get=Get(soc=72, soc_timestamp='12/08/2023, 04:17:58', force_soc_update=False, range=205, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:18:11,323 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40)
2023-12-08 04:18:11,324 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', 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=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40)
2023-12-08 04:18:11,329 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', 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=18000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40)
2023-12-08 04:18:11,332 - {control.data:245} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=3), pv_charging=PvCharging(bat_prio=True, charging_power_reserve=200, control_range=[-230, 230], feed_in_yield=15000, phase_switch_delay=15, phases_to_use=0, rundown_power=1000, rundown_soc=25, switch_off_delay=60, switch_off_soc=25, switch_off_threshold=50, switch_on_delay=30, switch_on_soc=50, switch_on_threshold=1400), scheduled_charging=ScheduledCharging(phases_to_use=0), time_charging=TimeCharging(phases_to_use=3), unbalanced_load_limit=20, unbalanced_load=True), control_interval=10, extern_display_mode='local', extern=False, external_buttons_hw=False, grid_protection_active=False, grid_protection_configured=True, grid_protection_random_stop=0, grid_protection_timestamp='', mqtt_bridge=False, price_kwh=0.3528, range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=True, r1_active=False, r2_active=False))
2023-12-08 04:18:11,337 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2023-12-08 04:18:11,337 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2023-12-08 04:18:11,339 - {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 0x7157ba00>), led=Led(active=False), rfid=Rfid(active=True))
2023-12-08 04:18:11,341 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=0), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=293628.595, fault_state=0, fault_str='Kein Fehler.', power=0))
2023-12-08 04:18:11,343 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=9500), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=7816178.86, fault_state=0, fault_str='Kein Fehler.', power=-0.0))
2023-12-08 04:18:11,343 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=8109807.455, power=0.0))
2023-12-08 04:18:11,349 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2023-11-30 12:30:45 +0100 [285f5a5fb]', 'current_branch': 'Release', 'current_branch_commit': '2023-11-30 12:30:45 +0100 [285f5a5fb]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.2-Patch.1', 'datastore_version': 29, 'lastlivevaluesJson': {'timestamp': 1702005481, 'time': '04:18:01', 'grid': 9.492, 'house-power': 0.185, 'charging-all': 9.307, 'pv-all': -0.0, 'cp1-power': 9.307, 'ev1-soc': 49.0, 'ev2-soc': 72, 'bat-all-power': 0.0, 'bat-all-soc': 19}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2023-12-08 04:18:11,350 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2023-12-08 04:18:11,351 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2023-12-08 04:18:11,352 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2023-12-08 04:18:11,359 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2023-12-08 04:18:11,360 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2023-12-08 04:18:11,361 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2023-12-08 04:18:11,363 - {control.data:253} - {INFO:MainThread} - 

2023-12-08 04:18:11,371 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2023-12-08 04:18:11,372 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2023-12-08 04:18:11,374 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2023-12-08 04:18:11,376 - {control.counter:169} - {DEBUG:MainThread} - Zähler 0: [56.36, 56.92, 56.31]A verbleibende Ströme, 38583.6W verbleibende Leistung
2023-12-08 04:18:11,380 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2023-12-08 04:18:11,385 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2023-12-08 04:18:11,391 - {control.algorithm.filter_chargepoints:117} - {DEBUG:MainThread} - Geordnete Ladepunkte [1]
2023-12-08 04:18:11,392 - {control.algorithm.additional_current:26} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2023-12-08 04:18:11,393 - {control.counter:169} - {DEBUG:MainThread} - Zähler 0: [48.181328659961075, 48.74132865996108, 48.13132865996108]A verbleibende Ströme, 32940.31677537314W verbleibende Leistung
2023-12-08 04:18:11,394 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 14.178671340038926A
2023-12-08 04:18:11,395 - {control.counter:211} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: 0W
2023-12-08 04:18:11,396 - {control.counter:457} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf 0W
2023-12-08 04:18:11,397 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2023-12-08 04:18:11,397 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2023-12-08 04:18:11,398 - {control.chargelog:52} - {DEBUG:MainThread} - imported_since_mode_switch 1119.140000000596 counter 6927497.07
2023-12-08 04:18:11,407 - {control.process:111} - {INFO:MainThread} - LP1: set current 14.18 A, state CHARGING_ALLOWED
2023-12-08 04:18:11,438 - {modules.common.component_context:24} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:18:11,462 - {control.counter:186} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2023-12-08 04:18:11,687 - {helpermodules.changed_values_handler:120} - {DEBUG:MainThread} - Topic openWB/set/chargepoint/1/control_parameter/required_current, Payload 14.178671340038926, vorherige Payload: 14
2023-12-08 04:18:11,702 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2023-12-08 04:18:11,713 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2023-12-08 04:18:15,724 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2023-12-08 04:18:20,736 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2023-12-08 04:18:20,737 - {root:74} - {INFO:MainThread} - # ***Start*** 
2023-12-08 04:18:20,775 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x715cf340>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x7155e4a8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x715c75f8>}
2023-12-08 04:18:20,779 - {modules.common.component_context:24} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2023-12-08 04:18:20,789 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2023-12-08 04:18:20,793 - {modules.common.component_context:24} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:18:20,794 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2023-12-08 04:18:20,829 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-9481, -3226, -3066, -3188], Scale 0
2023-12-08 04:18:20,858 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [136, 128, 134], Scale -1
2023-12-08 04:18:20,880 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 750
2023-12-08 04:18:20,899 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"cloud":{"connected":false},"input:0":{"id":0,"state":false},"mqtt":{"connected":false},"switch:0":{"id":0, "source":"loopback", "output":false, "apower":0.0, "voltage":241.2, "current":0.000, "aenergy":{"total":1505.625,"by_minute":[0.000,0.000,0.000],"minute_ts":1702005500},"temperature":{"tC":28.8, "tF":83.9}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:18","unixtime":1702005501,"uptime":1364829,"ram_size":248996,"ram_free":145260,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"beta":{"version":"1.1.0-beta2"},"stable":{"version":"1.0.8"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-69},"ws":{"connected":false}}

2023-12-08 04:18:20,905 - {modules.common.simcount._simcount:38} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1702005490.3174236, power=0, imported=0.0, exported=293628.5948715257)
2023-12-08 04:18:20,906 - {modules.common.simcount._calculate:13} - {DEBUG:device1} - time passed: 0.00294109, power1: 0, power2: 0
2023-12-08 04:18:20,906 - {modules.common.simcount._calculate:29} - {DEBUG:device1} - power did not change sign. Total energy: 0
2023-12-08 04:18:20,907 - {modules.common.simcount._simcount:47} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702005500.9053612, power=0, imported=0.0, exported=293628.5948715257)
2023-12-08 04:18:20,908 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:18:20,910 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [24067, 24083, 23924, 0, 0, 0, 0], Scale -2
2023-12-08 04:18:20,936 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4999], Scale -2
2023-12-08 04:18:20,957 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [9919, 9940, 9929], Scale -2
2023-12-08 04:18:20,977 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4870433, 1797042, 2153375, 1456453, 6126982, 2531914, 1863140, 2268366], Scale 0
2023-12-08 04:18:20,978 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[13.600000000000001, 12.8, 13.4], powers=[3226.0, 3066.0, 3188.0], voltages=[240.67000000000002, 240.83, 239.24], power_factors=[0.9919, 0.9940000000000001, 0.9929000000000001], imported=6126982.0, exported=4870433.0, power=9481.0, frequency=49.99)
2023-12-08 04:18:20,980 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2023-12-08 04:18:21,048 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [0], Scale 0
2023-12-08 04:18:21,105 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7789710], Scale 0
2023-12-08 04:18:21,127 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [28, 32, 32], Scale -2
2023-12-08 04:18:21,147 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4791], Scale -2
2023-12-08 04:18:21,147 - {modules.common.component_state:100} - {DEBUG:device0} - currents sign wrong [0.28, 0.32, 0.32]
2023-12-08 04:18:21,148 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.28, 0.32, 0.32], power=-0.0, exported=7789710.0, dc_power=47.910000000000004)
2023-12-08 04:18:21,149 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2023-12-08 04:18:21,189 - {modules.common.simcount._simcount:38} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1702005490.718528, power=0.0, imported=143333.37604219164, exported=116864.5215890633)
2023-12-08 04:18:21,190 - {modules.common.simcount._calculate:13} - {DEBUG:device0} - time passed: 0.00290853, power1: 0, power2: 0
2023-12-08 04:18:21,190 - {modules.common.simcount._calculate:29} - {DEBUG:device0} - power did not change sign. Total energy: 0
2023-12-08 04:18:21,190 - {modules.common.simcount._simcount:47} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702005501.1892412, power=0.0, imported=143333.37604219164, exported=116864.5215890633)
2023-12-08 04:18:21,191 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=143333.37604219164, exported=116864.5215890633, power=0.0, soc=19.0)
2023-12-08 04:18:21,198 - {modules.common.component_context:24} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2023-12-08 04:18:21,209 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=143333.37604219164, exported=116864.5215890633, power=0.0, soc=19.0)
2023-12-08 04:18:21,242 - {modules.common.component_context:24} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:18:21,243 - {modules.common.component_context:24} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2023-12-08 04:18:21,244 - {modules.common.component_context:24} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2023-12-08 04:18:21,245 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-0.0, exported=7816178.86, dc_power=None)
2023-12-08 04:18:21,245 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:18:21,246 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-0.0, exported=7816178.86, dc_power=None)
2023-12-08 04:18:21,246 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:18:21,286 - {modules.common.component_context:24} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2023-12-08 04:18:21,287 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[13.600000000000001, 12.8, 13.4], powers=[3226.0, 3066.0, 3188.0], voltages=[240.67000000000002, 240.83, 239.24], power_factors=[0.9919, 0.9940000000000001, 0.9929000000000001], imported=6126982.0, exported=4870433.0, power=9481.0, frequency=49.99)
2023-12-08 04:18:21,352 - {helpermodules.changed_values_handler:120} - {DEBUG:MainThread} - Topic openWB/set/chargepoint/1/control_parameter/required_current, Payload 14.178671340038926, vorherige Payload: 14
2023-12-08 04:18:21,466 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2023-12-08 04:18:21,471 - {control.bat_all:173} - {INFO:MainThread} - -50W verbleibende Speicher-Leistung
2023-12-08 04:18:21,480 - {control.counter:138} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [62.09, 62.93, 62.43]A
2023-12-08 04:18:21,483 - {control.counter:161} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 42721.32W
2023-12-08 04:18:21,493 - {control.chargepoint.chargepoint:699} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2023-12-08 04:18:21,495 - {control.chargepoint.chargepoint:682} - {DEBUG:MainThread} - Phasenzahl Lademodus: 3
2023-12-08 04:18:21,503 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -72.930993s, Dauer 1.380952380952381h, Termin heute verpasst: False
2023-12-08 04:18:21,505 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 90650.048061s, Dauer 0.18012422360248448h, Termin heute verpasst: False
2023-12-08 04:18:21,521 - {control.ev:762} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2023-12-08 04:18:21,550 - {control.chargepoint.chargepoint:898} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 14.208438176329068A, Lademodus scheduled_charging, Submodus: Chargemode.INSTANT_CHARGING, Phasen: 3, Priorität: False, max. Ist-Strom: 12.83
2023-12-08 04:18:21,551 - {control.chargepoint.chargepoint:277} - {INFO:MainThread} - LP 1: Zielladen mit 14.21A. Der Ladestrom wurde erhöht, um den Zieltermin zu erreichen. Es wird bis max. 20 Minuten nach dem angegebenen Zieltermin geladen.
2023-12-08 04:18:21,588 - {modules.common.simcount._simcount:38} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1702005491.2629395, power=276.39999999999964, imported=2374420.7245243224, exported=0)
2023-12-08 04:18:21,589 - {modules.common.simcount._calculate:13} - {DEBUG:MainThread} - time passed: 0.00286815, power1: 276.4, power2: 278.68
2023-12-08 04:18:21,589 - {modules.common.simcount._calculate:29} - {DEBUG:MainThread} - power did not change sign. Total energy: 0.796027
2023-12-08 04:18:21,590 - {modules.common.simcount._simcount:47} - {DEBUG:MainThread} - imported: 0.796027 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702005501.5882933, power=278.6800000000003, imported=2374421.520551742, exported=0)
2023-12-08 04:18:21,592 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=19, daily_exported=0.0, daily_imported=0.0, imported=143333.38, exported=116864.52, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2023-12-08 04:18:21,595 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=19, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=143333.38, exported=116864.52, power=0.0), set=Set(charging_power_left=-50, switch_on_soc_reached=False))
2023-12-08 04:18:21,597 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=641.11, daily_exported=0, power=9202.32, imported=6927521.0, exported=0))
2023-12-08 04:18:21,600 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 95%, 06:00 Uhr', imported_at_plan_start=6926377.93, imported_instant_charging=None, limit=None, phases=3, prio=False, required_current=14.208438176329068, required_currents=[14.208438176329068, 14.208438176329068, 14.208438176329068], 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=[12.73, 12.83, 12.69], daily_imported=641.11, daily_exported=0, evse_current=1418, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=6927521.0, phases_in_use=3, plug_state=True, power=9202.32, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Zielladen mit 14.21A. Der Ladestrom wurde erhöht, um den Zieltermin zu erreichen. Es wird bis max. 20 Minuten nach dem angegebenen Zieltermin geladen.', voltages=[241.24, 239.54, 241.0]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=14.18, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', imported_at_mode_switch=6926377.93, imported_at_plugtime=6926377.93, imported_since_mode_switch=1119.140000000596, imported_since_plugged=1119.140000000596, range_charged=6.217444444447756, time_charged='0:06', timestamp_start_charging='12/08/2023, 04:11:30'), manual_lock=False, phases_to_use=3, plug_state_prev=True, plug_time='12/07/2023, 13:07:31', required_power=9803.822341667057, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x70b5f868>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB Carport', type='internal_openwb', template=1, connected_phases=3, phase_1=2, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=1))
2023-12-08 04:18:21,602 - {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-12-08 04:18:21,603 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=1, max_current_multi_phases=16, max_current_single_phase=20, name='RFID, 20A, 11kW', rfid_enabling=True, valid_tags=['0003134583', '0003526747', '1655332554', '2585022212', '2585087748'])
2023-12-08 04:18:21,605 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[63, 63, 63], max_total_power=43000), get=Get(powers=[3226.0, 3066.0, 3188.0], currents=[13.6, 12.8, 13.4], voltages=[240.67, 240.83, 239.24], power_factors=[0.99, 0.99, 0.99], unbalanced_load=0, frequency=49.99, daily_exported=0.0, daily_imported=4693.0, imported=6126982.0, exported=4870433.0, fault_state=0, fault_str='Kein Fehler.', power=9481.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=42721.32, raw_currents_left=[62.09, 62.93, 62.43], surplus_power_left=0, state_str=''))
2023-12-08 04:18:21,608 - {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': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=278.6800000000003, invalid_home_consumption=0, daily_yield_home_consumption=5589.4256330971, imported_home_consumption=2374421.520551742, disengageable_smarthome_power=0))
2023-12-08 04:18:21,610 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2023-12-08 04:18:21,611 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Ladeprofil ***AUTO1***', disable_after_unplug=False, prio=False, load_default=True, time_charging=TimeCharging(active=True, plans={'0': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[True, True, True, True, False, False, True]), time=['22:00', '06:00'], name='Zeitladen 95%, So-Do 22:00-06:00 Uhr', current=16, limit=Limit(selected='soc', amount=1000, soc=95)), '1': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, True, True, False]), time=['22:00', '06:00'], name='Zeitladen 80%, Fr-Sa 22:00-06:00 Uhr', current=16, limit=Limit(selected='soc', amount=1000, soc=80))}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2023-12-08 04:18:21,614 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, time_charging=TimeCharging(active=True, plans={'2': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), time=['06:45', '07:00'], name='Klima 06:45-07:00 Uhr', current=6, limit=Limit(selected='none', amount=1000, soc=50)), '3': TimeChargingPlan(active=True, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, False, False, False]), time=['00:00', '23:55'], name='Immer 35%', current=10, limit=Limit(selected='soc', amount=1000, soc=35))}), chargemode=Chargemode(selected='scheduled_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={'0': ScheduledChargingPlan(active=False, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, True, False, False, False, False, False]), current=14, name='Zielladen 80%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '1': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), current=14, name='Zielladen 95%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=95), time='05:40'), '2': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once='2023-09-26', weekly=[True, False, False, True, False, True, True]), current=14, name='Zielladen 75%, 7:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=75), time='05:40')}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=80))))
2023-12-08 04:18:21,618 - {control.data:266} - {INFO:MainThread} - ev0
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=['0003134583'], get=Get(soc=0, soc_timestamp=None, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:18:21,622 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Tesla Model Y (2022)', 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=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212', '2585087748'], get=Get(soc=49.0, soc_timestamp='12/08/2023, 01:29:15', force_soc_update=False, range=220.74, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:18:21,624 - {control.data:266} - {INFO:MainThread} - ev2
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Cupra Born 58kW', 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=18000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=2, ev_template=2, name='***AUTO2***', tag_id=['1655332554'], get=Get(soc=72, soc_timestamp='12/08/2023, 04:17:58', force_soc_update=False, range=205, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:18:21,628 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40)
2023-12-08 04:18:21,632 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', 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=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40)
2023-12-08 04:18:21,641 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', 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=18000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40)
2023-12-08 04:18:21,643 - {control.data:245} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=3), pv_charging=PvCharging(bat_prio=True, charging_power_reserve=200, control_range=[-230, 230], feed_in_yield=15000, phase_switch_delay=15, phases_to_use=0, rundown_power=1000, rundown_soc=25, switch_off_delay=60, switch_off_soc=25, switch_off_threshold=50, switch_on_delay=30, switch_on_soc=50, switch_on_threshold=1400), scheduled_charging=ScheduledCharging(phases_to_use=0), time_charging=TimeCharging(phases_to_use=3), unbalanced_load_limit=20, unbalanced_load=True), control_interval=10, extern_display_mode='local', extern=False, external_buttons_hw=False, grid_protection_active=False, grid_protection_configured=True, grid_protection_random_stop=0, grid_protection_timestamp='', mqtt_bridge=False, price_kwh=0.3528, range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=True, r1_active=False, r2_active=False))
2023-12-08 04:18:21,645 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2023-12-08 04:18:21,646 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2023-12-08 04:18:21,647 - {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 0x70b68988>), led=Led(active=False), rfid=Rfid(active=True))
2023-12-08 04:18:21,649 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=0), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=293628.595, fault_state=0, fault_str='Kein Fehler.', power=0))
2023-12-08 04:18:21,651 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=9500), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=7816178.86, fault_state=0, fault_str='Kein Fehler.', power=-0.0))
2023-12-08 04:18:21,652 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=8109807.455, power=0.0))
2023-12-08 04:18:21,656 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2023-11-30 12:30:45 +0100 [285f5a5fb]', 'current_branch': 'Release', 'current_branch_commit': '2023-11-30 12:30:45 +0100 [285f5a5fb]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.2-Patch.1', 'datastore_version': 29, 'lastlivevaluesJson': {'timestamp': 1702005491, 'time': '04:18:11', 'grid': 9.49, 'house-power': 0.276, 'charging-all': 9.214, 'pv-all': -0.0, 'cp1-power': 9.214, 'ev1-soc': 49.0, 'ev2-soc': 72, 'bat-all-power': 0.0, 'bat-all-soc': 19}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2023-12-08 04:18:21,656 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2023-12-08 04:18:21,658 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2023-12-08 04:18:21,659 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2023-12-08 04:18:21,660 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2023-12-08 04:18:21,661 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2023-12-08 04:18:21,663 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2023-12-08 04:18:21,663 - {control.data:253} - {INFO:MainThread} - 

2023-12-08 04:18:21,664 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2023-12-08 04:18:21,665 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2023-12-08 04:18:21,668 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2023-12-08 04:18:21,672 - {control.counter:169} - {DEBUG:MainThread} - Zähler 0: [56.09, 56.93, 56.43]A verbleibende Ströme, 38581.32W verbleibende Leistung
2023-12-08 04:18:21,673 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2023-12-08 04:18:21,676 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2023-12-08 04:18:21,677 - {control.algorithm.filter_chargepoints:117} - {DEBUG:MainThread} - Geordnete Ladepunkte [1]
2023-12-08 04:18:21,678 - {control.algorithm.additional_current:26} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2023-12-08 04:18:21,679 - {control.counter:169} - {DEBUG:MainThread} - Zähler 0: [47.881561823670935, 48.72156182367093, 48.22156182367093]A verbleibende Ströme, 32917.49765833294W verbleibende Leistung
2023-12-08 04:18:21,680 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 14.208438176329068A
2023-12-08 04:18:21,681 - {control.counter:211} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: 0W
2023-12-08 04:18:21,682 - {control.counter:457} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf 0W
2023-12-08 04:18:21,682 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2023-12-08 04:18:21,683 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2023-12-08 04:18:21,684 - {control.chargelog:52} - {DEBUG:MainThread} - imported_since_mode_switch 1143.070000000298 counter 6927521.0
2023-12-08 04:18:21,689 - {control.process:111} - {INFO:MainThread} - LP1: set current 14.21 A, state CHARGING_ALLOWED
2023-12-08 04:18:21,713 - {modules.common.component_context:24} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:18:21,737 - {control.counter:186} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2023-12-08 04:18:21,955 - {helpermodules.changed_values_handler:120} - {DEBUG:MainThread} - Topic openWB/set/chargepoint/1/control_parameter/required_current, Payload 14.208438176329068, vorherige Payload: 14.178671340038926
2023-12-08 04:18:21,959 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2023-12-08 04:18:21,971 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2023-12-08 04:18:25,981 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2023-12-08 04:18:25,982 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2023-12-08 04:18:30,992 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2023-12-08 04:18:30,993 - {root:74} - {INFO:MainThread} - # ***Start*** 
2023-12-08 04:18:31,036 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x715cf340>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x7155e4a8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x715c75f8>}
2023-12-08 04:18:31,037 - {modules.common.component_context:24} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2023-12-08 04:18:31,041 - {modules.common.component_context:24} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:18:31,048 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2023-12-08 04:18:31,049 - {pymodbus.client.sync:218} - {ERROR:device0} - Connection to (solaredge, 1502) failed: [Errno 111] Connection refused
2023-12-08 04:18:31,092 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 750
2023-12-08 04:18:31,094 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"cloud":{"connected":false},"input:0":{"id":0,"state":false},"mqtt":{"connected":false},"switch:0":{"id":0, "source":"loopback", "output":false, "apower":0.0, "voltage":241.2, "current":0.000, "aenergy":{"total":1505.625,"by_minute":[0.000,0.000,0.000],"minute_ts":1702005510},"temperature":{"tC":28.8, "tF":83.9}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:18","unixtime":1702005511,"uptime":1364839,"ram_size":248996,"ram_free":145260,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"beta":{"version":"1.1.0-beta2"},"stable":{"version":"1.0.8"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-70},"ws":{"connected":false}}

2023-12-08 04:18:31,097 - {modules.common.simcount._simcount:38} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1702005500.9053612, power=0, imported=0.0, exported=293628.5948715257)
2023-12-08 04:18:31,097 - {modules.common.simcount._calculate:13} - {DEBUG:device1} - time passed: 0.00283103, power1: 0, power2: 0
2023-12-08 04:18:31,100 - {modules.common.simcount._calculate:29} - {DEBUG:device1} - power did not change sign. Total energy: 0
2023-12-08 04:18:31,101 - {modules.common.simcount._simcount:47} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702005511.097071, power=0, imported=0.0, exported=293628.5948715257)
2023-12-08 04:18:31,102 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:18:31,110 - {modules.common.component_context:24} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2023-12-08 04:18:31,115 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=143333.37604219164, exported=116864.5215890633, power=0.0, soc=19.0)
2023-12-08 04:18:31,163 - {modules.common.component_context:24} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:18:31,163 - {modules.common.component_context:24} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2023-12-08 04:18:31,164 - {modules.common.component_context:24} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2023-12-08 04:18:31,164 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-0.0, exported=7842647.720000001, dc_power=None)
2023-12-08 04:18:31,165 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:18:31,166 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-0.0, exported=7842647.720000001, dc_power=None)
2023-12-08 04:18:31,166 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:18:31,202 - {modules.common.component_context:24} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2023-12-08 04:18:31,202 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[13.600000000000001, 12.8, 13.4], powers=[3226.0, 3066.0, 3188.0], voltages=[240.67000000000002, 240.83, 239.24], power_factors=[0.9919, 0.9940000000000001, 0.9929000000000001], imported=6126982.0, exported=4870433.0, power=9481.0, frequency=49.99)
2023-12-08 04:18:31,258 - {helpermodules.changed_values_handler:120} - {DEBUG:MainThread} - Topic openWB/set/chargepoint/1/control_parameter/required_current, Payload 14.208438176329068, vorherige Payload: 14.178671340038926
2023-12-08 04:18:31,347 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2023-12-08 04:18:31,348 - {control.bat_all:173} - {INFO:MainThread} - -50W verbleibende Speicher-Leistung
2023-12-08 04:18:31,352 - {control.counter:138} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [62.08, 62.92, 62.41]A
2023-12-08 04:18:31,355 - {control.counter:161} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 42689.62W
2023-12-08 04:18:31,357 - {control.chargepoint.chargepoint:699} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2023-12-08 04:18:31,359 - {control.chargepoint.chargepoint:682} - {DEBUG:MainThread} - Phasenzahl Lademodus: 3
2023-12-08 04:18:31,360 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -82.788674s, Dauer 1.380952380952381h, Termin heute verpasst: False
2023-12-08 04:18:31,361 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 90640.191621s, Dauer 0.18012422360248448h, Termin heute verpasst: False
2023-12-08 04:18:31,362 - {control.ev:762} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2023-12-08 04:18:31,366 - {control.chargepoint.chargepoint:898} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 14.23708873230971A, Lademodus scheduled_charging, Submodus: Chargemode.INSTANT_CHARGING, Phasen: 3, Priorität: False, max. Ist-Strom: 12.81
2023-12-08 04:18:31,379 - {control.chargepoint.chargepoint:277} - {INFO:MainThread} - LP 1: Zielladen mit 14.24A. Der Ladestrom wurde erhöht, um den Zieltermin zu erreichen. Es wird bis max. 20 Minuten nach dem angegebenen Zieltermin geladen.
2023-12-08 04:18:31,394 - {modules.common.simcount._simcount:38} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1702005501.5882933, power=278.6800000000003, imported=2374421.520551742, exported=0)
2023-12-08 04:18:31,400 - {modules.common.simcount._calculate:13} - {DEBUG:MainThread} - time passed: 0.00272396, power1: 278.68, power2: 310.38
2023-12-08 04:18:31,401 - {modules.common.simcount._calculate:29} - {DEBUG:MainThread} - power did not change sign. Total energy: 0.802287
2023-12-08 04:18:31,403 - {modules.common.simcount._simcount:47} - {DEBUG:MainThread} - imported: 0.802287 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702005511.394534, power=310.3799999999992, imported=2374422.322838437, exported=0)
2023-12-08 04:18:31,407 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=19, daily_exported=0.0, daily_imported=0.0, imported=143333.38, exported=116864.52, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2023-12-08 04:18:31,409 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=19, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=143333.38, exported=116864.52, power=0.0), set=Set(charging_power_left=-50, switch_on_soc_reached=False))
2023-12-08 04:18:31,411 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=641.11, daily_exported=0, power=9170.62, imported=6927547.85, exported=0))
2023-12-08 04:18:31,413 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 95%, 06:00 Uhr', imported_at_plan_start=6926377.93, imported_instant_charging=None, limit=None, phases=3, prio=False, required_current=14.23708873230971, required_currents=[14.23708873230971, 14.23708873230971, 14.23708873230971], 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=[12.72, 12.81, 12.68], daily_imported=641.11, daily_exported=0, evse_current=1421, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=6927547.85, phases_in_use=3, plug_state=True, power=9170.62, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Zielladen mit 14.24A. Der Ladestrom wurde erhöht, um den Zieltermin zu erreichen. Es wird bis max. 20 Minuten nach dem angegebenen Zieltermin geladen.', voltages=[241.08, 239.5, 240.94]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=14.21, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', imported_at_mode_switch=6926377.93, imported_at_plugtime=6926377.93, imported_since_mode_switch=1143.070000000298, imported_since_plugged=1143.070000000298, range_charged=6.350388888890544, time_charged='0:06', timestamp_start_charging='12/08/2023, 04:11:30'), manual_lock=False, phases_to_use=3, plug_state_prev=True, plug_time='12/07/2023, 13:07:31', required_power=9823.5912252937, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x70b92100>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB Carport', type='internal_openwb', template=1, connected_phases=3, phase_1=2, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=1))
2023-12-08 04:18:31,415 - {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-12-08 04:18:31,416 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=1, max_current_multi_phases=16, max_current_single_phase=20, name='RFID, 20A, 11kW', rfid_enabling=True, valid_tags=['0003134583', '0003526747', '1655332554', '2585022212', '2585087748'])
2023-12-08 04:18:31,421 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[63, 63, 63], max_total_power=43000), get=Get(powers=[3226.0, 3066.0, 3188.0], currents=[13.6, 12.8, 13.4], voltages=[240.67, 240.83, 239.24], power_factors=[0.99, 0.99, 0.99], unbalanced_load=0, frequency=49.99, daily_exported=0.0, daily_imported=4693.0, imported=6126982.0, exported=4870433.0, fault_state=0, fault_str='Kein Fehler.', power=9481.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=42689.62, raw_currents_left=[62.08, 62.92, 62.41], surplus_power_left=0, state_str=''))
2023-12-08 04:18:31,423 - {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': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=310.3799999999992, invalid_home_consumption=0, daily_yield_home_consumption=5589.4256330971, imported_home_consumption=2374422.322838437, disengageable_smarthome_power=0))
2023-12-08 04:18:31,424 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2023-12-08 04:18:31,425 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Ladeprofil ***AUTO1***', disable_after_unplug=False, prio=False, load_default=True, time_charging=TimeCharging(active=True, plans={'0': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[True, True, True, True, False, False, True]), time=['22:00', '06:00'], name='Zeitladen 95%, So-Do 22:00-06:00 Uhr', current=16, limit=Limit(selected='soc', amount=1000, soc=95)), '1': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, True, True, False]), time=['22:00', '06:00'], name='Zeitladen 80%, Fr-Sa 22:00-06:00 Uhr', current=16, limit=Limit(selected='soc', amount=1000, soc=80))}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2023-12-08 04:18:31,426 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, time_charging=TimeCharging(active=True, plans={'2': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), time=['06:45', '07:00'], name='Klima 06:45-07:00 Uhr', current=6, limit=Limit(selected='none', amount=1000, soc=50)), '3': TimeChargingPlan(active=True, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, False, False, False]), time=['00:00', '23:55'], name='Immer 35%', current=10, limit=Limit(selected='soc', amount=1000, soc=35))}), chargemode=Chargemode(selected='scheduled_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={'0': ScheduledChargingPlan(active=False, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, True, False, False, False, False, False]), current=14, name='Zielladen 80%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '1': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), current=14, name='Zielladen 95%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=95), time='05:40'), '2': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once='2023-09-26', weekly=[True, False, False, True, False, True, True]), current=14, name='Zielladen 75%, 7:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=75), time='05:40')}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=80))))
2023-12-08 04:18:31,428 - {control.data:266} - {INFO:MainThread} - ev0
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=['0003134583'], get=Get(soc=0, soc_timestamp=None, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:18:31,429 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Tesla Model Y (2022)', 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=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212', '2585087748'], get=Get(soc=49.0, soc_timestamp='12/08/2023, 01:29:15', force_soc_update=False, range=220.74, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:18:31,431 - {control.data:266} - {INFO:MainThread} - ev2
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Cupra Born 58kW', 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=18000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=2, ev_template=2, name='***AUTO2***', tag_id=['1655332554'], get=Get(soc=72, soc_timestamp='12/08/2023, 04:17:58', force_soc_update=False, range=205, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:18:31,432 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40)
2023-12-08 04:18:31,433 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', 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=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40)
2023-12-08 04:18:31,434 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', 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=18000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40)
2023-12-08 04:18:31,435 - {control.data:245} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=3), pv_charging=PvCharging(bat_prio=True, charging_power_reserve=200, control_range=[-230, 230], feed_in_yield=15000, phase_switch_delay=15, phases_to_use=0, rundown_power=1000, rundown_soc=25, switch_off_delay=60, switch_off_soc=25, switch_off_threshold=50, switch_on_delay=30, switch_on_soc=50, switch_on_threshold=1400), scheduled_charging=ScheduledCharging(phases_to_use=0), time_charging=TimeCharging(phases_to_use=3), unbalanced_load_limit=20, unbalanced_load=True), control_interval=10, extern_display_mode='local', extern=False, external_buttons_hw=False, grid_protection_active=False, grid_protection_configured=True, grid_protection_random_stop=0, grid_protection_timestamp='', mqtt_bridge=False, price_kwh=0.3528, range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=True, r1_active=False, r2_active=False))
2023-12-08 04:18:31,436 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2023-12-08 04:18:31,441 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2023-12-08 04:18:31,442 - {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 0x70b92238>), led=Led(active=False), rfid=Rfid(active=True))
2023-12-08 04:18:31,445 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=0), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=293628.595, fault_state=0, fault_str='Kein Fehler.', power=0))
2023-12-08 04:18:31,446 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=9500), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=7842647.72, fault_state=0, fault_str='Kein Fehler.', power=-0.0))
2023-12-08 04:18:31,448 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=8136276.3149999995, power=0.0))
2023-12-08 04:18:31,449 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2023-11-30 12:30:45 +0100 [285f5a5fb]', 'current_branch': 'Release', 'current_branch_commit': '2023-11-30 12:30:45 +0100 [285f5a5fb]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.2-Patch.1', 'datastore_version': 29, 'lastlivevaluesJson': {'timestamp': 1702005501, 'time': '04:18:21', 'grid': 9.481, 'house-power': 0.279, 'charging-all': 9.202, 'pv-all': -0.0, 'cp1-power': 9.202, 'ev1-soc': 49.0, 'ev2-soc': 72, 'bat-all-power': 0.0, 'bat-all-soc': 19}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2023-12-08 04:18:31,451 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2023-12-08 04:18:31,452 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2023-12-08 04:18:31,453 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2023-12-08 04:18:31,454 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2023-12-08 04:18:31,454 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2023-12-08 04:18:31,456 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2023-12-08 04:18:31,457 - {control.data:253} - {INFO:MainThread} - 

2023-12-08 04:18:31,457 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2023-12-08 04:18:31,458 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2023-12-08 04:18:31,458 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2023-12-08 04:18:31,461 - {control.counter:169} - {DEBUG:MainThread} - Zähler 0: [56.08, 56.92, 56.41]A verbleibende Ströme, 38549.62W verbleibende Leistung
2023-12-08 04:18:31,462 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2023-12-08 04:18:31,465 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2023-12-08 04:18:31,472 - {control.algorithm.filter_chargepoints:117} - {DEBUG:MainThread} - Geordnete Ladepunkte [1]
2023-12-08 04:18:31,473 - {control.algorithm.additional_current:26} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2023-12-08 04:18:31,475 - {control.counter:169} - {DEBUG:MainThread} - Zähler 0: [47.84291126769029, 48.682911267690294, 48.17291126769029]A verbleibende Ströme, 32866.028774706305W verbleibende Leistung
2023-12-08 04:18:31,480 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 14.23708873230971A
2023-12-08 04:18:31,482 - {control.counter:211} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: 0W
2023-12-08 04:18:31,482 - {control.counter:457} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf 0W
2023-12-08 04:18:31,483 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2023-12-08 04:18:31,483 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2023-12-08 04:18:31,484 - {control.chargelog:52} - {DEBUG:MainThread} - imported_since_mode_switch 1169.9199999999255 counter 6927547.85
2023-12-08 04:18:31,489 - {control.process:111} - {INFO:MainThread} - LP1: set current 14.24 A, state CHARGING_ALLOWED
2023-12-08 04:18:31,493 - {modules.common.component_context:24} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:18:31,517 - {control.counter:186} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2023-12-08 04:18:31,730 - {helpermodules.changed_values_handler:120} - {DEBUG:MainThread} - Topic openWB/set/chargepoint/1/control_parameter/required_current, Payload 14.23708873230971, vorherige Payload: 14.208438176329068
2023-12-08 04:18:31,733 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2023-12-08 04:18:35,782 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2023-12-08 04:18:35,783 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2023-12-08 04:18:40,793 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2023-12-08 04:18:40,794 - {root:74} - {INFO:MainThread} - # ***Start*** 
2023-12-08 04:18:40,838 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x715cf340>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x7155e4a8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x715c75f8>}
2023-12-08 04:18:40,840 - {modules.common.component_context:24} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2023-12-08 04:18:40,848 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2023-12-08 04:18:40,850 - {modules.common.component_context:24} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:18:40,905 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 750
2023-12-08 04:18:40,907 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"cloud":{"connected":false},"input:0":{"id":0,"state":false},"mqtt":{"connected":false},"switch:0":{"id":0, "source":"loopback", "output":false, "apower":0.0, "voltage":241.2, "current":0.000, "aenergy":{"total":1505.625,"by_minute":[0.000,0.000,0.000],"minute_ts":1702005520},"temperature":{"tC":28.7, "tF":83.7}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:18","unixtime":1702005521,"uptime":1364849,"ram_size":248996,"ram_free":145260,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"beta":{"version":"1.1.0-beta2"},"stable":{"version":"1.0.8"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-68},"ws":{"connected":false}}

2023-12-08 04:18:40,909 - {modules.common.simcount._simcount:38} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1702005511.097071, power=0, imported=0.0, exported=293628.5948715257)
2023-12-08 04:18:40,910 - {modules.common.simcount._calculate:13} - {DEBUG:device1} - time passed: 0.0027257, power1: 0, power2: 0
2023-12-08 04:18:40,910 - {modules.common.simcount._calculate:29} - {DEBUG:device1} - power did not change sign. Total energy: 0
2023-12-08 04:18:40,911 - {modules.common.simcount._simcount:47} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702005520.9095752, power=0, imported=0.0, exported=293628.5948715257)
2023-12-08 04:18:40,912 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:18:43,856 - {pymodbus.client.sync:218} - {ERROR:device0} - Connection to (solaredge, 1502) failed: timed out
2023-12-08 04:18:43,902 - {modules.common.component_context:24} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2023-12-08 04:18:43,903 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=143333.37604219164, exported=116864.5215890633, power=0.0, soc=19.0)
2023-12-08 04:18:44,017 - {modules.common.component_context:24} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:18:44,020 - {modules.common.component_context:24} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2023-12-08 04:18:44,021 - {modules.common.component_context:24} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2023-12-08 04:18:44,021 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-0.0, exported=7869116.580000001, dc_power=None)
2023-12-08 04:18:44,022 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:18:44,022 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-0.0, exported=7869116.580000001, dc_power=None)
2023-12-08 04:18:44,023 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:18:44,061 - {modules.common.component_context:24} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2023-12-08 04:18:44,061 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[13.600000000000001, 12.8, 13.4], powers=[3226.0, 3066.0, 3188.0], voltages=[240.67000000000002, 240.83, 239.24], power_factors=[0.9919, 0.9940000000000001, 0.9929000000000001], imported=6126982.0, exported=4870433.0, power=9481.0, frequency=49.99)
2023-12-08 04:18:44,124 - {helpermodules.changed_values_handler:120} - {DEBUG:MainThread} - Topic openWB/set/chargepoint/1/control_parameter/required_current, Payload 14.23708873230971, vorherige Payload: 14.208438176329068
2023-12-08 04:18:44,224 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2023-12-08 04:18:44,227 - {control.bat_all:173} - {INFO:MainThread} - -50W verbleibende Speicher-Leistung
2023-12-08 04:18:44,239 - {control.counter:138} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [62.11, 62.94, 62.42]A
2023-12-08 04:18:44,242 - {control.counter:161} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 42702.36W
2023-12-08 04:18:44,248 - {control.chargepoint.chargepoint:699} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2023-12-08 04:18:44,251 - {control.chargepoint.chargepoint:682} - {DEBUG:MainThread} - Phasenzahl Lademodus: 3
2023-12-08 04:18:44,254 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -95.68226s, Dauer 1.380952380952381h, Termin heute verpasst: False
2023-12-08 04:18:44,257 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 90627.295782s, Dauer 0.18012422360248448h, Termin heute verpasst: False
2023-12-08 04:18:44,263 - {control.ev:762} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2023-12-08 04:18:44,289 - {control.chargepoint.chargepoint:898} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 14.274737764116264A, Lademodus scheduled_charging, Submodus: Chargemode.INSTANT_CHARGING, Phasen: 3, Priorität: False, max. Ist-Strom: 12.82
2023-12-08 04:18:44,293 - {control.chargepoint.chargepoint:277} - {INFO:MainThread} - LP 1: Zielladen mit 14.27A. Der Ladestrom wurde erhöht, um den Zieltermin zu erreichen. Es wird bis max. 20 Minuten nach dem angegebenen Zieltermin geladen.
2023-12-08 04:18:44,362 - {modules.common.simcount._simcount:38} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1702005511.394534, power=310.3799999999992, imported=2374422.322838437, exported=0)
2023-12-08 04:18:44,363 - {modules.common.simcount._calculate:13} - {DEBUG:MainThread} - time passed: 0.00360207, power1: 310.38, power2: 297.64
2023-12-08 04:18:44,364 - {modules.common.simcount._calculate:29} - {DEBUG:MainThread} - power did not change sign. Total energy: 1.09507
2023-12-08 04:18:44,374 - {modules.common.simcount._simcount:47} - {DEBUG:MainThread} - imported: 1.09507 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702005524.3619938, power=297.6399999999994, imported=2374423.417904386, exported=0)
2023-12-08 04:18:44,377 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=19, daily_exported=0.0, daily_imported=0.0, imported=143333.38, exported=116864.52, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2023-12-08 04:18:44,378 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=19, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=143333.38, exported=116864.52, power=0.0), set=Set(charging_power_left=-50, switch_on_soc_reached=False))
2023-12-08 04:18:44,378 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=641.11, daily_exported=0, power=9183.36, imported=6927581.05, exported=0))
2023-12-08 04:18:44,393 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 95%, 06:00 Uhr', imported_at_plan_start=6926377.93, imported_instant_charging=None, limit=None, phases=3, prio=False, required_current=14.274737764116264, required_currents=[14.274737764116264, 14.274737764116264, 14.274737764116264], 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=[12.74, 12.82, 12.71], daily_imported=641.11, daily_exported=0, evse_current=1424, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=6927581.05, phases_in_use=3, plug_state=True, power=9183.36, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Zielladen mit 14.27A. Der Ladestrom wurde erhöht, um den Zieltermin zu erreichen. Es wird bis max. 20 Minuten nach dem angegebenen Zieltermin geladen.', voltages=[241.09, 239.4, 240.86]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=14.24, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', imported_at_mode_switch=6926377.93, imported_at_plugtime=6926377.93, imported_since_mode_switch=1169.9199999999255, imported_since_plugged=1169.9199999999255, range_charged=6.499555555555142, time_charged='0:07', timestamp_start_charging='12/08/2023, 04:11:30'), manual_lock=False, phases_to_use=3, plug_state_prev=True, plug_time='12/07/2023, 13:07:31', required_power=9849.569057240222, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x70b92238>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB Carport', type='internal_openwb', template=1, connected_phases=3, phase_1=2, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=1))
2023-12-08 04:18:44,394 - {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-12-08 04:18:44,394 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=1, max_current_multi_phases=16, max_current_single_phase=20, name='RFID, 20A, 11kW', rfid_enabling=True, valid_tags=['0003134583', '0003526747', '1655332554', '2585022212', '2585087748'])
2023-12-08 04:18:44,395 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[63, 63, 63], max_total_power=43000), get=Get(powers=[3226.0, 3066.0, 3188.0], currents=[13.6, 12.8, 13.4], voltages=[240.67, 240.83, 239.24], power_factors=[0.99, 0.99, 0.99], unbalanced_load=0, frequency=49.99, daily_exported=0.0, daily_imported=4693.0, imported=6126982.0, exported=4870433.0, fault_state=0, fault_str='Kein Fehler.', power=9481.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=42702.36, raw_currents_left=[62.11, 62.94, 62.42], surplus_power_left=0, state_str=''))
2023-12-08 04:18:44,396 - {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': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=297.6399999999994, invalid_home_consumption=0, daily_yield_home_consumption=5589.4256330971, imported_home_consumption=2374423.417904386, disengageable_smarthome_power=0))
2023-12-08 04:18:44,396 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2023-12-08 04:18:44,397 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Ladeprofil ***AUTO1***', disable_after_unplug=False, prio=False, load_default=True, time_charging=TimeCharging(active=True, plans={'0': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[True, True, True, True, False, False, True]), time=['22:00', '06:00'], name='Zeitladen 95%, So-Do 22:00-06:00 Uhr', current=16, limit=Limit(selected='soc', amount=1000, soc=95)), '1': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, True, True, False]), time=['22:00', '06:00'], name='Zeitladen 80%, Fr-Sa 22:00-06:00 Uhr', current=16, limit=Limit(selected='soc', amount=1000, soc=80))}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2023-12-08 04:18:44,398 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, time_charging=TimeCharging(active=True, plans={'2': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), time=['06:45', '07:00'], name='Klima 06:45-07:00 Uhr', current=6, limit=Limit(selected='none', amount=1000, soc=50)), '3': TimeChargingPlan(active=True, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, False, False, False]), time=['00:00', '23:55'], name='Immer 35%', current=10, limit=Limit(selected='soc', amount=1000, soc=35))}), chargemode=Chargemode(selected='scheduled_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={'0': ScheduledChargingPlan(active=False, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, True, False, False, False, False, False]), current=14, name='Zielladen 80%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '1': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), current=14, name='Zielladen 95%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=95), time='05:40'), '2': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once='2023-09-26', weekly=[True, False, False, True, False, True, True]), current=14, name='Zielladen 75%, 7:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=75), time='05:40')}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=80))))
2023-12-08 04:18:44,415 - {control.data:266} - {INFO:MainThread} - ev0
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=['0003134583'], get=Get(soc=0, soc_timestamp=None, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:18:44,416 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Tesla Model Y (2022)', 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=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212', '2585087748'], get=Get(soc=49.0, soc_timestamp='12/08/2023, 01:29:15', force_soc_update=False, range=220.74, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:18:44,416 - {control.data:266} - {INFO:MainThread} - ev2
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Cupra Born 58kW', 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=18000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=2, ev_template=2, name='***AUTO2***', tag_id=['1655332554'], get=Get(soc=72, soc_timestamp='12/08/2023, 04:17:58', force_soc_update=False, range=205, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:18:44,417 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40)
2023-12-08 04:18:44,417 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', 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=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40)
2023-12-08 04:18:44,418 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', 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=18000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40)
2023-12-08 04:18:44,419 - {control.data:245} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=3), pv_charging=PvCharging(bat_prio=True, charging_power_reserve=200, control_range=[-230, 230], feed_in_yield=15000, phase_switch_delay=15, phases_to_use=0, rundown_power=1000, rundown_soc=25, switch_off_delay=60, switch_off_soc=25, switch_off_threshold=50, switch_on_delay=30, switch_on_soc=50, switch_on_threshold=1400), scheduled_charging=ScheduledCharging(phases_to_use=0), time_charging=TimeCharging(phases_to_use=3), unbalanced_load_limit=20, unbalanced_load=True), control_interval=10, extern_display_mode='local', extern=False, external_buttons_hw=False, grid_protection_active=False, grid_protection_configured=True, grid_protection_random_stop=0, grid_protection_timestamp='', mqtt_bridge=False, price_kwh=0.3528, range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=True, r1_active=False, r2_active=False))
2023-12-08 04:18:44,441 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2023-12-08 04:18:44,441 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2023-12-08 04:18:44,442 - {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 0x70b5f4a8>), led=Led(active=False), rfid=Rfid(active=True))
2023-12-08 04:18:44,443 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=0), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=293628.595, fault_state=0, fault_str='Kein Fehler.', power=0))
2023-12-08 04:18:44,445 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=9500), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=7869116.58, fault_state=0, fault_str='Kein Fehler.', power=-0.0))
2023-12-08 04:18:44,447 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=8162745.175, power=0.0))
2023-12-08 04:18:44,449 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2023-11-30 12:30:45 +0100 [285f5a5fb]', 'current_branch': 'Release', 'current_branch_commit': '2023-11-30 12:30:45 +0100 [285f5a5fb]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.2-Patch.1', 'datastore_version': 29, 'lastlivevaluesJson': {'timestamp': 1702005511, 'time': '04:18:31', 'grid': 9.481, 'house-power': 0.31, 'charging-all': 9.171, 'pv-all': -0.0, 'cp1-power': 9.171, 'ev1-soc': 49.0, 'ev2-soc': 72, 'bat-all-power': 0.0, 'bat-all-soc': 19}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2023-12-08 04:18:44,453 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2023-12-08 04:18:44,454 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2023-12-08 04:18:44,480 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2023-12-08 04:18:44,492 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2023-12-08 04:18:44,493 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2023-12-08 04:18:44,493 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2023-12-08 04:18:44,494 - {control.data:253} - {INFO:MainThread} - 

2023-12-08 04:18:44,495 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2023-12-08 04:18:44,495 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2023-12-08 04:18:44,497 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2023-12-08 04:18:44,498 - {control.counter:169} - {DEBUG:MainThread} - Zähler 0: [56.11, 56.94, 56.42]A verbleibende Ströme, 38562.36W verbleibende Leistung
2023-12-08 04:18:44,499 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2023-12-08 04:18:44,501 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2023-12-08 04:18:44,502 - {control.algorithm.filter_chargepoints:117} - {DEBUG:MainThread} - Geordnete Ladepunkte [1]
2023-12-08 04:18:44,503 - {control.algorithm.additional_current:26} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2023-12-08 04:18:44,504 - {control.counter:169} - {DEBUG:MainThread} - Zähler 0: [47.83526223588373, 48.66526223588373, 48.145262235883735]A verbleibende Ströme, 32852.79094275978W verbleibende Leistung
2023-12-08 04:18:44,505 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 14.274737764116264A
2023-12-08 04:18:44,506 - {control.counter:211} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: 0W
2023-12-08 04:18:44,507 - {control.counter:457} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf 0W
2023-12-08 04:18:44,508 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2023-12-08 04:18:44,508 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2023-12-08 04:18:44,510 - {control.chargelog:52} - {DEBUG:MainThread} - imported_since_mode_switch 1203.1200000001118 counter 6927581.05
2023-12-08 04:18:44,517 - {control.process:111} - {INFO:MainThread} - LP1: set current 14.27 A, state CHARGING_ALLOWED
2023-12-08 04:18:44,527 - {modules.common.component_context:24} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:18:44,567 - {control.counter:186} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2023-12-08 04:18:44,769 - {helpermodules.changed_values_handler:120} - {DEBUG:MainThread} - Topic openWB/set/chargepoint/1/control_parameter/required_current, Payload 14.274737764116264, vorherige Payload: 14.23708873230971
2023-12-08 04:18:44,772 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2023-12-08 04:18:44,774 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2023-12-08 04:18:45,777 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2023-12-08 04:18:50,789 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2023-12-08 04:18:50,790 - {root:74} - {INFO:MainThread} - # ***Start*** 
2023-12-08 04:18:50,832 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x715cf340>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x7155e4a8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x715c75f8>}
2023-12-08 04:18:50,833 - {modules.common.component_context:24} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2023-12-08 04:18:50,835 - {modules.common.component_context:24} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:18:50,842 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2023-12-08 04:18:50,887 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 750
2023-12-08 04:18:50,889 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"cloud":{"connected":false},"input:0":{"id":0,"state":false},"mqtt":{"connected":false},"switch:0":{"id":0, "source":"loopback", "output":false, "apower":0.0, "voltage":241.0, "current":0.000, "aenergy":{"total":1505.625,"by_minute":[0.000,0.000,0.000],"minute_ts":1702005530},"temperature":{"tC":28.7, "tF":83.7}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:18","unixtime":1702005531,"uptime":1364859,"ram_size":248996,"ram_free":145260,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"beta":{"version":"1.1.0-beta2"},"stable":{"version":"1.0.8"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-68},"ws":{"connected":false}}

2023-12-08 04:18:50,891 - {modules.common.simcount._simcount:38} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1702005520.9095752, power=0, imported=0.0, exported=293628.5948715257)
2023-12-08 04:18:50,891 - {modules.common.simcount._calculate:13} - {DEBUG:device1} - time passed: 0.00277267, power1: 0, power2: 0
2023-12-08 04:18:50,892 - {modules.common.simcount._calculate:29} - {DEBUG:device1} - power did not change sign. Total energy: 0
2023-12-08 04:18:50,892 - {modules.common.simcount._simcount:47} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702005530.8911908, power=0, imported=0.0, exported=293628.5948715257)
2023-12-08 04:18:50,893 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:18:53,847 - {pymodbus.client.sync:218} - {ERROR:device0} - Connection to (solaredge, 1502) failed: timed out
2023-12-08 04:18:53,860 - {modules.common.component_context:24} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2023-12-08 04:18:53,860 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=143333.37604219164, exported=116864.5215890633, power=0.0, soc=19.0)
2023-12-08 04:18:53,895 - {modules.common.component_context:24} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:18:53,897 - {modules.common.component_context:24} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2023-12-08 04:18:53,898 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-0.0, exported=7895585.440000001, dc_power=None)
2023-12-08 04:18:53,898 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-0.0, exported=7895585.440000001, dc_power=None)
2023-12-08 04:18:53,901 - {modules.common.component_context:24} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2023-12-08 04:18:53,906 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:18:53,911 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:18:53,948 - {modules.common.component_context:24} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2023-12-08 04:18:53,949 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[13.600000000000001, 12.8, 13.4], powers=[3226.0, 3066.0, 3188.0], voltages=[240.67000000000002, 240.83, 239.24], power_factors=[0.9919, 0.9940000000000001, 0.9929000000000001], imported=6126982.0, exported=4870433.0, power=9481.0, frequency=49.99)
2023-12-08 04:18:54,072 - {helpermodules.changed_values_handler:120} - {DEBUG:MainThread} - Topic openWB/set/chargepoint/1/control_parameter/required_current, Payload 14.274737764116264, vorherige Payload: 14.23708873230971
2023-12-08 04:18:54,168 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2023-12-08 04:18:54,171 - {control.bat_all:173} - {INFO:MainThread} - -50W verbleibende Speicher-Leistung
2023-12-08 04:18:54,175 - {control.counter:138} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [62.09, 62.95, 62.42]A
2023-12-08 04:18:54,176 - {control.counter:161} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 42681.74W
2023-12-08 04:18:54,181 - {control.chargepoint.chargepoint:699} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2023-12-08 04:18:54,183 - {control.chargepoint.chargepoint:682} - {DEBUG:MainThread} - Phasenzahl Lademodus: 3
2023-12-08 04:18:54,185 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -105.613318s, Dauer 1.380952380952381h, Termin heute verpasst: False
2023-12-08 04:18:54,186 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 90617.366467s, Dauer 0.18012422360248448h, Termin heute verpasst: False
2023-12-08 04:18:54,190 - {control.ev:762} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2023-12-08 04:18:54,194 - {control.chargepoint.chargepoint:898} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 14.30387229580041A, Lademodus scheduled_charging, Submodus: Chargemode.INSTANT_CHARGING, Phasen: 3, Priorität: False, max. Ist-Strom: 12.82
2023-12-08 04:18:54,200 - {control.chargepoint.chargepoint:277} - {INFO:MainThread} - LP 1: Zielladen mit 14.3A. Der Ladestrom wurde erhöht, um den Zieltermin zu erreichen. Es wird bis max. 20 Minuten nach dem angegebenen Zieltermin geladen.
2023-12-08 04:18:54,242 - {modules.common.simcount._simcount:38} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1702005524.3619938, power=297.6399999999994, imported=2374423.417904386, exported=0)
2023-12-08 04:18:54,251 - {modules.common.simcount._calculate:13} - {DEBUG:MainThread} - time passed: 0.00274457, power1: 297.64, power2: 318.26
2023-12-08 04:18:54,263 - {modules.common.simcount._calculate:29} - {DEBUG:MainThread} - power did not change sign. Total energy: 0.845191
2023-12-08 04:18:54,266 - {modules.common.simcount._simcount:47} - {DEBUG:MainThread} - imported: 0.845191 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702005534.242459, power=318.2600000000002, imported=2374424.2630958525, exported=0)
2023-12-08 04:18:54,277 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=19, daily_exported=0.0, daily_imported=0.0, imported=143333.38, exported=116864.52, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2023-12-08 04:18:54,281 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=19, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=143333.38, exported=116864.52, power=0.0), set=Set(charging_power_left=-50, switch_on_soc_reached=False))
2023-12-08 04:18:54,282 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=641.11, daily_exported=0, power=9162.74, imported=6927604.98, exported=0))
2023-12-08 04:18:54,286 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 95%, 06:00 Uhr', imported_at_plan_start=6926377.93, imported_instant_charging=None, limit=None, phases=3, prio=False, required_current=14.30387229580041, required_currents=[14.30387229580041, 14.30387229580041, 14.30387229580041], 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=[12.75, 12.82, 12.69], daily_imported=641.11, daily_exported=0, evse_current=1427, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=6927604.98, phases_in_use=3, plug_state=True, power=9162.74, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Zielladen mit 14.3A. Der Ladestrom wurde erhöht, um den Zieltermin zu erreichen. Es wird bis max. 20 Minuten nach dem angegebenen Zieltermin geladen.', voltages=[240.99, 239.31, 240.76]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=14.27, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', imported_at_mode_switch=6926377.93, imported_at_plugtime=6926377.93, imported_since_mode_switch=1203.1200000001118, imported_since_plugged=1203.1200000001118, range_charged=6.684000000000621, time_charged='0:07', timestamp_start_charging='12/08/2023, 04:11:30'), manual_lock=False, phases_to_use=3, plug_state_prev=True, plug_time='12/07/2023, 13:07:31', required_power=9869.671884102283, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x70b9fdd8>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB Carport', type='internal_openwb', template=1, connected_phases=3, phase_1=2, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=1))
2023-12-08 04:18:54,288 - {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-12-08 04:18:54,291 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=1, max_current_multi_phases=16, max_current_single_phase=20, name='RFID, 20A, 11kW', rfid_enabling=True, valid_tags=['0003134583', '0003526747', '1655332554', '2585022212', '2585087748'])
2023-12-08 04:18:54,294 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[63, 63, 63], max_total_power=43000), get=Get(powers=[3226.0, 3066.0, 3188.0], currents=[13.6, 12.8, 13.4], voltages=[240.67, 240.83, 239.24], power_factors=[0.99, 0.99, 0.99], unbalanced_load=0, frequency=49.99, daily_exported=0.0, daily_imported=4693.0, imported=6126982.0, exported=4870433.0, fault_state=0, fault_str='Kein Fehler.', power=9481.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=42681.74, raw_currents_left=[62.09, 62.95, 62.42], surplus_power_left=0, state_str=''))
2023-12-08 04:18:54,295 - {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': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=318.2600000000002, invalid_home_consumption=0, daily_yield_home_consumption=5589.4256330971, imported_home_consumption=2374424.2630958525, disengageable_smarthome_power=0))
2023-12-08 04:18:54,297 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2023-12-08 04:18:54,299 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Ladeprofil ***AUTO1***', disable_after_unplug=False, prio=False, load_default=True, time_charging=TimeCharging(active=True, plans={'0': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[True, True, True, True, False, False, True]), time=['22:00', '06:00'], name='Zeitladen 95%, So-Do 22:00-06:00 Uhr', current=16, limit=Limit(selected='soc', amount=1000, soc=95)), '1': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, True, True, False]), time=['22:00', '06:00'], name='Zeitladen 80%, Fr-Sa 22:00-06:00 Uhr', current=16, limit=Limit(selected='soc', amount=1000, soc=80))}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2023-12-08 04:18:54,301 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, time_charging=TimeCharging(active=True, plans={'2': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), time=['06:45', '07:00'], name='Klima 06:45-07:00 Uhr', current=6, limit=Limit(selected='none', amount=1000, soc=50)), '3': TimeChargingPlan(active=True, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, False, False, False]), time=['00:00', '23:55'], name='Immer 35%', current=10, limit=Limit(selected='soc', amount=1000, soc=35))}), chargemode=Chargemode(selected='scheduled_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={'0': ScheduledChargingPlan(active=False, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, True, False, False, False, False, False]), current=14, name='Zielladen 80%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '1': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), current=14, name='Zielladen 95%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=95), time='05:40'), '2': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once='2023-09-26', weekly=[True, False, False, True, False, True, True]), current=14, name='Zielladen 75%, 7:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=75), time='05:40')}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=80))))
2023-12-08 04:18:54,302 - {control.data:266} - {INFO:MainThread} - ev0
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=['0003134583'], get=Get(soc=0, soc_timestamp=None, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:18:54,311 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Tesla Model Y (2022)', 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=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212', '2585087748'], get=Get(soc=49.0, soc_timestamp='12/08/2023, 01:29:15', force_soc_update=False, range=220.74, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:18:54,313 - {control.data:266} - {INFO:MainThread} - ev2
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Cupra Born 58kW', 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=18000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=2, ev_template=2, name='***AUTO2***', tag_id=['1655332554'], get=Get(soc=72, soc_timestamp='12/08/2023, 04:18:53', force_soc_update=False, range=205, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:18:54,314 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40)
2023-12-08 04:18:54,315 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', 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=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40)
2023-12-08 04:18:54,317 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', 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=18000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40)
2023-12-08 04:18:54,319 - {control.data:245} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=3), pv_charging=PvCharging(bat_prio=True, charging_power_reserve=200, control_range=[-230, 230], feed_in_yield=15000, phase_switch_delay=15, phases_to_use=0, rundown_power=1000, rundown_soc=25, switch_off_delay=60, switch_off_soc=25, switch_off_threshold=50, switch_on_delay=30, switch_on_soc=50, switch_on_threshold=1400), scheduled_charging=ScheduledCharging(phases_to_use=0), time_charging=TimeCharging(phases_to_use=3), unbalanced_load_limit=20, unbalanced_load=True), control_interval=10, extern_display_mode='local', extern=False, external_buttons_hw=False, grid_protection_active=False, grid_protection_configured=True, grid_protection_random_stop=0, grid_protection_timestamp='', mqtt_bridge=False, price_kwh=0.3528, range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=True, r1_active=False, r2_active=False))
2023-12-08 04:18:54,320 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2023-12-08 04:18:54,321 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2023-12-08 04:18:54,322 - {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 0x70befb80>), led=Led(active=False), rfid=Rfid(active=True))
2023-12-08 04:18:54,330 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=0), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=293628.595, fault_state=0, fault_str='Kein Fehler.', power=0))
2023-12-08 04:18:54,333 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=9500), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=7895585.44, fault_state=0, fault_str='Kein Fehler.', power=-0.0))
2023-12-08 04:18:54,335 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=8189214.035, power=0.0))
2023-12-08 04:18:54,336 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2023-11-30 12:30:45 +0100 [285f5a5fb]', 'current_branch': 'Release', 'current_branch_commit': '2023-11-30 12:30:45 +0100 [285f5a5fb]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.2-Patch.1', 'datastore_version': 29, 'lastlivevaluesJson': {'timestamp': 1702005524, 'time': '04:18:44', 'grid': 9.481, 'house-power': 0.298, 'charging-all': 9.183, 'pv-all': -0.0, 'cp1-power': 9.183, 'ev1-soc': 49.0, 'ev2-soc': 72, 'bat-all-power': 0.0, 'bat-all-soc': 19}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2023-12-08 04:18:54,338 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2023-12-08 04:18:54,339 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2023-12-08 04:18:54,339 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2023-12-08 04:18:54,340 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2023-12-08 04:18:54,341 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2023-12-08 04:18:54,343 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2023-12-08 04:18:54,344 - {control.data:253} - {INFO:MainThread} - 

2023-12-08 04:18:54,345 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2023-12-08 04:18:54,345 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2023-12-08 04:18:54,346 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2023-12-08 04:18:54,347 - {control.counter:169} - {DEBUG:MainThread} - Zähler 0: [56.09, 56.95, 56.42]A verbleibende Ströme, 38541.74W verbleibende Leistung
2023-12-08 04:18:54,348 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2023-12-08 04:18:54,350 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2023-12-08 04:18:54,351 - {control.algorithm.filter_chargepoints:117} - {DEBUG:MainThread} - Geordnete Ladepunkte [1]
2023-12-08 04:18:54,354 - {control.algorithm.additional_current:26} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2023-12-08 04:18:54,354 - {control.counter:169} - {DEBUG:MainThread} - Zähler 0: [47.78612770419959, 48.64612770419959, 48.11612770419959]A verbleibende Ströme, 32812.06811589772W verbleibende Leistung
2023-12-08 04:18:54,355 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 14.30387229580041A
2023-12-08 04:18:54,357 - {control.counter:211} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: 0W
2023-12-08 04:18:54,357 - {control.counter:457} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf 0W
2023-12-08 04:18:54,358 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2023-12-08 04:18:54,359 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2023-12-08 04:18:54,360 - {control.chargelog:52} - {DEBUG:MainThread} - imported_since_mode_switch 1227.050000000745 counter 6927604.98
2023-12-08 04:18:54,367 - {control.process:111} - {INFO:MainThread} - LP1: set current 14.3 A, state CHARGING_ALLOWED
2023-12-08 04:18:54,394 - {modules.common.component_context:24} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:18:54,431 - {control.counter:186} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2023-12-08 04:18:54,660 - {helpermodules.changed_values_handler:120} - {DEBUG:MainThread} - Topic openWB/set/chargepoint/1/control_parameter/required_current, Payload 14.30387229580041, vorherige Payload: 14.274737764116264
2023-12-08 04:18:54,670 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2023-12-08 04:18:54,672 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2023-12-08 04:18:55,675 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2023-12-08 04:18:55,676 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2023-12-08 04:19:00,688 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2023-12-08 04:19:00,690 - {root:74} - {INFO:MainThread} - # ***Start*** 
2023-12-08 04:19:00,741 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x715cf340>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x7155e4a8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x715c75f8>}
2023-12-08 04:19:00,745 - {modules.common.component_context:24} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2023-12-08 04:19:00,748 - {modules.common.component_context:24} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:19:00,756 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2023-12-08 04:19:00,762 - {pymodbus.client.sync:218} - {ERROR:device0} - Connection to (solaredge, 1502) failed: [Errno 111] Connection refused
2023-12-08 04:19:00,828 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 750
2023-12-08 04:19:00,830 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"cloud":{"connected":false},"input:0":{"id":0,"state":false},"mqtt":{"connected":false},"switch:0":{"id":0, "source":"loopback", "output":false, "apower":0.0, "voltage":241.3, "current":0.000, "aenergy":{"total":1505.625,"by_minute":[0.000,0.000,0.000],"minute_ts":1702005540},"temperature":{"tC":28.9, "tF":84.0}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:19","unixtime":1702005541,"uptime":1364869,"ram_size":248944,"ram_free":144680,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"beta":{"version":"1.1.0-beta2"},"stable":{"version":"1.0.8"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-68},"ws":{"connected":false}}

2023-12-08 04:19:00,835 - {modules.common.simcount._simcount:38} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1702005530.8911908, power=0, imported=0.0, exported=293628.5948715257)
2023-12-08 04:19:00,837 - {modules.common.simcount._calculate:13} - {DEBUG:device1} - time passed: 0.00276241, power1: 0, power2: 0
2023-12-08 04:19:00,840 - {modules.common.simcount._calculate:29} - {DEBUG:device1} - power did not change sign. Total energy: 0
2023-12-08 04:19:00,840 - {modules.common.simcount._simcount:47} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702005540.8358817, power=0, imported=0.0, exported=293628.5948715257)
2023-12-08 04:19:00,845 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:19:00,851 - {modules.common.component_context:24} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2023-12-08 04:19:00,852 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=143333.37604219164, exported=116864.5215890633, power=0.0, soc=19.0)
2023-12-08 04:19:00,983 - {modules.common.component_context:24} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:19:00,984 - {modules.common.component_context:24} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2023-12-08 04:19:00,990 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-0.0, exported=7922054.300000002, dc_power=None)
2023-12-08 04:19:00,991 - {modules.common.component_context:24} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2023-12-08 04:19:00,992 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-0.0, exported=7922054.300000002, dc_power=None)
2023-12-08 04:19:00,993 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:19:00,999 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:19:01,049 - {modules.common.component_context:24} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2023-12-08 04:19:01,050 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[13.600000000000001, 12.8, 13.4], powers=[3226.0, 3066.0, 3188.0], voltages=[240.67000000000002, 240.83, 239.24], power_factors=[0.9919, 0.9940000000000001, 0.9929000000000001], imported=6126982.0, exported=4870433.0, power=9481.0, frequency=49.99)
2023-12-08 04:19:01,104 - {helpermodules.changed_values_handler:120} - {DEBUG:MainThread} - Topic openWB/set/chargepoint/1/control_parameter/required_current, Payload 14.30387229580041, vorherige Payload: 14.274737764116264
2023-12-08 04:19:01,195 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2023-12-08 04:19:01,196 - {control.bat_all:173} - {INFO:MainThread} - -50W verbleibende Speicher-Leistung
2023-12-08 04:19:01,199 - {control.counter:138} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [61.89, 62.739999999999995, 62.44]A
2023-12-08 04:19:01,200 - {control.counter:161} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 42605.14W
2023-12-08 04:19:01,202 - {control.chargepoint.chargepoint:699} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2023-12-08 04:19:01,203 - {control.chargepoint.chargepoint:682} - {DEBUG:MainThread} - Phasenzahl Lademodus: 3
2023-12-08 04:19:01,205 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -112.633605s, Dauer 1.380952380952381h, Termin heute verpasst: False
2023-12-08 04:19:01,206 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 90610.346391s, Dauer 0.18012422360248448h, Termin heute verpasst: False
2023-12-08 04:19:01,208 - {control.ev:762} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2023-12-08 04:19:01,213 - {control.chargepoint.chargepoint:898} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 14.324539413763135A, Lademodus scheduled_charging, Submodus: Chargemode.INSTANT_CHARGING, Phasen: 3, Priorität: False, max. Ist-Strom: 12.84
2023-12-08 04:19:01,221 - {control.chargepoint.chargepoint:277} - {INFO:MainThread} - LP 1: Zielladen mit 14.32A. Der Ladestrom wurde erhöht, um den Zieltermin zu erreichen. Es wird bis max. 20 Minuten nach dem angegebenen Zieltermin geladen.
2023-12-08 04:19:01,228 - {modules.common.simcount._simcount:38} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1702005534.242459, power=318.2600000000002, imported=2374424.2630958525, exported=0)
2023-12-08 04:19:01,230 - {modules.common.simcount._calculate:13} - {DEBUG:MainThread} - time passed: 0.0019406, power1: 318.26, power2: 394.86
2023-12-08 04:19:01,233 - {modules.common.simcount._calculate:29} - {DEBUG:MainThread} - power did not change sign. Total energy: 0.691939
2023-12-08 04:19:01,234 - {modules.common.simcount._simcount:47} - {DEBUG:MainThread} - imported: 0.691939 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702005541.228605, power=394.8600000000006, imported=2374424.9550347994, exported=0)
2023-12-08 04:19:01,238 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=19, daily_exported=0.0, daily_imported=0.0, imported=143333.38, exported=116864.52, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2023-12-08 04:19:01,240 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=19, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=143333.38, exported=116864.52, power=0.0), set=Set(charging_power_left=-50, switch_on_soc_reached=False))
2023-12-08 04:19:01,242 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=641.11, daily_exported=0, power=9086.14, imported=6927624.02, exported=0))
2023-12-08 04:19:01,244 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 95%, 06:00 Uhr', imported_at_plan_start=6926377.93, imported_instant_charging=None, limit=None, phases=3, prio=False, required_current=14.324539413763135, required_currents=[14.324539413763135, 14.324539413763135, 14.324539413763135], 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=[12.54, 12.84, 12.49], daily_imported=641.11, daily_exported=0, evse_current=1430, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=6927624.02, phases_in_use=3, plug_state=True, power=9086.14, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Zielladen mit 14.32A. Der Ladestrom wurde erhöht, um den Zieltermin zu erreichen. Es wird bis max. 20 Minuten nach dem angegebenen Zieltermin geladen.', voltages=[241.23, 239.37, 240.91]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=14.3, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', imported_at_mode_switch=6926377.93, imported_at_plugtime=6926377.93, imported_since_mode_switch=1227.050000000745, imported_since_plugged=1227.050000000745, range_charged=6.816944444448583, time_charged='0:07', timestamp_start_charging='12/08/2023, 04:11:30'), manual_lock=False, phases_to_use=3, plug_state_prev=True, plug_time='12/07/2023, 13:07:31', required_power=9883.932195496564, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x70befc88>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB Carport', type='internal_openwb', template=1, connected_phases=3, phase_1=2, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=1))
2023-12-08 04:19:01,246 - {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-12-08 04:19:01,252 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=1, max_current_multi_phases=16, max_current_single_phase=20, name='RFID, 20A, 11kW', rfid_enabling=True, valid_tags=['0003134583', '0003526747', '1655332554', '2585022212', '2585087748'])
2023-12-08 04:19:01,257 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[63, 63, 63], max_total_power=43000), get=Get(powers=[3226.0, 3066.0, 3188.0], currents=[13.6, 12.8, 13.4], voltages=[240.67, 240.83, 239.24], power_factors=[0.99, 0.99, 0.99], unbalanced_load=0, frequency=49.99, daily_exported=0.0, daily_imported=4693.0, imported=6126982.0, exported=4870433.0, fault_state=0, fault_str='Kein Fehler.', power=9481.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=42605.14, raw_currents_left=[61.89, 62.739999999999995, 62.44], surplus_power_left=0, state_str=''))
2023-12-08 04:19:01,259 - {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': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=394.8600000000006, invalid_home_consumption=0, daily_yield_home_consumption=5589.4256330971, imported_home_consumption=2374424.9550347994, disengageable_smarthome_power=0))
2023-12-08 04:19:01,264 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2023-12-08 04:19:01,265 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Ladeprofil ***AUTO1***', disable_after_unplug=False, prio=False, load_default=True, time_charging=TimeCharging(active=True, plans={'0': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[True, True, True, True, False, False, True]), time=['22:00', '06:00'], name='Zeitladen 95%, So-Do 22:00-06:00 Uhr', current=16, limit=Limit(selected='soc', amount=1000, soc=95)), '1': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, True, True, False]), time=['22:00', '06:00'], name='Zeitladen 80%, Fr-Sa 22:00-06:00 Uhr', current=16, limit=Limit(selected='soc', amount=1000, soc=80))}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2023-12-08 04:19:01,268 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, time_charging=TimeCharging(active=True, plans={'2': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), time=['06:45', '07:00'], name='Klima 06:45-07:00 Uhr', current=6, limit=Limit(selected='none', amount=1000, soc=50)), '3': TimeChargingPlan(active=True, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, False, False, False]), time=['00:00', '23:55'], name='Immer 35%', current=10, limit=Limit(selected='soc', amount=1000, soc=35))}), chargemode=Chargemode(selected='scheduled_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={'0': ScheduledChargingPlan(active=False, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, True, False, False, False, False, False]), current=14, name='Zielladen 80%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '1': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), current=14, name='Zielladen 95%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=95), time='05:40'), '2': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once='2023-09-26', weekly=[True, False, False, True, False, True, True]), current=14, name='Zielladen 75%, 7:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=75), time='05:40')}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=80))))
2023-12-08 04:19:01,269 - {control.data:266} - {INFO:MainThread} - ev0
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=['0003134583'], get=Get(soc=0, soc_timestamp=None, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:19:01,272 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Tesla Model Y (2022)', 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=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212', '2585087748'], get=Get(soc=49.0, soc_timestamp='12/08/2023, 01:29:15', force_soc_update=False, range=220.74, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:19:01,273 - {control.data:266} - {INFO:MainThread} - ev2
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Cupra Born 58kW', 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=18000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=2, ev_template=2, name='***AUTO2***', tag_id=['1655332554'], get=Get(soc=72, soc_timestamp='12/08/2023, 04:18:53', force_soc_update=False, range=205, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:19:01,276 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40)
2023-12-08 04:19:01,279 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', 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=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40)
2023-12-08 04:19:01,280 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', 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=18000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40)
2023-12-08 04:19:01,283 - {control.data:245} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=3), pv_charging=PvCharging(bat_prio=True, charging_power_reserve=200, control_range=[-230, 230], feed_in_yield=15000, phase_switch_delay=15, phases_to_use=0, rundown_power=1000, rundown_soc=25, switch_off_delay=60, switch_off_soc=25, switch_off_threshold=50, switch_on_delay=30, switch_on_soc=50, switch_on_threshold=1400), scheduled_charging=ScheduledCharging(phases_to_use=0), time_charging=TimeCharging(phases_to_use=3), unbalanced_load_limit=20, unbalanced_load=True), control_interval=10, extern_display_mode='local', extern=False, external_buttons_hw=False, grid_protection_active=False, grid_protection_configured=True, grid_protection_random_stop=0, grid_protection_timestamp='', mqtt_bridge=False, price_kwh=0.3528, range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=True, r1_active=False, r2_active=False))
2023-12-08 04:19:01,285 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2023-12-08 04:19:01,286 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2023-12-08 04:19:01,287 - {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 0x715cf988>), led=Led(active=False), rfid=Rfid(active=True))
2023-12-08 04:19:01,288 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=0), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=293628.595, fault_state=0, fault_str='Kein Fehler.', power=0))
2023-12-08 04:19:01,289 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=9500), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=7922054.3, fault_state=0, fault_str='Kein Fehler.', power=-0.0))
2023-12-08 04:19:01,291 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=8215682.895, power=0.0))
2023-12-08 04:19:01,291 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2023-11-30 12:30:45 +0100 [285f5a5fb]', 'current_branch': 'Release', 'current_branch_commit': '2023-11-30 12:30:45 +0100 [285f5a5fb]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.2-Patch.1', 'datastore_version': 29, 'lastlivevaluesJson': {'timestamp': 1702005534, 'time': '04:18:54', 'grid': 9.481, 'house-power': 0.318, 'charging-all': 9.163, 'pv-all': -0.0, 'cp1-power': 9.163, 'ev1-soc': 49.0, 'ev2-soc': 72, 'bat-all-power': 0.0, 'bat-all-soc': 19}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2023-12-08 04:19:01,292 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2023-12-08 04:19:01,293 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2023-12-08 04:19:01,294 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2023-12-08 04:19:01,296 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2023-12-08 04:19:01,297 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2023-12-08 04:19:01,298 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2023-12-08 04:19:01,299 - {control.data:253} - {INFO:MainThread} - 

2023-12-08 04:19:01,299 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2023-12-08 04:19:01,301 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2023-12-08 04:19:01,302 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2023-12-08 04:19:01,303 - {control.counter:169} - {DEBUG:MainThread} - Zähler 0: [55.89, 56.739999999999995, 56.44]A verbleibende Ströme, 38465.14W verbleibende Leistung
2023-12-08 04:19:01,305 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2023-12-08 04:19:01,308 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2023-12-08 04:19:01,310 - {control.algorithm.filter_chargepoints:117} - {DEBUG:MainThread} - Geordnete Ladepunkte [1]
2023-12-08 04:19:01,311 - {control.algorithm.additional_current:26} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2023-12-08 04:19:01,312 - {control.counter:169} - {DEBUG:MainThread} - Zähler 0: [47.56546058623687, 48.41546058623686, 48.115460586236864]A verbleibende Ströme, 32721.207804503436W verbleibende Leistung
2023-12-08 04:19:01,313 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 14.324539413763135A
2023-12-08 04:19:01,315 - {control.counter:211} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: 0W
2023-12-08 04:19:01,316 - {control.counter:457} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf 0W
2023-12-08 04:19:01,318 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2023-12-08 04:19:01,319 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2023-12-08 04:19:01,322 - {control.chargelog:52} - {DEBUG:MainThread} - imported_since_mode_switch 1246.089999999851 counter 6927624.02
2023-12-08 04:19:01,326 - {control.process:111} - {INFO:MainThread} - LP1: set current 14.32 A, state CHARGING_ALLOWED
2023-12-08 04:19:01,329 - {modules.common.component_context:24} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:19:01,353 - {control.counter:186} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2023-12-08 04:19:01,575 - {helpermodules.changed_values_handler:120} - {DEBUG:MainThread} - Topic openWB/set/chargepoint/1/control_parameter/required_current, Payload 14.324539413763135, vorherige Payload: 14.30387229580041
2023-12-08 04:19:01,577 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2023-12-08 04:19:05,639 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2023-12-08 04:19:05,641 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2023-12-08 04:19:10,650 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2023-12-08 04:19:10,651 - {root:74} - {INFO:MainThread} - # ***Start*** 
2023-12-08 04:19:10,692 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x715cf340>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x7155e4a8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x715c75f8>}
2023-12-08 04:19:10,693 - {modules.common.component_context:24} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2023-12-08 04:19:10,700 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2023-12-08 04:19:10,702 - {modules.common.component_context:24} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:19:10,744 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2023-12-08 04:19:10,778 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 750
2023-12-08 04:19:10,781 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"cloud":{"connected":false},"input:0":{"id":0,"state":false},"mqtt":{"connected":false},"switch:0":{"id":0, "source":"loopback", "output":false, "apower":0.0, "voltage":241.3, "current":0.000, "aenergy":{"total":1505.625,"by_minute":[0.000,0.000,0.000],"minute_ts":1702005550},"temperature":{"tC":28.8, "tF":83.9}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:19","unixtime":1702005551,"uptime":1364879,"ram_size":248944,"ram_free":144688,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"beta":{"version":"1.1.0-beta2"},"stable":{"version":"1.0.8"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-68},"ws":{"connected":false}}

2023-12-08 04:19:10,783 - {modules.common.simcount._simcount:38} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1702005540.8358817, power=0, imported=0.0, exported=293628.5948715257)
2023-12-08 04:19:10,784 - {modules.common.simcount._calculate:13} - {DEBUG:device1} - time passed: 0.00276322, power1: 0, power2: 0
2023-12-08 04:19:10,784 - {modules.common.simcount._calculate:29} - {DEBUG:device1} - power did not change sign. Total energy: 0
2023-12-08 04:19:10,785 - {modules.common.simcount._simcount:47} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702005550.7834651, power=0, imported=0.0, exported=293628.5948715257)
2023-12-08 04:19:10,787 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:19:11,815 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-32768, -32768, -32768, -32768], Scale -32768
2023-12-08 04:19:12,125 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-32768, -32768, -32768], Scale -32768
2023-12-08 04:19:12,359 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-32768, -32768, -32768, -32768, -32768, -32768, -32768], Scale -32768
2023-12-08 04:19:12,659 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-32768], Scale -32768
2023-12-08 04:19:12,917 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-32768, -32768, -32768], Scale -32768
2023-12-08 04:19:13,577 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [0, 0, 0, 0, 0, 0, 0, 0], Scale 0
2023-12-08 04:19:13,578 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[-0.0, -0.0, -0.0], powers=[0.0, 0.0, 0.0], voltages=[-0.0, -0.0, -0.0], power_factors=[-0.0, -0.0, -0.0], imported=0.0, exported=0.0, power=0.0, frequency=-0.0)
2023-12-08 04:19:13,580 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2023-12-08 04:19:13,810 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [0], Scale 0
2023-12-08 04:19:14,036 - {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.
2023-12-08 04:19:14,037 - {modules.common.utils.component_parser:24} - {ERROR:MainThread} - Keine aktuellen Werte für Gerät SolarEdge
2023-12-08 04:19:14,048 - {modules.common.utils.component_parser:24} - {ERROR:MainThread} - Keine aktuellen Werte für Gerät SolarEdge
2023-12-08 04:19:14,049 - {modules.common.utils.component_parser:24} - {ERROR:MainThread} - Keine aktuellen Werte für Gerät SolarEdge
2023-12-08 04:19:14,050 - {modules.common.component_context:24} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:19:14,060 - {modules.common.utils.component_parser:24} - {ERROR:MainThread} - Keine aktuellen Werte für Gerät SolarEdge
2023-12-08 04:19:14,067 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7789710], Scale 0
2023-12-08 04:19:14,101 - {helpermodules.changed_values_handler:120} - {DEBUG:MainThread} - Topic openWB/set/chargepoint/1/control_parameter/required_current, Payload 14.324539413763135, vorherige Payload: 14.30387229580041
2023-12-08 04:19:14,209 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [27, 31, 31], Scale -2
2023-12-08 04:19:14,216 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2023-12-08 04:19:14,217 - {control.bat_all:173} - {INFO:MainThread} - -50W verbleibende Speicher-Leistung
2023-12-08 04:19:14,224 - {control.counter:138} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [61.88, 62.72, 62.36]A
2023-12-08 04:19:14,225 - {control.counter:161} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 42592.07W
2023-12-08 04:19:14,228 - {control.chargepoint.chargepoint:699} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2023-12-08 04:19:14,231 - {control.chargepoint.chargepoint:682} - {DEBUG:MainThread} - Phasenzahl Lademodus: 3
2023-12-08 04:19:14,234 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -125.662461s, Dauer 1.380952380952381h, Termin heute verpasst: False
2023-12-08 04:19:14,236 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 90597.317438s, Dauer 0.18012422360248448h, Termin heute verpasst: False
2023-12-08 04:19:14,237 - {control.ev:762} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2023-12-08 04:19:14,239 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [0], Scale 0
2023-12-08 04:19:14,241 - {modules.common.component_state:100} - {DEBUG:device0} - currents sign wrong [0.27, 0.31, 0.31]
2023-12-08 04:19:14,242 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.27, 0.31, 0.31], power=-0.0, exported=7789710.0, dc_power=-0.0)
2023-12-08 04:19:14,243 - {control.chargepoint.chargepoint:898} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 14.363053934900792A, Lademodus scheduled_charging, Submodus: Chargemode.INSTANT_CHARGING, Phasen: 3, Priorität: False, max. Ist-Strom: 12.76
2023-12-08 04:19:14,245 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2023-12-08 04:19:14,245 - {control.chargepoint.chargepoint:277} - {INFO:MainThread} - LP 1: Zielladen mit 14.36A. Der Ladestrom wurde erhöht, um den Zieltermin zu erreichen. Es wird bis max. 20 Minuten nach dem angegebenen Zieltermin geladen.
2023-12-08 04:19:14,283 - {modules.common.simcount._simcount:38} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1702005541.228605, power=394.8600000000006, imported=2374424.9550347994, exported=0)
2023-12-08 04:19:14,285 - {modules.common.simcount._calculate:13} - {DEBUG:MainThread} - time passed: 0.00362641, power1: 394.86, power2: 407.93
2023-12-08 04:19:14,287 - {modules.common.simcount._calculate:29} - {DEBUG:MainThread} - power did not change sign. Total energy: 1.45562
2023-12-08 04:19:14,289 - {modules.common.simcount._simcount:47} - {DEBUG:MainThread} - imported: 1.45562 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702005554.2836866, power=407.9300000000003, imported=2374426.4106582664, exported=0)
2023-12-08 04:19:14,293 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=19, daily_exported=0.0, daily_imported=0.0, imported=143333.38, exported=116864.52, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2023-12-08 04:19:14,294 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=19, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=143333.38, exported=116864.52, power=0.0), set=Set(charging_power_left=-50, switch_on_soc_reached=False))
2023-12-08 04:19:14,296 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=641.11, daily_exported=0, power=9073.07, imported=6927657.23, exported=0))
2023-12-08 04:19:14,297 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 95%, 06:00 Uhr', imported_at_plan_start=6926377.93, imported_instant_charging=None, limit=None, phases=3, prio=False, required_current=14.363053934900792, required_currents=[14.363053934900792, 14.363053934900792, 14.363053934900792], 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=[12.52, 12.76, 12.48], daily_imported=641.11, daily_exported=0, evse_current=1432, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=6927657.23, phases_in_use=3, plug_state=True, power=9073.07, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Zielladen mit 14.36A. Der Ladestrom wurde erhöht, um den Zieltermin zu erreichen. Es wird bis max. 20 Minuten nach dem angegebenen Zieltermin geladen.', voltages=[241.22, 239.46, 240.96]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=14.32, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', imported_at_mode_switch=6926377.93, imported_at_plugtime=6926377.93, imported_since_mode_switch=1246.089999999851, imported_since_plugged=1246.089999999851, range_charged=6.922722222221394, time_charged='0:07', timestamp_start_charging='12/08/2023, 04:11:30'), manual_lock=False, phases_to_use=3, plug_state_prev=True, plug_time='12/07/2023, 13:07:31', required_power=9910.507215081547, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x70ba7e98>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB Carport', type='internal_openwb', template=1, connected_phases=3, phase_1=2, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=1))
2023-12-08 04:19:14,299 - {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-12-08 04:19:14,300 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=1, max_current_multi_phases=16, max_current_single_phase=20, name='RFID, 20A, 11kW', rfid_enabling=True, valid_tags=['0003134583', '0003526747', '1655332554', '2585022212', '2585087748'])
2023-12-08 04:19:14,301 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[63, 63, 63], max_total_power=43000), get=Get(powers=[3226.0, 3066.0, 3188.0], currents=[13.6, 12.8, 13.4], voltages=[240.67, 240.83, 239.24], power_factors=[0.99, 0.99, 0.99], unbalanced_load=0, frequency=49.99, daily_exported=0.0, daily_imported=4693.0, imported=6126982.0, exported=4870433.0, fault_state=0, fault_str='Kein Fehler.', power=9481.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=42592.07, raw_currents_left=[61.88, 62.72, 62.36], surplus_power_left=0, state_str=''))
2023-12-08 04:19:14,302 - {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': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=407.9300000000003, invalid_home_consumption=0, daily_yield_home_consumption=5589.4256330971, imported_home_consumption=2374426.4106582664, disengageable_smarthome_power=0))
2023-12-08 04:19:14,304 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2023-12-08 04:19:14,305 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Ladeprofil ***AUTO1***', disable_after_unplug=False, prio=False, load_default=True, time_charging=TimeCharging(active=True, plans={'0': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[True, True, True, True, False, False, True]), time=['22:00', '06:00'], name='Zeitladen 95%, So-Do 22:00-06:00 Uhr', current=16, limit=Limit(selected='soc', amount=1000, soc=95)), '1': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, True, True, False]), time=['22:00', '06:00'], name='Zeitladen 80%, Fr-Sa 22:00-06:00 Uhr', current=16, limit=Limit(selected='soc', amount=1000, soc=80))}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2023-12-08 04:19:14,307 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, time_charging=TimeCharging(active=True, plans={'2': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), time=['06:45', '07:00'], name='Klima 06:45-07:00 Uhr', current=6, limit=Limit(selected='none', amount=1000, soc=50)), '3': TimeChargingPlan(active=True, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, False, False, False]), time=['00:00', '23:55'], name='Immer 35%', current=10, limit=Limit(selected='soc', amount=1000, soc=35))}), chargemode=Chargemode(selected='scheduled_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={'0': ScheduledChargingPlan(active=False, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, True, False, False, False, False, False]), current=14, name='Zielladen 80%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '1': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), current=14, name='Zielladen 95%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=95), time='05:40'), '2': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once='2023-09-26', weekly=[True, False, False, True, False, True, True]), current=14, name='Zielladen 75%, 7:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=75), time='05:40')}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=80))))
2023-12-08 04:19:14,308 - {control.data:266} - {INFO:MainThread} - ev0
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=['0003134583'], get=Get(soc=0, soc_timestamp=None, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:19:14,309 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Tesla Model Y (2022)', 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=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212', '2585087748'], get=Get(soc=49.0, soc_timestamp='12/08/2023, 01:29:15', force_soc_update=False, range=220.74, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:19:14,311 - {control.data:266} - {INFO:MainThread} - ev2
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Cupra Born 58kW', 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=18000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=2, ev_template=2, name='***AUTO2***', tag_id=['1655332554'], get=Get(soc=72, soc_timestamp='12/08/2023, 04:18:53', force_soc_update=False, range=205, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:19:14,313 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40)
2023-12-08 04:19:14,314 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', 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=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40)
2023-12-08 04:19:14,316 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', 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=18000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40)
2023-12-08 04:19:14,318 - {control.data:245} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=3), pv_charging=PvCharging(bat_prio=True, charging_power_reserve=200, control_range=[-230, 230], feed_in_yield=15000, phase_switch_delay=15, phases_to_use=0, rundown_power=1000, rundown_soc=25, switch_off_delay=60, switch_off_soc=25, switch_off_threshold=50, switch_on_delay=30, switch_on_soc=50, switch_on_threshold=1400), scheduled_charging=ScheduledCharging(phases_to_use=0), time_charging=TimeCharging(phases_to_use=3), unbalanced_load_limit=20, unbalanced_load=True), control_interval=10, extern_display_mode='local', extern=False, external_buttons_hw=False, grid_protection_active=False, grid_protection_configured=True, grid_protection_random_stop=0, grid_protection_timestamp='', mqtt_bridge=False, price_kwh=0.3528, range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=True, r1_active=False, r2_active=False))
2023-12-08 04:19:14,319 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2023-12-08 04:19:14,320 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2023-12-08 04:19:14,321 - {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 0x7157bcb8>), led=Led(active=False), rfid=Rfid(active=True))
2023-12-08 04:19:14,323 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=0), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=293628.595, fault_state=0, fault_str='Kein Fehler.', power=0))
2023-12-08 04:19:14,324 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=9500), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=7922054.3, fault_state=0, fault_str='Kein Fehler.', power=-0.0))
2023-12-08 04:19:14,325 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=8215682.895, power=0.0))
2023-12-08 04:19:14,327 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2023-11-30 12:30:45 +0100 [285f5a5fb]', 'current_branch': 'Release', 'current_branch_commit': '2023-11-30 12:30:45 +0100 [285f5a5fb]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.2-Patch.1', 'datastore_version': 29, 'lastlivevaluesJson': {'timestamp': 1702005541, 'time': '04:19:01', 'grid': 9.481, 'house-power': 0.395, 'charging-all': 9.086, 'pv-all': -0.0, 'cp1-power': 9.086, 'ev1-soc': 49.0, 'ev2-soc': 72, 'bat-all-power': 0.0, 'bat-all-soc': 19}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2023-12-08 04:19:14,328 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2023-12-08 04:19:14,330 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2023-12-08 04:19:14,331 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2023-12-08 04:19:14,332 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2023-12-08 04:19:14,333 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2023-12-08 04:19:14,335 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2023-12-08 04:19:14,336 - {control.data:253} - {INFO:MainThread} - 

2023-12-08 04:19:14,337 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2023-12-08 04:19:14,339 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2023-12-08 04:19:14,341 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2023-12-08 04:19:14,344 - {control.counter:169} - {DEBUG:MainThread} - Zähler 0: [55.88, 56.72, 56.36]A verbleibende Ströme, 38452.07W verbleibende Leistung
2023-12-08 04:19:14,348 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2023-12-08 04:19:14,351 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2023-12-08 04:19:14,353 - {control.algorithm.filter_chargepoints:117} - {DEBUG:MainThread} - Geordnete Ladepunkte [1]
2023-12-08 04:19:14,354 - {control.algorithm.additional_current:26} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2023-12-08 04:19:14,355 - {control.counter:169} - {DEBUG:MainThread} - Zähler 0: [47.51694606509921, 48.35694606509921, 47.99694606509921]A verbleibende Ströme, 32681.562784918453W verbleibende Leistung
2023-12-08 04:19:14,356 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 14.363053934900792A
2023-12-08 04:19:14,359 - {control.counter:211} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: 0W
2023-12-08 04:19:14,360 - {control.counter:457} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf 0W
2023-12-08 04:19:14,362 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2023-12-08 04:19:14,363 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2023-12-08 04:19:14,365 - {control.chargelog:52} - {DEBUG:MainThread} - imported_since_mode_switch 1279.300000000745 counter 6927657.23
2023-12-08 04:19:14,368 - {control.process:111} - {INFO:MainThread} - LP1: set current 14.36 A, state CHARGING_ALLOWED
2023-12-08 04:19:14,370 - {modules.common.component_context:24} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:19:14,392 - {control.counter:186} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2023-12-08 04:19:14,412 - {modules.common.simcount._simcount:38} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1702005501.1892412, power=0.0, imported=143333.37604219164, exported=116864.5215890633)
2023-12-08 04:19:14,414 - {modules.common.simcount._calculate:13} - {DEBUG:device0} - time passed: 0.0147842, power1: 0, power2: 0
2023-12-08 04:19:14,415 - {modules.common.simcount._calculate:29} - {DEBUG:device0} - power did not change sign. Total energy: 0
2023-12-08 04:19:14,416 - {modules.common.simcount._simcount:47} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702005554.4124022, power=0.0, imported=143333.37604219164, exported=116864.5215890633)
2023-12-08 04:19:14,423 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=143333.37604219164, exported=116864.5215890633, power=0.0, soc=-3.4028234663852886e+38)
2023-12-08 04:19:14,678 - {helpermodules.changed_values_handler:120} - {DEBUG:MainThread} - Topic openWB/set/chargepoint/1/control_parameter/required_current, Payload 14.363053934900792, vorherige Payload: 14.324539413763135
2023-12-08 04:19:14,681 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2023-12-08 04:19:14,682 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2023-12-08 04:19:15,691 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2023-12-08 04:19:20,705 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2023-12-08 04:19:20,708 - {root:74} - {INFO:MainThread} - # ***Start*** 
2023-12-08 04:19:20,759 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x715cf340>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x7155e4a8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x715c75f8>}
2023-12-08 04:19:20,760 - {modules.common.component_context:24} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2023-12-08 04:19:20,767 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2023-12-08 04:19:20,769 - {modules.common.component_context:24} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:19:20,772 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2023-12-08 04:19:20,812 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 750
2023-12-08 04:19:20,814 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"cloud":{"connected":false},"input:0":{"id":0,"state":false},"mqtt":{"connected":false},"switch:0":{"id":0, "source":"loopback", "output":false, "apower":0.0, "voltage":241.3, "current":0.000, "aenergy":{"total":1505.625,"by_minute":[0.000,0.000,0.000],"minute_ts":1702005560},"temperature":{"tC":28.8, "tF":83.9}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:19","unixtime":1702005561,"uptime":1364889,"ram_size":248996,"ram_free":145264,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"beta":{"version":"1.1.0-beta2"},"stable":{"version":"1.0.8"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-70},"ws":{"connected":false}}

2023-12-08 04:19:20,817 - {modules.common.simcount._simcount:38} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1702005550.7834651, power=0, imported=0.0, exported=293628.5948715257)
2023-12-08 04:19:20,818 - {modules.common.simcount._calculate:13} - {DEBUG:device1} - time passed: 0.00278728, power1: 0, power2: 0
2023-12-08 04:19:20,819 - {modules.common.simcount._calculate:29} - {DEBUG:device1} - power did not change sign. Total energy: 0
2023-12-08 04:19:20,820 - {modules.common.simcount._simcount:47} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702005560.8176568, power=0, imported=0.0, exported=293628.5948715257)
2023-12-08 04:19:20,821 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:19:20,828 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-32768, -32768, -32768, -32768], Scale -32768
2023-12-08 04:19:20,848 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-32768, -32768, -32768], Scale -32768
2023-12-08 04:19:20,863 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-32768, -32768, -32768, -32768, -32768, -32768, -32768], Scale -32768
2023-12-08 04:19:20,883 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-32768], Scale -32768
2023-12-08 04:19:20,903 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-32768, -32768, -32768], Scale -32768
2023-12-08 04:19:20,924 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [0, 0, 0, 0, 0, 0, 0, 0], Scale 0
2023-12-08 04:19:20,925 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[-0.0, -0.0, -0.0], powers=[0.0, 0.0, 0.0], voltages=[-0.0, -0.0, -0.0], power_factors=[-0.0, -0.0, -0.0], imported=0.0, exported=0.0, power=0.0, frequency=-0.0)
2023-12-08 04:19:20,929 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2023-12-08 04:19:20,953 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [0], Scale 0
2023-12-08 04:19:20,976 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7789710], Scale 0
2023-12-08 04:19:20,993 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [29, 32, 32], Scale -2
2023-12-08 04:19:21,016 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [0], Scale 0
2023-12-08 04:19:21,017 - {modules.common.component_state:100} - {DEBUG:device0} - currents sign wrong [0.29, 0.32, 0.32]
2023-12-08 04:19:21,017 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.29, 0.32, 0.32], power=-0.0, exported=7789710.0, dc_power=-0.0)
2023-12-08 04:19:21,021 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2023-12-08 04:19:21,064 - {modules.common.simcount._simcount:38} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1702005554.4124022, power=0.0, imported=143333.37604219164, exported=116864.5215890633)
2023-12-08 04:19:21,065 - {modules.common.simcount._calculate:13} - {DEBUG:device0} - time passed: 0.00184787, power1: 0, power2: 0
2023-12-08 04:19:21,065 - {modules.common.simcount._calculate:29} - {DEBUG:device0} - power did not change sign. Total energy: 0
2023-12-08 04:19:21,066 - {modules.common.simcount._simcount:47} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702005561.0647297, power=0.0, imported=143333.37604219164, exported=116864.5215890633)
2023-12-08 04:19:21,067 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=143333.37604219164, exported=116864.5215890633, power=0.0, soc=19.0)
2023-12-08 04:19:21,082 - {modules.common.component_context:24} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2023-12-08 04:19:21,083 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=143333.37604219164, exported=116864.5215890633, power=0.0, soc=19.0)
2023-12-08 04:19:21,116 - {modules.common.component_context:24} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:19:21,117 - {modules.common.component_context:24} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2023-12-08 04:19:21,118 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=7816178.86, dc_power=None)
2023-12-08 04:19:21,119 - {modules.common.component_context:24} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2023-12-08 04:19:21,120 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=7816178.86, dc_power=None)
2023-12-08 04:19:21,121 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:19:21,123 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:19:21,163 - {modules.common.component_context:24} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2023-12-08 04:19:21,163 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[-0.0, -0.0, -0.0], powers=[0.0, 0.0, 0.0], voltages=[-0.0, -0.0, -0.0], power_factors=[-0.0, -0.0, -0.0], imported=0.0, exported=0.0, power=0.0, frequency=-0.0)
2023-12-08 04:19:21,541 - {helpermodules.changed_values_handler:120} - {DEBUG:MainThread} - Topic openWB/set/chargepoint/1/control_parameter/required_current, Payload 14.363053934900792, vorherige Payload: 14.324539413763135
2023-12-08 04:19:21,669 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2023-12-08 04:19:21,673 - {control.bat_all:173} - {INFO:MainThread} - -50W verbleibende Speicher-Leistung
2023-12-08 04:19:21,676 - {control.counter:138} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [75.69, 75.52, 75.61]A
2023-12-08 04:19:21,678 - {control.counter:161} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 52080.8W
2023-12-08 04:19:21,684 - {control.chargepoint.chargepoint:699} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2023-12-08 04:19:21,685 - {control.chargepoint.chargepoint:682} - {DEBUG:MainThread} - Phasenzahl Lademodus: 3
2023-12-08 04:19:21,688 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -133.116496s, Dauer 1.380952380952381h, Termin heute verpasst: False
2023-12-08 04:19:21,690 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 90589.862968s, Dauer 0.18012422360248448h, Termin heute verpasst: False
2023-12-08 04:19:21,691 - {control.ev:762} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2023-12-08 04:19:21,694 - {control.chargepoint.chargepoint:898} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 14.385182045917311A, Lademodus scheduled_charging, Submodus: Chargemode.INSTANT_CHARGING, Phasen: 3, Priorität: False, max. Ist-Strom: 12.69
2023-12-08 04:19:21,704 - {control.chargepoint.chargepoint:277} - {INFO:MainThread} - LP 1: Zielladen mit 14.39A. Der Ladestrom wurde erhöht, um den Zieltermin zu erreichen. Es wird bis max. 20 Minuten nach dem angegebenen Zieltermin geladen.
2023-12-08 04:19:21,723 - {control.counter_all:101} - {ERROR:MainThread} - Ungültiger Hausverbrauch: -9080.8W, Berücksichtigte Komponenten neben EVU [{'id': 1, 'type': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}, {'id': 4, 'type': 'bat', 'children': []}]
2023-12-08 04:19:21,726 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=19, daily_exported=0.0, daily_imported=0.0, imported=143333.38, exported=116864.52, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2023-12-08 04:19:21,730 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=19, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=143333.38, exported=116864.52, power=0.0), set=Set(charging_power_left=-50, switch_on_soc_reached=False))
2023-12-08 04:19:21,731 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=641.11, daily_exported=0, power=9080.8, imported=6927675.78, exported=0))
2023-12-08 04:19:21,733 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 95%, 06:00 Uhr', imported_at_plan_start=6926377.93, imported_instant_charging=None, limit=None, phases=3, prio=False, required_current=14.385182045917311, required_currents=[14.385182045917311, 14.385182045917311, 14.385182045917311], 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=[12.52, 12.61, 12.69], daily_imported=641.11, daily_exported=0, evse_current=1436, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=6927675.78, phases_in_use=3, plug_state=True, power=9080.8, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Zielladen mit 14.39A. Der Ladestrom wurde erhöht, um den Zieltermin zu erreichen. Es wird bis max. 20 Minuten nach dem angegebenen Zieltermin geladen.', voltages=[241.25, 239.52, 240.93]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=14.36, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', imported_at_mode_switch=6926377.93, imported_at_plugtime=6926377.93, imported_since_mode_switch=1279.300000000745, imported_since_plugged=1279.300000000745, range_charged=7.107222222226362, time_charged='0:07', timestamp_start_charging='12/08/2023, 04:11:30'), manual_lock=False, phases_to_use=3, plug_state_prev=True, plug_time='12/07/2023, 13:07:31', required_power=9925.775611682944, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x70bf04a8>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB Carport', type='internal_openwb', template=1, connected_phases=3, phase_1=2, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=1))
2023-12-08 04:19:21,736 - {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-12-08 04:19:21,736 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=1, max_current_multi_phases=16, max_current_single_phase=20, name='RFID, 20A, 11kW', rfid_enabling=True, valid_tags=['0003134583', '0003526747', '1655332554', '2585022212', '2585087748'])
2023-12-08 04:19:21,737 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[63, 63, 63], max_total_power=43000), get=Get(powers=[0.0, 0.0, 0.0], currents=[-0.0, -0.0, -0.0], voltages=[-0.0, -0.0, -0.0], power_factors=[-0.0, -0.0, -0.0], unbalanced_load=0, frequency=-0.0, daily_exported=0.0, daily_imported=4693.0, imported=0.0, exported=0.0, fault_state=1, fault_str='Der Wert für den Hausverbrauch ist nicht plausibel (negativ). Bitte die Leistungen der Komponenten und die Anordnung in der Hierarchie prüfen.', power=0.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=52080.8, raw_currents_left=[75.69, 75.52, 75.61], surplus_power_left=0, state_str=''))
2023-12-08 04:19:21,740 - {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': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=407.9300000000003, invalid_home_consumption=1, daily_yield_home_consumption=5589.4256330971, imported_home_consumption=2374426.4106582664, disengageable_smarthome_power=0))
2023-12-08 04:19:21,741 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2023-12-08 04:19:21,743 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Ladeprofil ***AUTO1***', disable_after_unplug=False, prio=False, load_default=True, time_charging=TimeCharging(active=True, plans={'0': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[True, True, True, True, False, False, True]), time=['22:00', '06:00'], name='Zeitladen 95%, So-Do 22:00-06:00 Uhr', current=16, limit=Limit(selected='soc', amount=1000, soc=95)), '1': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, True, True, False]), time=['22:00', '06:00'], name='Zeitladen 80%, Fr-Sa 22:00-06:00 Uhr', current=16, limit=Limit(selected='soc', amount=1000, soc=80))}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2023-12-08 04:19:21,744 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, time_charging=TimeCharging(active=True, plans={'2': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), time=['06:45', '07:00'], name='Klima 06:45-07:00 Uhr', current=6, limit=Limit(selected='none', amount=1000, soc=50)), '3': TimeChargingPlan(active=True, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, False, False, False]), time=['00:00', '23:55'], name='Immer 35%', current=10, limit=Limit(selected='soc', amount=1000, soc=35))}), chargemode=Chargemode(selected='scheduled_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={'0': ScheduledChargingPlan(active=False, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, True, False, False, False, False, False]), current=14, name='Zielladen 80%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '1': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), current=14, name='Zielladen 95%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=95), time='05:40'), '2': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once='2023-09-26', weekly=[True, False, False, True, False, True, True]), current=14, name='Zielladen 75%, 7:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=75), time='05:40')}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=80))))
2023-12-08 04:19:21,746 - {control.data:266} - {INFO:MainThread} - ev0
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=['0003134583'], get=Get(soc=0, soc_timestamp=None, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:19:21,748 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Tesla Model Y (2022)', 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=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212', '2585087748'], get=Get(soc=49.0, soc_timestamp='12/08/2023, 01:29:15', force_soc_update=False, range=220.74, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:19:21,750 - {control.data:266} - {INFO:MainThread} - ev2
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Cupra Born 58kW', 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=18000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=2, ev_template=2, name='***AUTO2***', tag_id=['1655332554'], get=Get(soc=72, soc_timestamp='12/08/2023, 04:18:53', force_soc_update=False, range=205, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:19:21,751 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40)
2023-12-08 04:19:21,752 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', 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=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40)
2023-12-08 04:19:21,754 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', 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=18000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40)
2023-12-08 04:19:21,756 - {control.data:245} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=3), pv_charging=PvCharging(bat_prio=True, charging_power_reserve=200, control_range=[-230, 230], feed_in_yield=15000, phase_switch_delay=15, phases_to_use=0, rundown_power=1000, rundown_soc=25, switch_off_delay=60, switch_off_soc=25, switch_off_threshold=50, switch_on_delay=30, switch_on_soc=50, switch_on_threshold=1400), scheduled_charging=ScheduledCharging(phases_to_use=0), time_charging=TimeCharging(phases_to_use=3), unbalanced_load_limit=20, unbalanced_load=True), control_interval=10, extern_display_mode='local', extern=False, external_buttons_hw=False, grid_protection_active=False, grid_protection_configured=True, grid_protection_random_stop=0, grid_protection_timestamp='', mqtt_bridge=False, price_kwh=0.3528, range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=True, r1_active=False, r2_active=False))
2023-12-08 04:19:21,757 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2023-12-08 04:19:21,758 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2023-12-08 04:19:21,761 - {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 0x70b92358>), led=Led(active=False), rfid=Rfid(active=True))
2023-12-08 04:19:21,763 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=0), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=293628.595, fault_state=0, fault_str='Kein Fehler.', power=0))
2023-12-08 04:19:21,764 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=9500), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=7816178.86, fault_state=0, fault_str='Kein Fehler.', power=0))
2023-12-08 04:19:21,766 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=8109807.455, power=0))
2023-12-08 04:19:21,767 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2023-11-30 12:30:45 +0100 [285f5a5fb]', 'current_branch': 'Release', 'current_branch_commit': '2023-11-30 12:30:45 +0100 [285f5a5fb]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.2-Patch.1', 'datastore_version': 29, 'lastlivevaluesJson': {'timestamp': 1702005554, 'time': '04:19:14', 'grid': 9.481, 'house-power': 0.408, 'charging-all': 9.073, 'pv-all': -0.0, 'cp1-power': 9.073, 'ev1-soc': 49.0, 'ev2-soc': 72, 'bat-all-power': 0.0, 'bat-all-soc': 19}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2023-12-08 04:19:21,769 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2023-12-08 04:19:21,770 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2023-12-08 04:19:21,771 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2023-12-08 04:19:21,772 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2023-12-08 04:19:21,774 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2023-12-08 04:19:21,775 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2023-12-08 04:19:21,778 - {control.data:253} - {INFO:MainThread} - 

2023-12-08 04:19:21,781 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2023-12-08 04:19:21,783 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2023-12-08 04:19:21,786 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2023-12-08 04:19:21,790 - {control.counter:169} - {DEBUG:MainThread} - Zähler 0: [69.69, 69.52, 69.61]A verbleibende Ströme, 47940.8W verbleibende Leistung
2023-12-08 04:19:21,792 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2023-12-08 04:19:21,796 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2023-12-08 04:19:21,798 - {control.algorithm.filter_chargepoints:117} - {DEBUG:MainThread} - Geordnete Ladepunkte [1]
2023-12-08 04:19:21,801 - {control.algorithm.additional_current:26} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2023-12-08 04:19:21,803 - {control.counter:169} - {DEBUG:MainThread} - Zähler 0: [61.30481795408269, 61.134817954082685, 61.22481795408269]A verbleibende Ströme, 42155.024388317055W verbleibende Leistung
2023-12-08 04:19:21,805 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 14.385182045917311A
2023-12-08 04:19:21,808 - {control.counter:211} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: 0W
2023-12-08 04:19:21,810 - {control.counter:457} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf 0W
2023-12-08 04:19:21,812 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2023-12-08 04:19:21,813 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2023-12-08 04:19:21,815 - {control.chargelog:52} - {DEBUG:MainThread} - imported_since_mode_switch 1297.8500000005588 counter 6927675.78
2023-12-08 04:19:21,820 - {control.process:111} - {INFO:MainThread} - LP1: set current 14.39 A, state CHARGING_ALLOWED
2023-12-08 04:19:21,822 - {modules.common.component_context:24} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:19:21,863 - {control.counter:186} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2023-12-08 04:19:22,118 - {helpermodules.changed_values_handler:120} - {DEBUG:MainThread} - Topic openWB/set/chargepoint/1/control_parameter/required_current, Payload 14.385182045917311, vorherige Payload: 14.363053934900792
2023-12-08 04:19:22,122 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2023-12-08 04:19:22,131 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2023-12-08 04:19:25,149 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2023-12-08 04:19:25,155 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2023-12-08 04:19:30,169 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2023-12-08 04:19:30,171 - {root:74} - {INFO:MainThread} - # ***Start*** 
2023-12-08 04:19:30,239 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x715cf340>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x7155e4a8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x715c75f8>}
2023-12-08 04:19:30,241 - {modules.common.component_context:24} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2023-12-08 04:19:30,243 - {modules.common.component_context:24} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:19:30,256 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2023-12-08 04:19:30,260 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2023-12-08 04:19:30,302 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 750
2023-12-08 04:19:30,304 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"cloud":{"connected":false},"input:0":{"id":0,"state":false},"mqtt":{"connected":false},"switch:0":{"id":0, "source":"loopback", "output":false, "apower":0.0, "voltage":241.2, "current":0.000, "aenergy":{"total":1505.625,"by_minute":[0.000,0.000,0.000],"minute_ts":1702005569},"temperature":{"tC":28.8, "tF":83.9}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:19","unixtime":1702005570,"uptime":1364898,"ram_size":248996,"ram_free":145260,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"beta":{"version":"1.1.0-beta2"},"stable":{"version":"1.0.8"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-68},"ws":{"connected":false}}

2023-12-08 04:19:30,307 - {modules.common.simcount._simcount:38} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1702005560.8176568, power=0, imported=0.0, exported=293628.5948715257)
2023-12-08 04:19:30,308 - {modules.common.simcount._calculate:13} - {DEBUG:device1} - time passed: 0.00263595, power1: 0, power2: 0
2023-12-08 04:19:30,308 - {modules.common.simcount._calculate:29} - {DEBUG:device1} - power did not change sign. Total energy: 0
2023-12-08 04:19:30,309 - {modules.common.simcount._simcount:47} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702005570.3070672, power=0, imported=0.0, exported=293628.5948715257)
2023-12-08 04:19:30,311 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:19:30,325 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-9379, -3213, -3021, -3144], Scale 0
2023-12-08 04:19:30,344 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [135, 126, 132], Scale -1
2023-12-08 04:19:30,365 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [24053, 24087, 23916, 0, 0, 0, 0], Scale -2
2023-12-08 04:19:30,385 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [5000], Scale -2
2023-12-08 04:19:30,404 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [9919, 9929, 9909], Scale -2
2023-12-08 04:19:30,424 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4870433, 1797042, 2153375, 1456453, 6127171, 2531982, 1863204, 2268434], Scale 0
2023-12-08 04:19:30,425 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[13.5, 12.600000000000001, 13.200000000000001], powers=[3213.0, 3021.0, 3144.0], voltages=[240.53, 240.87, 239.16], power_factors=[0.9919, 0.9929000000000001, 0.9909], imported=6127171.0, exported=4870433.0, power=9379.0, frequency=50.0)
2023-12-08 04:19:30,428 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2023-12-08 04:19:30,473 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [0], Scale 0
2023-12-08 04:19:30,555 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7789710], Scale 0
2023-12-08 04:19:30,575 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [28, 30, 31], Scale -2
2023-12-08 04:19:30,595 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [0], Scale 0
2023-12-08 04:19:30,599 - {modules.common.component_state:100} - {DEBUG:device0} - currents sign wrong [0.28, 0.3, 0.31]
2023-12-08 04:19:30,605 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.28, 0.3, 0.31], power=-0.0, exported=7789710.0, dc_power=-0.0)
2023-12-08 04:19:30,610 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2023-12-08 04:19:30,720 - {modules.common.simcount._simcount:38} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1702005561.0647297, power=0.0, imported=143333.37604219164, exported=116864.5215890633)
2023-12-08 04:19:30,721 - {modules.common.simcount._calculate:13} - {DEBUG:device0} - time passed: 0.00268218, power1: 0, power2: 0
2023-12-08 04:19:30,722 - {modules.common.simcount._calculate:29} - {DEBUG:device0} - power did not change sign. Total energy: 0
2023-12-08 04:19:30,723 - {modules.common.simcount._simcount:47} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702005570.7205791, power=0.0, imported=143333.37604219164, exported=116864.5215890633)
2023-12-08 04:19:30,725 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=143333.37604219164, exported=116864.5215890633, power=0.0, soc=19.0)
2023-12-08 04:19:30,731 - {modules.common.component_context:24} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2023-12-08 04:19:30,732 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=143333.37604219164, exported=116864.5215890633, power=0.0, soc=19.0)
2023-12-08 04:19:30,810 - {modules.common.component_context:24} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:19:30,811 - {modules.common.component_context:24} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2023-12-08 04:19:30,812 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=7816178.86, dc_power=None)
2023-12-08 04:19:30,813 - {modules.common.component_context:24} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2023-12-08 04:19:30,813 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=7816178.86, dc_power=None)
2023-12-08 04:19:30,814 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:19:30,817 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:19:30,856 - {modules.common.component_context:24} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2023-12-08 04:19:30,857 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[13.5, 12.600000000000001, 13.200000000000001], powers=[3213.0, 3021.0, 3144.0], voltages=[240.53, 240.87, 239.16], power_factors=[0.9919, 0.9929000000000001, 0.9909], imported=6127171.0, exported=4870433.0, power=9379.0, frequency=50.0)
2023-12-08 04:19:30,914 - {helpermodules.changed_values_handler:120} - {DEBUG:MainThread} - Topic openWB/set/chargepoint/1/control_parameter/required_current, Payload 14.385182045917311, vorherige Payload: 14.363053934900792
2023-12-08 04:19:31,004 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2023-12-08 04:19:31,007 - {control.bat_all:173} - {INFO:MainThread} - -50W verbleibende Speicher-Leistung
2023-12-08 04:19:31,009 - {control.counter:138} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [62.19, 62.93, 62.42]A
2023-12-08 04:19:31,010 - {control.counter:161} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 42680.92W
2023-12-08 04:19:31,012 - {control.chargepoint.chargepoint:699} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2023-12-08 04:19:31,013 - {control.chargepoint.chargepoint:682} - {DEBUG:MainThread} - Phasenzahl Lademodus: 3
2023-12-08 04:19:31,016 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -142.444237s, Dauer 1.380952380952381h, Termin heute verpasst: False
2023-12-08 04:19:31,018 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 90580.534747s, Dauer 0.18012422360248448h, Termin heute verpasst: False
2023-12-08 04:19:31,020 - {control.ev:762} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2023-12-08 04:19:31,023 - {control.chargepoint.chargepoint:898} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 14.412968686558388A, Lademodus scheduled_charging, Submodus: Chargemode.INSTANT_CHARGING, Phasen: 3, Priorität: False, max. Ist-Strom: 12.69
2023-12-08 04:19:31,025 - {control.chargepoint.chargepoint:277} - {INFO:MainThread} - LP 1: Zielladen mit 14.41A. Der Ladestrom wurde erhöht, um den Zieltermin zu erreichen. Es wird bis max. 20 Minuten nach dem angegebenen Zieltermin geladen.
2023-12-08 04:19:31,034 - {modules.common.simcount._simcount:38} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1702005554.2836866, power=407.9300000000003, imported=2374426.4106582664, exported=0)
2023-12-08 04:19:31,036 - {modules.common.simcount._calculate:13} - {DEBUG:MainThread} - time passed: 0.00465298, power1: 407.93, power2: 319.08
2023-12-08 04:19:31,039 - {modules.common.simcount._calculate:29} - {DEBUG:MainThread} - power did not change sign. Total energy: 1.69138
2023-12-08 04:19:31,041 - {modules.common.simcount._simcount:47} - {DEBUG:MainThread} - imported: 1.69138 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702005571.0343988, power=319.0799999999999, imported=2374428.1020381614, exported=0)
2023-12-08 04:19:31,045 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=19, daily_exported=0.0, daily_imported=0.0, imported=143333.38, exported=116864.52, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2023-12-08 04:19:31,047 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=19, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=143333.38, exported=116864.52, power=0.0), set=Set(charging_power_left=-50, switch_on_soc_reached=False))
2023-12-08 04:19:31,049 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=641.11, daily_exported=0, power=9059.92, imported=6927700.2, exported=0))
2023-12-08 04:19:31,052 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 95%, 06:00 Uhr', imported_at_plan_start=6926377.93, imported_instant_charging=None, limit=None, phases=3, prio=False, required_current=14.412968686558388, required_currents=[14.412968686558388, 14.412968686558388, 14.412968686558388], 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=[12.53, 12.62, 12.69], daily_imported=641.11, daily_exported=0, evse_current=1439, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=6927700.2, phases_in_use=3, plug_state=True, power=9059.92, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Zielladen mit 14.41A. Der Ladestrom wurde erhöht, um den Zieltermin zu erreichen. Es wird bis max. 20 Minuten nach dem angegebenen Zieltermin geladen.', voltages=[241.1, 239.36, 240.76]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=14.39, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', imported_at_mode_switch=6926377.93, imported_at_plugtime=6926377.93, imported_since_mode_switch=1297.8500000005588, imported_since_plugged=1297.8500000005588, range_charged=7.210277777780883, time_charged='0:07', timestamp_start_charging='12/08/2023, 04:11:30'), manual_lock=False, phases_to_use=3, plug_state_prev=True, plug_time='12/07/2023, 13:07:31', required_power=9944.948393725288, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x70bce2f8>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB Carport', type='internal_openwb', template=1, connected_phases=3, phase_1=2, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=1))
2023-12-08 04:19:31,054 - {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-12-08 04:19:31,055 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=1, max_current_multi_phases=16, max_current_single_phase=20, name='RFID, 20A, 11kW', rfid_enabling=True, valid_tags=['0003134583', '0003526747', '1655332554', '2585022212', '2585087748'])
2023-12-08 04:19:31,057 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[63, 63, 63], max_total_power=43000), get=Get(powers=[3213.0, 3021.0, 3144.0], currents=[13.5, 12.6, 13.2], voltages=[240.53, 240.87, 239.16], power_factors=[0.99, 0.99, 0.99], unbalanced_load=0, frequency=50.0, daily_exported=0.0, daily_imported=4693.0, imported=6127171.0, exported=4870433.0, fault_state=0, fault_str='Kein Fehler.', power=9379.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=42680.92, raw_currents_left=[62.19, 62.93, 62.42], surplus_power_left=0, state_str=''))
2023-12-08 04:19:31,059 - {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': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=319.0799999999999, invalid_home_consumption=0, daily_yield_home_consumption=5589.4256330971, imported_home_consumption=2374428.1020381614, disengageable_smarthome_power=0))
2023-12-08 04:19:31,065 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2023-12-08 04:19:31,067 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Ladeprofil ***AUTO1***', disable_after_unplug=False, prio=False, load_default=True, time_charging=TimeCharging(active=True, plans={'0': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[True, True, True, True, False, False, True]), time=['22:00', '06:00'], name='Zeitladen 95%, So-Do 22:00-06:00 Uhr', current=16, limit=Limit(selected='soc', amount=1000, soc=95)), '1': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, True, True, False]), time=['22:00', '06:00'], name='Zeitladen 80%, Fr-Sa 22:00-06:00 Uhr', current=16, limit=Limit(selected='soc', amount=1000, soc=80))}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2023-12-08 04:19:31,068 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, time_charging=TimeCharging(active=True, plans={'2': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), time=['06:45', '07:00'], name='Klima 06:45-07:00 Uhr', current=6, limit=Limit(selected='none', amount=1000, soc=50)), '3': TimeChargingPlan(active=True, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, False, False, False]), time=['00:00', '23:55'], name='Immer 35%', current=10, limit=Limit(selected='soc', amount=1000, soc=35))}), chargemode=Chargemode(selected='scheduled_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={'0': ScheduledChargingPlan(active=False, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, True, False, False, False, False, False]), current=14, name='Zielladen 80%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '1': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), current=14, name='Zielladen 95%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=95), time='05:40'), '2': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once='2023-09-26', weekly=[True, False, False, True, False, True, True]), current=14, name='Zielladen 75%, 7:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=75), time='05:40')}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=80))))
2023-12-08 04:19:31,069 - {control.data:266} - {INFO:MainThread} - ev0
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=['0003134583'], get=Get(soc=0, soc_timestamp=None, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:19:31,070 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Tesla Model Y (2022)', 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=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212', '2585087748'], get=Get(soc=49.0, soc_timestamp='12/08/2023, 01:29:15', force_soc_update=False, range=220.74, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:19:31,072 - {control.data:266} - {INFO:MainThread} - ev2
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Cupra Born 58kW', 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=18000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=2, ev_template=2, name='***AUTO2***', tag_id=['1655332554'], get=Get(soc=72, soc_timestamp='12/08/2023, 04:18:53', force_soc_update=False, range=205, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:19:31,072 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40)
2023-12-08 04:19:31,073 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', 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=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40)
2023-12-08 04:19:31,073 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', 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=18000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40)
2023-12-08 04:19:31,074 - {control.data:245} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=3), pv_charging=PvCharging(bat_prio=True, charging_power_reserve=200, control_range=[-230, 230], feed_in_yield=15000, phase_switch_delay=15, phases_to_use=0, rundown_power=1000, rundown_soc=25, switch_off_delay=60, switch_off_soc=25, switch_off_threshold=50, switch_on_delay=30, switch_on_soc=50, switch_on_threshold=1400), scheduled_charging=ScheduledCharging(phases_to_use=0), time_charging=TimeCharging(phases_to_use=3), unbalanced_load_limit=20, unbalanced_load=True), control_interval=10, extern_display_mode='local', extern=False, external_buttons_hw=False, grid_protection_active=False, grid_protection_configured=True, grid_protection_random_stop=0, grid_protection_timestamp='', mqtt_bridge=False, price_kwh=0.3528, range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=True, r1_active=False, r2_active=False))
2023-12-08 04:19:31,074 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2023-12-08 04:19:31,074 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2023-12-08 04:19:31,075 - {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 0x70ba3e20>), led=Led(active=False), rfid=Rfid(active=True))
2023-12-08 04:19:31,075 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=0), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=293628.595, fault_state=0, fault_str='Kein Fehler.', power=0))
2023-12-08 04:19:31,076 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=9500), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=7816178.86, fault_state=0, fault_str='Kein Fehler.', power=0))
2023-12-08 04:19:31,076 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=8109807.455, power=0))
2023-12-08 04:19:31,076 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2023-11-30 12:30:45 +0100 [285f5a5fb]', 'current_branch': 'Release', 'current_branch_commit': '2023-11-30 12:30:45 +0100 [285f5a5fb]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.2-Patch.1', 'datastore_version': 29, 'lastlivevaluesJson': {'timestamp': 1702005561, 'time': '04:19:21', 'grid': 0.0, 'house-power': 0.408, 'charging-all': 9.081, 'pv-all': -0.0, 'cp1-power': 9.081, 'ev1-soc': 49.0, 'ev2-soc': 72, 'bat-all-power': 0.0, 'bat-all-soc': 19}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2023-12-08 04:19:31,077 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2023-12-08 04:19:31,077 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2023-12-08 04:19:31,078 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2023-12-08 04:19:31,078 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2023-12-08 04:19:31,078 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2023-12-08 04:19:31,079 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2023-12-08 04:19:31,079 - {control.data:253} - {INFO:MainThread} - 

2023-12-08 04:19:31,081 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2023-12-08 04:19:31,083 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2023-12-08 04:19:31,084 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2023-12-08 04:19:31,086 - {control.counter:169} - {DEBUG:MainThread} - Zähler 0: [56.19, 56.93, 56.42]A verbleibende Ströme, 38540.92W verbleibende Leistung
2023-12-08 04:19:31,086 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2023-12-08 04:19:31,089 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2023-12-08 04:19:31,091 - {control.algorithm.filter_chargepoints:117} - {DEBUG:MainThread} - Geordnete Ladepunkte [1]
2023-12-08 04:19:31,093 - {control.algorithm.additional_current:26} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2023-12-08 04:19:31,094 - {control.counter:169} - {DEBUG:MainThread} - Zähler 0: [47.77703131344161, 48.51703131344161, 48.007031313441615]A verbleibende Ströme, 32735.97160627471W verbleibende Leistung
2023-12-08 04:19:31,097 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 14.412968686558388A
2023-12-08 04:19:31,106 - {control.counter:211} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: 0W
2023-12-08 04:19:31,107 - {control.counter:457} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf 0W
2023-12-08 04:19:31,109 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2023-12-08 04:19:31,110 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2023-12-08 04:19:31,114 - {control.chargelog:52} - {DEBUG:MainThread} - imported_since_mode_switch 1322.2700000004843 counter 6927700.2
2023-12-08 04:19:31,123 - {control.process:111} - {INFO:MainThread} - LP1: set current 14.41 A, state CHARGING_ALLOWED
2023-12-08 04:19:31,140 - {modules.common.component_context:24} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:19:31,168 - {control.counter:186} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2023-12-08 04:19:31,366 - {helpermodules.changed_values_handler:120} - {DEBUG:MainThread} - Topic openWB/set/chargepoint/1/control_parameter/required_current, Payload 14.412968686558388, vorherige Payload: 14.385182045917311
2023-12-08 04:19:31,377 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2023-12-08 04:19:35,421 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2023-12-08 04:19:35,422 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2023-12-08 04:19:40,431 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2023-12-08 04:19:40,432 - {root:74} - {INFO:MainThread} - # ***Start*** 
2023-12-08 04:19:40,471 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x715cf340>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x7155e4a8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x715c75f8>}
2023-12-08 04:19:40,473 - {modules.common.component_context:24} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2023-12-08 04:19:40,480 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2023-12-08 04:19:40,483 - {modules.common.component_context:24} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:19:40,483 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2023-12-08 04:19:40,526 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 750
2023-12-08 04:19:40,530 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"cloud":{"connected":false},"input:0":{"id":0,"state":false},"mqtt":{"connected":false},"switch:0":{"id":0, "source":"loopback", "output":false, "apower":0.0, "voltage":241.2, "current":0.000, "aenergy":{"total":1505.625,"by_minute":[0.000,0.000,0.000],"minute_ts":1702005580},"temperature":{"tC":28.9, "tF":84.0}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:19","unixtime":1702005581,"uptime":1364908,"ram_size":248996,"ram_free":145260,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"beta":{"version":"1.1.0-beta2"},"stable":{"version":"1.0.8"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-70},"ws":{"connected":false}}

2023-12-08 04:19:40,532 - {modules.common.simcount._simcount:38} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1702005570.3070672, power=0, imported=0.0, exported=293628.5948715257)
2023-12-08 04:19:40,534 - {modules.common.simcount._calculate:13} - {DEBUG:device1} - time passed: 0.00284042, power1: 0, power2: 0
2023-12-08 04:19:40,535 - {modules.common.simcount._calculate:29} - {DEBUG:device1} - power did not change sign. Total energy: 0
2023-12-08 04:19:40,536 - {modules.common.simcount._simcount:47} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702005580.5325751, power=0, imported=0.0, exported=293628.5948715257)
2023-12-08 04:19:40,538 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:19:40,546 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-9633, -3268, -3115, -3249], Scale 0
2023-12-08 04:19:40,585 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [132, 126, 134], Scale -1
2023-12-08 04:19:40,606 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [24068, 24085, 23907, 0, 0, 0, 0], Scale -2
2023-12-08 04:19:40,685 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [5000], Scale -2
2023-12-08 04:19:40,711 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [9919, 9919, 9909], Scale -2
2023-12-08 04:19:40,734 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4870433, 1797042, 2153375, 1456453, 6127192, 2531985, 1863207, 2268437], Scale 0
2023-12-08 04:19:40,735 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[13.200000000000001, 12.600000000000001, 13.4], powers=[3268.0, 3115.0, 3249.0], voltages=[240.68, 240.85, 239.07], power_factors=[0.9919, 0.9919, 0.9909], imported=6127192.0, exported=4870433.0, power=9633.0, frequency=50.0)
2023-12-08 04:19:40,737 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2023-12-08 04:19:40,753 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [0], Scale 0
2023-12-08 04:19:40,803 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7789710], Scale 0
2023-12-08 04:19:40,824 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [29, 30, 32], Scale -2
2023-12-08 04:19:40,855 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [0], Scale 0
2023-12-08 04:19:40,855 - {modules.common.component_state:100} - {DEBUG:device0} - currents sign wrong [0.29, 0.3, 0.32]
2023-12-08 04:19:40,856 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.29, 0.3, 0.32], power=-0.0, exported=7789710.0, dc_power=-0.0)
2023-12-08 04:19:40,858 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2023-12-08 04:19:40,925 - {modules.common.simcount._simcount:38} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1702005570.7205791, power=0.0, imported=143333.37604219164, exported=116864.5215890633)
2023-12-08 04:19:40,926 - {modules.common.simcount._calculate:13} - {DEBUG:device0} - time passed: 0.00283469, power1: 0, power2: 0
2023-12-08 04:19:40,926 - {modules.common.simcount._calculate:29} - {DEBUG:device0} - power did not change sign. Total energy: 0
2023-12-08 04:19:40,927 - {modules.common.simcount._simcount:47} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702005580.9254494, power=0.0, imported=143333.37604219164, exported=116864.5215890633)
2023-12-08 04:19:40,928 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=143333.37604219164, exported=116864.5215890633, power=0.0, soc=19.0)
2023-12-08 04:19:40,937 - {modules.common.component_context:24} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2023-12-08 04:19:40,941 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=143333.37604219164, exported=116864.5215890633, power=0.0, soc=19.0)
2023-12-08 04:19:40,979 - {modules.common.component_context:24} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:19:40,980 - {modules.common.component_context:24} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2023-12-08 04:19:40,981 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=7816178.86, dc_power=None)
2023-12-08 04:19:40,982 - {modules.common.component_context:24} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2023-12-08 04:19:40,982 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=7816178.86, dc_power=None)
2023-12-08 04:19:40,983 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:19:40,985 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:19:41,024 - {modules.common.component_context:24} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2023-12-08 04:19:41,025 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[13.200000000000001, 12.600000000000001, 13.4], powers=[3268.0, 3115.0, 3249.0], voltages=[240.68, 240.85, 239.07], power_factors=[0.9919, 0.9919, 0.9909], imported=6127192.0, exported=4870433.0, power=9633.0, frequency=50.0)
2023-12-08 04:19:41,088 - {helpermodules.changed_values_handler:120} - {DEBUG:MainThread} - Topic openWB/set/chargepoint/1/control_parameter/required_current, Payload 14.412968686558388, vorherige Payload: 14.385182045917311
2023-12-08 04:19:41,183 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2023-12-08 04:19:41,185 - {control.bat_all:173} - {INFO:MainThread} - -50W verbleibende Speicher-Leistung
2023-12-08 04:19:41,189 - {control.counter:138} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [62.28, 62.94, 62.31]A
2023-12-08 04:19:41,190 - {control.counter:161} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 42472.21W
2023-12-08 04:19:41,193 - {control.chargepoint.chargepoint:699} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2023-12-08 04:19:41,194 - {control.chargepoint.chargepoint:682} - {DEBUG:MainThread} - Phasenzahl Lademodus: 3
2023-12-08 04:19:41,196 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -152.624563s, Dauer 1.380952380952381h, Termin heute verpasst: False
2023-12-08 04:19:41,198 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 90570.354645s, Dauer 0.18012422360248448h, Termin heute verpasst: False
2023-12-08 04:19:41,201 - {control.ev:762} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2023-12-08 04:19:41,233 - {control.chargepoint.chargepoint:898} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 14.443417885073272A, Lademodus scheduled_charging, Submodus: Chargemode.INSTANT_CHARGING, Phasen: 3, Priorität: False, max. Ist-Strom: 12.71
2023-12-08 04:19:41,240 - {control.chargepoint.chargepoint:277} - {INFO:MainThread} - LP 1: Zielladen mit 14.44A. Der Ladestrom wurde erhöht, um den Zieltermin zu erreichen. Es wird bis max. 20 Minuten nach dem angegebenen Zieltermin geladen.
2023-12-08 04:19:41,247 - {modules.common.simcount._simcount:38} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1702005571.0343988, power=319.0799999999999, imported=2374428.1020381614, exported=0)
2023-12-08 04:19:41,248 - {modules.common.simcount._calculate:13} - {DEBUG:MainThread} - time passed: 0.00283685, power1: 319.08, power2: 527.79
2023-12-08 04:19:41,249 - {modules.common.simcount._calculate:29} - {DEBUG:MainThread} - power did not change sign. Total energy: 1.20122
2023-12-08 04:19:41,254 - {modules.common.simcount._simcount:47} - {DEBUG:MainThread} - imported: 1.20122 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702005581.2470565, power=527.7900000000009, imported=2374429.3032594696, exported=0)
2023-12-08 04:19:41,256 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=19, daily_exported=0.0, daily_imported=0.0, imported=143333.38, exported=116864.52, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2023-12-08 04:19:41,260 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=19, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=143333.38, exported=116864.52, power=0.0), set=Set(charging_power_left=-50, switch_on_soc_reached=False))
2023-12-08 04:19:41,261 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=641.11, daily_exported=0, power=9105.21, imported=6927723.14, exported=0))
2023-12-08 04:19:41,262 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 95%, 06:00 Uhr', imported_at_plan_start=6926377.93, imported_instant_charging=None, limit=None, phases=3, prio=False, required_current=14.443417885073272, required_currents=[14.443417885073272, 14.443417885073272, 14.443417885073272], 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=[12.54, 12.71, 12.48], daily_imported=641.11, daily_exported=0, evse_current=1441, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=6927723.14, phases_in_use=3, plug_state=True, power=9105.21, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Zielladen mit 14.44A. Der Ladestrom wurde erhöht, um den Zieltermin zu erreichen. Es wird bis max. 20 Minuten nach dem angegebenen Zieltermin geladen.', voltages=[241.17, 239.41, 240.94]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=14.41, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', imported_at_mode_switch=6926377.93, imported_at_plugtime=6926377.93, imported_since_mode_switch=1322.2700000004843, imported_since_plugged=1322.2700000004843, range_charged=7.3459444444471345, time_charged='0:08', timestamp_start_charging='12/08/2023, 04:11:30'), manual_lock=False, phases_to_use=3, plug_state_prev=True, plug_time='12/07/2023, 13:07:31', required_power=9965.958340700558, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x7155e160>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB Carport', type='internal_openwb', template=1, connected_phases=3, phase_1=2, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=1))
2023-12-08 04:19:41,263 - {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-12-08 04:19:41,264 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=1, max_current_multi_phases=16, max_current_single_phase=20, name='RFID, 20A, 11kW', rfid_enabling=True, valid_tags=['0003134583', '0003526747', '1655332554', '2585022212', '2585087748'])
2023-12-08 04:19:41,269 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[63, 63, 63], max_total_power=43000), get=Get(powers=[3268.0, 3115.0, 3249.0], currents=[13.2, 12.6, 13.4], voltages=[240.68, 240.85, 239.07], power_factors=[0.99, 0.99, 0.99], unbalanced_load=0, frequency=50.0, daily_exported=0.0, daily_imported=4693.0, imported=6127192.0, exported=4870433.0, fault_state=0, fault_str='Kein Fehler.', power=9633.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=42472.21, raw_currents_left=[62.28, 62.94, 62.31], surplus_power_left=0, state_str=''))
2023-12-08 04:19:41,270 - {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': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=527.7900000000009, invalid_home_consumption=0, daily_yield_home_consumption=5589.4256330971, imported_home_consumption=2374429.3032594696, disengageable_smarthome_power=0))
2023-12-08 04:19:41,271 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2023-12-08 04:19:41,273 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Ladeprofil ***AUTO1***', disable_after_unplug=False, prio=False, load_default=True, time_charging=TimeCharging(active=True, plans={'0': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[True, True, True, True, False, False, True]), time=['22:00', '06:00'], name='Zeitladen 95%, So-Do 22:00-06:00 Uhr', current=16, limit=Limit(selected='soc', amount=1000, soc=95)), '1': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, True, True, False]), time=['22:00', '06:00'], name='Zeitladen 80%, Fr-Sa 22:00-06:00 Uhr', current=16, limit=Limit(selected='soc', amount=1000, soc=80))}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2023-12-08 04:19:41,274 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, time_charging=TimeCharging(active=True, plans={'2': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), time=['06:45', '07:00'], name='Klima 06:45-07:00 Uhr', current=6, limit=Limit(selected='none', amount=1000, soc=50)), '3': TimeChargingPlan(active=True, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, False, False, False]), time=['00:00', '23:55'], name='Immer 35%', current=10, limit=Limit(selected='soc', amount=1000, soc=35))}), chargemode=Chargemode(selected='scheduled_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={'0': ScheduledChargingPlan(active=False, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, True, False, False, False, False, False]), current=14, name='Zielladen 80%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '1': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), current=14, name='Zielladen 95%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=95), time='05:40'), '2': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once='2023-09-26', weekly=[True, False, False, True, False, True, True]), current=14, name='Zielladen 75%, 7:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=75), time='05:40')}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=80))))
2023-12-08 04:19:41,276 - {control.data:266} - {INFO:MainThread} - ev0
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=['0003134583'], get=Get(soc=0, soc_timestamp=None, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:19:41,279 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Tesla Model Y (2022)', 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=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212', '2585087748'], get=Get(soc=49.0, soc_timestamp='12/08/2023, 01:29:15', force_soc_update=False, range=220.74, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:19:41,280 - {control.data:266} - {INFO:MainThread} - ev2
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Cupra Born 58kW', 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=18000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=2, ev_template=2, name='***AUTO2***', tag_id=['1655332554'], get=Get(soc=72, soc_timestamp='12/08/2023, 04:18:53', force_soc_update=False, range=205, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:19:41,282 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40)
2023-12-08 04:19:41,282 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', 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=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40)
2023-12-08 04:19:41,284 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', 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=18000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40)
2023-12-08 04:19:41,286 - {control.data:245} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=3), pv_charging=PvCharging(bat_prio=True, charging_power_reserve=200, control_range=[-230, 230], feed_in_yield=15000, phase_switch_delay=15, phases_to_use=0, rundown_power=1000, rundown_soc=25, switch_off_delay=60, switch_off_soc=25, switch_off_threshold=50, switch_on_delay=30, switch_on_soc=50, switch_on_threshold=1400), scheduled_charging=ScheduledCharging(phases_to_use=0), time_charging=TimeCharging(phases_to_use=3), unbalanced_load_limit=20, unbalanced_load=True), control_interval=10, extern_display_mode='local', extern=False, external_buttons_hw=False, grid_protection_active=False, grid_protection_configured=True, grid_protection_random_stop=0, grid_protection_timestamp='', mqtt_bridge=False, price_kwh=0.3528, range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=True, r1_active=False, r2_active=False))
2023-12-08 04:19:41,288 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2023-12-08 04:19:41,289 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2023-12-08 04:19:41,294 - {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 0x70bb3550>), led=Led(active=False), rfid=Rfid(active=True))
2023-12-08 04:19:41,297 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=0), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=293628.595, fault_state=0, fault_str='Kein Fehler.', power=0))
2023-12-08 04:19:41,298 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=9500), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=7816178.86, fault_state=0, fault_str='Kein Fehler.', power=0))
2023-12-08 04:19:41,299 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=8109807.455, power=0))
2023-12-08 04:19:41,299 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2023-11-30 12:30:45 +0100 [285f5a5fb]', 'current_branch': 'Release', 'current_branch_commit': '2023-11-30 12:30:45 +0100 [285f5a5fb]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.2-Patch.1', 'datastore_version': 29, 'lastlivevaluesJson': {'timestamp': 1702005571, 'time': '04:19:31', 'grid': 9.379, 'house-power': 0.319, 'charging-all': 9.06, 'pv-all': -0.0, 'cp1-power': 9.06, 'ev1-soc': 49.0, 'ev2-soc': 72, 'bat-all-power': 0.0, 'bat-all-soc': 19}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2023-12-08 04:19:41,301 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2023-12-08 04:19:41,302 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2023-12-08 04:19:41,307 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2023-12-08 04:19:41,311 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2023-12-08 04:19:41,312 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2023-12-08 04:19:41,318 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2023-12-08 04:19:41,319 - {control.data:253} - {INFO:MainThread} - 

2023-12-08 04:19:41,320 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2023-12-08 04:19:41,321 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2023-12-08 04:19:41,323 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2023-12-08 04:19:41,324 - {control.counter:169} - {DEBUG:MainThread} - Zähler 0: [56.28, 56.94, 56.31]A verbleibende Ströme, 38332.21W verbleibende Leistung
2023-12-08 04:19:41,327 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2023-12-08 04:19:41,330 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2023-12-08 04:19:41,332 - {control.algorithm.filter_chargepoints:117} - {DEBUG:MainThread} - Geordnete Ladepunkte [1]
2023-12-08 04:19:41,333 - {control.algorithm.additional_current:26} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2023-12-08 04:19:41,336 - {control.counter:169} - {DEBUG:MainThread} - Zähler 0: [47.83658211492673, 48.496582114926724, 47.86658211492673]A verbleibende Ströme, 32506.251659299443W verbleibende Leistung
2023-12-08 04:19:41,337 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 14.443417885073272A
2023-12-08 04:19:41,340 - {control.counter:211} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: 0W
2023-12-08 04:19:41,341 - {control.counter:457} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf 0W
2023-12-08 04:19:41,342 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2023-12-08 04:19:41,345 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2023-12-08 04:19:41,348 - {control.chargelog:52} - {DEBUG:MainThread} - imported_since_mode_switch 1345.2099999999627 counter 6927723.14
2023-12-08 04:19:41,351 - {control.process:111} - {INFO:MainThread} - LP1: set current 14.44 A, state CHARGING_ALLOWED
2023-12-08 04:19:41,355 - {modules.common.component_context:24} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:19:41,415 - {control.counter:186} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2023-12-08 04:19:41,644 - {helpermodules.changed_values_handler:120} - {DEBUG:MainThread} - Topic openWB/set/chargepoint/1/control_parameter/required_current, Payload 14.443417885073272, vorherige Payload: 14.412968686558388
2023-12-08 04:19:41,647 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2023-12-08 04:19:41,649 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2023-12-08 04:19:45,675 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2023-12-08 04:19:50,691 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2023-12-08 04:19:50,692 - {root:74} - {INFO:MainThread} - # ***Start*** 
2023-12-08 04:19:50,741 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x715cf340>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x7155e4a8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x715c75f8>}
2023-12-08 04:19:50,742 - {modules.common.component_context:24} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2023-12-08 04:19:50,744 - {modules.common.component_context:24} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:19:50,750 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2023-12-08 04:19:50,761 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2023-12-08 04:19:50,792 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 750
2023-12-08 04:19:50,794 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"cloud":{"connected":false},"input:0":{"id":0,"state":false},"mqtt":{"connected":false},"switch:0":{"id":0, "source":"loopback", "output":false, "apower":0.0, "voltage":241.3, "current":0.000, "aenergy":{"total":1505.625,"by_minute":[0.000,0.000,0.000],"minute_ts":1702005590},"temperature":{"tC":28.8, "tF":83.8}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:19","unixtime":1702005591,"uptime":1364919,"ram_size":248996,"ram_free":145260,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"beta":{"version":"1.1.0-beta2"},"stable":{"version":"1.0.8"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-68},"ws":{"connected":false}}

2023-12-08 04:19:50,797 - {modules.common.simcount._simcount:38} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1702005580.5325751, power=0, imported=0.0, exported=293628.5948715257)
2023-12-08 04:19:50,798 - {modules.common.simcount._calculate:13} - {DEBUG:device1} - time passed: 0.00285131, power1: 0, power2: 0
2023-12-08 04:19:50,799 - {modules.common.simcount._calculate:29} - {DEBUG:device1} - power did not change sign. Total energy: 0
2023-12-08 04:19:50,800 - {modules.common.simcount._simcount:47} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702005590.7972906, power=0, imported=0.0, exported=293628.5948715257)
2023-12-08 04:19:50,801 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:19:50,806 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-9514, -3235, -3077, -3202], Scale 0
2023-12-08 04:19:50,826 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [135, 128, 134], Scale -1
2023-12-08 04:19:50,924 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [24070, 24084, 23905, 0, 0, 0, 0], Scale -2
2023-12-08 04:19:50,943 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [5000], Scale -2
2023-12-08 04:19:50,964 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [9929, 9950, 9929], Scale -2
2023-12-08 04:19:50,985 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4870433, 1797042, 2153375, 1456453, 6127234, 2532000, 1863221, 2268452], Scale 0
2023-12-08 04:19:50,985 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[13.5, 12.8, 13.4], powers=[3235.0, 3077.0, 3202.0], voltages=[240.70000000000002, 240.84, 239.05], power_factors=[0.9929000000000001, 0.995, 0.9929000000000001], imported=6127234.0, exported=4870433.0, power=9514.0, frequency=50.0)
2023-12-08 04:19:50,994 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2023-12-08 04:19:51,024 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [0], Scale 0
2023-12-08 04:19:51,043 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7789710], Scale 0
2023-12-08 04:19:51,064 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [29, 31, 32], Scale -2
2023-12-08 04:19:51,083 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-6428], Scale -2
2023-12-08 04:19:51,084 - {modules.common.component_state:100} - {DEBUG:device0} - currents sign wrong [0.29, 0.31, 0.32]
2023-12-08 04:19:51,084 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.29, 0.31, 0.32], power=-0.0, exported=7789710.0, dc_power=64.28)
2023-12-08 04:19:51,090 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2023-12-08 04:19:51,180 - {modules.common.simcount._simcount:38} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1702005580.9254494, power=0.0, imported=143333.37604219164, exported=116864.5215890633)
2023-12-08 04:19:51,185 - {modules.common.simcount._calculate:13} - {DEBUG:device0} - time passed: 0.00284875, power1: 0, power2: -2
2023-12-08 04:19:51,189 - {modules.common.simcount._calculate:29} - {DEBUG:device0} - power did not change sign. Total energy: -0.00284875
2023-12-08 04:19:51,191 - {modules.common.simcount._simcount:47} - {DEBUG:device0} - imported: 0 Wh, exported: 0.00284875 Wh, new state: SimCounterState(timestamp=1702005591.1809409, power=-2.0, imported=143333.37604219164, exported=116864.52443781093)
2023-12-08 04:19:51,199 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=143333.37604219164, exported=116864.52443781093, power=-2.0, soc=19.0)
2023-12-08 04:19:51,221 - {modules.common.component_context:24} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2023-12-08 04:19:51,222 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=143333.37604219164, exported=116864.52443781093, power=-2.0, soc=19.0)
2023-12-08 04:19:51,386 - {modules.common.component_context:24} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:19:51,387 - {modules.common.component_context:24} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2023-12-08 04:19:51,397 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=2.0, exported=7816178.86, dc_power=None)
2023-12-08 04:19:51,403 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=2.0, exported=7816178.86, dc_power=None)
2023-12-08 04:19:51,388 - {modules.common.component_context:24} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2023-12-08 04:19:51,409 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:19:51,411 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:19:51,472 - {modules.common.component_context:24} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2023-12-08 04:19:51,473 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[13.5, 12.8, 13.4], powers=[3235.0, 3077.0, 3202.0], voltages=[240.70000000000002, 240.84, 239.05], power_factors=[0.9929000000000001, 0.995, 0.9929000000000001], imported=6127234.0, exported=4870433.0, power=9514.0, frequency=50.0)
2023-12-08 04:19:51,553 - {helpermodules.changed_values_handler:120} - {DEBUG:MainThread} - Topic openWB/set/bat/get/power, Payload -2.0, vorherige Payload: 0.0
2023-12-08 04:19:51,554 - {helpermodules.changed_values_handler:120} - {DEBUG:MainThread} - Topic openWB/set/chargepoint/1/control_parameter/required_current, Payload 14.443417885073272, vorherige Payload: 14.412968686558388
2023-12-08 04:19:51,670 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2023-12-08 04:19:51,680 - {control.bat_all:173} - {INFO:MainThread} - -52.0W verbleibende Speicher-Leistung
2023-12-08 04:19:51,687 - {control.counter:138} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [62.19, 62.95, 62.45]A
2023-12-08 04:19:51,693 - {control.counter:161} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 42662.83W
2023-12-08 04:19:51,700 - {control.chargepoint.chargepoint:699} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2023-12-08 04:19:51,704 - {control.chargepoint.chargepoint:682} - {DEBUG:MainThread} - Phasenzahl Lademodus: 3
2023-12-08 04:19:51,709 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -163.137115s, Dauer 1.380952380952381h, Termin heute verpasst: False
2023-12-08 04:19:51,711 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 90559.841996s, Dauer 0.18012422360248448h, Termin heute verpasst: False
2023-12-08 04:19:51,713 - {control.ev:762} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2023-12-08 04:19:51,740 - {control.chargepoint.chargepoint:898} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 14.474996083472947A, Lademodus scheduled_charging, Submodus: Chargemode.INSTANT_CHARGING, Phasen: 3, Priorität: False, max. Ist-Strom: 12.85
2023-12-08 04:19:51,741 - {control.chargepoint.chargepoint:277} - {INFO:MainThread} - LP 1: Zielladen mit 14.47A. Der Ladestrom wurde erhöht, um den Zieltermin zu erreichen. Es wird bis max. 20 Minuten nach dem angegebenen Zieltermin geladen.
2023-12-08 04:19:51,780 - {modules.common.simcount._simcount:38} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1702005581.2470565, power=527.7900000000009, imported=2374429.3032594696, exported=0)
2023-12-08 04:19:51,782 - {modules.common.simcount._calculate:13} - {DEBUG:MainThread} - time passed: 0.00292593, power1: 527.79, power2: 337.17
2023-12-08 04:19:51,782 - {modules.common.simcount._calculate:29} - {DEBUG:MainThread} - power did not change sign. Total energy: 1.2654
2023-12-08 04:19:51,785 - {modules.common.simcount._simcount:47} - {DEBUG:MainThread} - imported: 1.2654 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702005591.7803912, power=337.1700000000001, imported=2374430.568664082, exported=0)
2023-12-08 04:19:51,788 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=19, daily_exported=0.0, daily_imported=0.0, imported=143333.38, exported=116864.52, fault_state=0, fault_str='Kein Fehler.', power=-2.0))
2023-12-08 04:19:51,790 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=19, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=143333.38, exported=116864.52, power=-2.0), set=Set(charging_power_left=-52.0, switch_on_soc_reached=False))
2023-12-08 04:19:51,791 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=641.11, daily_exported=0, power=9176.83, imported=6927751.95, exported=0))
2023-12-08 04:19:51,792 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 95%, 06:00 Uhr', imported_at_plan_start=6926377.93, imported_instant_charging=None, limit=None, phases=3, prio=False, required_current=14.474996083472947, required_currents=[14.474996083472947, 14.474996083472947, 14.474996083472947], 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=[12.75, 12.85, 12.69], daily_imported=641.11, daily_exported=0, evse_current=1444, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=6927751.95, phases_in_use=3, plug_state=True, power=9176.83, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Zielladen mit 14.47A. Der Ladestrom wurde erhöht, um den Zieltermin zu erreichen. Es wird bis max. 20 Minuten nach dem angegebenen Zieltermin geladen.', voltages=[241.23, 239.36, 240.98]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=14.44, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', imported_at_mode_switch=6926377.93, imported_at_plugtime=6926377.93, imported_since_mode_switch=1345.2099999999627, imported_since_plugged=1345.2099999999627, range_charged=7.473388888888683, time_charged='0:08', timestamp_start_charging='12/08/2023, 04:11:30'), manual_lock=False, phases_to_use=3, plug_state_prev=True, plug_time='12/07/2023, 13:07:31', required_power=9987.747297596334, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x70b5f730>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB Carport', type='internal_openwb', template=1, connected_phases=3, phase_1=2, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=1))
2023-12-08 04:19:51,793 - {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-12-08 04:19:51,795 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=1, max_current_multi_phases=16, max_current_single_phase=20, name='RFID, 20A, 11kW', rfid_enabling=True, valid_tags=['0003134583', '0003526747', '1655332554', '2585022212', '2585087748'])
2023-12-08 04:19:51,798 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[63, 63, 63], max_total_power=43000), get=Get(powers=[3235.0, 3077.0, 3202.0], currents=[13.5, 12.8, 13.4], voltages=[240.7, 240.84, 239.05], power_factors=[0.99, 0.99, 0.99], unbalanced_load=0, frequency=50.0, daily_exported=0.0, daily_imported=4693.0, imported=6127234.0, exported=4870433.0, fault_state=0, fault_str='Kein Fehler.', power=9514.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=42662.83, raw_currents_left=[62.19, 62.95, 62.45], surplus_power_left=0, state_str=''))
2023-12-08 04:19:51,800 - {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': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=337.1700000000001, invalid_home_consumption=0, daily_yield_home_consumption=5589.4256330971, imported_home_consumption=2374430.568664082, disengageable_smarthome_power=0))
2023-12-08 04:19:51,802 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2023-12-08 04:19:51,803 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Ladeprofil ***AUTO1***', disable_after_unplug=False, prio=False, load_default=True, time_charging=TimeCharging(active=True, plans={'0': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[True, True, True, True, False, False, True]), time=['22:00', '06:00'], name='Zeitladen 95%, So-Do 22:00-06:00 Uhr', current=16, limit=Limit(selected='soc', amount=1000, soc=95)), '1': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, True, True, False]), time=['22:00', '06:00'], name='Zeitladen 80%, Fr-Sa 22:00-06:00 Uhr', current=16, limit=Limit(selected='soc', amount=1000, soc=80))}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2023-12-08 04:19:51,805 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, time_charging=TimeCharging(active=True, plans={'2': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), time=['06:45', '07:00'], name='Klima 06:45-07:00 Uhr', current=6, limit=Limit(selected='none', amount=1000, soc=50)), '3': TimeChargingPlan(active=True, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, False, False, False]), time=['00:00', '23:55'], name='Immer 35%', current=10, limit=Limit(selected='soc', amount=1000, soc=35))}), chargemode=Chargemode(selected='scheduled_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={'0': ScheduledChargingPlan(active=False, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, True, False, False, False, False, False]), current=14, name='Zielladen 80%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '1': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), current=14, name='Zielladen 95%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=95), time='05:40'), '2': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once='2023-09-26', weekly=[True, False, False, True, False, True, True]), current=14, name='Zielladen 75%, 7:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=75), time='05:40')}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=80))))
2023-12-08 04:19:51,807 - {control.data:266} - {INFO:MainThread} - ev0
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=['0003134583'], get=Get(soc=0, soc_timestamp=None, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:19:51,808 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Tesla Model Y (2022)', 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=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212', '2585087748'], get=Get(soc=49.0, soc_timestamp='12/08/2023, 01:29:15', force_soc_update=False, range=220.74, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:19:51,809 - {control.data:266} - {INFO:MainThread} - ev2
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Cupra Born 58kW', 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=18000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=2, ev_template=2, name='***AUTO2***', tag_id=['1655332554'], get=Get(soc=72, soc_timestamp='12/08/2023, 04:19:49', force_soc_update=False, range=205, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:19:51,810 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40)
2023-12-08 04:19:51,812 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', 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=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40)
2023-12-08 04:19:51,813 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', 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=18000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40)
2023-12-08 04:19:51,814 - {control.data:245} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=3), pv_charging=PvCharging(bat_prio=True, charging_power_reserve=200, control_range=[-230, 230], feed_in_yield=15000, phase_switch_delay=15, phases_to_use=0, rundown_power=1000, rundown_soc=25, switch_off_delay=60, switch_off_soc=25, switch_off_threshold=50, switch_on_delay=30, switch_on_soc=50, switch_on_threshold=1400), scheduled_charging=ScheduledCharging(phases_to_use=0), time_charging=TimeCharging(phases_to_use=3), unbalanced_load_limit=20, unbalanced_load=True), control_interval=10, extern_display_mode='local', extern=False, external_buttons_hw=False, grid_protection_active=False, grid_protection_configured=True, grid_protection_random_stop=0, grid_protection_timestamp='', mqtt_bridge=False, price_kwh=0.3528, range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=True, r1_active=False, r2_active=False))
2023-12-08 04:19:51,817 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2023-12-08 04:19:51,818 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2023-12-08 04:19:51,820 - {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 0x70bebf88>), led=Led(active=False), rfid=Rfid(active=True))
2023-12-08 04:19:51,822 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=0), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=293628.595, fault_state=0, fault_str='Kein Fehler.', power=0))
2023-12-08 04:19:51,823 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=9500), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=7816178.86, fault_state=0, fault_str='Kein Fehler.', power=2.0))
2023-12-08 04:19:51,824 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=8109807.455, power=2.0))
2023-12-08 04:19:51,829 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2023-11-30 12:30:45 +0100 [285f5a5fb]', 'current_branch': 'Release', 'current_branch_commit': '2023-11-30 12:30:45 +0100 [285f5a5fb]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.2-Patch.1', 'datastore_version': 29, 'lastlivevaluesJson': {'timestamp': 1702005581, 'time': '04:19:41', 'grid': 9.633, 'house-power': 0.528, 'charging-all': 9.105, 'pv-all': -0.0, 'cp1-power': 9.105, 'ev1-soc': 49.0, 'ev2-soc': 72, 'bat-all-power': 0.0, 'bat-all-soc': 19}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2023-12-08 04:19:51,831 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2023-12-08 04:19:51,832 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2023-12-08 04:19:51,832 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2023-12-08 04:19:51,834 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2023-12-08 04:19:51,835 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2023-12-08 04:19:51,836 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2023-12-08 04:19:51,837 - {control.data:253} - {INFO:MainThread} - 

2023-12-08 04:19:51,840 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2023-12-08 04:19:51,841 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2023-12-08 04:19:51,843 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2023-12-08 04:19:51,845 - {control.counter:169} - {DEBUG:MainThread} - Zähler 0: [56.19, 56.95, 56.45]A verbleibende Ströme, 38522.83W verbleibende Leistung
2023-12-08 04:19:51,846 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2023-12-08 04:19:51,851 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2023-12-08 04:19:51,853 - {control.algorithm.filter_chargepoints:117} - {DEBUG:MainThread} - Geordnete Ladepunkte [1]
2023-12-08 04:19:51,854 - {control.algorithm.additional_current:26} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2023-12-08 04:19:51,857 - {control.counter:169} - {DEBUG:MainThread} - Zähler 0: [47.71500391652705, 48.47500391652706, 47.97500391652706]A verbleibende Ströme, 32675.08270240367W verbleibende Leistung
2023-12-08 04:19:51,859 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 14.474996083472947A
2023-12-08 04:19:51,862 - {control.counter:211} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: 0W
2023-12-08 04:19:51,863 - {control.counter:457} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf 0W
2023-12-08 04:19:51,864 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2023-12-08 04:19:51,865 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2023-12-08 04:19:51,867 - {control.chargelog:52} - {DEBUG:MainThread} - imported_since_mode_switch 1374.0200000004843 counter 6927751.95
2023-12-08 04:19:51,873 - {control.process:111} - {INFO:MainThread} - LP1: set current 14.47 A, state CHARGING_ALLOWED
2023-12-08 04:19:51,876 - {modules.common.component_context:24} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:19:51,933 - {control.counter:186} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2023-12-08 04:19:52,156 - {helpermodules.changed_values_handler:120} - {DEBUG:MainThread} - Topic openWB/set/chargepoint/1/control_parameter/required_current, Payload 14.474996083472947, vorherige Payload: 14.443417885073272
2023-12-08 04:19:52,171 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2023-12-08 04:19:52,180 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2023-12-08 04:19:55,187 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2023-12-08 04:19:55,188 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2023-12-08 04:20:00,199 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2023-12-08 04:20:00,200 - {root:74} - {INFO:MainThread} - # ***Start*** 
2023-12-08 04:20:00,273 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x715cf340>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x7155e4a8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x715c75f8>}
2023-12-08 04:20:00,275 - {modules.common.component_context:24} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2023-12-08 04:20:00,277 - {modules.common.component_context:24} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:20:00,289 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2023-12-08 04:20:00,292 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2023-12-08 04:20:00,333 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 750
2023-12-08 04:20:00,336 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"cloud":{"connected":false},"input:0":{"id":0,"state":false},"mqtt":{"connected":false},"switch:0":{"id":0, "source":"loopback", "output":false, "apower":0.0, "voltage":241.2, "current":0.000, "aenergy":{"total":1505.625,"by_minute":[0.000,0.000,0.000],"minute_ts":1702005599},"temperature":{"tC":28.8, "tF":83.8}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:20","unixtime":1702005601,"uptime":1364928,"ram_size":248944,"ram_free":144680,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"beta":{"version":"1.1.0-beta2"},"stable":{"version":"1.0.8"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-68},"ws":{"connected":false}}

2023-12-08 04:20:00,337 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-9505, -3230, -3070, -3204], Scale 0
2023-12-08 04:20:00,340 - {modules.common.simcount._simcount:38} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1702005590.7972906, power=0, imported=0.0, exported=293628.5948715257)
2023-12-08 04:20:00,341 - {modules.common.simcount._calculate:13} - {DEBUG:device1} - time passed: 0.00265084, power1: 0, power2: 0
2023-12-08 04:20:00,342 - {modules.common.simcount._calculate:29} - {DEBUG:device1} - power did not change sign. Total energy: 0
2023-12-08 04:20:00,342 - {modules.common.simcount._simcount:47} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702005600.3403232, power=0, imported=0.0, exported=293628.5948715257)
2023-12-08 04:20:00,344 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:20:00,365 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [135, 128, 134], Scale -1
2023-12-08 04:20:00,403 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [24066, 24092, 23901, 0, 0, 0, 0], Scale -2
2023-12-08 04:20:00,455 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4999], Scale -2
2023-12-08 04:20:00,476 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [9919, 9929, 9919], Scale -2
2023-12-08 04:20:00,501 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4870433, 1797042, 2153375, 1456453, 6127255, 2532007, 1863228, 2268459], Scale 0
2023-12-08 04:20:00,503 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[13.5, 12.8, 13.4], powers=[3230.0, 3070.0, 3204.0], voltages=[240.66, 240.92000000000002, 239.01], power_factors=[0.9919, 0.9929000000000001, 0.9919], imported=6127255.0, exported=4870433.0, power=9505.0, frequency=49.99)
2023-12-08 04:20:00,507 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2023-12-08 04:20:00,637 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [0], Scale 0
2023-12-08 04:20:00,675 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7789710], Scale 0
2023-12-08 04:20:00,707 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [29, 31, 32], Scale -2
2023-12-08 04:20:00,734 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-5922], Scale -2
2023-12-08 04:20:00,734 - {modules.common.component_state:100} - {DEBUG:device0} - currents sign wrong [0.29, 0.31, 0.32]
2023-12-08 04:20:00,735 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.29, 0.31, 0.32], power=-0.0, exported=7789710.0, dc_power=59.22)
2023-12-08 04:20:00,736 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2023-12-08 04:20:00,804 - {modules.common.simcount._simcount:38} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1702005591.1809409, power=-2.0, imported=143333.37604219164, exported=116864.52443781093)
2023-12-08 04:20:00,804 - {modules.common.simcount._calculate:13} - {DEBUG:device0} - time passed: 0.00267309, power1: -2, power2: 0
2023-12-08 04:20:00,805 - {modules.common.simcount._calculate:29} - {DEBUG:device0} - power did not change sign. Total energy: -0.00267309
2023-12-08 04:20:00,805 - {modules.common.simcount._simcount:47} - {DEBUG:device0} - imported: 0 Wh, exported: 0.00267309 Wh, new state: SimCounterState(timestamp=1702005600.8040717, power=0.0, imported=143333.37604219164, exported=116864.52711090283)
2023-12-08 04:20:00,806 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=143333.37604219164, exported=116864.52711090283, power=0.0, soc=19.0)
2023-12-08 04:20:00,812 - {modules.common.component_context:24} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2023-12-08 04:20:00,814 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=143333.37604219164, exported=116864.52711090283, power=0.0, soc=19.0)
2023-12-08 04:20:00,848 - {modules.common.component_context:24} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:20:00,851 - {modules.common.component_context:24} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2023-12-08 04:20:00,852 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-0.0, exported=7816178.85, dc_power=None)
2023-12-08 04:20:00,852 - {modules.common.component_context:24} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2023-12-08 04:20:00,853 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-0.0, exported=7816178.85, dc_power=None)
2023-12-08 04:20:00,853 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:20:00,855 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:20:00,889 - {modules.common.component_context:24} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2023-12-08 04:20:00,889 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[13.5, 12.8, 13.4], powers=[3230.0, 3070.0, 3204.0], voltages=[240.66, 240.92000000000002, 239.01], power_factors=[0.9919, 0.9929000000000001, 0.9919], imported=6127255.0, exported=4870433.0, power=9505.0, frequency=49.99)
2023-12-08 04:20:00,949 - {helpermodules.changed_values_handler:120} - {DEBUG:MainThread} - Topic openWB/set/bat/get/exported, Payload 116864.53, vorherige Payload: 116864.52
2023-12-08 04:20:00,950 - {helpermodules.changed_values_handler:120} - {DEBUG:MainThread} - Topic openWB/set/bat/get/power, Payload 0.0, vorherige Payload: -2.0
2023-12-08 04:20:00,953 - {helpermodules.changed_values_handler:120} - {DEBUG:MainThread} - Topic openWB/set/chargepoint/1/control_parameter/required_current, Payload 14.474996083472947, vorherige Payload: 14.443417885073272
2023-12-08 04:20:01,050 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2023-12-08 04:20:01,054 - {control.bat_all:173} - {INFO:MainThread} - -50W verbleibende Speicher-Leistung
2023-12-08 04:20:01,065 - {control.counter:138} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [62.2, 62.95, 62.45]A
2023-12-08 04:20:01,065 - {control.counter:161} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 42685.81W
2023-12-08 04:20:01,072 - {control.chargepoint.chargepoint:699} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2023-12-08 04:20:01,075 - {control.chargepoint.chargepoint:682} - {DEBUG:MainThread} - Phasenzahl Lademodus: 3
2023-12-08 04:20:01,081 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 43.639795s, Dauer 1.320910973084886h, Termin heute verpasst: False
2023-12-08 04:20:01,084 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 90766.618154s, Dauer 0.12008281573498965h, Termin heute verpasst: False
2023-12-08 04:20:01,085 - {control.ev:762} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2023-12-08 04:20:01,091 - {control.chargepoint.chargepoint:898} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 14A, Lademodus scheduled_charging, Submodus: Chargemode.INSTANT_CHARGING, Phasen: 3, Priorität: False, max. Ist-Strom: 12.85
2023-12-08 04:20:01,093 - {control.chargepoint.chargepoint:277} - {INFO:MainThread} - LP 1: Zielladen mit 14A, um einen SoC von 95%  um 05:40 zu erreichen.
2023-12-08 04:20:01,107 - {modules.common.simcount._simcount:38} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1702005591.7803912, power=337.1700000000001, imported=2374430.568664082, exported=0)
2023-12-08 04:20:01,109 - {modules.common.simcount._calculate:13} - {DEBUG:MainThread} - time passed: 0.00259093, power1: 337.17, power2: 314.19
2023-12-08 04:20:01,110 - {modules.common.simcount._calculate:29} - {DEBUG:MainThread} - power did not change sign. Total energy: 0.843815
2023-12-08 04:20:01,111 - {modules.common.simcount._simcount:47} - {DEBUG:MainThread} - imported: 0.843815 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702005601.1077452, power=314.1900000000005, imported=2374431.412478703, exported=0)
2023-12-08 04:20:01,120 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=19, daily_exported=0.0, daily_imported=0.0, imported=143333.38, exported=116864.53, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2023-12-08 04:20:01,122 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=19, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=143333.38, exported=116864.53, power=0.0), set=Set(charging_power_left=-50, switch_on_soc_reached=False))
2023-12-08 04:20:01,123 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=641.11, daily_exported=0, power=9190.81, imported=6927775.88, exported=0))
2023-12-08 04:20:01,124 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 95%, 06:00 Uhr', imported_at_plan_start=6926377.93, imported_instant_charging=None, limit=None, phases=3, prio=False, required_current=14, required_currents=[14, 14, 14], 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=[12.75, 12.85, 12.7], daily_imported=641.11, daily_exported=0, evse_current=1447, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=6927775.88, phases_in_use=3, plug_state=True, power=9190.81, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Zielladen mit 14A, um einen SoC von 95%  um 05:40 zu erreichen.', voltages=[241.15, 239.28, 240.87]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=14.47, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', imported_at_mode_switch=6926377.93, imported_at_plugtime=6926377.93, imported_since_mode_switch=1374.0200000004843, imported_since_plugged=1374.0200000004843, range_charged=7.633444444447135, time_charged='0:08', timestamp_start_charging='12/08/2023, 04:11:30'), manual_lock=False, phases_to_use=3, plug_state_prev=True, plug_time='12/07/2023, 13:07:31', required_power=9660, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x70bceb20>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB Carport', type='internal_openwb', template=1, connected_phases=3, phase_1=2, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=1))
2023-12-08 04:20:01,126 - {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-12-08 04:20:01,127 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=1, max_current_multi_phases=16, max_current_single_phase=20, name='RFID, 20A, 11kW', rfid_enabling=True, valid_tags=['0003134583', '0003526747', '1655332554', '2585022212', '2585087748'])
2023-12-08 04:20:01,129 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[63, 63, 63], max_total_power=43000), get=Get(powers=[3230.0, 3070.0, 3204.0], currents=[13.5, 12.8, 13.4], voltages=[240.66, 240.92, 239.01], power_factors=[0.99, 0.99, 0.99], unbalanced_load=0, frequency=49.99, daily_exported=0.0, daily_imported=4693.0, imported=6127255.0, exported=4870433.0, fault_state=0, fault_str='Kein Fehler.', power=9505.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=42685.81, raw_currents_left=[62.2, 62.95, 62.45], surplus_power_left=0, state_str=''))
2023-12-08 04:20:01,133 - {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': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=314.1900000000005, invalid_home_consumption=0, daily_yield_home_consumption=5589.4256330971, imported_home_consumption=2374431.412478703, disengageable_smarthome_power=0))
2023-12-08 04:20:01,135 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2023-12-08 04:20:01,137 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Ladeprofil ***AUTO1***', disable_after_unplug=False, prio=False, load_default=True, time_charging=TimeCharging(active=True, plans={'0': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[True, True, True, True, False, False, True]), time=['22:00', '06:00'], name='Zeitladen 95%, So-Do 22:00-06:00 Uhr', current=16, limit=Limit(selected='soc', amount=1000, soc=95)), '1': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, True, True, False]), time=['22:00', '06:00'], name='Zeitladen 80%, Fr-Sa 22:00-06:00 Uhr', current=16, limit=Limit(selected='soc', amount=1000, soc=80))}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2023-12-08 04:20:01,138 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, time_charging=TimeCharging(active=True, plans={'2': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), time=['06:45', '07:00'], name='Klima 06:45-07:00 Uhr', current=6, limit=Limit(selected='none', amount=1000, soc=50)), '3': TimeChargingPlan(active=True, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, False, False, False]), time=['00:00', '23:55'], name='Immer 35%', current=10, limit=Limit(selected='soc', amount=1000, soc=35))}), chargemode=Chargemode(selected='scheduled_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={'0': ScheduledChargingPlan(active=False, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, True, False, False, False, False, False]), current=14, name='Zielladen 80%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '1': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), current=14, name='Zielladen 95%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=95), time='05:40'), '2': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once='2023-09-26', weekly=[True, False, False, True, False, True, True]), current=14, name='Zielladen 75%, 7:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=75), time='05:40')}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=80))))
2023-12-08 04:20:01,140 - {control.data:266} - {INFO:MainThread} - ev0
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=['0003134583'], get=Get(soc=0, soc_timestamp=None, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:20:01,145 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Tesla Model Y (2022)', 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=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212', '2585087748'], get=Get(soc=49.0, soc_timestamp='12/08/2023, 01:29:15', force_soc_update=False, range=220.74, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:20:01,148 - {control.data:266} - {INFO:MainThread} - ev2
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Cupra Born 58kW', 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=18000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=2, ev_template=2, name='***AUTO2***', tag_id=['1655332554'], get=Get(soc=73, soc_timestamp='12/08/2023, 04:19:49', force_soc_update=False, range=210, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:20:01,150 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40)
2023-12-08 04:20:01,151 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', 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=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40)
2023-12-08 04:20:01,152 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', 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=18000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40)
2023-12-08 04:20:01,155 - {control.data:245} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=3), pv_charging=PvCharging(bat_prio=True, charging_power_reserve=200, control_range=[-230, 230], feed_in_yield=15000, phase_switch_delay=15, phases_to_use=0, rundown_power=1000, rundown_soc=25, switch_off_delay=60, switch_off_soc=25, switch_off_threshold=50, switch_on_delay=30, switch_on_soc=50, switch_on_threshold=1400), scheduled_charging=ScheduledCharging(phases_to_use=0), time_charging=TimeCharging(phases_to_use=3), unbalanced_load_limit=20, unbalanced_load=True), control_interval=10, extern_display_mode='local', extern=False, external_buttons_hw=False, grid_protection_active=False, grid_protection_configured=True, grid_protection_random_stop=0, grid_protection_timestamp='', mqtt_bridge=False, price_kwh=0.3528, range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=True, r1_active=False, r2_active=False))
2023-12-08 04:20:01,156 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2023-12-08 04:20:01,157 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2023-12-08 04:20:01,160 - {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 0x70bebf88>), led=Led(active=False), rfid=Rfid(active=True))
2023-12-08 04:20:01,161 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=0), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=293628.595, fault_state=0, fault_str='Kein Fehler.', power=0))
2023-12-08 04:20:01,162 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=9500), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=7816178.85, fault_state=0, fault_str='Kein Fehler.', power=-0.0))
2023-12-08 04:20:01,163 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=8109807.444999999, power=0.0))
2023-12-08 04:20:01,164 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2023-11-30 12:30:45 +0100 [285f5a5fb]', 'current_branch': 'Release', 'current_branch_commit': '2023-11-30 12:30:45 +0100 [285f5a5fb]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.2-Patch.1', 'datastore_version': 29, 'lastlivevaluesJson': {'timestamp': 1702005591, 'time': '04:19:51', 'grid': 9.514, 'house-power': 0.337, 'charging-all': 9.177, 'pv-all': -0.002, 'cp1-power': 9.177, 'ev1-soc': 49.0, 'ev2-soc': 72, 'bat-all-power': -0.002, 'bat-all-soc': 19}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2023-12-08 04:20:01,167 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2023-12-08 04:20:01,168 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2023-12-08 04:20:01,169 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2023-12-08 04:20:01,170 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2023-12-08 04:20:01,171 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2023-12-08 04:20:01,172 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2023-12-08 04:20:01,174 - {control.data:253} - {INFO:MainThread} - 

2023-12-08 04:20:01,175 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2023-12-08 04:20:01,175 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2023-12-08 04:20:01,177 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2023-12-08 04:20:01,183 - {control.counter:169} - {DEBUG:MainThread} - Zähler 0: [56.2, 56.95, 56.45]A verbleibende Ströme, 38545.81W verbleibende Leistung
2023-12-08 04:20:01,183 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2023-12-08 04:20:01,186 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2023-12-08 04:20:01,189 - {control.algorithm.filter_chargepoints:117} - {DEBUG:MainThread} - Geordnete Ladepunkte [1]
2023-12-08 04:20:01,190 - {control.algorithm.additional_current:26} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2023-12-08 04:20:01,191 - {control.counter:169} - {DEBUG:MainThread} - Zähler 0: [48.2, 48.95, 48.45]A verbleibende Ströme, 33025.81W verbleibende Leistung
2023-12-08 04:20:01,192 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 14A
2023-12-08 04:20:01,194 - {control.counter:211} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: 0W
2023-12-08 04:20:01,195 - {control.counter:457} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf 0W
2023-12-08 04:20:01,196 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2023-12-08 04:20:01,197 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2023-12-08 04:20:01,198 - {control.chargelog:52} - {DEBUG:MainThread} - imported_since_mode_switch 1397.9500000001863 counter 6927775.88
2023-12-08 04:20:01,200 - {control.process:111} - {INFO:MainThread} - LP1: set current 14 A, state CHARGING_ALLOWED
2023-12-08 04:20:01,202 - {modules.common.component_context:24} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:20:01,231 - {control.counter:186} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2023-12-08 04:20:01,455 - {helpermodules.changed_values_handler:120} - {DEBUG:MainThread} - Topic openWB/set/chargepoint/1/control_parameter/required_current, Payload 14, vorherige Payload: 14.474996083472947
2023-12-08 04:20:01,458 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2023-12-08 04:20:01,477 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=hours, do=inner, args=(), kwargs={})
2023-12-08 04:20:01,538 - {root:106} - {DEBUG:MainThread} - 5 Minuten Handler ausführen.
2023-12-08 04:20:01,574 - {helpermodules.system:74} - {INFO:MainThread} - my IP: 192.168.1.31
2023-12-08 04:20:01,576 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=hours, do=inner, args=(), kwargs={})
2023-12-08 04:20:02,941 - {helpermodules.changed_values_handler:120} - {DEBUG:MainThread} - Topic openWB/set/bat/get/daily_exported, Payload 0.01, vorherige Payload: 0
2023-12-08 04:20:02,981 - {helpermodules.setdata:330} - {ERROR:Setdata} - Payload ungültig: Topic openWB/set/pv/get/daily_exported, Payload -0.010000001 liegt in keinem der angegebenen Wertebereiche.
2023-12-08 04:20:02,988 - {helpermodules.setdata:330} - {ERROR:Setdata} - Payload ungültig: Topic openWB/set/pv/2/get/daily_exported, Payload -0.01 liegt in keinem der angegebenen Wertebereiche.
2023-12-08 04:20:05,962 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2023-12-08 04:20:05,963 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2023-12-08 04:20:10,979 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2023-12-08 04:20:10,980 - {root:74} - {INFO:MainThread} - # ***Start*** 
2023-12-08 04:20:11,018 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x715cf340>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x7155e4a8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x715c75f8>}
2023-12-08 04:20:11,023 - {modules.common.component_context:24} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2023-12-08 04:20:11,032 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2023-12-08 04:20:11,034 - {modules.common.component_context:24} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:20:11,034 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2023-12-08 04:20:11,077 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 750
2023-12-08 04:20:11,079 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"cloud":{"connected":false},"input:0":{"id":0,"state":false},"mqtt":{"connected":false},"switch:0":{"id":0, "source":"loopback", "output":false, "apower":0.0, "voltage":241.3, "current":0.000, "aenergy":{"total":1505.625,"by_minute":[0.000,0.000,0.000],"minute_ts":1702005610},"temperature":{"tC":28.8, "tF":83.8}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:20","unixtime":1702005611,"uptime":1364939,"ram_size":248944,"ram_free":144688,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"beta":{"version":"1.1.0-beta2"},"stable":{"version":"1.0.8"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-69},"ws":{"connected":false}}

2023-12-08 04:20:11,081 - {modules.common.simcount._simcount:38} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1702005600.3403232, power=0, imported=0.0, exported=293628.5948715257)
2023-12-08 04:20:11,082 - {modules.common.simcount._calculate:13} - {DEBUG:device1} - time passed: 0.00298371, power1: 0, power2: 0
2023-12-08 04:20:11,082 - {modules.common.simcount._calculate:29} - {DEBUG:device1} - power did not change sign. Total energy: 0
2023-12-08 04:20:11,083 - {modules.common.simcount._simcount:47} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702005611.0816655, power=0, imported=0.0, exported=293628.5948715257)
2023-12-08 04:20:11,084 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:20:11,738 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-9521, -3236, -3077, -3207], Scale 0
2023-12-08 04:20:11,924 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [134, 128, 134], Scale -1
2023-12-08 04:20:11,944 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [24074, 24095, 23907, 0, 0, 0, 0], Scale -2
2023-12-08 04:20:12,116 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4997], Scale -2
2023-12-08 04:20:12,155 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [9940, 9940, 9919], Scale -2
2023-12-08 04:20:12,177 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4870433, 1797042, 2153375, 1456453, 6127276, 2532014, 1863235, 2268466], Scale 0
2023-12-08 04:20:12,178 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[13.4, 12.8, 13.4], powers=[3236.0, 3077.0, 3207.0], voltages=[240.74, 240.95000000000002, 239.07], power_factors=[0.9940000000000001, 0.9940000000000001, 0.9919], imported=6127276.0, exported=4870433.0, power=9521.0, frequency=49.97)
2023-12-08 04:20:12,180 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2023-12-08 04:20:12,201 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [0], Scale 0
2023-12-08 04:20:12,285 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7789710], Scale 0
2023-12-08 04:20:12,304 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [28, 30, 32], Scale -2
2023-12-08 04:20:12,324 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-5841], Scale -2
2023-12-08 04:20:12,325 - {modules.common.component_state:100} - {DEBUG:device0} - currents sign wrong [0.28, 0.3, 0.32]
2023-12-08 04:20:12,325 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.28, 0.3, 0.32], power=-0.0, exported=7789710.0, dc_power=58.410000000000004)
2023-12-08 04:20:12,327 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2023-12-08 04:20:12,495 - {modules.common.simcount._simcount:38} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1702005600.8040717, power=0.0, imported=143333.37604219164, exported=116864.52711090283)
2023-12-08 04:20:12,496 - {modules.common.simcount._calculate:13} - {DEBUG:device0} - time passed: 0.00324772, power1: 0, power2: 0
2023-12-08 04:20:12,497 - {modules.common.simcount._calculate:29} - {DEBUG:device0} - power did not change sign. Total energy: 0
2023-12-08 04:20:12,497 - {modules.common.simcount._simcount:47} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702005612.4958801, power=0.0, imported=143333.37604219164, exported=116864.52711090283)
2023-12-08 04:20:12,498 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=143333.37604219164, exported=116864.52711090283, power=0.0, soc=19.0)
2023-12-08 04:20:12,503 - {modules.common.component_context:24} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2023-12-08 04:20:12,504 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=143333.37604219164, exported=116864.52711090283, power=0.0, soc=19.0)
2023-12-08 04:20:12,574 - {modules.common.component_context:24} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:20:12,576 - {modules.common.component_context:24} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2023-12-08 04:20:12,577 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-0.0, exported=7816178.85, dc_power=None)
2023-12-08 04:20:12,578 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-0.0, exported=7816178.85, dc_power=None)
2023-12-08 04:20:12,580 - {modules.common.component_context:24} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2023-12-08 04:20:12,582 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:20:12,591 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:20:12,625 - {modules.common.component_context:24} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2023-12-08 04:20:12,625 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[13.4, 12.8, 13.4], powers=[3236.0, 3077.0, 3207.0], voltages=[240.74, 240.95000000000002, 239.07], power_factors=[0.9940000000000001, 0.9940000000000001, 0.9919], imported=6127276.0, exported=4870433.0, power=9521.0, frequency=49.97)
2023-12-08 04:20:12,688 - {helpermodules.changed_values_handler:120} - {DEBUG:MainThread} - Topic openWB/set/bat/get/daily_exported, Payload 0.01, vorherige Payload: 0
2023-12-08 04:20:12,796 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2023-12-08 04:20:12,800 - {control.bat_all:173} - {INFO:MainThread} - -50W verbleibende Speicher-Leistung
2023-12-08 04:20:12,803 - {control.counter:138} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [62.28, 62.94, 62.45]A
2023-12-08 04:20:12,805 - {control.counter:161} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 42665.479999999996W
2023-12-08 04:20:12,814 - {control.chargepoint.chargepoint:699} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2023-12-08 04:20:12,815 - {control.chargepoint.chargepoint:682} - {DEBUG:MainThread} - Phasenzahl Lademodus: 3
2023-12-08 04:20:12,817 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 31.903793s, Dauer 1.320910973084886h, Termin heute verpasst: False
2023-12-08 04:20:12,819 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 90754.883301s, Dauer 0.12008281573498965h, Termin heute verpasst: False
2023-12-08 04:20:12,822 - {control.ev:762} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2023-12-08 04:20:12,835 - {control.chargepoint.chargepoint:898} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 14A, Lademodus scheduled_charging, Submodus: Chargemode.INSTANT_CHARGING, Phasen: 3, Priorität: False, max. Ist-Strom: 12.85
2023-12-08 04:20:12,851 - {control.chargepoint.chargepoint:277} - {INFO:MainThread} - LP 1: Zielladen mit 14A, um einen SoC von 95%  um 05:40 zu erreichen.
2023-12-08 04:20:12,888 - {modules.common.simcount._simcount:38} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1702005601.1077452, power=314.1900000000005, imported=2374431.412478703, exported=0)
2023-12-08 04:20:12,893 - {modules.common.simcount._calculate:13} - {DEBUG:MainThread} - time passed: 0.0032725, power1: 314.19, power2: 334.52
2023-12-08 04:20:12,903 - {modules.common.simcount._calculate:29} - {DEBUG:MainThread} - power did not change sign. Total energy: 1.06145
2023-12-08 04:20:12,904 - {modules.common.simcount._simcount:47} - {DEBUG:MainThread} - imported: 1.06145 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702005612.8887577, power=334.52000000000044, imported=2374432.47393157, exported=0)
2023-12-08 04:20:12,912 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=19, daily_exported=0.01, daily_imported=0.0, imported=143333.38, exported=116864.53, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2023-12-08 04:20:12,913 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=19, daily_exported=0.01, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=143333.38, exported=116864.53, power=0.0), set=Set(charging_power_left=-50, switch_on_soc_reached=False))
2023-12-08 04:20:12,915 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=1414.06, daily_exported=0, power=9186.48, imported=6927804.2, exported=0))
2023-12-08 04:20:12,917 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 95%, 06:00 Uhr', imported_at_plan_start=6926377.93, imported_instant_charging=None, limit=None, phases=3, prio=False, required_current=14, required_currents=[14, 14, 14], 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=73), currents=[12.74, 12.85, 12.68], daily_imported=1414.06, daily_exported=0, evse_current=1400, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=6927804.2, phases_in_use=3, plug_state=True, power=9186.48, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Zielladen mit 14A, um einen SoC von 95%  um 05:40 zu erreichen.', voltages=[241.28, 239.34, 241.0]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=14, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', imported_at_mode_switch=6926377.93, imported_at_plugtime=6926377.93, imported_since_mode_switch=1397.9500000001863, imported_since_plugged=1397.9500000001863, range_charged=7.7663888888899235, time_charged='0:08', timestamp_start_charging='12/08/2023, 04:11:30'), manual_lock=False, phases_to_use=3, plug_state_prev=True, plug_time='12/07/2023, 13:07:31', required_power=9660, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x70bf3c10>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB Carport', type='internal_openwb', template=1, connected_phases=3, phase_1=2, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=1))
2023-12-08 04:20:12,919 - {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-12-08 04:20:12,920 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=1, max_current_multi_phases=16, max_current_single_phase=20, name='RFID, 20A, 11kW', rfid_enabling=True, valid_tags=['0003134583', '0003526747', '1655332554', '2585022212', '2585087748'])
2023-12-08 04:20:12,922 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[63, 63, 63], max_total_power=43000), get=Get(powers=[3236.0, 3077.0, 3207.0], currents=[13.4, 12.8, 13.4], voltages=[240.74, 240.95, 239.07], power_factors=[0.99, 0.99, 0.99], unbalanced_load=0, frequency=49.97, daily_exported=0.0, daily_imported=5494.0, imported=6127276.0, exported=4870433.0, fault_state=0, fault_str='Kein Fehler.', power=9521.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=42665.479999999996, raw_currents_left=[62.28, 62.94, 62.45], surplus_power_left=0, state_str=''))
2023-12-08 04:20:12,926 - {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': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=334.52000000000044, invalid_home_consumption=0, daily_yield_home_consumption=5616.0662186546, imported_home_consumption=2374432.47393157, disengageable_smarthome_power=0))
2023-12-08 04:20:12,927 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2023-12-08 04:20:12,929 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Ladeprofil ***AUTO1***', disable_after_unplug=False, prio=False, load_default=True, time_charging=TimeCharging(active=True, plans={'0': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[True, True, True, True, False, False, True]), time=['22:00', '06:00'], name='Zeitladen 95%, So-Do 22:00-06:00 Uhr', current=16, limit=Limit(selected='soc', amount=1000, soc=95)), '1': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, True, True, False]), time=['22:00', '06:00'], name='Zeitladen 80%, Fr-Sa 22:00-06:00 Uhr', current=16, limit=Limit(selected='soc', amount=1000, soc=80))}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2023-12-08 04:20:12,939 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, time_charging=TimeCharging(active=True, plans={'2': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), time=['06:45', '07:00'], name='Klima 06:45-07:00 Uhr', current=6, limit=Limit(selected='none', amount=1000, soc=50)), '3': TimeChargingPlan(active=True, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, False, False, False]), time=['00:00', '23:55'], name='Immer 35%', current=10, limit=Limit(selected='soc', amount=1000, soc=35))}), chargemode=Chargemode(selected='scheduled_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={'0': ScheduledChargingPlan(active=False, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, True, False, False, False, False, False]), current=14, name='Zielladen 80%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '1': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), current=14, name='Zielladen 95%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=95), time='05:40'), '2': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once='2023-09-26', weekly=[True, False, False, True, False, True, True]), current=14, name='Zielladen 75%, 7:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=75), time='05:40')}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=80))))
2023-12-08 04:20:12,945 - {control.data:266} - {INFO:MainThread} - ev0
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=['0003134583'], get=Get(soc=0, soc_timestamp=None, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:20:12,947 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Tesla Model Y (2022)', 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=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212', '2585087748'], get=Get(soc=49.0, soc_timestamp='12/08/2023, 01:29:15', force_soc_update=False, range=220.74, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:20:12,948 - {control.data:266} - {INFO:MainThread} - ev2
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Cupra Born 58kW', 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=18000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=2, ev_template=2, name='***AUTO2***', tag_id=['1655332554'], get=Get(soc=73, soc_timestamp='12/08/2023, 04:19:49', force_soc_update=False, range=210, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:20:12,950 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40)
2023-12-08 04:20:12,953 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', 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=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40)
2023-12-08 04:20:12,954 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', 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=18000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40)
2023-12-08 04:20:12,955 - {control.data:245} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=3), pv_charging=PvCharging(bat_prio=True, charging_power_reserve=200, control_range=[-230, 230], feed_in_yield=15000, phase_switch_delay=15, phases_to_use=0, rundown_power=1000, rundown_soc=25, switch_off_delay=60, switch_off_soc=25, switch_off_threshold=50, switch_on_delay=30, switch_on_soc=50, switch_on_threshold=1400), scheduled_charging=ScheduledCharging(phases_to_use=0), time_charging=TimeCharging(phases_to_use=3), unbalanced_load_limit=20, unbalanced_load=True), control_interval=10, extern_display_mode='local', extern=False, external_buttons_hw=False, grid_protection_active=False, grid_protection_configured=True, grid_protection_random_stop=0, grid_protection_timestamp='', mqtt_bridge=False, price_kwh=0.3528, range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=True, r1_active=False, r2_active=False))
2023-12-08 04:20:12,961 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2023-12-08 04:20:12,966 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2023-12-08 04:20:12,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=180, theme=<modules.display_themes.cards.config.CardsDisplayTheme object at 0x70bf3dd8>), led=Led(active=False), rfid=Rfid(active=True))
2023-12-08 04:20:12,972 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=0), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=293628.595, fault_state=0, fault_str='Kein Fehler.', power=0))
2023-12-08 04:20:12,973 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=9500), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=7816178.85, fault_state=0, fault_str='Kein Fehler.', power=-0.0))
2023-12-08 04:20:12,974 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=8109807.444999999, power=0.0))
2023-12-08 04:20:12,975 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2023-11-30 12:30:45 +0100 [285f5a5fb]', 'current_branch': 'Release', 'current_branch_commit': '2023-11-30 12:30:45 +0100 [285f5a5fb]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.2-Patch.1', 'datastore_version': 29, 'lastlivevaluesJson': {'timestamp': 1702005601, 'time': '04:20:01', 'grid': 9.505, 'house-power': 0.314, 'charging-all': 9.191, 'pv-all': -0.0, 'cp1-power': 9.191, 'ev1-soc': 49.0, 'ev2-soc': 73, 'bat-all-power': 0.0, 'bat-all-soc': 19}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2023-12-08 04:20:12,976 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2023-12-08 04:20:12,977 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2023-12-08 04:20:12,979 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2023-12-08 04:20:12,980 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2023-12-08 04:20:12,981 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2023-12-08 04:20:12,983 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2023-12-08 04:20:12,983 - {control.data:253} - {INFO:MainThread} - 

2023-12-08 04:20:12,983 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2023-12-08 04:20:12,984 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2023-12-08 04:20:12,985 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2023-12-08 04:20:12,986 - {control.counter:169} - {DEBUG:MainThread} - Zähler 0: [56.28, 56.94, 56.45]A verbleibende Ströme, 38525.479999999996W verbleibende Leistung
2023-12-08 04:20:12,986 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2023-12-08 04:20:12,989 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2023-12-08 04:20:12,990 - {control.algorithm.filter_chargepoints:117} - {DEBUG:MainThread} - Geordnete Ladepunkte [1]
2023-12-08 04:20:12,991 - {control.algorithm.additional_current:26} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2023-12-08 04:20:12,991 - {control.counter:169} - {DEBUG:MainThread} - Zähler 0: [48.28, 48.94, 48.45]A verbleibende Ströme, 33005.479999999996W verbleibende Leistung
2023-12-08 04:20:12,994 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 14A
2023-12-08 04:20:12,995 - {control.counter:211} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: 0W
2023-12-08 04:20:12,996 - {control.counter:457} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf 0W
2023-12-08 04:20:12,996 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2023-12-08 04:20:12,997 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2023-12-08 04:20:12,998 - {control.chargelog:52} - {DEBUG:MainThread} - imported_since_mode_switch 1426.2700000004843 counter 6927804.2
2023-12-08 04:20:13,001 - {control.process:111} - {INFO:MainThread} - LP1: set current 14 A, state CHARGING_ALLOWED
2023-12-08 04:20:13,005 - {modules.common.component_context:24} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:20:13,058 - {control.counter:186} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2023-12-08 04:20:13,278 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2023-12-08 04:20:13,279 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2023-12-08 04:20:15,289 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2023-12-08 04:20:20,301 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2023-12-08 04:20:20,302 - {root:74} - {INFO:MainThread} - # ***Start*** 
2023-12-08 04:20:20,350 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x715cf340>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x7155e4a8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x715c75f8>}
2023-12-08 04:20:20,352 - {modules.common.component_context:24} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2023-12-08 04:20:20,359 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2023-12-08 04:20:20,362 - {modules.common.component_context:24} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:20:20,362 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2023-12-08 04:20:20,405 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 750
2023-12-08 04:20:20,407 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"cloud":{"connected":false},"input:0":{"id":0,"state":false},"mqtt":{"connected":false},"switch:0":{"id":0, "source":"loopback", "output":false, "apower":0.0, "voltage":241.4, "current":0.000, "aenergy":{"total":1505.625,"by_minute":[0.000,0.000,0.000],"minute_ts":1702005619},"temperature":{"tC":28.8, "tF":83.8}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:20","unixtime":1702005621,"uptime":1364948,"ram_size":248996,"ram_free":145260,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"beta":{"version":"1.1.0-beta2"},"stable":{"version":"1.0.8"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-68},"ws":{"connected":false}}

2023-12-08 04:20:20,409 - {modules.common.simcount._simcount:38} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1702005611.0816655, power=0, imported=0.0, exported=293628.5948715257)
2023-12-08 04:20:20,410 - {modules.common.simcount._calculate:13} - {DEBUG:device1} - time passed: 0.00259096, power1: 0, power2: 0
2023-12-08 04:20:20,410 - {modules.common.simcount._calculate:29} - {DEBUG:device1} - power did not change sign. Total energy: 0
2023-12-08 04:20:20,410 - {modules.common.simcount._simcount:47} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702005620.409139, power=0, imported=0.0, exported=293628.5948715257)
2023-12-08 04:20:20,412 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:20:20,453 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-9507, -3230, -3074, -3202], Scale 0
2023-12-08 04:20:20,473 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [135, 128, 135], Scale -1
2023-12-08 04:20:20,493 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [24067, 24096, 23906, 0, 0, 0, 0], Scale -2
2023-12-08 04:20:20,754 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4999], Scale -2
2023-12-08 04:20:20,805 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [9919, 9929, 9900], Scale -2
2023-12-08 04:20:20,884 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4870433, 1797042, 2153375, 1456453, 6127297, 2532021, 1863241, 2268473], Scale 0
2023-12-08 04:20:20,885 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[13.5, 12.8, 13.5], powers=[3230.0, 3074.0, 3202.0], voltages=[240.67000000000002, 240.96, 239.06], power_factors=[0.9919, 0.9929000000000001, 0.99], imported=6127297.0, exported=4870433.0, power=9507.0, frequency=49.99)
2023-12-08 04:20:20,894 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2023-12-08 04:20:20,914 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [0], Scale 0
2023-12-08 04:20:21,039 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7789710], Scale 0
2023-12-08 04:20:21,054 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [28, 31, 33], Scale -2
2023-12-08 04:20:21,109 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-5829], Scale -2
2023-12-08 04:20:21,111 - {modules.common.component_state:100} - {DEBUG:device0} - currents sign wrong [0.28, 0.31, 0.33]
2023-12-08 04:20:21,112 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.28, 0.31, 0.33], power=-0.0, exported=7789710.0, dc_power=58.29)
2023-12-08 04:20:21,113 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2023-12-08 04:20:21,154 - {modules.common.simcount._simcount:38} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1702005612.4958801, power=0.0, imported=143333.37604219164, exported=116864.52711090283)
2023-12-08 04:20:21,155 - {modules.common.simcount._calculate:13} - {DEBUG:device0} - time passed: 0.00240527, power1: 0, power2: 0
2023-12-08 04:20:21,156 - {modules.common.simcount._calculate:29} - {DEBUG:device0} - power did not change sign. Total energy: 0
2023-12-08 04:20:21,156 - {modules.common.simcount._simcount:47} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702005621.1548681, power=0.0, imported=143333.37604219164, exported=116864.52711090283)
2023-12-08 04:20:21,158 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=143333.37604219164, exported=116864.52711090283, power=0.0, soc=19.0)
2023-12-08 04:20:21,167 - {modules.common.component_context:24} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2023-12-08 04:20:21,175 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=143333.37604219164, exported=116864.52711090283, power=0.0, soc=19.0)
2023-12-08 04:20:21,208 - {modules.common.component_context:24} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:20:21,209 - {modules.common.component_context:24} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2023-12-08 04:20:21,210 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-0.0, exported=7816178.85, dc_power=None)
2023-12-08 04:20:21,211 - {modules.common.component_context:24} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2023-12-08 04:20:21,211 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-0.0, exported=7816178.85, dc_power=None)
2023-12-08 04:20:21,212 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:20:21,213 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:20:21,252 - {modules.common.component_context:24} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2023-12-08 04:20:21,253 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[13.5, 12.8, 13.5], powers=[3230.0, 3074.0, 3202.0], voltages=[240.67000000000002, 240.96, 239.06], power_factors=[0.9919, 0.9929000000000001, 0.99], imported=6127297.0, exported=4870433.0, power=9507.0, frequency=49.99)
2023-12-08 04:20:21,405 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2023-12-08 04:20:21,409 - {control.bat_all:173} - {INFO:MainThread} - -50W verbleibende Speicher-Leistung
2023-12-08 04:20:21,415 - {control.counter:138} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [62.2, 62.89, 62.34]A
2023-12-08 04:20:21,418 - {control.counter:161} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 42671.57W
2023-12-08 04:20:21,420 - {control.chargepoint.chargepoint:699} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2023-12-08 04:20:21,421 - {control.chargepoint.chargepoint:682} - {DEBUG:MainThread} - Phasenzahl Lademodus: 3
2023-12-08 04:20:21,424 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 23.297044s, Dauer 1.320910973084886h, Termin heute verpasst: False
2023-12-08 04:20:21,425 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 90746.276728s, Dauer 0.12008281573498965h, Termin heute verpasst: False
2023-12-08 04:20:21,430 - {control.ev:762} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2023-12-08 04:20:21,434 - {control.chargepoint.chargepoint:898} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 14A, Lademodus scheduled_charging, Submodus: Chargemode.INSTANT_CHARGING, Phasen: 3, Priorität: False, max. Ist-Strom: 12.84
2023-12-08 04:20:21,442 - {control.chargepoint.chargepoint:277} - {INFO:MainThread} - LP 1: Zielladen mit 14A, um einen SoC von 95%  um 05:40 zu erreichen.
2023-12-08 04:20:21,464 - {modules.common.simcount._simcount:38} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1702005612.8887577, power=334.52000000000044, imported=2374432.47393157, exported=0)
2023-12-08 04:20:21,465 - {modules.common.simcount._calculate:13} - {DEBUG:MainThread} - time passed: 0.00238201, power1: 334.52, power2: 328.43
2023-12-08 04:20:21,471 - {modules.common.simcount._calculate:29} - {DEBUG:MainThread} - power did not change sign. Total energy: 0.789576
2023-12-08 04:20:21,473 - {modules.common.simcount._simcount:47} - {DEBUG:MainThread} - imported: 0.789576 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702005621.46399, power=328.4300000000003, imported=2374433.263507991, exported=0)
2023-12-08 04:20:21,477 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=19, daily_exported=0.01, daily_imported=0.0, imported=143333.38, exported=116864.53, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2023-12-08 04:20:21,478 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=19, daily_exported=0.01, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=143333.38, exported=116864.53, power=0.0), set=Set(charging_power_left=-50, switch_on_soc_reached=False))
2023-12-08 04:20:21,482 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=1414.06, daily_exported=0, power=9178.57, imported=6927828.12, exported=0))
2023-12-08 04:20:21,485 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 95%, 06:00 Uhr', imported_at_plan_start=6926377.93, imported_instant_charging=None, limit=None, phases=3, prio=False, required_current=14, required_currents=[14, 14, 14], 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=73), currents=[12.69, 12.84, 12.7], daily_imported=1414.06, daily_exported=0, evse_current=1400, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=6927828.12, phases_in_use=3, plug_state=True, power=9178.57, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Zielladen mit 14A, um einen SoC von 95%  um 05:40 zu erreichen.', voltages=[241.28, 239.37, 240.99]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=14, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', imported_at_mode_switch=6926377.93, imported_at_plugtime=6926377.93, imported_since_mode_switch=1426.2700000004843, imported_since_plugged=1426.2700000004843, range_charged=7.923722222224913, time_charged='0:08', timestamp_start_charging='12/08/2023, 04:11:30'), manual_lock=False, phases_to_use=3, plug_state_prev=True, plug_time='12/07/2023, 13:07:31', required_power=9660, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x70b687f0>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB Carport', type='internal_openwb', template=1, connected_phases=3, phase_1=2, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=1))
2023-12-08 04:20:21,487 - {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-12-08 04:20:21,489 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=1, max_current_multi_phases=16, max_current_single_phase=20, name='RFID, 20A, 11kW', rfid_enabling=True, valid_tags=['0003134583', '0003526747', '1655332554', '2585022212', '2585087748'])
2023-12-08 04:20:21,490 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[63, 63, 63], max_total_power=43000), get=Get(powers=[3230.0, 3074.0, 3202.0], currents=[13.5, 12.8, 13.5], voltages=[240.67, 240.96, 239.06], power_factors=[0.99, 0.99, 0.99], unbalanced_load=0, frequency=49.99, daily_exported=0.0, daily_imported=5494.0, imported=6127297.0, exported=4870433.0, fault_state=0, fault_str='Kein Fehler.', power=9507.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=42671.57, raw_currents_left=[62.2, 62.89, 62.34], surplus_power_left=0, state_str=''))
2023-12-08 04:20:21,492 - {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': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=328.4300000000003, invalid_home_consumption=0, daily_yield_home_consumption=5616.0662186546, imported_home_consumption=2374433.263507991, disengageable_smarthome_power=0))
2023-12-08 04:20:21,494 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2023-12-08 04:20:21,496 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Ladeprofil ***AUTO1***', disable_after_unplug=False, prio=False, load_default=True, time_charging=TimeCharging(active=True, plans={'0': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[True, True, True, True, False, False, True]), time=['22:00', '06:00'], name='Zeitladen 95%, So-Do 22:00-06:00 Uhr', current=16, limit=Limit(selected='soc', amount=1000, soc=95)), '1': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, True, True, False]), time=['22:00', '06:00'], name='Zeitladen 80%, Fr-Sa 22:00-06:00 Uhr', current=16, limit=Limit(selected='soc', amount=1000, soc=80))}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2023-12-08 04:20:21,498 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, time_charging=TimeCharging(active=True, plans={'2': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), time=['06:45', '07:00'], name='Klima 06:45-07:00 Uhr', current=6, limit=Limit(selected='none', amount=1000, soc=50)), '3': TimeChargingPlan(active=True, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, False, False, False]), time=['00:00', '23:55'], name='Immer 35%', current=10, limit=Limit(selected='soc', amount=1000, soc=35))}), chargemode=Chargemode(selected='scheduled_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={'0': ScheduledChargingPlan(active=False, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, True, False, False, False, False, False]), current=14, name='Zielladen 80%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '1': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), current=14, name='Zielladen 95%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=95), time='05:40'), '2': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once='2023-09-26', weekly=[True, False, False, True, False, True, True]), current=14, name='Zielladen 75%, 7:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=75), time='05:40')}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=80))))
2023-12-08 04:20:21,499 - {control.data:266} - {INFO:MainThread} - ev0
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=['0003134583'], get=Get(soc=0, soc_timestamp=None, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:20:21,502 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Tesla Model Y (2022)', 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=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212', '2585087748'], get=Get(soc=49.0, soc_timestamp='12/08/2023, 01:29:15', force_soc_update=False, range=220.74, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:20:21,503 - {control.data:266} - {INFO:MainThread} - ev2
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Cupra Born 58kW', 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=18000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=2, ev_template=2, name='***AUTO2***', tag_id=['1655332554'], get=Get(soc=73, soc_timestamp='12/08/2023, 04:19:49', force_soc_update=False, range=210, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:20:21,504 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40)
2023-12-08 04:20:21,505 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', 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=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40)
2023-12-08 04:20:21,506 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', 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=18000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40)
2023-12-08 04:20:21,522 - {control.data:245} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=3), pv_charging=PvCharging(bat_prio=True, charging_power_reserve=200, control_range=[-230, 230], feed_in_yield=15000, phase_switch_delay=15, phases_to_use=0, rundown_power=1000, rundown_soc=25, switch_off_delay=60, switch_off_soc=25, switch_off_threshold=50, switch_on_delay=30, switch_on_soc=50, switch_on_threshold=1400), scheduled_charging=ScheduledCharging(phases_to_use=0), time_charging=TimeCharging(phases_to_use=3), unbalanced_load_limit=20, unbalanced_load=True), control_interval=10, extern_display_mode='local', extern=False, external_buttons_hw=False, grid_protection_active=False, grid_protection_configured=True, grid_protection_random_stop=0, grid_protection_timestamp='', mqtt_bridge=False, price_kwh=0.3528, range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=True, r1_active=False, r2_active=False))
2023-12-08 04:20:21,524 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2023-12-08 04:20:21,525 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2023-12-08 04:20:21,527 - {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 0x70ba3f58>), led=Led(active=False), rfid=Rfid(active=True))
2023-12-08 04:20:21,530 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=0), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=293628.595, fault_state=0, fault_str='Kein Fehler.', power=0))
2023-12-08 04:20:21,531 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=9500), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=7816178.85, fault_state=0, fault_str='Kein Fehler.', power=-0.0))
2023-12-08 04:20:21,533 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=8109807.444999999, power=0.0))
2023-12-08 04:20:21,534 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2023-11-30 12:30:45 +0100 [285f5a5fb]', 'current_branch': 'Release', 'current_branch_commit': '2023-11-30 12:30:45 +0100 [285f5a5fb]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.2-Patch.1', 'datastore_version': 29, 'lastlivevaluesJson': {'timestamp': 1702005613, 'time': '04:20:13', 'grid': 9.521, 'house-power': 0.335, 'charging-all': 9.186, 'pv-all': -0.0, 'cp1-power': 9.186, 'ev1-soc': 49.0, 'ev2-soc': 73, 'bat-all-power': 0.0, 'bat-all-soc': 19}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2023-12-08 04:20:21,536 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2023-12-08 04:20:21,537 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2023-12-08 04:20:21,539 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2023-12-08 04:20:21,544 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2023-12-08 04:20:21,546 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2023-12-08 04:20:21,548 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2023-12-08 04:20:21,549 - {control.data:253} - {INFO:MainThread} - 

2023-12-08 04:20:21,552 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2023-12-08 04:20:21,553 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2023-12-08 04:20:21,555 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2023-12-08 04:20:21,557 - {control.counter:169} - {DEBUG:MainThread} - Zähler 0: [56.2, 56.89, 56.34]A verbleibende Ströme, 38531.57W verbleibende Leistung
2023-12-08 04:20:21,559 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2023-12-08 04:20:21,562 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2023-12-08 04:20:21,565 - {control.algorithm.filter_chargepoints:117} - {DEBUG:MainThread} - Geordnete Ladepunkte [1]
2023-12-08 04:20:21,567 - {control.algorithm.additional_current:26} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2023-12-08 04:20:21,569 - {control.counter:169} - {DEBUG:MainThread} - Zähler 0: [48.2, 48.89, 48.34]A verbleibende Ströme, 33011.57W verbleibende Leistung
2023-12-08 04:20:21,571 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 14A
2023-12-08 04:20:21,573 - {control.counter:211} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: 0W
2023-12-08 04:20:21,574 - {control.counter:457} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf 0W
2023-12-08 04:20:21,576 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2023-12-08 04:20:21,577 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2023-12-08 04:20:21,578 - {control.chargelog:52} - {DEBUG:MainThread} - imported_since_mode_switch 1450.1900000004098 counter 6927828.12
2023-12-08 04:20:21,581 - {control.process:111} - {INFO:MainThread} - LP1: set current 14 A, state CHARGING_ALLOWED
2023-12-08 04:20:21,587 - {modules.common.component_context:24} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:20:21,646 - {control.counter:186} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2023-12-08 04:20:21,897 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2023-12-08 04:20:21,898 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2023-12-08 04:20:25,928 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2023-12-08 04:20:25,929 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2023-12-08 04:20:30,939 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2023-12-08 04:20:30,941 - {root:74} - {INFO:MainThread} - # ***Start*** 
2023-12-08 04:20:31,005 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x715cf340>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x7155e4a8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x715c75f8>}
2023-12-08 04:20:31,007 - {modules.common.component_context:24} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2023-12-08 04:20:31,008 - {modules.common.component_context:24} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:20:31,019 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2023-12-08 04:20:31,022 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2023-12-08 04:20:31,064 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 750
2023-12-08 04:20:31,066 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"cloud":{"connected":false},"input:0":{"id":0,"state":false},"mqtt":{"connected":false},"switch:0":{"id":0, "source":"loopback", "output":false, "apower":0.0, "voltage":241.4, "current":0.000, "aenergy":{"total":1505.625,"by_minute":[0.000,0.000,0.000],"minute_ts":1702005630},"temperature":{"tC":28.8, "tF":83.8}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:20","unixtime":1702005631,"uptime":1364959,"ram_size":248996,"ram_free":145260,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"beta":{"version":"1.1.0-beta2"},"stable":{"version":"1.0.8"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-68},"ws":{"connected":false}}

2023-12-08 04:20:31,068 - {modules.common.simcount._simcount:38} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1702005620.409139, power=0, imported=0.0, exported=293628.5948715257)
2023-12-08 04:20:31,069 - {modules.common.simcount._calculate:13} - {DEBUG:device1} - time passed: 0.00296085, power1: 0, power2: 0
2023-12-08 04:20:31,069 - {modules.common.simcount._calculate:29} - {DEBUG:device1} - power did not change sign. Total energy: 0
2023-12-08 04:20:31,069 - {modules.common.simcount._simcount:47} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702005631.0682156, power=0, imported=0.0, exported=293628.5948715257)
2023-12-08 04:20:31,072 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:20:31,164 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-9451, -3227, -3054, -3169], Scale 0
2023-12-08 04:20:31,194 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [135, 127, 134], Scale -1
2023-12-08 04:20:31,244 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [24065, 24090, 23889, 0, 0, 0, 0], Scale -2
2023-12-08 04:20:31,263 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4997], Scale -2
2023-12-08 04:20:31,287 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [9919, 9950, 9909], Scale -2
2023-12-08 04:20:31,405 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4870433, 1797042, 2153375, 1456453, 6127340, 2532036, 1863255, 2268487], Scale 0
2023-12-08 04:20:31,405 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[13.5, 12.700000000000001, 13.4], powers=[3227.0, 3054.0, 3169.0], voltages=[240.65, 240.9, 238.89000000000001], power_factors=[0.9919, 0.995, 0.9909], imported=6127340.0, exported=4870433.0, power=9451.0, frequency=49.97)
2023-12-08 04:20:31,407 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2023-12-08 04:20:31,423 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [0], Scale 0
2023-12-08 04:20:31,444 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7789710], Scale 0
2023-12-08 04:20:31,463 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [29, 31, 31], Scale -2
2023-12-08 04:20:31,487 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4701], Scale -2
2023-12-08 04:20:31,487 - {modules.common.component_state:100} - {DEBUG:device0} - currents sign wrong [0.29, 0.31, 0.31]
2023-12-08 04:20:31,487 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.29, 0.31, 0.31], power=-0.0, exported=7789710.0, dc_power=47.01)
2023-12-08 04:20:31,489 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2023-12-08 04:20:31,524 - {modules.common.simcount._simcount:38} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1702005621.1548681, power=0.0, imported=143333.37604219164, exported=116864.52711090283)
2023-12-08 04:20:31,525 - {modules.common.simcount._calculate:13} - {DEBUG:device0} - time passed: 0.00288048, power1: 0, power2: 0
2023-12-08 04:20:31,525 - {modules.common.simcount._calculate:29} - {DEBUG:device0} - power did not change sign. Total energy: 0
2023-12-08 04:20:31,526 - {modules.common.simcount._simcount:47} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702005631.5245907, power=0.0, imported=143333.37604219164, exported=116864.52711090283)
2023-12-08 04:20:31,526 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=143333.37604219164, exported=116864.52711090283, power=0.0, soc=19.0)
2023-12-08 04:20:31,531 - {modules.common.component_context:24} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2023-12-08 04:20:31,535 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=143333.37604219164, exported=116864.52711090283, power=0.0, soc=19.0)
2023-12-08 04:20:31,572 - {modules.common.component_context:24} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:20:31,573 - {modules.common.component_context:24} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2023-12-08 04:20:31,574 - {modules.common.component_context:24} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2023-12-08 04:20:31,574 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-0.0, exported=7816178.85, dc_power=None)
2023-12-08 04:20:31,576 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:20:31,577 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-0.0, exported=7816178.85, dc_power=None)
2023-12-08 04:20:31,577 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:20:31,619 - {modules.common.component_context:24} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2023-12-08 04:20:31,621 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[13.5, 12.700000000000001, 13.4], powers=[3227.0, 3054.0, 3169.0], voltages=[240.65, 240.9, 238.89000000000001], power_factors=[0.9919, 0.995, 0.9909], imported=6127340.0, exported=4870433.0, power=9451.0, frequency=49.97)
2023-12-08 04:20:31,783 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2023-12-08 04:20:31,785 - {control.bat_all:173} - {INFO:MainThread} - -50W verbleibende Speicher-Leistung
2023-12-08 04:20:31,790 - {control.counter:138} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [62.19, 63.03, 62.44]A
2023-12-08 04:20:31,792 - {control.counter:161} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 42735.61W
2023-12-08 04:20:31,795 - {control.chargepoint.chargepoint:699} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2023-12-08 04:20:31,798 - {control.chargepoint.chargepoint:682} - {DEBUG:MainThread} - Phasenzahl Lademodus: 3
2023-12-08 04:20:31,801 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 12.91934s, Dauer 1.320910973084886h, Termin heute verpasst: False
2023-12-08 04:20:31,803 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 90735.899227s, Dauer 0.12008281573498965h, Termin heute verpasst: False
2023-12-08 04:20:31,807 - {control.ev:762} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2023-12-08 04:20:31,813 - {control.chargepoint.chargepoint:898} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 14A, Lademodus scheduled_charging, Submodus: Chargemode.INSTANT_CHARGING, Phasen: 3, Priorität: False, max. Ist-Strom: 12.84
2023-12-08 04:20:31,815 - {control.chargepoint.chargepoint:277} - {INFO:MainThread} - LP 1: Zielladen mit 14A, um einen SoC von 95%  um 05:40 zu erreichen.
2023-12-08 04:20:31,834 - {modules.common.simcount._simcount:38} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1702005621.46399, power=328.4300000000003, imported=2374433.263507991, exported=0)
2023-12-08 04:20:31,837 - {modules.common.simcount._calculate:13} - {DEBUG:MainThread} - time passed: 0.00288076, power1: 328.43, power2: 264.39
2023-12-08 04:20:31,844 - {modules.common.simcount._calculate:29} - {DEBUG:MainThread} - power did not change sign. Total energy: 0.853885
2023-12-08 04:20:31,848 - {modules.common.simcount._simcount:47} - {DEBUG:MainThread} - imported: 0.853885 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702005631.8347182, power=264.3899999999994, imported=2374434.1173934247, exported=0)
2023-12-08 04:20:31,851 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=19, daily_exported=0.01, daily_imported=0.0, imported=143333.38, exported=116864.53, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2023-12-08 04:20:31,856 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=19, daily_exported=0.01, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=143333.38, exported=116864.53, power=0.0), set=Set(charging_power_left=-50, switch_on_soc_reached=False))
2023-12-08 04:20:31,861 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=1414.06, daily_exported=0, power=9186.61, imported=6927851.07, exported=0))
2023-12-08 04:20:31,864 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 95%, 06:00 Uhr', imported_at_plan_start=6926377.93, imported_instant_charging=None, limit=None, phases=3, prio=False, required_current=14, required_currents=[14, 14, 14], 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=73), currents=[12.73, 12.84, 12.69], daily_imported=1414.06, daily_exported=0, evse_current=1400, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=6927851.07, phases_in_use=3, plug_state=True, power=9186.61, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Zielladen mit 14A, um einen SoC von 95%  um 05:40 zu erreichen.', voltages=[241.19, 239.24, 240.92]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=14, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', imported_at_mode_switch=6926377.93, imported_at_plugtime=6926377.93, imported_since_mode_switch=1450.1900000004098, imported_since_plugged=1450.1900000004098, range_charged=8.056611111113387, time_charged='0:08', timestamp_start_charging='12/08/2023, 04:11:30'), manual_lock=False, phases_to_use=3, plug_state_prev=True, plug_time='12/07/2023, 13:07:31', required_power=9660, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x715c7838>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB Carport', type='internal_openwb', template=1, connected_phases=3, phase_1=2, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=1))
2023-12-08 04:20:31,864 - {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-12-08 04:20:31,866 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=1, max_current_multi_phases=16, max_current_single_phase=20, name='RFID, 20A, 11kW', rfid_enabling=True, valid_tags=['0003134583', '0003526747', '1655332554', '2585022212', '2585087748'])
2023-12-08 04:20:31,867 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[63, 63, 63], max_total_power=43000), get=Get(powers=[3227.0, 3054.0, 3169.0], currents=[13.5, 12.7, 13.4], voltages=[240.65, 240.9, 238.89], power_factors=[0.99, 0.99, 0.99], unbalanced_load=0, frequency=49.97, daily_exported=0.0, daily_imported=5494.0, imported=6127340.0, exported=4870433.0, fault_state=0, fault_str='Kein Fehler.', power=9451.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=42735.61, raw_currents_left=[62.19, 63.03, 62.44], surplus_power_left=0, state_str=''))
2023-12-08 04:20:31,869 - {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': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=264.3899999999994, invalid_home_consumption=0, daily_yield_home_consumption=5616.0662186546, imported_home_consumption=2374434.1173934247, disengageable_smarthome_power=0))
2023-12-08 04:20:31,870 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2023-12-08 04:20:31,872 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Ladeprofil ***AUTO1***', disable_after_unplug=False, prio=False, load_default=True, time_charging=TimeCharging(active=True, plans={'0': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[True, True, True, True, False, False, True]), time=['22:00', '06:00'], name='Zeitladen 95%, So-Do 22:00-06:00 Uhr', current=16, limit=Limit(selected='soc', amount=1000, soc=95)), '1': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, True, True, False]), time=['22:00', '06:00'], name='Zeitladen 80%, Fr-Sa 22:00-06:00 Uhr', current=16, limit=Limit(selected='soc', amount=1000, soc=80))}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2023-12-08 04:20:31,874 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, time_charging=TimeCharging(active=True, plans={'2': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), time=['06:45', '07:00'], name='Klima 06:45-07:00 Uhr', current=6, limit=Limit(selected='none', amount=1000, soc=50)), '3': TimeChargingPlan(active=True, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, False, False, False]), time=['00:00', '23:55'], name='Immer 35%', current=10, limit=Limit(selected='soc', amount=1000, soc=35))}), chargemode=Chargemode(selected='scheduled_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={'0': ScheduledChargingPlan(active=False, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, True, False, False, False, False, False]), current=14, name='Zielladen 80%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '1': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), current=14, name='Zielladen 95%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=95), time='05:40'), '2': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once='2023-09-26', weekly=[True, False, False, True, False, True, True]), current=14, name='Zielladen 75%, 7:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=75), time='05:40')}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=80))))
2023-12-08 04:20:31,877 - {control.data:266} - {INFO:MainThread} - ev0
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=['0003134583'], get=Get(soc=0, soc_timestamp=None, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:20:31,879 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Tesla Model Y (2022)', 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=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212', '2585087748'], get=Get(soc=49.0, soc_timestamp='12/08/2023, 01:29:15', force_soc_update=False, range=220.74, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:20:31,882 - {control.data:266} - {INFO:MainThread} - ev2
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Cupra Born 58kW', 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=18000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=2, ev_template=2, name='***AUTO2***', tag_id=['1655332554'], get=Get(soc=73, soc_timestamp='12/08/2023, 04:19:49', force_soc_update=False, range=210, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:20:31,883 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40)
2023-12-08 04:20:31,884 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', 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=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40)
2023-12-08 04:20:31,886 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', 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=18000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40)
2023-12-08 04:20:31,887 - {control.data:245} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=3), pv_charging=PvCharging(bat_prio=True, charging_power_reserve=200, control_range=[-230, 230], feed_in_yield=15000, phase_switch_delay=15, phases_to_use=0, rundown_power=1000, rundown_soc=25, switch_off_delay=60, switch_off_soc=25, switch_off_threshold=50, switch_on_delay=30, switch_on_soc=50, switch_on_threshold=1400), scheduled_charging=ScheduledCharging(phases_to_use=0), time_charging=TimeCharging(phases_to_use=3), unbalanced_load_limit=20, unbalanced_load=True), control_interval=10, extern_display_mode='local', extern=False, external_buttons_hw=False, grid_protection_active=False, grid_protection_configured=True, grid_protection_random_stop=0, grid_protection_timestamp='', mqtt_bridge=False, price_kwh=0.3528, range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=True, r1_active=False, r2_active=False))
2023-12-08 04:20:31,888 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2023-12-08 04:20:31,888 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2023-12-08 04:20:31,889 - {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 0x70bb3fe8>), led=Led(active=False), rfid=Rfid(active=True))
2023-12-08 04:20:31,889 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=0), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=293628.595, fault_state=0, fault_str='Kein Fehler.', power=0))
2023-12-08 04:20:31,890 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=9500), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=7816178.85, fault_state=0, fault_str='Kein Fehler.', power=-0.0))
2023-12-08 04:20:31,890 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=8109807.444999999, power=0.0))
2023-12-08 04:20:31,891 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2023-11-30 12:30:45 +0100 [285f5a5fb]', 'current_branch': 'Release', 'current_branch_commit': '2023-11-30 12:30:45 +0100 [285f5a5fb]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.2-Patch.1', 'datastore_version': 29, 'lastlivevaluesJson': {'timestamp': 1702005621, 'time': '04:20:21', 'grid': 9.507, 'house-power': 0.328, 'charging-all': 9.179, 'pv-all': -0.0, 'cp1-power': 9.179, 'ev1-soc': 49.0, 'ev2-soc': 73, 'bat-all-power': 0.0, 'bat-all-soc': 19}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2023-12-08 04:20:31,891 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2023-12-08 04:20:31,891 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2023-12-08 04:20:31,892 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2023-12-08 04:20:31,892 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2023-12-08 04:20:31,892 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2023-12-08 04:20:31,893 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2023-12-08 04:20:31,893 - {control.data:253} - {INFO:MainThread} - 

2023-12-08 04:20:31,893 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2023-12-08 04:20:31,894 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2023-12-08 04:20:31,895 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2023-12-08 04:20:31,895 - {control.counter:169} - {DEBUG:MainThread} - Zähler 0: [56.19, 57.03, 56.44]A verbleibende Ströme, 38595.61W verbleibende Leistung
2023-12-08 04:20:31,896 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2023-12-08 04:20:31,898 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2023-12-08 04:20:31,899 - {control.algorithm.filter_chargepoints:117} - {DEBUG:MainThread} - Geordnete Ladepunkte [1]
2023-12-08 04:20:31,901 - {control.algorithm.additional_current:26} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2023-12-08 04:20:31,902 - {control.counter:169} - {DEBUG:MainThread} - Zähler 0: [48.19, 49.03, 48.44]A verbleibende Ströme, 33075.61W verbleibende Leistung
2023-12-08 04:20:31,903 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 14A
2023-12-08 04:20:31,905 - {control.counter:211} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: 0W
2023-12-08 04:20:31,907 - {control.counter:457} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf 0W
2023-12-08 04:20:31,908 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2023-12-08 04:20:31,910 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2023-12-08 04:20:31,911 - {control.chargelog:52} - {DEBUG:MainThread} - imported_since_mode_switch 1473.140000000596 counter 6927851.07
2023-12-08 04:20:31,915 - {control.process:111} - {INFO:MainThread} - LP1: set current 14 A, state CHARGING_ALLOWED
2023-12-08 04:20:31,921 - {modules.common.component_context:24} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:20:31,950 - {control.counter:186} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2023-12-08 04:20:32,239 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2023-12-08 04:20:35,269 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2023-12-08 04:20:35,270 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2023-12-08 04:20:40,280 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2023-12-08 04:20:40,281 - {root:74} - {INFO:MainThread} - # ***Start*** 
2023-12-08 04:20:40,324 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x715cf340>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x7155e4a8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x715c75f8>}
2023-12-08 04:20:40,326 - {modules.common.component_context:24} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2023-12-08 04:20:40,328 - {modules.common.component_context:24} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:20:40,335 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2023-12-08 04:20:40,337 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2023-12-08 04:20:40,393 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 750
2023-12-08 04:20:40,395 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"cloud":{"connected":false},"input:0":{"id":0,"state":false},"mqtt":{"connected":false},"switch:0":{"id":0, "source":"loopback", "output":false, "apower":0.0, "voltage":241.4, "current":0.000, "aenergy":{"total":1505.625,"by_minute":[0.000,0.000,0.000],"minute_ts":1702005639},"temperature":{"tC":28.8, "tF":83.9}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:20","unixtime":1702005641,"uptime":1364968,"ram_size":248996,"ram_free":145260,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"beta":{"version":"1.1.0-beta2"},"stable":{"version":"1.0.8"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-68},"ws":{"connected":false}}

2023-12-08 04:20:40,397 - {modules.common.simcount._simcount:38} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1702005631.0682156, power=0, imported=0.0, exported=293628.5948715257)
2023-12-08 04:20:40,398 - {modules.common.simcount._calculate:13} - {DEBUG:device1} - time passed: 0.00259142, power1: 0, power2: 0
2023-12-08 04:20:40,398 - {modules.common.simcount._calculate:29} - {DEBUG:device1} - power did not change sign. Total energy: 0
2023-12-08 04:20:40,399 - {modules.common.simcount._simcount:47} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702005640.3973436, power=0, imported=0.0, exported=293628.5948715257)
2023-12-08 04:20:40,400 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:20:40,473 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-9374, -3207, -3020, -3147], Scale 0
2023-12-08 04:20:40,493 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [134, 126, 132], Scale -1
2023-12-08 04:20:40,513 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [24046, 24092, 23928, 0, 0, 0, 0], Scale -2
2023-12-08 04:20:40,666 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4997], Scale -2
2023-12-08 04:20:40,704 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [9940, 9940, 9919], Scale -2
2023-12-08 04:20:40,724 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4870433, 1797042, 2153375, 1456453, 6127361, 2532043, 1863262, 2268494], Scale 0
2023-12-08 04:20:40,725 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[13.4, 12.600000000000001, 13.200000000000001], powers=[3207.0, 3020.0, 3147.0], voltages=[240.46, 240.92000000000002, 239.28], power_factors=[0.9940000000000001, 0.9940000000000001, 0.9919], imported=6127361.0, exported=4870433.0, power=9374.0, frequency=49.97)
2023-12-08 04:20:40,727 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2023-12-08 04:20:40,744 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [0], Scale 0
2023-12-08 04:20:40,769 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7789710], Scale 0
2023-12-08 04:20:40,885 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [29, 31, 32], Scale -2
2023-12-08 04:20:40,963 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-5379], Scale -2
2023-12-08 04:20:40,964 - {modules.common.component_state:100} - {DEBUG:device0} - currents sign wrong [0.29, 0.31, 0.32]
2023-12-08 04:20:40,964 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.29, 0.31, 0.32], power=-0.0, exported=7789710.0, dc_power=53.79)
2023-12-08 04:20:40,967 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2023-12-08 04:20:41,260 - {modules.common.simcount._simcount:38} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1702005631.5245907, power=0.0, imported=143333.37604219164, exported=116864.52711090283)
2023-12-08 04:20:41,265 - {modules.common.simcount._calculate:13} - {DEBUG:device0} - time passed: 0.00270433, power1: 0, power2: 0
2023-12-08 04:20:41,274 - {modules.common.simcount._calculate:29} - {DEBUG:device0} - power did not change sign. Total energy: 0
2023-12-08 04:20:41,275 - {modules.common.simcount._simcount:47} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702005641.2601888, power=0.0, imported=143333.37604219164, exported=116864.52711090283)
2023-12-08 04:20:41,277 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=143333.37604219164, exported=116864.52711090283, power=0.0, soc=19.0)
2023-12-08 04:20:41,286 - {modules.common.component_context:24} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2023-12-08 04:20:41,287 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=143333.37604219164, exported=116864.52711090283, power=0.0, soc=19.0)
2023-12-08 04:20:41,414 - {modules.common.component_context:24} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:20:41,415 - {modules.common.component_context:24} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2023-12-08 04:20:41,418 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-0.0, exported=7816178.85, dc_power=None)
2023-12-08 04:20:41,419 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-0.0, exported=7816178.85, dc_power=None)
2023-12-08 04:20:41,424 - {modules.common.component_context:24} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2023-12-08 04:20:41,426 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:20:41,427 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:20:41,504 - {modules.common.component_context:24} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2023-12-08 04:20:41,505 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[13.4, 12.600000000000001, 13.200000000000001], powers=[3207.0, 3020.0, 3147.0], voltages=[240.46, 240.92000000000002, 239.28], power_factors=[0.9940000000000001, 0.9940000000000001, 0.9919], imported=6127361.0, exported=4870433.0, power=9374.0, frequency=49.97)
2023-12-08 04:20:41,700 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2023-12-08 04:20:41,702 - {control.bat_all:173} - {INFO:MainThread} - -50W verbleibende Speicher-Leistung
2023-12-08 04:20:41,706 - {control.counter:138} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [62.22, 62.95, 62.43]A
2023-12-08 04:20:41,708 - {control.counter:161} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 42687.15W
2023-12-08 04:20:41,713 - {control.chargepoint.chargepoint:699} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2023-12-08 04:20:41,714 - {control.chargepoint.chargepoint:682} - {DEBUG:MainThread} - Phasenzahl Lademodus: 3
2023-12-08 04:20:41,716 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 3.00427s, Dauer 1.320910973084886h, Termin heute verpasst: False
2023-12-08 04:20:41,719 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 90725.982752s, Dauer 0.12008281573498965h, Termin heute verpasst: False
2023-12-08 04:20:41,721 - {control.ev:762} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2023-12-08 04:20:41,735 - {control.chargepoint.chargepoint:898} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 14A, Lademodus scheduled_charging, Submodus: Chargemode.INSTANT_CHARGING, Phasen: 3, Priorität: False, max. Ist-Strom: 12.63
2023-12-08 04:20:41,736 - {control.chargepoint.chargepoint:277} - {INFO:MainThread} - LP 1: Zielladen mit 14A, um einen SoC von 95%  um 05:40 zu erreichen.
2023-12-08 04:20:41,755 - {modules.common.simcount._simcount:38} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1702005631.8347182, power=264.3899999999994, imported=2374434.1173934247, exported=0)
2023-12-08 04:20:41,766 - {modules.common.simcount._calculate:13} - {DEBUG:MainThread} - time passed: 0.00275588, power1: 264.39, power2: 312.85
2023-12-08 04:20:41,768 - {modules.common.simcount._calculate:29} - {DEBUG:MainThread} - power did not change sign. Total energy: 0.795403
2023-12-08 04:20:41,771 - {modules.common.simcount._simcount:47} - {DEBUG:MainThread} - imported: 0.795403 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702005641.755903, power=312.85000000000036, imported=2374434.9127968554, exported=0)
2023-12-08 04:20:41,777 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=19, daily_exported=0.01, daily_imported=0.0, imported=143333.38, exported=116864.53, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2023-12-08 04:20:41,789 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=19, daily_exported=0.01, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=143333.38, exported=116864.53, power=0.0), set=Set(charging_power_left=-50, switch_on_soc_reached=False))
2023-12-08 04:20:41,792 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=1414.06, daily_exported=0, power=9061.15, imported=6927878.91, exported=0))
2023-12-08 04:20:41,796 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 95%, 06:00 Uhr', imported_at_plan_start=6926377.93, imported_instant_charging=None, limit=None, phases=3, prio=False, required_current=14, required_currents=[14, 14, 14], 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=73), currents=[12.55, 12.63, 12.62], daily_imported=1414.06, daily_exported=0, evse_current=1400, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=6927878.91, phases_in_use=3, plug_state=True, power=9061.15, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Zielladen mit 14A, um einen SoC von 95%  um 05:40 zu erreichen.', voltages=[241.23, 239.72, 240.84]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=14, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', imported_at_mode_switch=6926377.93, imported_at_plugtime=6926377.93, imported_since_mode_switch=1473.140000000596, imported_since_plugged=1473.140000000596, range_charged=8.184111111114422, time_charged='0:09', timestamp_start_charging='12/08/2023, 04:11:30'), manual_lock=False, phases_to_use=3, plug_state_prev=True, plug_time='12/07/2023, 13:07:31', required_power=9660, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x70b62310>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB Carport', type='internal_openwb', template=1, connected_phases=3, phase_1=2, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=1))
2023-12-08 04:20:41,797 - {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-12-08 04:20:41,798 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=1, max_current_multi_phases=16, max_current_single_phase=20, name='RFID, 20A, 11kW', rfid_enabling=True, valid_tags=['0003134583', '0003526747', '1655332554', '2585022212', '2585087748'])
2023-12-08 04:20:41,802 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[63, 63, 63], max_total_power=43000), get=Get(powers=[3207.0, 3020.0, 3147.0], currents=[13.4, 12.6, 13.2], voltages=[240.46, 240.92, 239.28], power_factors=[0.99, 0.99, 0.99], unbalanced_load=0, frequency=49.97, daily_exported=0.0, daily_imported=5494.0, imported=6127361.0, exported=4870433.0, fault_state=0, fault_str='Kein Fehler.', power=9374.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=42687.15, raw_currents_left=[62.22, 62.95, 62.43], surplus_power_left=0, state_str=''))
2023-12-08 04:20:41,804 - {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': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=312.85000000000036, invalid_home_consumption=0, daily_yield_home_consumption=5616.0662186546, imported_home_consumption=2374434.9127968554, disengageable_smarthome_power=0))
2023-12-08 04:20:41,806 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2023-12-08 04:20:41,808 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Ladeprofil ***AUTO1***', disable_after_unplug=False, prio=False, load_default=True, time_charging=TimeCharging(active=True, plans={'0': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[True, True, True, True, False, False, True]), time=['22:00', '06:00'], name='Zeitladen 95%, So-Do 22:00-06:00 Uhr', current=16, limit=Limit(selected='soc', amount=1000, soc=95)), '1': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, True, True, False]), time=['22:00', '06:00'], name='Zeitladen 80%, Fr-Sa 22:00-06:00 Uhr', current=16, limit=Limit(selected='soc', amount=1000, soc=80))}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2023-12-08 04:20:41,810 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, time_charging=TimeCharging(active=True, plans={'2': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), time=['06:45', '07:00'], name='Klima 06:45-07:00 Uhr', current=6, limit=Limit(selected='none', amount=1000, soc=50)), '3': TimeChargingPlan(active=True, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, False, False, False]), time=['00:00', '23:55'], name='Immer 35%', current=10, limit=Limit(selected='soc', amount=1000, soc=35))}), chargemode=Chargemode(selected='scheduled_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={'0': ScheduledChargingPlan(active=False, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, True, False, False, False, False, False]), current=14, name='Zielladen 80%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '1': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), current=14, name='Zielladen 95%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=95), time='05:40'), '2': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once='2023-09-26', weekly=[True, False, False, True, False, True, True]), current=14, name='Zielladen 75%, 7:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=75), time='05:40')}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=80))))
2023-12-08 04:20:41,814 - {control.data:266} - {INFO:MainThread} - ev0
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=['0003134583'], get=Get(soc=0, soc_timestamp=None, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:20:41,816 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Tesla Model Y (2022)', 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=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212', '2585087748'], get=Get(soc=49.0, soc_timestamp='12/08/2023, 01:29:15', force_soc_update=False, range=220.74, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:20:41,820 - {control.data:266} - {INFO:MainThread} - ev2
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Cupra Born 58kW', 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=18000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=2, ev_template=2, name='***AUTO2***', tag_id=['1655332554'], get=Get(soc=73, soc_timestamp='12/08/2023, 04:19:49', force_soc_update=False, range=210, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:20:41,822 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40)
2023-12-08 04:20:41,823 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', 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=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40)
2023-12-08 04:20:41,824 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', 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=18000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40)
2023-12-08 04:20:41,827 - {control.data:245} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=3), pv_charging=PvCharging(bat_prio=True, charging_power_reserve=200, control_range=[-230, 230], feed_in_yield=15000, phase_switch_delay=15, phases_to_use=0, rundown_power=1000, rundown_soc=25, switch_off_delay=60, switch_off_soc=25, switch_off_threshold=50, switch_on_delay=30, switch_on_soc=50, switch_on_threshold=1400), scheduled_charging=ScheduledCharging(phases_to_use=0), time_charging=TimeCharging(phases_to_use=3), unbalanced_load_limit=20, unbalanced_load=True), control_interval=10, extern_display_mode='local', extern=False, external_buttons_hw=False, grid_protection_active=False, grid_protection_configured=True, grid_protection_random_stop=0, grid_protection_timestamp='', mqtt_bridge=False, price_kwh=0.3528, range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=True, r1_active=False, r2_active=False))
2023-12-08 04:20:41,829 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2023-12-08 04:20:41,830 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2023-12-08 04:20:41,831 - {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 0x7157b190>), led=Led(active=False), rfid=Rfid(active=True))
2023-12-08 04:20:41,833 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=0), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=293628.595, fault_state=0, fault_str='Kein Fehler.', power=0))
2023-12-08 04:20:41,834 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=9500), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=7816178.85, fault_state=0, fault_str='Kein Fehler.', power=-0.0))
2023-12-08 04:20:41,836 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=8109807.444999999, power=0.0))
2023-12-08 04:20:41,837 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2023-11-30 12:30:45 +0100 [285f5a5fb]', 'current_branch': 'Release', 'current_branch_commit': '2023-11-30 12:30:45 +0100 [285f5a5fb]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.2-Patch.1', 'datastore_version': 29, 'lastlivevaluesJson': {'timestamp': 1702005631, 'time': '04:20:31', 'grid': 9.451, 'house-power': 0.264, 'charging-all': 9.187, 'pv-all': -0.0, 'cp1-power': 9.187, 'ev1-soc': 49.0, 'ev2-soc': 73, 'bat-all-power': 0.0, 'bat-all-soc': 19}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2023-12-08 04:20:41,839 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2023-12-08 04:20:41,840 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2023-12-08 04:20:41,842 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2023-12-08 04:20:41,843 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2023-12-08 04:20:41,844 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2023-12-08 04:20:41,846 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2023-12-08 04:20:41,847 - {control.data:253} - {INFO:MainThread} - 

2023-12-08 04:20:41,850 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2023-12-08 04:20:41,851 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2023-12-08 04:20:41,852 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2023-12-08 04:20:41,854 - {control.counter:169} - {DEBUG:MainThread} - Zähler 0: [56.22, 56.95, 56.43]A verbleibende Ströme, 38547.15W verbleibende Leistung
2023-12-08 04:20:41,855 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2023-12-08 04:20:41,858 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2023-12-08 04:20:41,860 - {control.algorithm.filter_chargepoints:117} - {DEBUG:MainThread} - Geordnete Ladepunkte [1]
2023-12-08 04:20:41,861 - {control.algorithm.additional_current:26} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2023-12-08 04:20:41,863 - {control.counter:169} - {DEBUG:MainThread} - Zähler 0: [48.22, 48.95, 48.43]A verbleibende Ströme, 33027.15W verbleibende Leistung
2023-12-08 04:20:41,864 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 14A
2023-12-08 04:20:41,867 - {control.counter:211} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: 0W
2023-12-08 04:20:41,868 - {control.counter:457} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf 0W
2023-12-08 04:20:41,869 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2023-12-08 04:20:41,879 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2023-12-08 04:20:41,886 - {control.chargelog:52} - {DEBUG:MainThread} - imported_since_mode_switch 1500.980000000447 counter 6927878.91
2023-12-08 04:20:41,894 - {control.process:111} - {INFO:MainThread} - LP1: set current 14 A, state CHARGING_ALLOWED
2023-12-08 04:20:41,901 - {modules.common.component_context:24} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:20:41,953 - {control.counter:186} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2023-12-08 04:20:42,186 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2023-12-08 04:20:42,189 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2023-12-08 04:20:45,196 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2023-12-08 04:20:45,197 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2023-12-08 04:20:50,207 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2023-12-08 04:20:50,208 - {root:74} - {INFO:MainThread} - # ***Start*** 
2023-12-08 04:20:50,302 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x715cf340>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x7155e4a8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x715c75f8>}
2023-12-08 04:20:50,308 - {modules.common.component_context:24} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2023-12-08 04:20:50,316 - {modules.common.component_context:24} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:20:50,333 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2023-12-08 04:20:50,352 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2023-12-08 04:20:50,378 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-9411, -3202, -3058, -3150], Scale 0
2023-12-08 04:20:50,399 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [133, 124, 132], Scale -1
2023-12-08 04:20:50,406 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 750
2023-12-08 04:20:50,410 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"cloud":{"connected":false},"input:0":{"id":0,"state":false},"mqtt":{"connected":false},"switch:0":{"id":0, "source":"loopback", "output":false, "apower":0.0, "voltage":241.2, "current":0.000, "aenergy":{"total":1505.625,"by_minute":[0.000,0.000,0.000],"minute_ts":1702005649},"temperature":{"tC":28.8, "tF":83.8}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:20","unixtime":1702005651,"uptime":1364978,"ram_size":248996,"ram_free":145260,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"beta":{"version":"1.1.0-beta2"},"stable":{"version":"1.0.8"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-68},"ws":{"connected":false}}

2023-12-08 04:20:50,418 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [24043, 24079, 23923, 0, 0, 0, 0], Scale -2
2023-12-08 04:20:50,420 - {modules.common.simcount._simcount:38} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1702005640.3973436, power=0, imported=0.0, exported=293628.5948715257)
2023-12-08 04:20:50,429 - {modules.common.simcount._calculate:13} - {DEBUG:device1} - time passed: 0.00278406, power1: 0, power2: 0
2023-12-08 04:20:50,431 - {modules.common.simcount._calculate:29} - {DEBUG:device1} - power did not change sign. Total energy: 0
2023-12-08 04:20:50,433 - {modules.common.simcount._simcount:47} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702005650.4199665, power=0, imported=0.0, exported=293628.5948715257)
2023-12-08 04:20:50,440 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:20:50,447 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4997], Scale -2
2023-12-08 04:20:50,487 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [9940, 10000, 9890], Scale -2
2023-12-08 04:20:50,554 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4870433, 1797042, 2153375, 1456453, 6127371, 2532050, 1863268, 2268501], Scale 0
2023-12-08 04:20:50,557 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[13.3, 12.4, 13.200000000000001], powers=[3202.0, 3058.0, 3150.0], voltages=[240.43, 240.79, 239.23000000000002], power_factors=[0.9940000000000001, 1.0, 0.9890000000000001], imported=6127371.0, exported=4870433.0, power=9411.0, frequency=49.97)
2023-12-08 04:20:50,561 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2023-12-08 04:20:50,584 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [0], Scale 0
2023-12-08 04:20:50,604 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7789710], Scale 0
2023-12-08 04:20:50,625 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [28, 31, 32], Scale -2
2023-12-08 04:20:50,676 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4541], Scale -2
2023-12-08 04:20:50,676 - {modules.common.component_state:100} - {DEBUG:device0} - currents sign wrong [0.28, 0.31, 0.32]
2023-12-08 04:20:50,677 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.28, 0.31, 0.32], power=-0.0, exported=7789710.0, dc_power=45.410000000000004)
2023-12-08 04:20:50,678 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2023-12-08 04:20:50,714 - {modules.common.simcount._simcount:38} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1702005641.2601888, power=0.0, imported=143333.37604219164, exported=116864.52711090283)
2023-12-08 04:20:50,715 - {modules.common.simcount._calculate:13} - {DEBUG:device0} - time passed: 0.00262617, power1: 0, power2: 0
2023-12-08 04:20:50,715 - {modules.common.simcount._calculate:29} - {DEBUG:device0} - power did not change sign. Total energy: 0
2023-12-08 04:20:50,715 - {modules.common.simcount._simcount:47} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702005650.7144086, power=0.0, imported=143333.37604219164, exported=116864.52711090283)
2023-12-08 04:20:50,716 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=143333.37604219164, exported=116864.52711090283, power=0.0, soc=19.0)
2023-12-08 04:20:50,724 - {modules.common.component_context:24} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2023-12-08 04:20:50,725 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=143333.37604219164, exported=116864.52711090283, power=0.0, soc=19.0)
2023-12-08 04:20:50,760 - {modules.common.component_context:24} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:20:50,761 - {modules.common.component_context:24} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2023-12-08 04:20:50,761 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-0.0, exported=7816178.85, dc_power=None)
2023-12-08 04:20:50,762 - {modules.common.component_context:24} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2023-12-08 04:20:50,762 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-0.0, exported=7816178.85, dc_power=None)
2023-12-08 04:20:50,763 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:20:50,765 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:20:50,799 - {modules.common.component_context:24} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2023-12-08 04:20:50,800 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[13.3, 12.4, 13.200000000000001], powers=[3202.0, 3058.0, 3150.0], voltages=[240.43, 240.79, 239.23000000000002], power_factors=[0.9940000000000001, 1.0, 0.9890000000000001], imported=6127371.0, exported=4870433.0, power=9411.0, frequency=49.97)
2023-12-08 04:20:50,941 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2023-12-08 04:20:50,951 - {control.bat_all:173} - {INFO:MainThread} - -50W verbleibende Speicher-Leistung
2023-12-08 04:20:50,954 - {control.counter:138} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [62.26, 63.17, 62.42]A
2023-12-08 04:20:50,956 - {control.counter:161} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 42669.51W
2023-12-08 04:20:50,958 - {control.chargepoint.chargepoint:699} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2023-12-08 04:20:50,959 - {control.chargepoint.chargepoint:682} - {DEBUG:MainThread} - Phasenzahl Lademodus: 3
2023-12-08 04:20:50,960 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -6.239899s, Dauer 1.320910973084886h, Termin heute verpasst: False
2023-12-08 04:20:50,962 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 90716.739947s, Dauer 0.12008281573498965h, Termin heute verpasst: False
2023-12-08 04:20:50,963 - {control.ev:762} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2023-12-08 04:20:50,967 - {control.chargepoint.chargepoint:898} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 14A, Lademodus scheduled_charging, Submodus: Chargemode.INSTANT_CHARGING, Phasen: 3, Priorität: False, max. Ist-Strom: 12.62
2023-12-08 04:20:50,967 - {control.chargepoint.chargepoint:277} - {INFO:MainThread} - LP 1: Zielladen mit 14A, um einen SoC von 95%  um 05:40 zu erreichen.
2023-12-08 04:20:50,971 - {modules.common.simcount._simcount:38} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1702005641.755903, power=312.85000000000036, imported=2374434.9127968554, exported=0)
2023-12-08 04:20:50,972 - {modules.common.simcount._calculate:13} - {DEBUG:MainThread} - time passed: 0.00255988, power1: 312.85, power2: 330.49
2023-12-08 04:20:50,975 - {modules.common.simcount._calculate:29} - {DEBUG:MainThread} - power did not change sign. Total energy: 0.823436
2023-12-08 04:20:50,976 - {modules.common.simcount._simcount:47} - {DEBUG:MainThread} - imported: 0.823436 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702005650.9714682, power=330.4899999999998, imported=2374435.736233205, exported=0)
2023-12-08 04:20:50,978 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=19, daily_exported=0.01, daily_imported=0.0, imported=143333.38, exported=116864.53, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2023-12-08 04:20:50,993 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=19, daily_exported=0.01, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=143333.38, exported=116864.53, power=0.0), set=Set(charging_power_left=-50, switch_on_soc_reached=False))
2023-12-08 04:20:50,995 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=1414.06, daily_exported=0, power=9080.51, imported=6927901.86, exported=0))
2023-12-08 04:20:50,997 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 95%, 06:00 Uhr', imported_at_plan_start=6926377.93, imported_instant_charging=None, limit=None, phases=3, prio=False, required_current=14, required_currents=[14, 14, 14], 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=73), currents=[12.57, 12.62, 12.56], daily_imported=1414.06, daily_exported=0, evse_current=1400, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=6927901.86, phases_in_use=3, plug_state=True, power=9080.51, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Zielladen mit 14A, um einen SoC von 95%  um 05:40 zu erreichen.', voltages=[241.1, 239.49, 240.68]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=14, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', imported_at_mode_switch=6926377.93, imported_at_plugtime=6926377.93, imported_since_mode_switch=1500.980000000447, imported_since_plugged=1500.980000000447, range_charged=8.338777777780262, time_charged='0:09', timestamp_start_charging='12/08/2023, 04:11:30'), manual_lock=False, phases_to_use=3, plug_state_prev=True, plug_time='12/07/2023, 13:07:31', required_power=9660, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x7158ace8>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB Carport', type='internal_openwb', template=1, connected_phases=3, phase_1=2, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=1))
2023-12-08 04:20:50,998 - {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-12-08 04:20:50,999 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=1, max_current_multi_phases=16, max_current_single_phase=20, name='RFID, 20A, 11kW', rfid_enabling=True, valid_tags=['0003134583', '0003526747', '1655332554', '2585022212', '2585087748'])
2023-12-08 04:20:51,001 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[63, 63, 63], max_total_power=43000), get=Get(powers=[3202.0, 3058.0, 3150.0], currents=[13.3, 12.4, 13.2], voltages=[240.43, 240.79, 239.23], power_factors=[0.99, 1.0, 0.99], unbalanced_load=0, frequency=49.97, daily_exported=0.0, daily_imported=5494.0, imported=6127371.0, exported=4870433.0, fault_state=0, fault_str='Kein Fehler.', power=9411.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=42669.51, raw_currents_left=[62.26, 63.17, 62.42], surplus_power_left=0, state_str=''))
2023-12-08 04:20:51,005 - {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': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=330.4899999999998, invalid_home_consumption=0, daily_yield_home_consumption=5616.0662186546, imported_home_consumption=2374435.736233205, disengageable_smarthome_power=0))
2023-12-08 04:20:51,006 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2023-12-08 04:20:51,008 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Ladeprofil ***AUTO1***', disable_after_unplug=False, prio=False, load_default=True, time_charging=TimeCharging(active=True, plans={'0': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[True, True, True, True, False, False, True]), time=['22:00', '06:00'], name='Zeitladen 95%, So-Do 22:00-06:00 Uhr', current=16, limit=Limit(selected='soc', amount=1000, soc=95)), '1': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, True, True, False]), time=['22:00', '06:00'], name='Zeitladen 80%, Fr-Sa 22:00-06:00 Uhr', current=16, limit=Limit(selected='soc', amount=1000, soc=80))}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2023-12-08 04:20:51,011 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, time_charging=TimeCharging(active=True, plans={'2': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), time=['06:45', '07:00'], name='Klima 06:45-07:00 Uhr', current=6, limit=Limit(selected='none', amount=1000, soc=50)), '3': TimeChargingPlan(active=True, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, False, False, False]), time=['00:00', '23:55'], name='Immer 35%', current=10, limit=Limit(selected='soc', amount=1000, soc=35))}), chargemode=Chargemode(selected='scheduled_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={'0': ScheduledChargingPlan(active=False, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, True, False, False, False, False, False]), current=14, name='Zielladen 80%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '1': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), current=14, name='Zielladen 95%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=95), time='05:40'), '2': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once='2023-09-26', weekly=[True, False, False, True, False, True, True]), current=14, name='Zielladen 75%, 7:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=75), time='05:40')}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=80))))
2023-12-08 04:20:51,015 - {control.data:266} - {INFO:MainThread} - ev0
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=['0003134583'], get=Get(soc=0, soc_timestamp=None, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:20:51,016 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Tesla Model Y (2022)', 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=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212', '2585087748'], get=Get(soc=49.0, soc_timestamp='12/08/2023, 01:29:15', force_soc_update=False, range=220.74, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:20:51,017 - {control.data:266} - {INFO:MainThread} - ev2
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Cupra Born 58kW', 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=18000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=2, ev_template=2, name='***AUTO2***', tag_id=['1655332554'], get=Get(soc=73, soc_timestamp='12/08/2023, 04:20:44', force_soc_update=False, range=210, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:20:51,018 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40)
2023-12-08 04:20:51,019 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', 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=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40)
2023-12-08 04:20:51,020 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', 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=18000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40)
2023-12-08 04:20:51,021 - {control.data:245} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=3), pv_charging=PvCharging(bat_prio=True, charging_power_reserve=200, control_range=[-230, 230], feed_in_yield=15000, phase_switch_delay=15, phases_to_use=0, rundown_power=1000, rundown_soc=25, switch_off_delay=60, switch_off_soc=25, switch_off_threshold=50, switch_on_delay=30, switch_on_soc=50, switch_on_threshold=1400), scheduled_charging=ScheduledCharging(phases_to_use=0), time_charging=TimeCharging(phases_to_use=3), unbalanced_load_limit=20, unbalanced_load=True), control_interval=10, extern_display_mode='local', extern=False, external_buttons_hw=False, grid_protection_active=False, grid_protection_configured=True, grid_protection_random_stop=0, grid_protection_timestamp='', mqtt_bridge=False, price_kwh=0.3528, range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=True, r1_active=False, r2_active=False))
2023-12-08 04:20:51,021 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2023-12-08 04:20:51,023 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2023-12-08 04:20:51,024 - {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 0x71578910>), led=Led(active=False), rfid=Rfid(active=True))
2023-12-08 04:20:51,025 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=0), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=293628.595, fault_state=0, fault_str='Kein Fehler.', power=0))
2023-12-08 04:20:51,026 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=9500), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=7816178.85, fault_state=0, fault_str='Kein Fehler.', power=-0.0))
2023-12-08 04:20:51,028 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=8109807.444999999, power=0.0))
2023-12-08 04:20:51,030 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2023-11-30 12:30:45 +0100 [285f5a5fb]', 'current_branch': 'Release', 'current_branch_commit': '2023-11-30 12:30:45 +0100 [285f5a5fb]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.2-Patch.1', 'datastore_version': 29, 'lastlivevaluesJson': {'timestamp': 1702005641, 'time': '04:20:41', 'grid': 9.374, 'house-power': 0.313, 'charging-all': 9.061, 'pv-all': -0.0, 'cp1-power': 9.061, 'ev1-soc': 49.0, 'ev2-soc': 73, 'bat-all-power': 0.0, 'bat-all-soc': 19}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2023-12-08 04:20:51,032 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2023-12-08 04:20:51,034 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2023-12-08 04:20:51,036 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2023-12-08 04:20:51,039 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2023-12-08 04:20:51,040 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2023-12-08 04:20:51,042 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2023-12-08 04:20:51,044 - {control.data:253} - {INFO:MainThread} - 

2023-12-08 04:20:51,046 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2023-12-08 04:20:51,050 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2023-12-08 04:20:51,053 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2023-12-08 04:20:51,055 - {control.counter:169} - {DEBUG:MainThread} - Zähler 0: [56.26, 57.17, 56.42]A verbleibende Ströme, 38529.51W verbleibende Leistung
2023-12-08 04:20:51,055 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2023-12-08 04:20:51,059 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2023-12-08 04:20:51,061 - {control.algorithm.filter_chargepoints:117} - {DEBUG:MainThread} - Geordnete Ladepunkte [1]
2023-12-08 04:20:51,062 - {control.algorithm.additional_current:26} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2023-12-08 04:20:51,064 - {control.counter:169} - {DEBUG:MainThread} - Zähler 0: [48.26, 49.17, 48.42]A verbleibende Ströme, 33009.51W verbleibende Leistung
2023-12-08 04:20:51,067 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 14A
2023-12-08 04:20:51,070 - {control.counter:211} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: 0W
2023-12-08 04:20:51,071 - {control.counter:457} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf 0W
2023-12-08 04:20:51,077 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2023-12-08 04:20:51,078 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2023-12-08 04:20:51,080 - {control.chargelog:52} - {DEBUG:MainThread} - imported_since_mode_switch 1523.9300000006333 counter 6927901.86
2023-12-08 04:20:51,084 - {control.process:111} - {INFO:MainThread} - LP1: set current 14 A, state CHARGING_ALLOWED
2023-12-08 04:20:51,086 - {modules.common.component_context:24} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:20:51,122 - {control.counter:186} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2023-12-08 04:20:51,341 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2023-12-08 04:20:55,393 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2023-12-08 04:20:55,394 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2023-12-08 04:21:00,403 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2023-12-08 04:21:00,404 - {root:74} - {INFO:MainThread} - # ***Start*** 
2023-12-08 04:21:00,442 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x715cf340>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x7155e4a8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x715c75f8>}
2023-12-08 04:21:00,445 - {modules.common.component_context:24} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2023-12-08 04:21:00,447 - {modules.common.component_context:24} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:21:00,454 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2023-12-08 04:21:00,456 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2023-12-08 04:21:00,484 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-9403, -3208, -3048, -3146], Scale 0
2023-12-08 04:21:00,541 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 750
2023-12-08 04:21:00,543 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"cloud":{"connected":false},"input:0":{"id":0,"state":false},"mqtt":{"connected":false},"switch:0":{"id":0, "source":"loopback", "output":false, "apower":0.0, "voltage":241.2, "current":0.000, "aenergy":{"total":1505.625,"by_minute":[0.000,0.000,0.000],"minute_ts":1702005660},"temperature":{"tC":28.9, "tF":84.0}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:21","unixtime":1702005661,"uptime":1364988,"ram_size":248944,"ram_free":144680,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"beta":{"version":"1.1.0-beta2"},"stable":{"version":"1.0.8"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-69},"ws":{"connected":false}}

2023-12-08 04:21:00,545 - {modules.common.simcount._simcount:38} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1702005650.4199665, power=0, imported=0.0, exported=293628.5948715257)
2023-12-08 04:21:00,546 - {modules.common.simcount._calculate:13} - {DEBUG:device1} - time passed: 0.00281274, power1: 0, power2: 0
2023-12-08 04:21:00,547 - {modules.common.simcount._calculate:29} - {DEBUG:device1} - power did not change sign. Total energy: 0
2023-12-08 04:21:00,547 - {modules.common.simcount._simcount:47} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702005660.5458217, power=0, imported=0.0, exported=293628.5948715257)
2023-12-08 04:21:00,548 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:21:00,593 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [133, 126, 132], Scale -1
2023-12-08 04:21:00,624 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [24056, 24088, 23931, 0, 0, 0, 0], Scale -2
2023-12-08 04:21:00,644 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4999], Scale -2
2023-12-08 04:21:00,664 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [9940, 9929, 9909], Scale -2
2023-12-08 04:21:00,685 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4870433, 1797042, 2153375, 1456453, 6127413, 2532061, 1863279, 2268512], Scale 0
2023-12-08 04:21:00,685 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[13.3, 12.600000000000001, 13.200000000000001], powers=[3208.0, 3048.0, 3146.0], voltages=[240.56, 240.88, 239.31], power_factors=[0.9940000000000001, 0.9929000000000001, 0.9909], imported=6127413.0, exported=4870433.0, power=9403.0, frequency=49.99)
2023-12-08 04:21:00,691 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2023-12-08 04:21:00,713 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [0], Scale 0
2023-12-08 04:21:00,784 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7789710], Scale 0
2023-12-08 04:21:00,845 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [27, 29, 30], Scale -2
2023-12-08 04:21:00,864 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4883], Scale -2
2023-12-08 04:21:00,865 - {modules.common.component_state:100} - {DEBUG:device0} - currents sign wrong [0.27, 0.29, 0.3]
2023-12-08 04:21:00,866 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.27, 0.29, 0.3], power=-0.0, exported=7789710.0, dc_power=48.83)
2023-12-08 04:21:00,877 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2023-12-08 04:21:00,974 - {modules.common.simcount._simcount:38} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1702005650.7144086, power=0.0, imported=143333.37604219164, exported=116864.52711090283)
2023-12-08 04:21:00,975 - {modules.common.simcount._calculate:13} - {DEBUG:device0} - time passed: 0.00285009, power1: 0, power2: 0
2023-12-08 04:21:00,976 - {modules.common.simcount._calculate:29} - {DEBUG:device0} - power did not change sign. Total energy: 0
2023-12-08 04:21:00,976 - {modules.common.simcount._simcount:47} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702005660.9747274, power=0.0, imported=143333.37604219164, exported=116864.52711090283)
2023-12-08 04:21:00,978 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=143333.37604219164, exported=116864.52711090283, power=0.0, soc=19.0)
2023-12-08 04:21:00,997 - {modules.common.component_context:24} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2023-12-08 04:21:00,998 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=143333.37604219164, exported=116864.52711090283, power=0.0, soc=19.0)
2023-12-08 04:21:01,030 - {modules.common.component_context:24} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:21:01,031 - {modules.common.component_context:24} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2023-12-08 04:21:01,032 - {modules.common.component_context:24} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2023-12-08 04:21:01,033 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-0.0, exported=7816178.85, dc_power=None)
2023-12-08 04:21:01,034 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:21:01,034 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-0.0, exported=7816178.85, dc_power=None)
2023-12-08 04:21:01,035 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:21:01,078 - {modules.common.component_context:24} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2023-12-08 04:21:01,079 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[13.3, 12.600000000000001, 13.200000000000001], powers=[3208.0, 3048.0, 3146.0], voltages=[240.56, 240.88, 239.31], power_factors=[0.9940000000000001, 0.9929000000000001, 0.9909], imported=6127413.0, exported=4870433.0, power=9403.0, frequency=49.99)
2023-12-08 04:21:01,250 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2023-12-08 04:21:01,252 - {control.bat_all:173} - {INFO:MainThread} - -50W verbleibende Speicher-Leistung
2023-12-08 04:21:01,258 - {control.counter:138} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [62.35, 62.96, 62.43]A
2023-12-08 04:21:01,259 - {control.counter:161} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 42664.3W
2023-12-08 04:21:01,264 - {control.chargepoint.chargepoint:699} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2023-12-08 04:21:01,265 - {control.chargepoint.chargepoint:682} - {DEBUG:MainThread} - Phasenzahl Lademodus: 3
2023-12-08 04:21:01,268 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -16.547614s, Dauer 1.320910973084886h, Termin heute verpasst: False
2023-12-08 04:21:01,273 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 90706.428971s, Dauer 0.12008281573498965h, Termin heute verpasst: False
2023-12-08 04:21:01,276 - {control.ev:762} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2023-12-08 04:21:01,279 - {control.chargepoint.chargepoint:898} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 14A, Lademodus scheduled_charging, Submodus: Chargemode.INSTANT_CHARGING, Phasen: 3, Priorität: False, max. Ist-Strom: 12.65
2023-12-08 04:21:01,285 - {control.chargepoint.chargepoint:277} - {INFO:MainThread} - LP 1: Zielladen mit 14A, um einen SoC von 95%  um 05:40 zu erreichen.
2023-12-08 04:21:01,311 - {modules.common.simcount._simcount:38} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1702005650.9714682, power=330.4899999999998, imported=2374435.736233205, exported=0)
2023-12-08 04:21:01,315 - {modules.common.simcount._calculate:13} - {DEBUG:MainThread} - time passed: 0.00287211, power1: 330.49, power2: 335.7
2023-12-08 04:21:01,316 - {modules.common.simcount._calculate:29} - {DEBUG:MainThread} - power did not change sign. Total energy: 0.956685
2023-12-08 04:21:01,317 - {modules.common.simcount._simcount:47} - {DEBUG:MainThread} - imported: 0.956685 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702005661.3110566, power=335.7000000000007, imported=2374436.6929179826, exported=0)
2023-12-08 04:21:01,322 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=19, daily_exported=0.01, daily_imported=0.0, imported=143333.38, exported=116864.53, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2023-12-08 04:21:01,324 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=19, daily_exported=0.01, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=143333.38, exported=116864.53, power=0.0), set=Set(charging_power_left=-50, switch_on_soc_reached=False))
2023-12-08 04:21:01,325 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=1414.06, daily_exported=0, power=9067.3, imported=6927924.8, exported=0))
2023-12-08 04:21:01,328 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 95%, 06:00 Uhr', imported_at_plan_start=6926377.93, imported_instant_charging=None, limit=None, phases=3, prio=False, required_current=14, required_currents=[14, 14, 14], 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=73), currents=[12.56, 12.63, 12.65], daily_imported=1414.06, daily_exported=0, evse_current=1400, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=6927924.8, phases_in_use=3, plug_state=True, power=9067.3, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Zielladen mit 14A, um einen SoC von 95%  um 05:40 zu erreichen.', voltages=[241.12, 239.6, 240.73]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=14, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', imported_at_mode_switch=6926377.93, imported_at_plugtime=6926377.93, imported_since_mode_switch=1523.9300000006333, imported_since_plugged=1523.9300000006333, range_charged=8.466277777781297, time_charged='0:09', timestamp_start_charging='12/08/2023, 04:11:30'), manual_lock=False, phases_to_use=3, plug_state_prev=True, plug_time='12/07/2023, 13:07:31', required_power=9660, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x715785b0>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB Carport', type='internal_openwb', template=1, connected_phases=3, phase_1=2, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=1))
2023-12-08 04:21:01,329 - {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-12-08 04:21:01,331 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=1, max_current_multi_phases=16, max_current_single_phase=20, name='RFID, 20A, 11kW', rfid_enabling=True, valid_tags=['0003134583', '0003526747', '1655332554', '2585022212', '2585087748'])
2023-12-08 04:21:01,332 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[63, 63, 63], max_total_power=43000), get=Get(powers=[3208.0, 3048.0, 3146.0], currents=[13.3, 12.6, 13.2], voltages=[240.56, 240.88, 239.31], power_factors=[0.99, 0.99, 0.99], unbalanced_load=0, frequency=49.99, daily_exported=0.0, daily_imported=5494.0, imported=6127413.0, exported=4870433.0, fault_state=0, fault_str='Kein Fehler.', power=9403.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=42664.3, raw_currents_left=[62.35, 62.96, 62.43], surplus_power_left=0, state_str=''))
2023-12-08 04:21:01,333 - {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': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=335.7000000000007, invalid_home_consumption=0, daily_yield_home_consumption=5616.0662186546, imported_home_consumption=2374436.6929179826, disengageable_smarthome_power=0))
2023-12-08 04:21:01,334 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2023-12-08 04:21:01,335 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Ladeprofil ***AUTO1***', disable_after_unplug=False, prio=False, load_default=True, time_charging=TimeCharging(active=True, plans={'0': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[True, True, True, True, False, False, True]), time=['22:00', '06:00'], name='Zeitladen 95%, So-Do 22:00-06:00 Uhr', current=16, limit=Limit(selected='soc', amount=1000, soc=95)), '1': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, True, True, False]), time=['22:00', '06:00'], name='Zeitladen 80%, Fr-Sa 22:00-06:00 Uhr', current=16, limit=Limit(selected='soc', amount=1000, soc=80))}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2023-12-08 04:21:01,336 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, time_charging=TimeCharging(active=True, plans={'2': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), time=['06:45', '07:00'], name='Klima 06:45-07:00 Uhr', current=6, limit=Limit(selected='none', amount=1000, soc=50)), '3': TimeChargingPlan(active=True, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, False, False, False]), time=['00:00', '23:55'], name='Immer 35%', current=10, limit=Limit(selected='soc', amount=1000, soc=35))}), chargemode=Chargemode(selected='scheduled_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={'0': ScheduledChargingPlan(active=False, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, True, False, False, False, False, False]), current=14, name='Zielladen 80%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '1': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), current=14, name='Zielladen 95%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=95), time='05:40'), '2': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once='2023-09-26', weekly=[True, False, False, True, False, True, True]), current=14, name='Zielladen 75%, 7:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=75), time='05:40')}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=80))))
2023-12-08 04:21:01,338 - {control.data:266} - {INFO:MainThread} - ev0
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=['0003134583'], get=Get(soc=0, soc_timestamp=None, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:21:01,344 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Tesla Model Y (2022)', 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=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212', '2585087748'], get=Get(soc=49.0, soc_timestamp='12/08/2023, 01:29:15', force_soc_update=False, range=220.74, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:21:01,349 - {control.data:266} - {INFO:MainThread} - ev2
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Cupra Born 58kW', 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=18000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=2, ev_template=2, name='***AUTO2***', tag_id=['1655332554'], get=Get(soc=73, soc_timestamp='12/08/2023, 04:20:44', force_soc_update=False, range=210, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:21:01,350 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40)
2023-12-08 04:21:01,351 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', 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=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40)
2023-12-08 04:21:01,351 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', 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=18000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40)
2023-12-08 04:21:01,352 - {control.data:245} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=3), pv_charging=PvCharging(bat_prio=True, charging_power_reserve=200, control_range=[-230, 230], feed_in_yield=15000, phase_switch_delay=15, phases_to_use=0, rundown_power=1000, rundown_soc=25, switch_off_delay=60, switch_off_soc=25, switch_off_threshold=50, switch_on_delay=30, switch_on_soc=50, switch_on_threshold=1400), scheduled_charging=ScheduledCharging(phases_to_use=0), time_charging=TimeCharging(phases_to_use=3), unbalanced_load_limit=20, unbalanced_load=True), control_interval=10, extern_display_mode='local', extern=False, external_buttons_hw=False, grid_protection_active=False, grid_protection_configured=True, grid_protection_random_stop=0, grid_protection_timestamp='', mqtt_bridge=False, price_kwh=0.3528, range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=True, r1_active=False, r2_active=False))
2023-12-08 04:21:01,353 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2023-12-08 04:21:01,354 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2023-12-08 04:21:01,355 - {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 0x70b62808>), led=Led(active=False), rfid=Rfid(active=True))
2023-12-08 04:21:01,357 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=0), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=293628.595, fault_state=0, fault_str='Kein Fehler.', power=0))
2023-12-08 04:21:01,358 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=9500), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=7816178.85, fault_state=0, fault_str='Kein Fehler.', power=-0.0))
2023-12-08 04:21:01,361 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=8109807.444999999, power=0.0))
2023-12-08 04:21:01,362 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2023-11-30 12:30:45 +0100 [285f5a5fb]', 'current_branch': 'Release', 'current_branch_commit': '2023-11-30 12:30:45 +0100 [285f5a5fb]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.2-Patch.1', 'datastore_version': 29, 'lastlivevaluesJson': {'timestamp': 1702005651, 'time': '04:20:51', 'grid': 9.411, 'house-power': 0.33, 'charging-all': 9.081, 'pv-all': -0.0, 'cp1-power': 9.081, 'ev1-soc': 49.0, 'ev2-soc': 73, 'bat-all-power': 0.0, 'bat-all-soc': 19}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2023-12-08 04:21:01,364 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2023-12-08 04:21:01,364 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2023-12-08 04:21:01,366 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2023-12-08 04:21:01,368 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2023-12-08 04:21:01,369 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2023-12-08 04:21:01,370 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2023-12-08 04:21:01,373 - {control.data:253} - {INFO:MainThread} - 

2023-12-08 04:21:01,374 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2023-12-08 04:21:01,383 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2023-12-08 04:21:01,384 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2023-12-08 04:21:01,385 - {control.counter:169} - {DEBUG:MainThread} - Zähler 0: [56.35, 56.96, 56.43]A verbleibende Ströme, 38524.3W verbleibende Leistung
2023-12-08 04:21:01,386 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2023-12-08 04:21:01,388 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2023-12-08 04:21:01,389 - {control.algorithm.filter_chargepoints:117} - {DEBUG:MainThread} - Geordnete Ladepunkte [1]
2023-12-08 04:21:01,390 - {control.algorithm.additional_current:26} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2023-12-08 04:21:01,393 - {control.counter:169} - {DEBUG:MainThread} - Zähler 0: [48.35, 48.96, 48.43]A verbleibende Ströme, 33004.3W verbleibende Leistung
2023-12-08 04:21:01,393 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 14A
2023-12-08 04:21:01,396 - {control.counter:211} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: 0W
2023-12-08 04:21:01,397 - {control.counter:457} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf 0W
2023-12-08 04:21:01,399 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2023-12-08 04:21:01,409 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2023-12-08 04:21:01,423 - {control.chargelog:52} - {DEBUG:MainThread} - imported_since_mode_switch 1546.8700000001118 counter 6927924.8
2023-12-08 04:21:01,442 - {control.process:111} - {INFO:MainThread} - LP1: set current 14 A, state CHARGING_ALLOWED
2023-12-08 04:21:01,455 - {modules.common.component_context:24} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:21:01,487 - {control.counter:186} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2023-12-08 04:21:01,841 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2023-12-08 04:21:01,842 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2023-12-08 04:21:05,850 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2023-12-08 04:21:10,862 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2023-12-08 04:21:10,863 - {root:74} - {INFO:MainThread} - # ***Start*** 
2023-12-08 04:21:10,906 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x715cf340>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x7155e4a8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x715c75f8>}
2023-12-08 04:21:10,907 - {modules.common.component_context:24} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2023-12-08 04:21:10,909 - {modules.common.component_context:24} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:21:10,917 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2023-12-08 04:21:10,920 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2023-12-08 04:21:10,944 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-9334, -3194, -3026, -3113], Scale 0
2023-12-08 04:21:10,963 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 750
2023-12-08 04:21:10,965 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"cloud":{"connected":false},"input:0":{"id":0,"state":false},"mqtt":{"connected":false},"switch:0":{"id":0, "source":"loopback", "output":false, "apower":0.0, "voltage":241.4, "current":0.000, "aenergy":{"total":1505.625,"by_minute":[0.000,0.000,0.000],"minute_ts":1702005670},"temperature":{"tC":28.9, "tF":84.1}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:21","unixtime":1702005671,"uptime":1364999,"ram_size":248944,"ram_free":144680,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"beta":{"version":"1.1.0-beta2"},"stable":{"version":"1.0.8"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-67},"ws":{"connected":false}}

2023-12-08 04:21:10,967 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [132, 128, 132], Scale -1
2023-12-08 04:21:10,969 - {modules.common.simcount._simcount:38} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1702005660.5458217, power=0, imported=0.0, exported=293628.5948715257)
2023-12-08 04:21:10,971 - {modules.common.simcount._calculate:13} - {DEBUG:device1} - time passed: 0.00289552, power1: 0, power2: 0
2023-12-08 04:21:10,971 - {modules.common.simcount._calculate:29} - {DEBUG:device1} - power did not change sign. Total energy: 0
2023-12-08 04:21:10,972 - {modules.common.simcount._simcount:47} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702005670.969676, power=0, imported=0.0, exported=293628.5948715257)
2023-12-08 04:21:10,973 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:21:10,986 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [24055, 24093, 23941, 0, 0, 0, 0], Scale -2
2023-12-08 04:21:11,055 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [5000], Scale -2
2023-12-08 04:21:11,083 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [9950, 9950, 9919], Scale -2
2023-12-08 04:21:11,105 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4870433, 1797042, 2153375, 1456453, 6127434, 2532068, 1863285, 2268519], Scale 0
2023-12-08 04:21:11,106 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[13.200000000000001, 12.8, 13.200000000000001], powers=[3194.0, 3026.0, 3113.0], voltages=[240.55, 240.93, 239.41], power_factors=[0.995, 0.995, 0.9919], imported=6127434.0, exported=4870433.0, power=9334.0, frequency=50.0)
2023-12-08 04:21:11,108 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2023-12-08 04:21:11,124 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [0], Scale 0
2023-12-08 04:21:11,175 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7789710], Scale 0
2023-12-08 04:21:11,204 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [27, 30, 32], Scale -2
2023-12-08 04:21:11,233 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-5199], Scale -2
2023-12-08 04:21:11,234 - {modules.common.component_state:100} - {DEBUG:device0} - currents sign wrong [0.27, 0.3, 0.32]
2023-12-08 04:21:11,234 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.27, 0.3, 0.32], power=-0.0, exported=7789710.0, dc_power=51.99)
2023-12-08 04:21:11,236 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2023-12-08 04:21:11,324 - {modules.common.simcount._simcount:38} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1702005660.9747274, power=0.0, imported=143333.37604219164, exported=116864.52711090283)
2023-12-08 04:21:11,325 - {modules.common.simcount._calculate:13} - {DEBUG:device0} - time passed: 0.00287493, power1: 0, power2: 0
2023-12-08 04:21:11,325 - {modules.common.simcount._calculate:29} - {DEBUG:device0} - power did not change sign. Total energy: 0
2023-12-08 04:21:11,326 - {modules.common.simcount._simcount:47} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702005671.3244715, power=0.0, imported=143333.37604219164, exported=116864.52711090283)
2023-12-08 04:21:11,327 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=143333.37604219164, exported=116864.52711090283, power=0.0, soc=19.0)
2023-12-08 04:21:11,333 - {modules.common.component_context:24} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2023-12-08 04:21:11,334 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=143333.37604219164, exported=116864.52711090283, power=0.0, soc=19.0)
2023-12-08 04:21:11,375 - {modules.common.component_context:24} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:21:11,376 - {modules.common.component_context:24} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2023-12-08 04:21:11,377 - {modules.common.component_context:24} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2023-12-08 04:21:11,377 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-0.0, exported=7816178.85, dc_power=None)
2023-12-08 04:21:11,378 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:21:11,379 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-0.0, exported=7816178.85, dc_power=None)
2023-12-08 04:21:11,379 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:21:11,417 - {modules.common.component_context:24} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2023-12-08 04:21:11,418 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[13.200000000000001, 12.8, 13.200000000000001], powers=[3194.0, 3026.0, 3113.0], voltages=[240.55, 240.93, 239.41], power_factors=[0.995, 0.995, 0.9919], imported=6127434.0, exported=4870433.0, power=9334.0, frequency=50.0)
2023-12-08 04:21:11,578 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2023-12-08 04:21:11,583 - {control.bat_all:173} - {INFO:MainThread} - -50W verbleibende Speicher-Leistung
2023-12-08 04:21:11,602 - {control.counter:138} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [62.41, 62.82, 62.43]A
2023-12-08 04:21:11,603 - {control.counter:161} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 42740.05W
2023-12-08 04:21:11,609 - {control.chargepoint.chargepoint:699} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2023-12-08 04:21:11,614 - {control.chargepoint.chargepoint:682} - {DEBUG:MainThread} - Phasenzahl Lademodus: 3
2023-12-08 04:21:11,617 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -26.896432s, Dauer 1.320910973084886h, Termin heute verpasst: False
2023-12-08 04:21:11,622 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 90696.079676s, Dauer 0.12008281573498965h, Termin heute verpasst: False
2023-12-08 04:21:11,628 - {control.ev:762} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2023-12-08 04:21:11,647 - {control.chargepoint.chargepoint:898} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 14A, Lademodus scheduled_charging, Submodus: Chargemode.INSTANT_CHARGING, Phasen: 3, Priorität: False, max. Ist-Strom: 12.63
2023-12-08 04:21:11,649 - {control.chargepoint.chargepoint:277} - {INFO:MainThread} - LP 1: Zielladen mit 14A, um einen SoC von 95%  um 05:40 zu erreichen.
2023-12-08 04:21:11,699 - {modules.common.simcount._simcount:38} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1702005661.3110566, power=335.7000000000007, imported=2374436.6929179826, exported=0)
2023-12-08 04:21:11,701 - {modules.common.simcount._calculate:13} - {DEBUG:MainThread} - time passed: 0.00288557, power1: 335.7, power2: 259.95
2023-12-08 04:21:11,702 - {modules.common.simcount._calculate:29} - {DEBUG:MainThread} - power did not change sign. Total energy: 0.859395
2023-12-08 04:21:11,705 - {modules.common.simcount._simcount:47} - {DEBUG:MainThread} - imported: 0.859395 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702005671.6991134, power=259.9500000000007, imported=2374437.552313261, exported=0)
2023-12-08 04:21:11,707 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=19, daily_exported=0.01, daily_imported=0.0, imported=143333.38, exported=116864.53, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2023-12-08 04:21:11,709 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=19, daily_exported=0.01, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=143333.38, exported=116864.53, power=0.0), set=Set(charging_power_left=-50, switch_on_soc_reached=False))
2023-12-08 04:21:11,710 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=1414.06, daily_exported=0, power=9074.05, imported=6927953.12, exported=0))
2023-12-08 04:21:11,711 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 95%, 06:00 Uhr', imported_at_plan_start=6926377.93, imported_instant_charging=None, limit=None, phases=3, prio=False, required_current=14, required_currents=[14, 14, 14], 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=73), currents=[12.62, 12.63, 12.61], daily_imported=1414.06, daily_exported=0, evse_current=1400, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=6927953.12, phases_in_use=3, plug_state=True, power=9074.05, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Zielladen mit 14A, um einen SoC von 95%  um 05:40 zu erreichen.', voltages=[241.25, 239.66, 240.83]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=14, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', imported_at_mode_switch=6926377.93, imported_at_plugtime=6926377.93, imported_since_mode_switch=1546.8700000001118, imported_since_plugged=1546.8700000001118, range_charged=8.593722222222844, time_charged='0:09', timestamp_start_charging='12/08/2023, 04:11:30'), manual_lock=False, phases_to_use=3, plug_state_prev=True, plug_time='12/07/2023, 13:07:31', required_power=9660, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x715cf460>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB Carport', type='internal_openwb', template=1, connected_phases=3, phase_1=2, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=1))
2023-12-08 04:21:11,712 - {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-12-08 04:21:11,713 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=1, max_current_multi_phases=16, max_current_single_phase=20, name='RFID, 20A, 11kW', rfid_enabling=True, valid_tags=['0003134583', '0003526747', '1655332554', '2585022212', '2585087748'])
2023-12-08 04:21:11,715 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[63, 63, 63], max_total_power=43000), get=Get(powers=[3194.0, 3026.0, 3113.0], currents=[13.2, 12.8, 13.2], voltages=[240.55, 240.93, 239.41], power_factors=[0.99, 0.99, 0.99], unbalanced_load=0, frequency=50.0, daily_exported=0.0, daily_imported=5494.0, imported=6127434.0, exported=4870433.0, fault_state=0, fault_str='Kein Fehler.', power=9334.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=42740.05, raw_currents_left=[62.41, 62.82, 62.43], surplus_power_left=0, state_str=''))
2023-12-08 04:21:11,718 - {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': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=259.9500000000007, invalid_home_consumption=0, daily_yield_home_consumption=5616.0662186546, imported_home_consumption=2374437.552313261, disengageable_smarthome_power=0))
2023-12-08 04:21:11,720 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2023-12-08 04:21:11,721 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Ladeprofil ***AUTO1***', disable_after_unplug=False, prio=False, load_default=True, time_charging=TimeCharging(active=True, plans={'0': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[True, True, True, True, False, False, True]), time=['22:00', '06:00'], name='Zeitladen 95%, So-Do 22:00-06:00 Uhr', current=16, limit=Limit(selected='soc', amount=1000, soc=95)), '1': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, True, True, False]), time=['22:00', '06:00'], name='Zeitladen 80%, Fr-Sa 22:00-06:00 Uhr', current=16, limit=Limit(selected='soc', amount=1000, soc=80))}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2023-12-08 04:21:11,722 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, time_charging=TimeCharging(active=True, plans={'2': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), time=['06:45', '07:00'], name='Klima 06:45-07:00 Uhr', current=6, limit=Limit(selected='none', amount=1000, soc=50)), '3': TimeChargingPlan(active=True, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, False, False, False]), time=['00:00', '23:55'], name='Immer 35%', current=10, limit=Limit(selected='soc', amount=1000, soc=35))}), chargemode=Chargemode(selected='scheduled_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={'0': ScheduledChargingPlan(active=False, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, True, False, False, False, False, False]), current=14, name='Zielladen 80%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '1': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), current=14, name='Zielladen 95%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=95), time='05:40'), '2': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once='2023-09-26', weekly=[True, False, False, True, False, True, True]), current=14, name='Zielladen 75%, 7:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=75), time='05:40')}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=80))))
2023-12-08 04:21:11,723 - {control.data:266} - {INFO:MainThread} - ev0
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=['0003134583'], get=Get(soc=0, soc_timestamp=None, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:21:11,724 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Tesla Model Y (2022)', 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=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212', '2585087748'], get=Get(soc=49.0, soc_timestamp='12/08/2023, 01:29:15', force_soc_update=False, range=220.74, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:21:11,725 - {control.data:266} - {INFO:MainThread} - ev2
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Cupra Born 58kW', 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=18000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=2, ev_template=2, name='***AUTO2***', tag_id=['1655332554'], get=Get(soc=73, soc_timestamp='12/08/2023, 04:20:44', force_soc_update=False, range=210, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:21:11,726 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40)
2023-12-08 04:21:11,728 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', 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=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40)
2023-12-08 04:21:11,729 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', 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=18000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40)
2023-12-08 04:21:11,730 - {control.data:245} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=3), pv_charging=PvCharging(bat_prio=True, charging_power_reserve=200, control_range=[-230, 230], feed_in_yield=15000, phase_switch_delay=15, phases_to_use=0, rundown_power=1000, rundown_soc=25, switch_off_delay=60, switch_off_soc=25, switch_off_threshold=50, switch_on_delay=30, switch_on_soc=50, switch_on_threshold=1400), scheduled_charging=ScheduledCharging(phases_to_use=0), time_charging=TimeCharging(phases_to_use=3), unbalanced_load_limit=20, unbalanced_load=True), control_interval=10, extern_display_mode='local', extern=False, external_buttons_hw=False, grid_protection_active=False, grid_protection_configured=True, grid_protection_random_stop=0, grid_protection_timestamp='', mqtt_bridge=False, price_kwh=0.3528, range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=True, r1_active=False, r2_active=False))
2023-12-08 04:21:11,733 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2023-12-08 04:21:11,735 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2023-12-08 04:21:11,736 - {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 0x70befc10>), led=Led(active=False), rfid=Rfid(active=True))
2023-12-08 04:21:11,742 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=0), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=293628.595, fault_state=0, fault_str='Kein Fehler.', power=0))
2023-12-08 04:21:11,743 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=9500), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=7816178.85, fault_state=0, fault_str='Kein Fehler.', power=-0.0))
2023-12-08 04:21:11,745 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=8109807.444999999, power=0.0))
2023-12-08 04:21:11,746 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2023-11-30 12:30:45 +0100 [285f5a5fb]', 'current_branch': 'Release', 'current_branch_commit': '2023-11-30 12:30:45 +0100 [285f5a5fb]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.2-Patch.1', 'datastore_version': 29, 'lastlivevaluesJson': {'timestamp': 1702005661, 'time': '04:21:01', 'grid': 9.403, 'house-power': 0.336, 'charging-all': 9.067, 'pv-all': -0.0, 'cp1-power': 9.067, 'ev1-soc': 49.0, 'ev2-soc': 73, 'bat-all-power': 0.0, 'bat-all-soc': 19}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2023-12-08 04:21:11,747 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2023-12-08 04:21:11,749 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2023-12-08 04:21:11,752 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2023-12-08 04:21:11,754 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2023-12-08 04:21:11,755 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2023-12-08 04:21:11,756 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2023-12-08 04:21:11,761 - {control.data:253} - {INFO:MainThread} - 

2023-12-08 04:21:11,763 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2023-12-08 04:21:11,764 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2023-12-08 04:21:11,765 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2023-12-08 04:21:11,767 - {control.counter:169} - {DEBUG:MainThread} - Zähler 0: [56.41, 56.82, 56.43]A verbleibende Ströme, 38600.05W verbleibende Leistung
2023-12-08 04:21:11,768 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2023-12-08 04:21:11,771 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2023-12-08 04:21:11,776 - {control.algorithm.filter_chargepoints:117} - {DEBUG:MainThread} - Geordnete Ladepunkte [1]
2023-12-08 04:21:11,777 - {control.algorithm.additional_current:26} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2023-12-08 04:21:11,778 - {control.counter:169} - {DEBUG:MainThread} - Zähler 0: [48.41, 48.82, 48.43]A verbleibende Ströme, 33080.05W verbleibende Leistung
2023-12-08 04:21:11,779 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 14A
2023-12-08 04:21:11,781 - {control.counter:211} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: 0W
2023-12-08 04:21:11,784 - {control.counter:457} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf 0W
2023-12-08 04:21:11,785 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2023-12-08 04:21:11,788 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2023-12-08 04:21:11,790 - {control.chargelog:52} - {DEBUG:MainThread} - imported_since_mode_switch 1575.1900000004098 counter 6927953.12
2023-12-08 04:21:11,795 - {control.process:111} - {INFO:MainThread} - LP1: set current 14 A, state CHARGING_ALLOWED
2023-12-08 04:21:11,797 - {modules.common.component_context:24} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:21:11,833 - {control.counter:186} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2023-12-08 04:21:12,056 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2023-12-08 04:21:12,057 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2023-12-08 04:21:15,063 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2023-12-08 04:21:15,065 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2023-12-08 04:21:20,075 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2023-12-08 04:21:20,077 - {root:74} - {INFO:MainThread} - # ***Start*** 
2023-12-08 04:21:20,146 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x715cf340>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x7155e4a8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x715c75f8>}
2023-12-08 04:21:20,147 - {modules.common.component_context:24} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2023-12-08 04:21:20,148 - {modules.common.component_context:24} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:21:20,155 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2023-12-08 04:21:20,159 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2023-12-08 04:21:20,196 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 750
2023-12-08 04:21:20,198 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"cloud":{"connected":false},"input:0":{"id":0,"state":false},"mqtt":{"connected":false},"switch:0":{"id":0, "source":"loopback", "output":false, "apower":0.0, "voltage":241.3, "current":0.000, "aenergy":{"total":1505.625,"by_minute":[0.000,0.000,0.000],"minute_ts":1702005679},"temperature":{"tC":28.9, "tF":84.0}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:21","unixtime":1702005680,"uptime":1365008,"ram_size":248996,"ram_free":145260,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"beta":{"version":"1.1.0-beta2"},"stable":{"version":"1.0.8"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-67},"ws":{"connected":false}}

2023-12-08 04:21:20,200 - {modules.common.simcount._simcount:38} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1702005670.969676, power=0, imported=0.0, exported=293628.5948715257)
2023-12-08 04:21:20,201 - {modules.common.simcount._calculate:13} - {DEBUG:device1} - time passed: 0.0025641, power1: 0, power2: 0
2023-12-08 04:21:20,201 - {modules.common.simcount._calculate:29} - {DEBUG:device1} - power did not change sign. Total energy: 0
2023-12-08 04:21:20,201 - {modules.common.simcount._simcount:47} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702005680.2004383, power=0, imported=0.0, exported=293628.5948715257)
2023-12-08 04:21:20,202 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:21:20,215 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-9320, -3184, -3024, -3111], Scale 0
2023-12-08 04:21:20,234 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [133, 126, 133], Scale -1
2023-12-08 04:21:20,265 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [24027, 24031, 23892, 0, 0, 0, 0], Scale -2
2023-12-08 04:21:20,300 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4999], Scale -2
2023-12-08 04:21:20,366 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [9919, 9940, 9909], Scale -2
2023-12-08 04:21:20,396 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4870433, 1797042, 2153375, 1456453, 6127455, 2532075, 1863292, 2268526], Scale 0
2023-12-08 04:21:20,396 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[13.3, 12.600000000000001, 13.3], powers=[3184.0, 3024.0, 3111.0], voltages=[240.27, 240.31, 238.92000000000002], power_factors=[0.9919, 0.9940000000000001, 0.9909], imported=6127455.0, exported=4870433.0, power=9320.0, frequency=49.99)
2023-12-08 04:21:20,398 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2023-12-08 04:21:20,413 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [0], Scale 0
2023-12-08 04:21:20,483 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7789710], Scale 0
2023-12-08 04:21:20,503 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [28, 29, 32], Scale -2
2023-12-08 04:21:20,533 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-5377], Scale -2
2023-12-08 04:21:20,534 - {modules.common.component_state:100} - {DEBUG:device0} - currents sign wrong [0.28, 0.29, 0.32]
2023-12-08 04:21:20,534 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.28, 0.29, 0.32], power=-0.0, exported=7789710.0, dc_power=53.77)
2023-12-08 04:21:20,536 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2023-12-08 04:21:20,573 - {modules.common.simcount._simcount:38} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1702005671.3244715, power=0.0, imported=143333.37604219164, exported=116864.52711090283)
2023-12-08 04:21:20,574 - {modules.common.simcount._calculate:13} - {DEBUG:device0} - time passed: 0.00256921, power1: 0, power2: 0
2023-12-08 04:21:20,574 - {modules.common.simcount._calculate:29} - {DEBUG:device0} - power did not change sign. Total energy: 0
2023-12-08 04:21:20,575 - {modules.common.simcount._simcount:47} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702005680.5736334, power=0.0, imported=143333.37604219164, exported=116864.52711090283)
2023-12-08 04:21:20,576 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=143333.37604219164, exported=116864.52711090283, power=0.0, soc=19.0)
2023-12-08 04:21:20,583 - {modules.common.component_context:24} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2023-12-08 04:21:20,585 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=143333.37604219164, exported=116864.52711090283, power=0.0, soc=19.0)
2023-12-08 04:21:20,619 - {modules.common.component_context:24} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:21:20,620 - {modules.common.component_context:24} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2023-12-08 04:21:20,621 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-0.0, exported=7816178.85, dc_power=None)
2023-12-08 04:21:20,622 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-0.0, exported=7816178.85, dc_power=None)
2023-12-08 04:21:20,624 - {modules.common.component_context:24} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2023-12-08 04:21:20,625 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:21:20,628 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:21:20,660 - {modules.common.component_context:24} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2023-12-08 04:21:20,661 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[13.3, 12.600000000000001, 13.3], powers=[3184.0, 3024.0, 3111.0], voltages=[240.27, 240.31, 238.92000000000002], power_factors=[0.9919, 0.9940000000000001, 0.9909], imported=6127455.0, exported=4870433.0, power=9320.0, frequency=49.99)
2023-12-08 04:21:20,800 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2023-12-08 04:21:20,803 - {control.bat_all:173} - {INFO:MainThread} - -50W verbleibende Speicher-Leistung
2023-12-08 04:21:20,805 - {control.counter:138} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [62.23, 62.96, 62.33]A
2023-12-08 04:21:20,807 - {control.counter:161} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 42735.68W
2023-12-08 04:21:20,810 - {control.chargepoint.chargepoint:699} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2023-12-08 04:21:20,811 - {control.chargepoint.chargepoint:682} - {DEBUG:MainThread} - Phasenzahl Lademodus: 3
2023-12-08 04:21:20,813 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -36.092731s, Dauer 1.320910973084886h, Termin heute verpasst: False
2023-12-08 04:21:20,815 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 90686.887179s, Dauer 0.12008281573498965h, Termin heute verpasst: False
2023-12-08 04:21:20,815 - {control.ev:762} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2023-12-08 04:21:20,821 - {control.chargepoint.chargepoint:898} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 14A, Lademodus scheduled_charging, Submodus: Chargemode.INSTANT_CHARGING, Phasen: 3, Priorität: False, max. Ist-Strom: 12.63
2023-12-08 04:21:20,822 - {control.chargepoint.chargepoint:277} - {INFO:MainThread} - LP 1: Zielladen mit 14A, um einen SoC von 95%  um 05:40 zu erreichen.
2023-12-08 04:21:20,835 - {modules.common.simcount._simcount:38} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1702005671.6991134, power=259.9500000000007, imported=2374437.552313261, exported=0)
2023-12-08 04:21:20,836 - {modules.common.simcount._calculate:13} - {DEBUG:MainThread} - time passed: 0.00253764, power1: 259.95, power2: 264.32
2023-12-08 04:21:20,838 - {modules.common.simcount._calculate:29} - {DEBUG:MainThread} - power did not change sign. Total energy: 0.665205
2023-12-08 04:21:20,839 - {modules.common.simcount._simcount:47} - {DEBUG:MainThread} - imported: 0.665205 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702005680.8346252, power=264.3199999999997, imported=2374438.217518096, exported=0)
2023-12-08 04:21:20,843 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=19, daily_exported=0.01, daily_imported=0.0, imported=143333.38, exported=116864.53, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2023-12-08 04:21:20,844 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=19, daily_exported=0.01, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=143333.38, exported=116864.53, power=0.0), set=Set(charging_power_left=-50, switch_on_soc_reached=False))
2023-12-08 04:21:20,846 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=1414.06, daily_exported=0, power=9055.68, imported=6927976.07, exported=0))
2023-12-08 04:21:20,849 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 95%, 06:00 Uhr', imported_at_plan_start=6926377.93, imported_instant_charging=None, limit=None, phases=3, prio=False, required_current=14, required_currents=[14, 14, 14], 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=73), currents=[12.56, 12.63, 12.53], daily_imported=1414.06, daily_exported=0, evse_current=1400, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=6927976.07, phases_in_use=3, plug_state=True, power=9055.68, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Zielladen mit 14A, um einen SoC von 95%  um 05:40 zu erreichen.', voltages=[241.14, 239.59, 240.81]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=14, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', imported_at_mode_switch=6926377.93, imported_at_plugtime=6926377.93, imported_since_mode_switch=1575.1900000004098, imported_since_plugged=1575.1900000004098, range_charged=8.751055555557832, time_charged='0:09', timestamp_start_charging='12/08/2023, 04:11:30'), manual_lock=False, phases_to_use=3, plug_state_prev=True, plug_time='12/07/2023, 13:07:31', required_power=9660, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x70bf3760>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB Carport', type='internal_openwb', template=1, connected_phases=3, phase_1=2, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=1))
2023-12-08 04:21:20,850 - {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-12-08 04:21:20,852 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=1, max_current_multi_phases=16, max_current_single_phase=20, name='RFID, 20A, 11kW', rfid_enabling=True, valid_tags=['0003134583', '0003526747', '1655332554', '2585022212', '2585087748'])
2023-12-08 04:21:20,854 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[63, 63, 63], max_total_power=43000), get=Get(powers=[3184.0, 3024.0, 3111.0], currents=[13.3, 12.6, 13.3], voltages=[240.27, 240.31, 238.92], power_factors=[0.99, 0.99, 0.99], unbalanced_load=0, frequency=49.99, daily_exported=0.0, daily_imported=5494.0, imported=6127455.0, exported=4870433.0, fault_state=0, fault_str='Kein Fehler.', power=9320.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=42735.68, raw_currents_left=[62.23, 62.96, 62.33], surplus_power_left=0, state_str=''))
2023-12-08 04:21:20,856 - {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': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=264.3199999999997, invalid_home_consumption=0, daily_yield_home_consumption=5616.0662186546, imported_home_consumption=2374438.217518096, disengageable_smarthome_power=0))
2023-12-08 04:21:20,859 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2023-12-08 04:21:20,861 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Ladeprofil ***AUTO1***', disable_after_unplug=False, prio=False, load_default=True, time_charging=TimeCharging(active=True, plans={'0': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[True, True, True, True, False, False, True]), time=['22:00', '06:00'], name='Zeitladen 95%, So-Do 22:00-06:00 Uhr', current=16, limit=Limit(selected='soc', amount=1000, soc=95)), '1': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, True, True, False]), time=['22:00', '06:00'], name='Zeitladen 80%, Fr-Sa 22:00-06:00 Uhr', current=16, limit=Limit(selected='soc', amount=1000, soc=80))}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2023-12-08 04:21:20,864 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, time_charging=TimeCharging(active=True, plans={'2': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), time=['06:45', '07:00'], name='Klima 06:45-07:00 Uhr', current=6, limit=Limit(selected='none', amount=1000, soc=50)), '3': TimeChargingPlan(active=True, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, False, False, False]), time=['00:00', '23:55'], name='Immer 35%', current=10, limit=Limit(selected='soc', amount=1000, soc=35))}), chargemode=Chargemode(selected='scheduled_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={'0': ScheduledChargingPlan(active=False, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, True, False, False, False, False, False]), current=14, name='Zielladen 80%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '1': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), current=14, name='Zielladen 95%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=95), time='05:40'), '2': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once='2023-09-26', weekly=[True, False, False, True, False, True, True]), current=14, name='Zielladen 75%, 7:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=75), time='05:40')}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=80))))
2023-12-08 04:21:20,866 - {control.data:266} - {INFO:MainThread} - ev0
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=['0003134583'], get=Get(soc=0, soc_timestamp=None, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:21:20,866 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Tesla Model Y (2022)', 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=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212', '2585087748'], get=Get(soc=49.0, soc_timestamp='12/08/2023, 01:29:15', force_soc_update=False, range=220.74, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:21:20,867 - {control.data:266} - {INFO:MainThread} - ev2
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Cupra Born 58kW', 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=18000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=2, ev_template=2, name='***AUTO2***', tag_id=['1655332554'], get=Get(soc=73, soc_timestamp='12/08/2023, 04:20:44', force_soc_update=False, range=210, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:21:20,869 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40)
2023-12-08 04:21:20,872 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', 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=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40)
2023-12-08 04:21:20,874 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', 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=18000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40)
2023-12-08 04:21:20,877 - {control.data:245} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=3), pv_charging=PvCharging(bat_prio=True, charging_power_reserve=200, control_range=[-230, 230], feed_in_yield=15000, phase_switch_delay=15, phases_to_use=0, rundown_power=1000, rundown_soc=25, switch_off_delay=60, switch_off_soc=25, switch_off_threshold=50, switch_on_delay=30, switch_on_soc=50, switch_on_threshold=1400), scheduled_charging=ScheduledCharging(phases_to_use=0), time_charging=TimeCharging(phases_to_use=3), unbalanced_load_limit=20, unbalanced_load=True), control_interval=10, extern_display_mode='local', extern=False, external_buttons_hw=False, grid_protection_active=False, grid_protection_configured=True, grid_protection_random_stop=0, grid_protection_timestamp='', mqtt_bridge=False, price_kwh=0.3528, range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=True, r1_active=False, r2_active=False))
2023-12-08 04:21:20,878 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2023-12-08 04:21:20,882 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2023-12-08 04:21:20,884 - {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 0x7158a6e8>), led=Led(active=False), rfid=Rfid(active=True))
2023-12-08 04:21:20,887 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=0), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=293628.595, fault_state=0, fault_str='Kein Fehler.', power=0))
2023-12-08 04:21:20,890 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=9500), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=7816178.85, fault_state=0, fault_str='Kein Fehler.', power=-0.0))
2023-12-08 04:21:20,891 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=8109807.444999999, power=0.0))
2023-12-08 04:21:20,893 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2023-11-30 12:30:45 +0100 [285f5a5fb]', 'current_branch': 'Release', 'current_branch_commit': '2023-11-30 12:30:45 +0100 [285f5a5fb]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.2-Patch.1', 'datastore_version': 29, 'lastlivevaluesJson': {'timestamp': 1702005671, 'time': '04:21:11', 'grid': 9.334, 'house-power': 0.26, 'charging-all': 9.074, 'pv-all': -0.0, 'cp1-power': 9.074, 'ev1-soc': 49.0, 'ev2-soc': 73, 'bat-all-power': 0.0, 'bat-all-soc': 19}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2023-12-08 04:21:20,896 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2023-12-08 04:21:20,896 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2023-12-08 04:21:20,899 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2023-12-08 04:21:20,901 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2023-12-08 04:21:20,904 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2023-12-08 04:21:20,906 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2023-12-08 04:21:20,911 - {control.data:253} - {INFO:MainThread} - 

2023-12-08 04:21:20,913 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2023-12-08 04:21:20,915 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2023-12-08 04:21:20,917 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2023-12-08 04:21:20,926 - {control.counter:169} - {DEBUG:MainThread} - Zähler 0: [56.23, 56.96, 56.33]A verbleibende Ströme, 38595.68W verbleibende Leistung
2023-12-08 04:21:20,927 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2023-12-08 04:21:20,934 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2023-12-08 04:21:20,938 - {control.algorithm.filter_chargepoints:117} - {DEBUG:MainThread} - Geordnete Ladepunkte [1]
2023-12-08 04:21:20,941 - {control.algorithm.additional_current:26} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2023-12-08 04:21:20,947 - {control.counter:169} - {DEBUG:MainThread} - Zähler 0: [48.23, 48.96, 48.33]A verbleibende Ströme, 33075.68W verbleibende Leistung
2023-12-08 04:21:20,947 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 14A
2023-12-08 04:21:20,952 - {control.counter:211} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: 0W
2023-12-08 04:21:20,953 - {control.counter:457} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf 0W
2023-12-08 04:21:20,961 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2023-12-08 04:21:20,964 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2023-12-08 04:21:20,966 - {control.chargelog:52} - {DEBUG:MainThread} - imported_since_mode_switch 1598.140000000596 counter 6927976.07
2023-12-08 04:21:20,969 - {control.process:111} - {INFO:MainThread} - LP1: set current 14 A, state CHARGING_ALLOWED
2023-12-08 04:21:20,974 - {modules.common.component_context:24} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:21:21,003 - {control.counter:186} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2023-12-08 04:21:21,245 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2023-12-08 04:21:25,286 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2023-12-08 04:21:25,287 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2023-12-08 04:21:30,296 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2023-12-08 04:21:30,297 - {root:74} - {INFO:MainThread} - # ***Start*** 
2023-12-08 04:21:30,332 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x715cf340>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x7155e4a8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x715c75f8>}
2023-12-08 04:21:30,334 - {modules.common.component_context:24} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2023-12-08 04:21:30,359 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2023-12-08 04:21:30,362 - {modules.common.component_context:24} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:21:30,366 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2023-12-08 04:21:30,413 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 750
2023-12-08 04:21:30,415 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"cloud":{"connected":false},"input:0":{"id":0,"state":false},"mqtt":{"connected":false},"switch:0":{"id":0, "source":"loopback", "output":false, "apower":0.0, "voltage":241.4, "current":0.000, "aenergy":{"total":1505.625,"by_minute":[0.000,0.000,0.000],"minute_ts":1702005689},"temperature":{"tC":28.8, "tF":83.9}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:21","unixtime":1702005691,"uptime":1365018,"ram_size":248964,"ram_free":144808,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"beta":{"version":"1.1.0-beta2"},"stable":{"version":"1.0.8"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-68},"ws":{"connected":false}}

2023-12-08 04:21:30,417 - {modules.common.simcount._simcount:38} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1702005680.2004383, power=0, imported=0.0, exported=293628.5948715257)
2023-12-08 04:21:30,417 - {modules.common.simcount._calculate:13} - {DEBUG:device1} - time passed: 0.00283797, power1: 0, power2: 0
2023-12-08 04:21:30,418 - {modules.common.simcount._calculate:29} - {DEBUG:device1} - power did not change sign. Total energy: 0
2023-12-08 04:21:30,418 - {modules.common.simcount._simcount:47} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702005690.4171188, power=0, imported=0.0, exported=293628.5948715257)
2023-12-08 04:21:30,420 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:21:30,436 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-9238, -3184, -2982, -3072], Scale 0
2023-12-08 04:21:30,452 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [135, 126, 130], Scale -1
2023-12-08 04:21:30,475 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [24051, 24101, 23943, 0, 0, 0, 0], Scale -2
2023-12-08 04:21:30,492 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4999], Scale -2
2023-12-08 04:21:30,653 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [9929, 9919, 9919], Scale -2
2023-12-08 04:21:30,675 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4870433, 1797042, 2153375, 1456453, 6127476, 2532082, 1863299, 2268533], Scale 0
2023-12-08 04:21:30,676 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[13.5, 12.600000000000001, 13.0], powers=[3184.0, 2982.0, 3072.0], voltages=[240.51, 241.01, 239.43], power_factors=[0.9929000000000001, 0.9919, 0.9919], imported=6127476.0, exported=4870433.0, power=9238.0, frequency=49.99)
2023-12-08 04:21:30,679 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2023-12-08 04:21:30,695 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [0], Scale 0
2023-12-08 04:21:30,713 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7789710], Scale 0
2023-12-08 04:21:30,734 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [28, 30, 32], Scale -2
2023-12-08 04:21:30,802 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4526], Scale -2
2023-12-08 04:21:30,804 - {modules.common.component_state:100} - {DEBUG:device0} - currents sign wrong [0.28, 0.3, 0.32]
2023-12-08 04:21:30,805 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.28, 0.3, 0.32], power=-0.0, exported=7789710.0, dc_power=45.26)
2023-12-08 04:21:30,809 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2023-12-08 04:21:30,968 - {modules.common.simcount._simcount:38} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1702005680.5736334, power=0.0, imported=143333.37604219164, exported=116864.52711090283)
2023-12-08 04:21:30,969 - {modules.common.simcount._calculate:13} - {DEBUG:device0} - time passed: 0.00288739, power1: 0, power2: 0
2023-12-08 04:21:30,969 - {modules.common.simcount._calculate:29} - {DEBUG:device0} - power did not change sign. Total energy: 0
2023-12-08 04:21:30,970 - {modules.common.simcount._simcount:47} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702005690.968232, power=0.0, imported=143333.37604219164, exported=116864.52711090283)
2023-12-08 04:21:30,971 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=143333.37604219164, exported=116864.52711090283, power=0.0, soc=19.0)
2023-12-08 04:21:30,983 - {modules.common.component_context:24} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2023-12-08 04:21:30,990 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=143333.37604219164, exported=116864.52711090283, power=0.0, soc=19.0)
2023-12-08 04:21:31,023 - {modules.common.component_context:24} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:21:31,024 - {modules.common.component_context:24} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2023-12-08 04:21:31,025 - {modules.common.component_context:24} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2023-12-08 04:21:31,027 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-0.0, exported=7816178.85, dc_power=None)
2023-12-08 04:21:31,028 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:21:31,029 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-0.0, exported=7816178.85, dc_power=None)
2023-12-08 04:21:31,030 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:21:31,073 - {modules.common.component_context:24} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2023-12-08 04:21:31,073 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[13.5, 12.600000000000001, 13.0], powers=[3184.0, 2982.0, 3072.0], voltages=[240.51, 241.01, 239.43], power_factors=[0.9929000000000001, 0.9919, 0.9919], imported=6127476.0, exported=4870433.0, power=9238.0, frequency=49.99)
2023-12-08 04:21:31,237 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2023-12-08 04:21:31,240 - {control.bat_all:173} - {INFO:MainThread} - -50W verbleibende Speicher-Leistung
2023-12-08 04:21:31,243 - {control.counter:138} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [62.0, 62.79, 62.42]A
2023-12-08 04:21:31,244 - {control.counter:161} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 42699.979999999996W
2023-12-08 04:21:31,247 - {control.chargepoint.chargepoint:699} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2023-12-08 04:21:31,248 - {control.chargepoint.chargepoint:682} - {DEBUG:MainThread} - Phasenzahl Lademodus: 3
2023-12-08 04:21:31,251 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -46.530669s, Dauer 1.320910973084886h, Termin heute verpasst: False
2023-12-08 04:21:31,253 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 90676.448668s, Dauer 0.12008281573498965h, Termin heute verpasst: False
2023-12-08 04:21:31,254 - {control.ev:762} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2023-12-08 04:21:31,281 - {control.chargepoint.chargepoint:898} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 14A, Lademodus scheduled_charging, Submodus: Chargemode.INSTANT_CHARGING, Phasen: 3, Priorität: False, max. Ist-Strom: 12.5
2023-12-08 04:21:31,295 - {control.chargepoint.chargepoint:277} - {INFO:MainThread} - LP 1: Zielladen mit 14A, um einen SoC von 95%  um 05:40 zu erreichen.
2023-12-08 04:21:31,326 - {modules.common.simcount._simcount:38} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1702005680.8346252, power=264.3199999999997, imported=2374438.217518096, exported=0)
2023-12-08 04:21:31,328 - {modules.common.simcount._calculate:13} - {DEBUG:MainThread} - time passed: 0.00291435, power1: 264.32, power2: 300.02
2023-12-08 04:21:31,330 - {modules.common.simcount._calculate:29} - {DEBUG:MainThread} - power did not change sign. Total energy: 0.822341
2023-12-08 04:21:31,335 - {modules.common.simcount._simcount:47} - {DEBUG:MainThread} - imported: 0.822341 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702005691.3262734, power=300.02000000000044, imported=2374439.0398593103, exported=0)
2023-12-08 04:21:31,345 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=19, daily_exported=0.01, daily_imported=0.0, imported=143333.38, exported=116864.53, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2023-12-08 04:21:31,350 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=19, daily_exported=0.01, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=143333.38, exported=116864.53, power=0.0), set=Set(charging_power_left=-50, switch_on_soc_reached=False))
2023-12-08 04:21:31,359 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=1414.06, daily_exported=0, power=8937.98, imported=6928003.91, exported=0))
2023-12-08 04:21:31,361 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 95%, 06:00 Uhr', imported_at_plan_start=6926377.93, imported_instant_charging=None, limit=None, phases=3, prio=False, required_current=14, required_currents=[14, 14, 14], 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=73), currents=[12.39, 12.42, 12.5], daily_imported=1414.06, daily_exported=0, evse_current=1400, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=6928003.91, phases_in_use=3, plug_state=True, power=8937.98, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Zielladen mit 14A, um einen SoC von 95%  um 05:40 zu erreichen.', voltages=[241.29, 239.84, 240.85]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=14, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', imported_at_mode_switch=6926377.93, imported_at_plugtime=6926377.93, imported_since_mode_switch=1598.140000000596, imported_since_plugged=1598.140000000596, range_charged=8.878555555558867, time_charged='0:09', timestamp_start_charging='12/08/2023, 04:11:30'), manual_lock=False, phases_to_use=3, plug_state_prev=True, plug_time='12/07/2023, 13:07:31', required_power=9660, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x71594d00>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB Carport', type='internal_openwb', template=1, connected_phases=3, phase_1=2, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=1))
2023-12-08 04:21:31,365 - {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-12-08 04:21:31,366 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=1, max_current_multi_phases=16, max_current_single_phase=20, name='RFID, 20A, 11kW', rfid_enabling=True, valid_tags=['0003134583', '0003526747', '1655332554', '2585022212', '2585087748'])
2023-12-08 04:21:31,368 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[63, 63, 63], max_total_power=43000), get=Get(powers=[3184.0, 2982.0, 3072.0], currents=[13.5, 12.6, 13.0], voltages=[240.51, 241.01, 239.43], power_factors=[0.99, 0.99, 0.99], unbalanced_load=0, frequency=49.99, daily_exported=0.0, daily_imported=5494.0, imported=6127476.0, exported=4870433.0, fault_state=0, fault_str='Kein Fehler.', power=9238.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=42699.979999999996, raw_currents_left=[62.0, 62.79, 62.42], surplus_power_left=0, state_str=''))
2023-12-08 04:21:31,369 - {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': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=300.02000000000044, invalid_home_consumption=0, daily_yield_home_consumption=5616.0662186546, imported_home_consumption=2374439.0398593103, disengageable_smarthome_power=0))
2023-12-08 04:21:31,375 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2023-12-08 04:21:31,380 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Ladeprofil ***AUTO1***', disable_after_unplug=False, prio=False, load_default=True, time_charging=TimeCharging(active=True, plans={'0': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[True, True, True, True, False, False, True]), time=['22:00', '06:00'], name='Zeitladen 95%, So-Do 22:00-06:00 Uhr', current=16, limit=Limit(selected='soc', amount=1000, soc=95)), '1': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, True, True, False]), time=['22:00', '06:00'], name='Zeitladen 80%, Fr-Sa 22:00-06:00 Uhr', current=16, limit=Limit(selected='soc', amount=1000, soc=80))}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2023-12-08 04:21:31,385 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, time_charging=TimeCharging(active=True, plans={'2': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), time=['06:45', '07:00'], name='Klima 06:45-07:00 Uhr', current=6, limit=Limit(selected='none', amount=1000, soc=50)), '3': TimeChargingPlan(active=True, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, False, False, False]), time=['00:00', '23:55'], name='Immer 35%', current=10, limit=Limit(selected='soc', amount=1000, soc=35))}), chargemode=Chargemode(selected='scheduled_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={'0': ScheduledChargingPlan(active=False, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, True, False, False, False, False, False]), current=14, name='Zielladen 80%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '1': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), current=14, name='Zielladen 95%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=95), time='05:40'), '2': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once='2023-09-26', weekly=[True, False, False, True, False, True, True]), current=14, name='Zielladen 75%, 7:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=75), time='05:40')}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=80))))
2023-12-08 04:21:31,389 - {control.data:266} - {INFO:MainThread} - ev0
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=['0003134583'], get=Get(soc=0, soc_timestamp=None, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:21:31,390 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Tesla Model Y (2022)', 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=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212', '2585087748'], get=Get(soc=49.0, soc_timestamp='12/08/2023, 01:29:15', force_soc_update=False, range=220.74, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:21:31,392 - {control.data:266} - {INFO:MainThread} - ev2
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Cupra Born 58kW', 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=18000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=2, ev_template=2, name='***AUTO2***', tag_id=['1655332554'], get=Get(soc=73, soc_timestamp='12/08/2023, 04:20:44', force_soc_update=False, range=210, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:21:31,392 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40)
2023-12-08 04:21:31,393 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', 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=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40)
2023-12-08 04:21:31,394 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', 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=18000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40)
2023-12-08 04:21:31,395 - {control.data:245} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=3), pv_charging=PvCharging(bat_prio=True, charging_power_reserve=200, control_range=[-230, 230], feed_in_yield=15000, phase_switch_delay=15, phases_to_use=0, rundown_power=1000, rundown_soc=25, switch_off_delay=60, switch_off_soc=25, switch_off_threshold=50, switch_on_delay=30, switch_on_soc=50, switch_on_threshold=1400), scheduled_charging=ScheduledCharging(phases_to_use=0), time_charging=TimeCharging(phases_to_use=3), unbalanced_load_limit=20, unbalanced_load=True), control_interval=10, extern_display_mode='local', extern=False, external_buttons_hw=False, grid_protection_active=False, grid_protection_configured=True, grid_protection_random_stop=0, grid_protection_timestamp='', mqtt_bridge=False, price_kwh=0.3528, range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=True, r1_active=False, r2_active=False))
2023-12-08 04:21:31,395 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2023-12-08 04:21:31,396 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2023-12-08 04:21:31,397 - {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 0x70beb940>), led=Led(active=False), rfid=Rfid(active=True))
2023-12-08 04:21:31,398 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=0), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=293628.595, fault_state=0, fault_str='Kein Fehler.', power=0))
2023-12-08 04:21:31,398 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=9500), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=7816178.85, fault_state=0, fault_str='Kein Fehler.', power=-0.0))
2023-12-08 04:21:31,399 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=8109807.444999999, power=0.0))
2023-12-08 04:21:31,399 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2023-11-30 12:30:45 +0100 [285f5a5fb]', 'current_branch': 'Release', 'current_branch_commit': '2023-11-30 12:30:45 +0100 [285f5a5fb]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.2-Patch.1', 'datastore_version': 29, 'lastlivevaluesJson': {'timestamp': 1702005681, 'time': '04:21:21', 'grid': 9.32, 'house-power': 0.264, 'charging-all': 9.056, 'pv-all': -0.0, 'cp1-power': 9.056, 'ev1-soc': 49.0, 'ev2-soc': 73, 'bat-all-power': 0.0, 'bat-all-soc': 19}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2023-12-08 04:21:31,400 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2023-12-08 04:21:31,400 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2023-12-08 04:21:31,401 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2023-12-08 04:21:31,401 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2023-12-08 04:21:31,401 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2023-12-08 04:21:31,402 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2023-12-08 04:21:31,402 - {control.data:253} - {INFO:MainThread} - 

2023-12-08 04:21:31,403 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2023-12-08 04:21:31,403 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2023-12-08 04:21:31,404 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2023-12-08 04:21:31,405 - {control.counter:169} - {DEBUG:MainThread} - Zähler 0: [56.0, 56.79, 56.42]A verbleibende Ströme, 38559.979999999996W verbleibende Leistung
2023-12-08 04:21:31,405 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2023-12-08 04:21:31,408 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2023-12-08 04:21:31,409 - {control.algorithm.filter_chargepoints:117} - {DEBUG:MainThread} - Geordnete Ladepunkte [1]
2023-12-08 04:21:31,410 - {control.algorithm.additional_current:26} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2023-12-08 04:21:31,411 - {control.counter:169} - {DEBUG:MainThread} - Zähler 0: [48.0, 48.79, 48.42]A verbleibende Ströme, 33039.979999999996W verbleibende Leistung
2023-12-08 04:21:31,411 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 14A
2023-12-08 04:21:31,413 - {control.counter:211} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: 0W
2023-12-08 04:21:31,413 - {control.counter:457} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf 0W
2023-12-08 04:21:31,414 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2023-12-08 04:21:31,414 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2023-12-08 04:21:31,417 - {control.chargelog:52} - {DEBUG:MainThread} - imported_since_mode_switch 1625.980000000447 counter 6928003.91
2023-12-08 04:21:31,421 - {control.process:111} - {INFO:MainThread} - LP1: set current 14 A, state CHARGING_ALLOWED
2023-12-08 04:21:31,443 - {modules.common.component_context:24} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:21:31,468 - {control.counter:186} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2023-12-08 04:21:31,691 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2023-12-08 04:21:31,693 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2023-12-08 04:21:35,706 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2023-12-08 04:21:40,732 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2023-12-08 04:21:40,733 - {root:74} - {INFO:MainThread} - # ***Start*** 
2023-12-08 04:21:40,781 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x715cf340>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x7155e4a8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x715c75f8>}
2023-12-08 04:21:40,785 - {modules.common.component_context:24} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2023-12-08 04:21:40,791 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2023-12-08 04:21:40,793 - {modules.common.component_context:24} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:21:40,794 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2023-12-08 04:21:40,823 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-9199, -3145, -2990, -3062], Scale 0
2023-12-08 04:21:40,835 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 750
2023-12-08 04:21:40,837 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"cloud":{"connected":false},"input:0":{"id":0,"state":false},"mqtt":{"connected":false},"switch:0":{"id":0, "source":"loopback", "output":false, "apower":0.0, "voltage":241.3, "current":0.000, "aenergy":{"total":1505.625,"by_minute":[0.000,0.000,0.000],"minute_ts":1702005700},"temperature":{"tC":28.9, "tF":84.0}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:21","unixtime":1702005701,"uptime":1365029,"ram_size":248996,"ram_free":145260,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"beta":{"version":"1.1.0-beta2"},"stable":{"version":"1.0.8"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-68},"ws":{"connected":false}}

2023-12-08 04:21:40,839 - {modules.common.simcount._simcount:38} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1702005690.4171188, power=0, imported=0.0, exported=293628.5948715257)
2023-12-08 04:21:40,840 - {modules.common.simcount._calculate:13} - {DEBUG:device1} - time passed: 0.00289515, power1: 0, power2: 0
2023-12-08 04:21:40,840 - {modules.common.simcount._calculate:29} - {DEBUG:device1} - power did not change sign. Total energy: 0
2023-12-08 04:21:40,841 - {modules.common.simcount._simcount:47} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702005700.839647, power=0, imported=0.0, exported=293628.5948715257)
2023-12-08 04:21:40,842 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:21:40,873 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [133, 125, 129], Scale -1
2023-12-08 04:21:40,894 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [24033, 24083, 23936, 0, 0, 0, 0], Scale -2
2023-12-08 04:21:40,914 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4997], Scale -2
2023-12-08 04:21:41,034 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [9929, 9900, 9909], Scale -2
2023-12-08 04:21:41,078 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4870433, 1797042, 2153375, 1456453, 6127517, 2532096, 1863312, 2268546], Scale 0
2023-12-08 04:21:41,078 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[13.3, 12.5, 12.9], powers=[3145.0, 2990.0, 3062.0], voltages=[240.33, 240.83, 239.36], power_factors=[0.9929000000000001, 0.99, 0.9909], imported=6127517.0, exported=4870433.0, power=9199.0, frequency=49.97)
2023-12-08 04:21:41,080 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2023-12-08 04:21:41,113 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [0], Scale 0
2023-12-08 04:21:41,133 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7789710], Scale 0
2023-12-08 04:21:41,153 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [28, 30, 32], Scale -2
2023-12-08 04:21:41,173 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4865], Scale -2
2023-12-08 04:21:41,174 - {modules.common.component_state:100} - {DEBUG:device0} - currents sign wrong [0.28, 0.3, 0.32]
2023-12-08 04:21:41,174 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.28, 0.3, 0.32], power=-0.0, exported=7789710.0, dc_power=48.65)
2023-12-08 04:21:41,180 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2023-12-08 04:21:41,253 - {modules.common.simcount._simcount:38} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1702005690.968232, power=0.0, imported=143333.37604219164, exported=116864.52711090283)
2023-12-08 04:21:41,254 - {modules.common.simcount._calculate:13} - {DEBUG:device0} - time passed: 0.00285705, power1: 0, power2: 0
2023-12-08 04:21:41,254 - {modules.common.simcount._calculate:29} - {DEBUG:device0} - power did not change sign. Total energy: 0
2023-12-08 04:21:41,255 - {modules.common.simcount._simcount:47} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702005701.2536108, power=0.0, imported=143333.37604219164, exported=116864.52711090283)
2023-12-08 04:21:41,257 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=143333.37604219164, exported=116864.52711090283, power=0.0, soc=19.0)
2023-12-08 04:21:41,267 - {modules.common.component_context:24} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2023-12-08 04:21:41,268 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=143333.37604219164, exported=116864.52711090283, power=0.0, soc=19.0)
2023-12-08 04:21:41,305 - {modules.common.component_context:24} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:21:41,307 - {modules.common.component_context:24} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2023-12-08 04:21:41,308 - {modules.common.component_context:24} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2023-12-08 04:21:41,309 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-0.0, exported=7816178.85, dc_power=None)
2023-12-08 04:21:41,309 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:21:41,311 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-0.0, exported=7816178.85, dc_power=None)
2023-12-08 04:21:41,313 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:21:41,544 - {modules.common.component_context:24} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2023-12-08 04:21:41,545 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[13.3, 12.5, 12.9], powers=[3145.0, 2990.0, 3062.0], voltages=[240.33, 240.83, 239.36], power_factors=[0.9929000000000001, 0.99, 0.9909], imported=6127517.0, exported=4870433.0, power=9199.0, frequency=49.97)
2023-12-08 04:21:41,756 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2023-12-08 04:21:41,764 - {control.bat_all:173} - {INFO:MainThread} - -50W verbleibende Speicher-Leistung
2023-12-08 04:21:41,772 - {control.counter:138} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [62.14, 62.91, 62.55]A
2023-12-08 04:21:41,778 - {control.counter:161} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 42757.79W
2023-12-08 04:21:41,785 - {control.chargepoint.chargepoint:699} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2023-12-08 04:21:41,787 - {control.chargepoint.chargepoint:682} - {DEBUG:MainThread} - Phasenzahl Lademodus: 3
2023-12-08 04:21:41,790 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -57.069178s, Dauer 1.320910973084886h, Termin heute verpasst: False
2023-12-08 04:21:41,791 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 90665.910428s, Dauer 0.12008281573498965h, Termin heute verpasst: False
2023-12-08 04:21:41,794 - {control.ev:762} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2023-12-08 04:21:41,822 - {control.chargepoint.chargepoint:898} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 14A, Lademodus scheduled_charging, Submodus: Chargemode.INSTANT_CHARGING, Phasen: 3, Priorität: False, max. Ist-Strom: 12.45
2023-12-08 04:21:41,835 - {control.chargepoint.chargepoint:277} - {INFO:MainThread} - LP 1: Zielladen mit 14A, um einen SoC von 95%  um 05:40 zu erreichen.
2023-12-08 04:21:41,859 - {modules.common.simcount._simcount:38} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1702005691.3262734, power=300.02000000000044, imported=2374439.0398593103, exported=0)
2023-12-08 04:21:41,863 - {modules.common.simcount._calculate:13} - {DEBUG:MainThread} - time passed: 0.00292597, power1: 300.02, power2: 242.21
2023-12-08 04:21:41,866 - {modules.common.simcount._calculate:29} - {DEBUG:MainThread} - power did not change sign. Total energy: 0.793274
2023-12-08 04:21:41,867 - {modules.common.simcount._simcount:47} - {DEBUG:MainThread} - imported: 0.793274 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702005701.8597624, power=242.20999999999913, imported=2374439.83313344, exported=0)
2023-12-08 04:21:41,872 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=19, daily_exported=0.01, daily_imported=0.0, imported=143333.38, exported=116864.53, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2023-12-08 04:21:41,876 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=19, daily_exported=0.01, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=143333.38, exported=116864.53, power=0.0), set=Set(charging_power_left=-50, switch_on_soc_reached=False))
2023-12-08 04:21:41,879 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=1414.06, daily_exported=0, power=8956.79, imported=6928030.76, exported=0))
2023-12-08 04:21:41,881 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 95%, 06:00 Uhr', imported_at_plan_start=6926377.93, imported_instant_charging=None, limit=None, phases=3, prio=False, required_current=14, required_currents=[14, 14, 14], 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=73), currents=[12.41, 12.45, 12.44], daily_imported=1414.06, daily_exported=0, evse_current=1400, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=6928030.76, phases_in_use=3, plug_state=True, power=8956.79, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Zielladen mit 14A, um einen SoC von 95%  um 05:40 zu erreichen.', voltages=[241.24, 239.52, 240.75]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=14, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', imported_at_mode_switch=6926377.93, imported_at_plugtime=6926377.93, imported_since_mode_switch=1625.980000000447, imported_since_plugged=1625.980000000447, range_charged=9.033222222224706, time_charged='0:10', timestamp_start_charging='12/08/2023, 04:11:30'), manual_lock=False, phases_to_use=3, plug_state_prev=True, plug_time='12/07/2023, 13:07:31', required_power=9660, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x70bceeb0>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB Carport', type='internal_openwb', template=1, connected_phases=3, phase_1=2, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=1))
2023-12-08 04:21:41,882 - {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-12-08 04:21:41,882 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=1, max_current_multi_phases=16, max_current_single_phase=20, name='RFID, 20A, 11kW', rfid_enabling=True, valid_tags=['0003134583', '0003526747', '1655332554', '2585022212', '2585087748'])
2023-12-08 04:21:41,884 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[63, 63, 63], max_total_power=43000), get=Get(powers=[3145.0, 2990.0, 3062.0], currents=[13.3, 12.5, 12.9], voltages=[240.33, 240.83, 239.36], power_factors=[0.99, 0.99, 0.99], unbalanced_load=0, frequency=49.97, daily_exported=0.0, daily_imported=5494.0, imported=6127517.0, exported=4870433.0, fault_state=0, fault_str='Kein Fehler.', power=9199.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=42757.79, raw_currents_left=[62.14, 62.91, 62.55], surplus_power_left=0, state_str=''))
2023-12-08 04:21:41,887 - {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': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=242.20999999999913, invalid_home_consumption=0, daily_yield_home_consumption=5616.0662186546, imported_home_consumption=2374439.83313344, disengageable_smarthome_power=0))
2023-12-08 04:21:41,888 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2023-12-08 04:21:41,889 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Ladeprofil ***AUTO1***', disable_after_unplug=False, prio=False, load_default=True, time_charging=TimeCharging(active=True, plans={'0': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[True, True, True, True, False, False, True]), time=['22:00', '06:00'], name='Zeitladen 95%, So-Do 22:00-06:00 Uhr', current=16, limit=Limit(selected='soc', amount=1000, soc=95)), '1': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, True, True, False]), time=['22:00', '06:00'], name='Zeitladen 80%, Fr-Sa 22:00-06:00 Uhr', current=16, limit=Limit(selected='soc', amount=1000, soc=80))}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2023-12-08 04:21:41,891 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, time_charging=TimeCharging(active=True, plans={'2': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), time=['06:45', '07:00'], name='Klima 06:45-07:00 Uhr', current=6, limit=Limit(selected='none', amount=1000, soc=50)), '3': TimeChargingPlan(active=True, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, False, False, False]), time=['00:00', '23:55'], name='Immer 35%', current=10, limit=Limit(selected='soc', amount=1000, soc=35))}), chargemode=Chargemode(selected='scheduled_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={'0': ScheduledChargingPlan(active=False, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, True, False, False, False, False, False]), current=14, name='Zielladen 80%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '1': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), current=14, name='Zielladen 95%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=95), time='05:40'), '2': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once='2023-09-26', weekly=[True, False, False, True, False, True, True]), current=14, name='Zielladen 75%, 7:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=75), time='05:40')}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=80))))
2023-12-08 04:21:41,893 - {control.data:266} - {INFO:MainThread} - ev0
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=['0003134583'], get=Get(soc=0, soc_timestamp=None, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:21:41,894 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Tesla Model Y (2022)', 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=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212', '2585087748'], get=Get(soc=49.0, soc_timestamp='12/08/2023, 01:29:15', force_soc_update=False, range=220.74, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:21:41,901 - {control.data:266} - {INFO:MainThread} - ev2
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Cupra Born 58kW', 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=18000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=2, ev_template=2, name='***AUTO2***', tag_id=['1655332554'], get=Get(soc=73, soc_timestamp='12/08/2023, 04:21:40', force_soc_update=False, range=210, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:21:41,902 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40)
2023-12-08 04:21:41,903 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', 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=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40)
2023-12-08 04:21:41,906 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', 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=18000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40)
2023-12-08 04:21:41,908 - {control.data:245} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=3), pv_charging=PvCharging(bat_prio=True, charging_power_reserve=200, control_range=[-230, 230], feed_in_yield=15000, phase_switch_delay=15, phases_to_use=0, rundown_power=1000, rundown_soc=25, switch_off_delay=60, switch_off_soc=25, switch_off_threshold=50, switch_on_delay=30, switch_on_soc=50, switch_on_threshold=1400), scheduled_charging=ScheduledCharging(phases_to_use=0), time_charging=TimeCharging(phases_to_use=3), unbalanced_load_limit=20, unbalanced_load=True), control_interval=10, extern_display_mode='local', extern=False, external_buttons_hw=False, grid_protection_active=False, grid_protection_configured=True, grid_protection_random_stop=0, grid_protection_timestamp='', mqtt_bridge=False, price_kwh=0.3528, range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=True, r1_active=False, r2_active=False))
2023-12-08 04:21:41,909 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2023-12-08 04:21:41,911 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2023-12-08 04:21:41,913 - {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 0x70b9f820>), led=Led(active=False), rfid=Rfid(active=True))
2023-12-08 04:21:41,915 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=0), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=293628.595, fault_state=0, fault_str='Kein Fehler.', power=0))
2023-12-08 04:21:41,916 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=9500), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=7816178.85, fault_state=0, fault_str='Kein Fehler.', power=-0.0))
2023-12-08 04:21:41,917 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=8109807.444999999, power=0.0))
2023-12-08 04:21:41,918 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2023-11-30 12:30:45 +0100 [285f5a5fb]', 'current_branch': 'Release', 'current_branch_commit': '2023-11-30 12:30:45 +0100 [285f5a5fb]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.2-Patch.1', 'datastore_version': 29, 'lastlivevaluesJson': {'timestamp': 1702005691, 'time': '04:21:31', 'grid': 9.238, 'house-power': 0.3, 'charging-all': 8.938, 'pv-all': -0.0, 'cp1-power': 8.938, 'ev1-soc': 49.0, 'ev2-soc': 73, 'bat-all-power': 0.0, 'bat-all-soc': 19}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2023-12-08 04:21:41,919 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2023-12-08 04:21:41,921 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2023-12-08 04:21:41,922 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2023-12-08 04:21:41,923 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2023-12-08 04:21:41,923 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2023-12-08 04:21:41,924 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2023-12-08 04:21:41,925 - {control.data:253} - {INFO:MainThread} - 

2023-12-08 04:21:41,925 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2023-12-08 04:21:41,926 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2023-12-08 04:21:41,926 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2023-12-08 04:21:41,927 - {control.counter:169} - {DEBUG:MainThread} - Zähler 0: [56.14, 56.91, 56.55]A verbleibende Ströme, 38617.79W verbleibende Leistung
2023-12-08 04:21:41,928 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2023-12-08 04:21:41,930 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2023-12-08 04:21:41,931 - {control.algorithm.filter_chargepoints:117} - {DEBUG:MainThread} - Geordnete Ladepunkte [1]
2023-12-08 04:21:41,932 - {control.algorithm.additional_current:26} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2023-12-08 04:21:41,933 - {control.counter:169} - {DEBUG:MainThread} - Zähler 0: [48.14, 48.91, 48.55]A verbleibende Ströme, 33097.79W verbleibende Leistung
2023-12-08 04:21:41,933 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 14A
2023-12-08 04:21:41,934 - {control.counter:211} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: 0W
2023-12-08 04:21:41,935 - {control.counter:457} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf 0W
2023-12-08 04:21:41,935 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2023-12-08 04:21:41,936 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2023-12-08 04:21:41,937 - {control.chargelog:52} - {DEBUG:MainThread} - imported_since_mode_switch 1652.8300000000745 counter 6928030.76
2023-12-08 04:21:41,943 - {control.process:111} - {INFO:MainThread} - LP1: set current 14 A, state CHARGING_ALLOWED
2023-12-08 04:21:41,949 - {modules.common.component_context:24} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:21:42,000 - {control.counter:186} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2023-12-08 04:21:42,222 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2023-12-08 04:21:42,229 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2023-12-08 04:21:45,236 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2023-12-08 04:21:45,237 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2023-12-08 04:21:50,247 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2023-12-08 04:21:50,248 - {root:74} - {INFO:MainThread} - # ***Start*** 
2023-12-08 04:21:50,326 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x715cf340>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x7155e4a8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x715c75f8>}
2023-12-08 04:21:50,327 - {modules.common.component_context:24} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2023-12-08 04:21:50,329 - {modules.common.component_context:24} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:21:50,338 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2023-12-08 04:21:50,341 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2023-12-08 04:21:50,384 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 750
2023-12-08 04:21:50,386 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"cloud":{"connected":false},"input:0":{"id":0,"state":false},"mqtt":{"connected":false},"switch:0":{"id":0, "source":"loopback", "output":false, "apower":0.0, "voltage":241.4, "current":0.000, "aenergy":{"total":1505.625,"by_minute":[0.000,0.000,0.000],"minute_ts":1702005709},"temperature":{"tC":28.8, "tF":83.9}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:21","unixtime":1702005711,"uptime":1365038,"ram_size":248996,"ram_free":145260,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"beta":{"version":"1.1.0-beta2"},"stable":{"version":"1.0.8"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-68},"ws":{"connected":false}}

2023-12-08 04:21:50,389 - {modules.common.simcount._simcount:38} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1702005700.839647, power=0, imported=0.0, exported=293628.5948715257)
2023-12-08 04:21:50,390 - {modules.common.simcount._calculate:13} - {DEBUG:device1} - time passed: 0.00265269, power1: 0, power2: 0
2023-12-08 04:21:50,391 - {modules.common.simcount._calculate:29} - {DEBUG:device1} - power did not change sign. Total energy: 0
2023-12-08 04:21:50,391 - {modules.common.simcount._simcount:47} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702005710.3893387, power=0, imported=0.0, exported=293628.5948715257)
2023-12-08 04:21:50,393 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:21:50,404 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-9227, -3167, -2983, -3077], Scale 0
2023-12-08 04:21:50,423 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [132, 124, 129], Scale -1
2023-12-08 04:21:50,443 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [24045, 24096, 23934, 0, 0, 0, 0], Scale -2
2023-12-08 04:21:50,485 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4997], Scale -2
2023-12-08 04:21:50,554 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [9929, 9929, 9890], Scale -2
2023-12-08 04:21:50,636 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4870433, 1797042, 2153375, 1456453, 6127537, 2532103, 1863319, 2268553], Scale 0
2023-12-08 04:21:50,638 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[13.200000000000001, 12.4, 12.9], powers=[3167.0, 2983.0, 3077.0], voltages=[240.45000000000002, 240.96, 239.34], power_factors=[0.9929000000000001, 0.9929000000000001, 0.9890000000000001], imported=6127537.0, exported=4870433.0, power=9227.0, frequency=49.97)
2023-12-08 04:21:50,640 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2023-12-08 04:21:50,662 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [0], Scale 0
2023-12-08 04:21:50,692 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7789710], Scale 0
2023-12-08 04:21:50,712 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [27, 31, 32], Scale -2
2023-12-08 04:21:50,762 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4948], Scale -2
2023-12-08 04:21:50,763 - {modules.common.component_state:100} - {DEBUG:device0} - currents sign wrong [0.27, 0.31, 0.32]
2023-12-08 04:21:50,763 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.27, 0.31, 0.32], power=-0.0, exported=7789710.0, dc_power=49.480000000000004)
2023-12-08 04:21:50,764 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2023-12-08 04:21:50,802 - {modules.common.simcount._simcount:38} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1702005701.2536108, power=0.0, imported=143333.37604219164, exported=116864.52711090283)
2023-12-08 04:21:50,802 - {modules.common.simcount._calculate:13} - {DEBUG:device0} - time passed: 0.00265237, power1: 0, power2: 0
2023-12-08 04:21:50,803 - {modules.common.simcount._calculate:29} - {DEBUG:device0} - power did not change sign. Total energy: 0
2023-12-08 04:21:50,803 - {modules.common.simcount._simcount:47} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702005710.8021414, power=0.0, imported=143333.37604219164, exported=116864.52711090283)
2023-12-08 04:21:50,804 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=143333.37604219164, exported=116864.52711090283, power=0.0, soc=19.0)
2023-12-08 04:21:50,808 - {modules.common.component_context:24} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2023-12-08 04:21:50,810 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=143333.37604219164, exported=116864.52711090283, power=0.0, soc=19.0)
2023-12-08 04:21:50,845 - {modules.common.component_context:24} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:21:50,846 - {modules.common.component_context:24} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2023-12-08 04:21:50,847 - {modules.common.component_context:24} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2023-12-08 04:21:50,848 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-0.0, exported=7816178.85, dc_power=None)
2023-12-08 04:21:50,849 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:21:50,850 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-0.0, exported=7816178.85, dc_power=None)
2023-12-08 04:21:50,850 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:21:50,888 - {modules.common.component_context:24} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2023-12-08 04:21:50,889 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[13.200000000000001, 12.4, 12.9], powers=[3167.0, 2983.0, 3077.0], voltages=[240.45000000000002, 240.96, 239.34], power_factors=[0.9929000000000001, 0.9929000000000001, 0.9890000000000001], imported=6127537.0, exported=4870433.0, power=9227.0, frequency=49.97)
2023-12-08 04:21:51,034 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2023-12-08 04:21:51,037 - {control.bat_all:173} - {INFO:MainThread} - -50W verbleibende Speicher-Leistung
2023-12-08 04:21:51,039 - {control.counter:138} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [62.27, 63.01, 62.53]A
2023-12-08 04:21:51,040 - {control.counter:161} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 42718.03W
2023-12-08 04:21:51,044 - {control.chargepoint.chargepoint:699} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2023-12-08 04:21:51,045 - {control.chargepoint.chargepoint:682} - {DEBUG:MainThread} - Phasenzahl Lademodus: 3
2023-12-08 04:21:51,047 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -66.326455s, Dauer 1.320910973084886h, Termin heute verpasst: False
2023-12-08 04:21:51,049 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 90656.652705s, Dauer 0.12008281573498965h, Termin heute verpasst: False
2023-12-08 04:21:51,050 - {control.ev:762} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2023-12-08 04:21:51,063 - {control.chargepoint.chargepoint:898} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 14.19803362509146A, Lademodus scheduled_charging, Submodus: Chargemode.INSTANT_CHARGING, Phasen: 3, Priorität: False, max. Ist-Strom: 12.47
2023-12-08 04:21:51,064 - {control.chargepoint.chargepoint:277} - {INFO:MainThread} - LP 1: Zielladen mit 14.2A. Der Ladestrom wurde erhöht, um den Zieltermin zu erreichen. Es wird bis max. 20 Minuten nach dem angegebenen Zieltermin geladen.
2023-12-08 04:21:51,073 - {modules.common.simcount._simcount:38} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1702005701.8597624, power=242.20999999999913, imported=2374439.83313344, exported=0)
2023-12-08 04:21:51,074 - {modules.common.simcount._calculate:13} - {DEBUG:MainThread} - time passed: 0.00255924, power1: 242.21, power2: 281.97
2023-12-08 04:21:51,075 - {modules.common.simcount._calculate:29} - {DEBUG:MainThread} - power did not change sign. Total energy: 0.670751
2023-12-08 04:21:51,076 - {modules.common.simcount._simcount:47} - {DEBUG:MainThread} - imported: 0.670751 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702005711.073022, power=281.96999999999935, imported=2374440.503884321, exported=0)
2023-12-08 04:21:51,079 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=19, daily_exported=0.01, daily_imported=0.0, imported=143333.38, exported=116864.53, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2023-12-08 04:21:51,081 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=19, daily_exported=0.01, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=143333.38, exported=116864.53, power=0.0), set=Set(charging_power_left=-50, switch_on_soc_reached=False))
2023-12-08 04:21:51,082 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=1414.06, daily_exported=0, power=8945.03, imported=6928053.22, exported=0))
2023-12-08 04:21:51,084 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 95%, 06:00 Uhr', imported_at_plan_start=6926377.93, imported_instant_charging=None, limit=None, phases=3, prio=False, required_current=14.19803362509146, required_currents=[14.19803362509146, 14.19803362509146, 14.19803362509146], 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=73), currents=[12.41, 12.43, 12.47], daily_imported=1414.06, daily_exported=0, evse_current=1400, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=6928053.22, phases_in_use=3, plug_state=True, power=8945.03, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Zielladen mit 14.2A. Der Ladestrom wurde erhöht, um den Zieltermin zu erreichen. Es wird bis max. 20 Minuten nach dem angegebenen Zieltermin geladen.', voltages=[241.35, 239.64, 240.8]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=14, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', imported_at_mode_switch=6926377.93, imported_at_plugtime=6926377.93, imported_since_mode_switch=1652.8300000000745, imported_since_plugged=1652.8300000000745, range_charged=9.182388888889303, time_charged='0:10', timestamp_start_charging='12/08/2023, 04:11:30'), manual_lock=False, phases_to_use=3, plug_state_prev=True, plug_time='12/07/2023, 13:07:31', required_power=9796.643201313107, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x70ba77f0>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB Carport', type='internal_openwb', template=1, connected_phases=3, phase_1=2, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=1))
2023-12-08 04:21:51,085 - {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-12-08 04:21:51,086 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=1, max_current_multi_phases=16, max_current_single_phase=20, name='RFID, 20A, 11kW', rfid_enabling=True, valid_tags=['0003134583', '0003526747', '1655332554', '2585022212', '2585087748'])
2023-12-08 04:21:51,087 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[63, 63, 63], max_total_power=43000), get=Get(powers=[3167.0, 2983.0, 3077.0], currents=[13.2, 12.4, 12.9], voltages=[240.45, 240.96, 239.34], power_factors=[0.99, 0.99, 0.99], unbalanced_load=0, frequency=49.97, daily_exported=0.0, daily_imported=5494.0, imported=6127537.0, exported=4870433.0, fault_state=0, fault_str='Kein Fehler.', power=9227.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=42718.03, raw_currents_left=[62.27, 63.01, 62.53], surplus_power_left=0, state_str=''))
2023-12-08 04:21:51,088 - {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': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=281.96999999999935, invalid_home_consumption=0, daily_yield_home_consumption=5616.0662186546, imported_home_consumption=2374440.503884321, disengageable_smarthome_power=0))
2023-12-08 04:21:51,089 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2023-12-08 04:21:51,091 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Ladeprofil ***AUTO1***', disable_after_unplug=False, prio=False, load_default=True, time_charging=TimeCharging(active=True, plans={'0': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[True, True, True, True, False, False, True]), time=['22:00', '06:00'], name='Zeitladen 95%, So-Do 22:00-06:00 Uhr', current=16, limit=Limit(selected='soc', amount=1000, soc=95)), '1': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, True, True, False]), time=['22:00', '06:00'], name='Zeitladen 80%, Fr-Sa 22:00-06:00 Uhr', current=16, limit=Limit(selected='soc', amount=1000, soc=80))}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2023-12-08 04:21:51,092 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, time_charging=TimeCharging(active=True, plans={'2': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), time=['06:45', '07:00'], name='Klima 06:45-07:00 Uhr', current=6, limit=Limit(selected='none', amount=1000, soc=50)), '3': TimeChargingPlan(active=True, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, False, False, False]), time=['00:00', '23:55'], name='Immer 35%', current=10, limit=Limit(selected='soc', amount=1000, soc=35))}), chargemode=Chargemode(selected='scheduled_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={'0': ScheduledChargingPlan(active=False, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, True, False, False, False, False, False]), current=14, name='Zielladen 80%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '1': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), current=14, name='Zielladen 95%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=95), time='05:40'), '2': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once='2023-09-26', weekly=[True, False, False, True, False, True, True]), current=14, name='Zielladen 75%, 7:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=75), time='05:40')}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=80))))
2023-12-08 04:21:51,093 - {control.data:266} - {INFO:MainThread} - ev0
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=['0003134583'], get=Get(soc=0, soc_timestamp=None, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:21:51,094 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Tesla Model Y (2022)', 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=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212', '2585087748'], get=Get(soc=49.0, soc_timestamp='12/08/2023, 01:29:15', force_soc_update=False, range=220.74, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:21:51,095 - {control.data:266} - {INFO:MainThread} - ev2
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Cupra Born 58kW', 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=18000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=2, ev_template=2, name='***AUTO2***', tag_id=['1655332554'], get=Get(soc=73, soc_timestamp='12/08/2023, 04:21:40', force_soc_update=False, range=210, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:21:51,096 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40)
2023-12-08 04:21:51,098 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', 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=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40)
2023-12-08 04:21:51,099 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', 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=18000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40)
2023-12-08 04:21:51,100 - {control.data:245} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=3), pv_charging=PvCharging(bat_prio=True, charging_power_reserve=200, control_range=[-230, 230], feed_in_yield=15000, phase_switch_delay=15, phases_to_use=0, rundown_power=1000, rundown_soc=25, switch_off_delay=60, switch_off_soc=25, switch_off_threshold=50, switch_on_delay=30, switch_on_soc=50, switch_on_threshold=1400), scheduled_charging=ScheduledCharging(phases_to_use=0), time_charging=TimeCharging(phases_to_use=3), unbalanced_load_limit=20, unbalanced_load=True), control_interval=10, extern_display_mode='local', extern=False, external_buttons_hw=False, grid_protection_active=False, grid_protection_configured=True, grid_protection_random_stop=0, grid_protection_timestamp='', mqtt_bridge=False, price_kwh=0.3528, range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=True, r1_active=False, r2_active=False))
2023-12-08 04:21:51,101 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2023-12-08 04:21:51,102 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2023-12-08 04:21:51,103 - {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 0x70b62bc8>), led=Led(active=False), rfid=Rfid(active=True))
2023-12-08 04:21:51,104 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=0), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=293628.595, fault_state=0, fault_str='Kein Fehler.', power=0))
2023-12-08 04:21:51,105 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=9500), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=7816178.85, fault_state=0, fault_str='Kein Fehler.', power=-0.0))
2023-12-08 04:21:51,106 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=8109807.444999999, power=0.0))
2023-12-08 04:21:51,107 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2023-11-30 12:30:45 +0100 [285f5a5fb]', 'current_branch': 'Release', 'current_branch_commit': '2023-11-30 12:30:45 +0100 [285f5a5fb]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.2-Patch.1', 'datastore_version': 29, 'lastlivevaluesJson': {'timestamp': 1702005702, 'time': '04:21:42', 'grid': 9.199, 'house-power': 0.242, 'charging-all': 8.957, 'pv-all': -0.0, 'cp1-power': 8.957, 'ev1-soc': 49.0, 'ev2-soc': 73, 'bat-all-power': 0.0, 'bat-all-soc': 19}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2023-12-08 04:21:51,109 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2023-12-08 04:21:51,110 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2023-12-08 04:21:51,111 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2023-12-08 04:21:51,112 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2023-12-08 04:21:51,113 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2023-12-08 04:21:51,114 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2023-12-08 04:21:51,115 - {control.data:253} - {INFO:MainThread} - 

2023-12-08 04:21:51,116 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2023-12-08 04:21:51,118 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2023-12-08 04:21:51,119 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2023-12-08 04:21:51,121 - {control.counter:169} - {DEBUG:MainThread} - Zähler 0: [56.27, 57.01, 56.53]A verbleibende Ströme, 38578.03W verbleibende Leistung
2023-12-08 04:21:51,122 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2023-12-08 04:21:51,124 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2023-12-08 04:21:51,125 - {control.algorithm.filter_chargepoints:117} - {DEBUG:MainThread} - Geordnete Ladepunkte [1]
2023-12-08 04:21:51,126 - {control.algorithm.additional_current:26} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2023-12-08 04:21:51,126 - {control.counter:169} - {DEBUG:MainThread} - Zähler 0: [48.07196637490854, 48.811966374908536, 48.33196637490854]A verbleibende Ströme, 32921.38679868689W verbleibende Leistung
2023-12-08 04:21:51,127 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 14.19803362509146A
2023-12-08 04:21:51,128 - {control.counter:211} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: 0W
2023-12-08 04:21:51,128 - {control.counter:457} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf 0W
2023-12-08 04:21:51,130 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2023-12-08 04:21:51,132 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2023-12-08 04:21:51,133 - {control.chargelog:52} - {DEBUG:MainThread} - imported_since_mode_switch 1675.2900000000373 counter 6928053.22
2023-12-08 04:21:51,136 - {control.process:111} - {INFO:MainThread} - LP1: set current 14.2 A, state CHARGING_ALLOWED
2023-12-08 04:21:51,144 - {modules.common.component_context:24} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:21:51,184 - {control.counter:186} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2023-12-08 04:21:51,415 - {helpermodules.changed_values_handler:120} - {DEBUG:MainThread} - Topic openWB/set/chargepoint/1/control_parameter/required_current, Payload 14.19803362509146, vorherige Payload: 14
2023-12-08 04:21:51,418 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2023-12-08 04:21:55,467 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2023-12-08 04:21:55,468 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2023-12-08 04:22:00,478 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2023-12-08 04:22:00,479 - {root:74} - {INFO:MainThread} - # ***Start*** 
2023-12-08 04:22:00,532 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x715cf340>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x7155e4a8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x715c75f8>}
2023-12-08 04:22:00,533 - {modules.common.component_context:24} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2023-12-08 04:22:00,540 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2023-12-08 04:22:00,541 - {modules.common.component_context:24} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:22:00,544 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2023-12-08 04:22:00,585 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 750
2023-12-08 04:22:00,587 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"cloud":{"connected":false},"input:0":{"id":0,"state":false},"mqtt":{"connected":false},"switch:0":{"id":0, "source":"loopback", "output":false, "apower":0.0, "voltage":241.3, "current":0.000, "aenergy":{"total":1505.625,"by_minute":[0.000,0.000,0.000],"minute_ts":1702005720},"temperature":{"tC":28.8, "tF":83.8}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:22","unixtime":1702005721,"uptime":1365048,"ram_size":248944,"ram_free":144688,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"beta":{"version":"1.1.0-beta2"},"stable":{"version":"1.0.8"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-70},"ws":{"connected":false}}

2023-12-08 04:22:00,589 - {modules.common.simcount._simcount:38} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1702005710.3893387, power=0, imported=0.0, exported=293628.5948715257)
2023-12-08 04:22:00,590 - {modules.common.simcount._calculate:13} - {DEBUG:device1} - time passed: 0.00283336, power1: 0, power2: 0
2023-12-08 04:22:00,590 - {modules.common.simcount._calculate:29} - {DEBUG:device1} - power did not change sign. Total energy: 0
2023-12-08 04:22:00,591 - {modules.common.simcount._simcount:47} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702005720.5894167, power=0, imported=0.0, exported=293628.5948715257)
2023-12-08 04:22:00,592 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:22:00,613 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-9201, -3156, -2978, -3066], Scale 0
2023-12-08 04:22:00,633 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [132, 125, 129], Scale -1
2023-12-08 04:22:00,653 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [24042, 24092, 23932, 0, 0, 0, 0], Scale -2
2023-12-08 04:22:00,676 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4999], Scale -2
2023-12-08 04:22:00,731 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [9879, 9969, 9909], Scale -2
2023-12-08 04:22:00,764 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4870433, 1797042, 2153375, 1456453, 6127558, 2532110, 1863325, 2268560], Scale 0
2023-12-08 04:22:00,765 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[13.200000000000001, 12.5, 12.9], powers=[3156.0, 2978.0, 3066.0], voltages=[240.42000000000002, 240.92000000000002, 239.32], power_factors=[0.9879000000000001, 0.9969, 0.9909], imported=6127558.0, exported=4870433.0, power=9201.0, frequency=49.99)
2023-12-08 04:22:00,771 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2023-12-08 04:22:00,804 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [0], Scale 0
2023-12-08 04:22:00,832 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7789710], Scale 0
2023-12-08 04:22:00,862 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [28, 31, 32], Scale -2
2023-12-08 04:22:00,882 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-5120], Scale -2
2023-12-08 04:22:00,883 - {modules.common.component_state:100} - {DEBUG:device0} - currents sign wrong [0.28, 0.31, 0.32]
2023-12-08 04:22:00,883 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.28, 0.31, 0.32], power=-0.0, exported=7789710.0, dc_power=51.2)
2023-12-08 04:22:00,894 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2023-12-08 04:22:00,963 - {modules.common.simcount._simcount:38} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1702005710.8021414, power=0.0, imported=143333.37604219164, exported=116864.52711090283)
2023-12-08 04:22:00,964 - {modules.common.simcount._calculate:13} - {DEBUG:device0} - time passed: 0.00282251, power1: 0, power2: 0
2023-12-08 04:22:00,964 - {modules.common.simcount._calculate:29} - {DEBUG:device0} - power did not change sign. Total energy: 0
2023-12-08 04:22:00,965 - {modules.common.simcount._simcount:47} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702005720.9631925, power=0.0, imported=143333.37604219164, exported=116864.52711090283)
2023-12-08 04:22:00,971 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=143333.37604219164, exported=116864.52711090283, power=0.0, soc=19.0)
2023-12-08 04:22:00,987 - {modules.common.component_context:24} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2023-12-08 04:22:00,987 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=143333.37604219164, exported=116864.52711090283, power=0.0, soc=19.0)
2023-12-08 04:22:01,023 - {modules.common.component_context:24} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:22:01,024 - {modules.common.component_context:24} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2023-12-08 04:22:01,025 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-0.0, exported=7816178.85, dc_power=None)
2023-12-08 04:22:01,025 - {modules.common.component_context:24} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2023-12-08 04:22:01,026 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-0.0, exported=7816178.85, dc_power=None)
2023-12-08 04:22:01,026 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:22:01,028 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:22:01,069 - {modules.common.component_context:24} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2023-12-08 04:22:01,070 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[13.200000000000001, 12.5, 12.9], powers=[3156.0, 2978.0, 3066.0], voltages=[240.42000000000002, 240.92000000000002, 239.32], power_factors=[0.9879000000000001, 0.9969, 0.9909], imported=6127558.0, exported=4870433.0, power=9201.0, frequency=49.99)
2023-12-08 04:22:01,137 - {helpermodules.changed_values_handler:120} - {DEBUG:MainThread} - Topic openWB/set/chargepoint/1/control_parameter/required_current, Payload 14.19803362509146, vorherige Payload: 14
2023-12-08 04:22:01,252 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2023-12-08 04:22:01,253 - {control.bat_all:173} - {INFO:MainThread} - -50W verbleibende Speicher-Leistung
2023-12-08 04:22:01,256 - {control.counter:138} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [62.32, 62.87, 62.54]A
2023-12-08 04:22:01,257 - {control.counter:161} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 42744.31W
2023-12-08 04:22:01,259 - {control.chargepoint.chargepoint:699} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2023-12-08 04:22:01,260 - {control.chargepoint.chargepoint:682} - {DEBUG:MainThread} - Phasenzahl Lademodus: 3
2023-12-08 04:22:01,262 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -76.541576s, Dauer 1.320910973084886h, Termin heute verpasst: False
2023-12-08 04:22:01,264 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 90646.438285s, Dauer 0.12008281573498965h, Termin heute verpasst: False
2023-12-08 04:22:01,264 - {control.ev:762} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2023-12-08 04:22:01,274 - {control.chargepoint.chargepoint:898} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 14.229032290479866A, Lademodus scheduled_charging, Submodus: Chargemode.INSTANT_CHARGING, Phasen: 3, Priorität: False, max. Ist-Strom: 12.52
2023-12-08 04:22:01,285 - {control.chargepoint.chargepoint:277} - {INFO:MainThread} - LP 1: Zielladen mit 14.23A. Der Ladestrom wurde erhöht, um den Zieltermin zu erreichen. Es wird bis max. 20 Minuten nach dem angegebenen Zieltermin geladen.
2023-12-08 04:22:01,294 - {modules.common.simcount._simcount:38} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1702005711.073022, power=281.96999999999935, imported=2374440.503884321, exported=0)
2023-12-08 04:22:01,296 - {modules.common.simcount._calculate:13} - {DEBUG:MainThread} - time passed: 0.00283927, power1: 281.97, power2: 255.69
2023-12-08 04:22:01,298 - {modules.common.simcount._calculate:29} - {DEBUG:MainThread} - power did not change sign. Total energy: 0.76328
2023-12-08 04:22:01,299 - {modules.common.simcount._simcount:47} - {DEBUG:MainThread} - imported: 0.76328 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702005721.2943802, power=255.6900000000005, imported=2374441.267164252, exported=0)
2023-12-08 04:22:01,302 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=19, daily_exported=0.01, daily_imported=0.0, imported=143333.38, exported=116864.53, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2023-12-08 04:22:01,304 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=19, daily_exported=0.01, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=143333.38, exported=116864.53, power=0.0), set=Set(charging_power_left=-50, switch_on_soc_reached=False))
2023-12-08 04:22:01,305 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=1414.06, daily_exported=0, power=8945.31, imported=6928076.17, exported=0))
2023-12-08 04:22:01,307 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 95%, 06:00 Uhr', imported_at_plan_start=6926377.93, imported_instant_charging=None, limit=None, phases=3, prio=False, required_current=14.229032290479866, required_currents=[14.229032290479866, 14.229032290479866, 14.229032290479866], 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=73), currents=[12.37, 12.44, 12.52], daily_imported=1414.06, daily_exported=0, evse_current=1420, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=6928076.17, phases_in_use=3, plug_state=True, power=8945.31, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Zielladen mit 14.23A. Der Ladestrom wurde erhöht, um den Zieltermin zu erreichen. Es wird bis max. 20 Minuten nach dem angegebenen Zieltermin geladen.', voltages=[241.24, 239.79, 240.77]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=14.2, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', imported_at_mode_switch=6926377.93, imported_at_plugtime=6926377.93, imported_since_mode_switch=1675.2900000000373, imported_since_plugged=1675.2900000000373, range_charged=9.307166666666873, time_charged='0:10', timestamp_start_charging='12/08/2023, 04:11:30'), manual_lock=False, phases_to_use=3, plug_state_prev=True, plug_time='12/07/2023, 13:07:31', required_power=9818.032280431107, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x70b68f58>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB Carport', type='internal_openwb', template=1, connected_phases=3, phase_1=2, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=1))
2023-12-08 04:22:01,309 - {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-12-08 04:22:01,311 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=1, max_current_multi_phases=16, max_current_single_phase=20, name='RFID, 20A, 11kW', rfid_enabling=True, valid_tags=['0003134583', '0003526747', '1655332554', '2585022212', '2585087748'])
2023-12-08 04:22:01,312 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[63, 63, 63], max_total_power=43000), get=Get(powers=[3156.0, 2978.0, 3066.0], currents=[13.2, 12.5, 12.9], voltages=[240.42, 240.92, 239.32], power_factors=[0.99, 1.0, 0.99], unbalanced_load=0, frequency=49.99, daily_exported=0.0, daily_imported=5494.0, imported=6127558.0, exported=4870433.0, fault_state=0, fault_str='Kein Fehler.', power=9201.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=42744.31, raw_currents_left=[62.32, 62.87, 62.54], surplus_power_left=0, state_str=''))
2023-12-08 04:22:01,314 - {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': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=255.6900000000005, invalid_home_consumption=0, daily_yield_home_consumption=5616.0662186546, imported_home_consumption=2374441.267164252, disengageable_smarthome_power=0))
2023-12-08 04:22:01,315 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2023-12-08 04:22:01,317 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Ladeprofil ***AUTO1***', disable_after_unplug=False, prio=False, load_default=True, time_charging=TimeCharging(active=True, plans={'0': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[True, True, True, True, False, False, True]), time=['22:00', '06:00'], name='Zeitladen 95%, So-Do 22:00-06:00 Uhr', current=16, limit=Limit(selected='soc', amount=1000, soc=95)), '1': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, True, True, False]), time=['22:00', '06:00'], name='Zeitladen 80%, Fr-Sa 22:00-06:00 Uhr', current=16, limit=Limit(selected='soc', amount=1000, soc=80))}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2023-12-08 04:22:01,319 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, time_charging=TimeCharging(active=True, plans={'2': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), time=['06:45', '07:00'], name='Klima 06:45-07:00 Uhr', current=6, limit=Limit(selected='none', amount=1000, soc=50)), '3': TimeChargingPlan(active=True, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, False, False, False]), time=['00:00', '23:55'], name='Immer 35%', current=10, limit=Limit(selected='soc', amount=1000, soc=35))}), chargemode=Chargemode(selected='scheduled_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={'0': ScheduledChargingPlan(active=False, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, True, False, False, False, False, False]), current=14, name='Zielladen 80%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '1': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), current=14, name='Zielladen 95%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=95), time='05:40'), '2': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once='2023-09-26', weekly=[True, False, False, True, False, True, True]), current=14, name='Zielladen 75%, 7:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=75), time='05:40')}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=80))))
2023-12-08 04:22:01,320 - {control.data:266} - {INFO:MainThread} - ev0
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=['0003134583'], get=Get(soc=0, soc_timestamp=None, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:22:01,322 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Tesla Model Y (2022)', 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=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212', '2585087748'], get=Get(soc=49.0, soc_timestamp='12/08/2023, 01:29:15', force_soc_update=False, range=220.74, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:22:01,324 - {control.data:266} - {INFO:MainThread} - ev2
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Cupra Born 58kW', 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=18000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=2, ev_template=2, name='***AUTO2***', tag_id=['1655332554'], get=Get(soc=73, soc_timestamp='12/08/2023, 04:21:40', force_soc_update=False, range=210, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:22:01,326 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40)
2023-12-08 04:22:01,327 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', 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=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40)
2023-12-08 04:22:01,328 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', 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=18000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40)
2023-12-08 04:22:01,329 - {control.data:245} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=3), pv_charging=PvCharging(bat_prio=True, charging_power_reserve=200, control_range=[-230, 230], feed_in_yield=15000, phase_switch_delay=15, phases_to_use=0, rundown_power=1000, rundown_soc=25, switch_off_delay=60, switch_off_soc=25, switch_off_threshold=50, switch_on_delay=30, switch_on_soc=50, switch_on_threshold=1400), scheduled_charging=ScheduledCharging(phases_to_use=0), time_charging=TimeCharging(phases_to_use=3), unbalanced_load_limit=20, unbalanced_load=True), control_interval=10, extern_display_mode='local', extern=False, external_buttons_hw=False, grid_protection_active=False, grid_protection_configured=True, grid_protection_random_stop=0, grid_protection_timestamp='', mqtt_bridge=False, price_kwh=0.3528, range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=True, r1_active=False, r2_active=False))
2023-12-08 04:22:01,332 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2023-12-08 04:22:01,333 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2023-12-08 04:22:01,335 - {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 0x70bebb80>), led=Led(active=False), rfid=Rfid(active=True))
2023-12-08 04:22:01,337 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=0), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=293628.595, fault_state=0, fault_str='Kein Fehler.', power=0))
2023-12-08 04:22:01,339 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=9500), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=7816178.85, fault_state=0, fault_str='Kein Fehler.', power=-0.0))
2023-12-08 04:22:01,340 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=8109807.444999999, power=0.0))
2023-12-08 04:22:01,341 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2023-11-30 12:30:45 +0100 [285f5a5fb]', 'current_branch': 'Release', 'current_branch_commit': '2023-11-30 12:30:45 +0100 [285f5a5fb]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.2-Patch.1', 'datastore_version': 29, 'lastlivevaluesJson': {'timestamp': 1702005711, 'time': '04:21:51', 'grid': 9.227, 'house-power': 0.282, 'charging-all': 8.945, 'pv-all': -0.0, 'cp1-power': 8.945, 'ev1-soc': 49.0, 'ev2-soc': 73, 'bat-all-power': 0.0, 'bat-all-soc': 19}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2023-12-08 04:22:01,343 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2023-12-08 04:22:01,344 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2023-12-08 04:22:01,345 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2023-12-08 04:22:01,347 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2023-12-08 04:22:01,348 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2023-12-08 04:22:01,349 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2023-12-08 04:22:01,350 - {control.data:253} - {INFO:MainThread} - 

2023-12-08 04:22:01,350 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2023-12-08 04:22:01,352 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2023-12-08 04:22:01,354 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2023-12-08 04:22:01,355 - {control.counter:169} - {DEBUG:MainThread} - Zähler 0: [56.32, 56.87, 56.54]A verbleibende Ströme, 38604.31W verbleibende Leistung
2023-12-08 04:22:01,356 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2023-12-08 04:22:01,359 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2023-12-08 04:22:01,361 - {control.algorithm.filter_chargepoints:117} - {DEBUG:MainThread} - Geordnete Ladepunkte [1]
2023-12-08 04:22:01,362 - {control.algorithm.additional_current:26} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2023-12-08 04:22:01,363 - {control.counter:169} - {DEBUG:MainThread} - Zähler 0: [48.090967709520136, 48.64096770952013, 48.310967709520135]A verbleibende Ströme, 32926.27771956889W verbleibende Leistung
2023-12-08 04:22:01,364 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 14.229032290479866A
2023-12-08 04:22:01,367 - {control.counter:211} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: 0W
2023-12-08 04:22:01,369 - {control.counter:457} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf 0W
2023-12-08 04:22:01,371 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2023-12-08 04:22:01,371 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2023-12-08 04:22:01,376 - {control.chargelog:52} - {DEBUG:MainThread} - imported_since_mode_switch 1698.2400000002235 counter 6928076.17
2023-12-08 04:22:01,379 - {control.process:111} - {INFO:MainThread} - LP1: set current 14.23 A, state CHARGING_ALLOWED
2023-12-08 04:22:01,381 - {modules.common.component_context:24} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:22:01,396 - {control.counter:186} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2023-12-08 04:22:01,774 - {helpermodules.changed_values_handler:120} - {DEBUG:MainThread} - Topic openWB/set/chargepoint/1/control_parameter/required_current, Payload 14.229032290479866, vorherige Payload: 14.19803362509146
2023-12-08 04:22:01,777 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2023-12-08 04:22:01,818 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2023-12-08 04:22:05,828 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2023-12-08 04:22:10,839 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2023-12-08 04:22:10,840 - {root:74} - {INFO:MainThread} - # ***Start*** 
2023-12-08 04:22:10,898 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x715cf340>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x7155e4a8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x715c75f8>}
2023-12-08 04:22:10,903 - {modules.common.component_context:24} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2023-12-08 04:22:10,922 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2023-12-08 04:22:10,924 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2023-12-08 04:22:10,926 - {modules.common.component_context:24} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:22:10,977 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 750
2023-12-08 04:22:10,980 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"cloud":{"connected":false},"input:0":{"id":0,"state":false},"mqtt":{"connected":false},"switch:0":{"id":0, "source":"loopback", "output":false, "apower":0.0, "voltage":241.2, "current":0.000, "aenergy":{"total":1505.625,"by_minute":[0.000,0.000,0.000],"minute_ts":1702005730},"temperature":{"tC":28.9, "tF":84.0}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:22","unixtime":1702005731,"uptime":1365059,"ram_size":248932,"ram_free":144536,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"beta":{"version":"1.1.0-beta2"},"stable":{"version":"1.0.8"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-68},"ws":{"connected":false}}

2023-12-08 04:22:10,985 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-9234, -3133, -2982, -3118], Scale 0
2023-12-08 04:22:10,988 - {modules.common.simcount._simcount:38} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1702005720.5894167, power=0, imported=0.0, exported=293628.5948715257)
2023-12-08 04:22:10,994 - {modules.common.simcount._calculate:13} - {DEBUG:device1} - time passed: 0.0028887, power1: 0, power2: 0
2023-12-08 04:22:11,003 - {modules.common.simcount._calculate:29} - {DEBUG:device1} - power did not change sign. Total energy: 0
2023-12-08 04:22:11,007 - {modules.common.simcount._simcount:47} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702005730.9887214, power=0, imported=0.0, exported=293628.5948715257)
2023-12-08 04:22:11,011 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:22:11,021 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [131, 124, 129], Scale -1
2023-12-08 04:22:11,054 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [24040, 24076, 23935, 0, 0, 0, 0], Scale -2
2023-12-08 04:22:11,085 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4999], Scale -2
2023-12-08 04:22:11,106 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [9929, 9919, 9909], Scale -2
2023-12-08 04:22:11,132 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4870433, 1797042, 2153375, 1456453, 6127578, 2532117, 1863332, 2268567], Scale 0
2023-12-08 04:22:11,135 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[13.100000000000001, 12.4, 12.9], powers=[3133.0, 2982.0, 3118.0], voltages=[240.4, 240.76, 239.35], power_factors=[0.9929000000000001, 0.9919, 0.9909], imported=6127578.0, exported=4870433.0, power=9234.0, frequency=49.99)
2023-12-08 04:22:11,137 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2023-12-08 04:22:11,154 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [0], Scale 0
2023-12-08 04:22:11,177 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7789710], Scale 0
2023-12-08 04:22:11,195 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [28, 30, 32], Scale -2
2023-12-08 04:22:11,264 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4807], Scale -2
2023-12-08 04:22:11,264 - {modules.common.component_state:100} - {DEBUG:device0} - currents sign wrong [0.28, 0.3, 0.32]
2023-12-08 04:22:11,265 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.28, 0.3, 0.32], power=-0.0, exported=7789710.0, dc_power=48.07)
2023-12-08 04:22:11,266 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2023-12-08 04:22:11,346 - {modules.common.simcount._simcount:38} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1702005720.9631925, power=0.0, imported=143333.37604219164, exported=116864.52711090283)
2023-12-08 04:22:11,347 - {modules.common.simcount._calculate:13} - {DEBUG:device0} - time passed: 0.00288426, power1: 0, power2: 0
2023-12-08 04:22:11,347 - {modules.common.simcount._calculate:29} - {DEBUG:device0} - power did not change sign. Total energy: 0
2023-12-08 04:22:11,348 - {modules.common.simcount._simcount:47} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702005731.346543, power=0.0, imported=143333.37604219164, exported=116864.52711090283)
2023-12-08 04:22:11,349 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=143333.37604219164, exported=116864.52711090283, power=0.0, soc=19.0)
2023-12-08 04:22:11,354 - {modules.common.component_context:24} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2023-12-08 04:22:11,368 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=143333.37604219164, exported=116864.52711090283, power=0.0, soc=19.0)
2023-12-08 04:22:11,399 - {modules.common.component_context:24} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:22:11,400 - {modules.common.component_context:24} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2023-12-08 04:22:11,401 - {modules.common.component_context:24} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2023-12-08 04:22:11,401 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-0.0, exported=7816178.85, dc_power=None)
2023-12-08 04:22:11,402 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:22:11,403 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-0.0, exported=7816178.85, dc_power=None)
2023-12-08 04:22:11,403 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:22:11,442 - {modules.common.component_context:24} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2023-12-08 04:22:11,442 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[13.100000000000001, 12.4, 12.9], powers=[3133.0, 2982.0, 3118.0], voltages=[240.4, 240.76, 239.35], power_factors=[0.9929000000000001, 0.9919, 0.9909], imported=6127578.0, exported=4870433.0, power=9234.0, frequency=49.99)
2023-12-08 04:22:11,501 - {helpermodules.changed_values_handler:120} - {DEBUG:MainThread} - Topic openWB/set/chargepoint/1/control_parameter/required_current, Payload 14.229032290479866, vorherige Payload: 14.19803362509146
2023-12-08 04:22:11,611 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2023-12-08 04:22:11,613 - {control.bat_all:173} - {INFO:MainThread} - -50W verbleibende Speicher-Leistung
2023-12-08 04:22:11,618 - {control.counter:138} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [62.22, 62.97, 62.58]A
2023-12-08 04:22:11,620 - {control.counter:161} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 42689.69W
2023-12-08 04:22:11,622 - {control.chargepoint.chargepoint:699} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2023-12-08 04:22:11,623 - {control.chargepoint.chargepoint:682} - {DEBUG:MainThread} - Phasenzahl Lademodus: 3
2023-12-08 04:22:11,625 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -86.904665s, Dauer 1.320910973084886h, Termin heute verpasst: False
2023-12-08 04:22:11,627 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 90636.074955s, Dauer 0.12008281573498965h, Termin heute verpasst: False
2023-12-08 04:22:11,629 - {control.ev:762} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2023-12-08 04:22:11,632 - {control.chargepoint.chargepoint:898} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 14.260618599018438A, Lademodus scheduled_charging, Submodus: Chargemode.INSTANT_CHARGING, Phasen: 3, Priorität: False, max. Ist-Strom: 12.48
2023-12-08 04:22:11,633 - {control.chargepoint.chargepoint:277} - {INFO:MainThread} - LP 1: Zielladen mit 14.26A. Der Ladestrom wurde erhöht, um den Zieltermin zu erreichen. Es wird bis max. 20 Minuten nach dem angegebenen Zieltermin geladen.
2023-12-08 04:22:11,653 - {modules.common.simcount._simcount:38} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1702005721.2943802, power=255.6900000000005, imported=2374441.267164252, exported=0)
2023-12-08 04:22:11,656 - {modules.common.simcount._calculate:13} - {DEBUG:MainThread} - time passed: 0.00287738, power1: 255.69, power2: 310.31
2023-12-08 04:22:11,657 - {modules.common.simcount._calculate:29} - {DEBUG:MainThread} - power did not change sign. Total energy: 0.814299
2023-12-08 04:22:11,659 - {modules.common.simcount._simcount:47} - {DEBUG:MainThread} - imported: 0.814299 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702005731.6529508, power=310.3099999999995, imported=2374442.0814629947, exported=0)
2023-12-08 04:22:11,677 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=19, daily_exported=0.01, daily_imported=0.0, imported=143333.38, exported=116864.53, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2023-12-08 04:22:11,678 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=19, daily_exported=0.01, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=143333.38, exported=116864.53, power=0.0), set=Set(charging_power_left=-50, switch_on_soc_reached=False))
2023-12-08 04:22:11,680 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=1414.06, daily_exported=0, power=8923.69, imported=6928104.0, exported=0))
2023-12-08 04:22:11,681 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 95%, 06:00 Uhr', imported_at_plan_start=6926377.93, imported_instant_charging=None, limit=None, phases=3, prio=False, required_current=14.260618599018438, required_currents=[14.260618599018438, 14.260618599018438, 14.260618599018438], 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=73), currents=[12.37, 12.48, 12.32], daily_imported=1414.06, daily_exported=0, evse_current=1423, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=6928104.0, phases_in_use=3, plug_state=True, power=8923.69, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Zielladen mit 14.26A. Der Ladestrom wurde erhöht, um den Zieltermin zu erreichen. Es wird bis max. 20 Minuten nach dem angegebenen Zieltermin geladen.', voltages=[241.04, 239.64, 240.69]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=14.23, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', imported_at_mode_switch=6926377.93, imported_at_plugtime=6926377.93, imported_since_mode_switch=1698.2400000002235, imported_since_plugged=1698.2400000002235, range_charged=9.434666666667908, time_charged='0:10', timestamp_start_charging='12/08/2023, 04:11:30'), manual_lock=False, phases_to_use=3, plug_state_prev=True, plug_time='12/07/2023, 13:07:31', required_power=9839.826833322722, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x715c7af0>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB Carport', type='internal_openwb', template=1, connected_phases=3, phase_1=2, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=1))
2023-12-08 04:22:11,682 - {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-12-08 04:22:11,683 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=1, max_current_multi_phases=16, max_current_single_phase=20, name='RFID, 20A, 11kW', rfid_enabling=True, valid_tags=['0003134583', '0003526747', '1655332554', '2585022212', '2585087748'])
2023-12-08 04:22:11,684 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[63, 63, 63], max_total_power=43000), get=Get(powers=[3133.0, 2982.0, 3118.0], currents=[13.1, 12.4, 12.9], voltages=[240.4, 240.76, 239.35], power_factors=[0.99, 0.99, 0.99], unbalanced_load=0, frequency=49.99, daily_exported=0.0, daily_imported=5494.0, imported=6127578.0, exported=4870433.0, fault_state=0, fault_str='Kein Fehler.', power=9234.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=42689.69, raw_currents_left=[62.22, 62.97, 62.58], surplus_power_left=0, state_str=''))
2023-12-08 04:22:11,684 - {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': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=310.3099999999995, invalid_home_consumption=0, daily_yield_home_consumption=5616.0662186546, imported_home_consumption=2374442.0814629947, disengageable_smarthome_power=0))
2023-12-08 04:22:11,685 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2023-12-08 04:22:11,686 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Ladeprofil ***AUTO1***', disable_after_unplug=False, prio=False, load_default=True, time_charging=TimeCharging(active=True, plans={'0': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[True, True, True, True, False, False, True]), time=['22:00', '06:00'], name='Zeitladen 95%, So-Do 22:00-06:00 Uhr', current=16, limit=Limit(selected='soc', amount=1000, soc=95)), '1': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, True, True, False]), time=['22:00', '06:00'], name='Zeitladen 80%, Fr-Sa 22:00-06:00 Uhr', current=16, limit=Limit(selected='soc', amount=1000, soc=80))}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2023-12-08 04:22:11,687 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, time_charging=TimeCharging(active=True, plans={'2': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), time=['06:45', '07:00'], name='Klima 06:45-07:00 Uhr', current=6, limit=Limit(selected='none', amount=1000, soc=50)), '3': TimeChargingPlan(active=True, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, False, False, False]), time=['00:00', '23:55'], name='Immer 35%', current=10, limit=Limit(selected='soc', amount=1000, soc=35))}), chargemode=Chargemode(selected='scheduled_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={'0': ScheduledChargingPlan(active=False, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, True, False, False, False, False, False]), current=14, name='Zielladen 80%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '1': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), current=14, name='Zielladen 95%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=95), time='05:40'), '2': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once='2023-09-26', weekly=[True, False, False, True, False, True, True]), current=14, name='Zielladen 75%, 7:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=75), time='05:40')}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=80))))
2023-12-08 04:22:11,688 - {control.data:266} - {INFO:MainThread} - ev0
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=['0003134583'], get=Get(soc=0, soc_timestamp=None, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:22:11,688 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Tesla Model Y (2022)', 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=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212', '2585087748'], get=Get(soc=49.0, soc_timestamp='12/08/2023, 01:29:15', force_soc_update=False, range=220.74, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:22:11,692 - {control.data:266} - {INFO:MainThread} - ev2
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Cupra Born 58kW', 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=18000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=2, ev_template=2, name='***AUTO2***', tag_id=['1655332554'], get=Get(soc=73, soc_timestamp='12/08/2023, 04:21:40', force_soc_update=False, range=210, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:22:11,694 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40)
2023-12-08 04:22:11,696 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', 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=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40)
2023-12-08 04:22:11,696 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', 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=18000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40)
2023-12-08 04:22:11,700 - {control.data:245} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=3), pv_charging=PvCharging(bat_prio=True, charging_power_reserve=200, control_range=[-230, 230], feed_in_yield=15000, phase_switch_delay=15, phases_to_use=0, rundown_power=1000, rundown_soc=25, switch_off_delay=60, switch_off_soc=25, switch_off_threshold=50, switch_on_delay=30, switch_on_soc=50, switch_on_threshold=1400), scheduled_charging=ScheduledCharging(phases_to_use=0), time_charging=TimeCharging(phases_to_use=3), unbalanced_load_limit=20, unbalanced_load=True), control_interval=10, extern_display_mode='local', extern=False, external_buttons_hw=False, grid_protection_active=False, grid_protection_configured=True, grid_protection_random_stop=0, grid_protection_timestamp='', mqtt_bridge=False, price_kwh=0.3528, range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=True, r1_active=False, r2_active=False))
2023-12-08 04:22:11,702 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2023-12-08 04:22:11,704 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2023-12-08 04:22:11,706 - {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 0x70bef040>), led=Led(active=False), rfid=Rfid(active=True))
2023-12-08 04:22:11,708 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=0), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=293628.595, fault_state=0, fault_str='Kein Fehler.', power=0))
2023-12-08 04:22:11,720 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=9500), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=7816178.85, fault_state=0, fault_str='Kein Fehler.', power=-0.0))
2023-12-08 04:22:11,721 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=8109807.444999999, power=0.0))
2023-12-08 04:22:11,722 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2023-11-30 12:30:45 +0100 [285f5a5fb]', 'current_branch': 'Release', 'current_branch_commit': '2023-11-30 12:30:45 +0100 [285f5a5fb]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.2-Patch.1', 'datastore_version': 29, 'lastlivevaluesJson': {'timestamp': 1702005721, 'time': '04:22:01', 'grid': 9.201, 'house-power': 0.256, 'charging-all': 8.945, 'pv-all': -0.0, 'cp1-power': 8.945, 'ev1-soc': 49.0, 'ev2-soc': 73, 'bat-all-power': 0.0, 'bat-all-soc': 19}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2023-12-08 04:22:11,726 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2023-12-08 04:22:11,727 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2023-12-08 04:22:11,728 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2023-12-08 04:22:11,728 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2023-12-08 04:22:11,729 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2023-12-08 04:22:11,730 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2023-12-08 04:22:11,732 - {control.data:253} - {INFO:MainThread} - 

2023-12-08 04:22:11,733 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2023-12-08 04:22:11,737 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2023-12-08 04:22:11,739 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2023-12-08 04:22:11,741 - {control.counter:169} - {DEBUG:MainThread} - Zähler 0: [56.22, 56.97, 56.58]A verbleibende Ströme, 38549.69W verbleibende Leistung
2023-12-08 04:22:11,750 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2023-12-08 04:22:11,754 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2023-12-08 04:22:11,756 - {control.algorithm.filter_chargepoints:117} - {DEBUG:MainThread} - Geordnete Ladepunkte [1]
2023-12-08 04:22:11,757 - {control.algorithm.additional_current:26} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2023-12-08 04:22:11,759 - {control.counter:169} - {DEBUG:MainThread} - Zähler 0: [47.95938140098156, 48.70938140098156, 48.31938140098156]A verbleibende Ströme, 32849.86316667728W verbleibende Leistung
2023-12-08 04:22:11,760 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 14.260618599018438A
2023-12-08 04:22:11,762 - {control.counter:211} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: 0W
2023-12-08 04:22:11,763 - {control.counter:457} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf 0W
2023-12-08 04:22:11,764 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2023-12-08 04:22:11,766 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2023-12-08 04:22:11,769 - {control.chargelog:52} - {DEBUG:MainThread} - imported_since_mode_switch 1726.070000000298 counter 6928104.0
2023-12-08 04:22:11,776 - {control.process:111} - {INFO:MainThread} - LP1: set current 14.26 A, state CHARGING_ALLOWED
2023-12-08 04:22:11,789 - {modules.common.component_context:24} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:22:11,837 - {control.counter:186} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2023-12-08 04:22:12,035 - {helpermodules.changed_values_handler:120} - {DEBUG:MainThread} - Topic openWB/set/chargepoint/1/control_parameter/required_current, Payload 14.260618599018438, vorherige Payload: 14.229032290479866
2023-12-08 04:22:12,041 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2023-12-08 04:22:12,060 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2023-12-08 04:22:15,069 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2023-12-08 04:22:15,070 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2023-12-08 04:22:20,079 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2023-12-08 04:22:20,080 - {root:74} - {INFO:MainThread} - # ***Start*** 
2023-12-08 04:22:20,119 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x715cf340>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x7155e4a8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x715c75f8>}
2023-12-08 04:22:20,120 - {modules.common.component_context:24} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2023-12-08 04:22:20,121 - {modules.common.component_context:24} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:22:20,127 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2023-12-08 04:22:20,131 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2023-12-08 04:22:20,177 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 750
2023-12-08 04:22:20,179 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"cloud":{"connected":false},"input:0":{"id":0,"state":false},"mqtt":{"connected":false},"switch:0":{"id":0, "source":"loopback", "output":false, "apower":0.0, "voltage":241.1, "current":0.000, "aenergy":{"total":1505.625,"by_minute":[0.000,0.000,0.000],"minute_ts":1702005739},"temperature":{"tC":28.9, "tF":84.1}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:22","unixtime":1702005740,"uptime":1365068,"ram_size":248996,"ram_free":145260,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"beta":{"version":"1.1.0-beta2"},"stable":{"version":"1.0.8"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-68},"ws":{"connected":false}}

2023-12-08 04:22:20,181 - {modules.common.simcount._simcount:38} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1702005730.9887214, power=0, imported=0.0, exported=293628.5948715257)
2023-12-08 04:22:20,182 - {modules.common.simcount._calculate:13} - {DEBUG:device1} - time passed: 0.00255359, power1: 0, power2: 0
2023-12-08 04:22:20,182 - {modules.common.simcount._calculate:29} - {DEBUG:device1} - power did not change sign. Total energy: 0
2023-12-08 04:22:20,183 - {modules.common.simcount._simcount:47} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702005740.1816387, power=0, imported=0.0, exported=293628.5948715257)
2023-12-08 04:22:20,184 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:22:20,193 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-9139, -3128, -2937, -3072], Scale 0
2023-12-08 04:22:20,212 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [132, 124, 130], Scale -1
2023-12-08 04:22:20,233 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [24023, 24072, 23922, 0, 0, 0, 0], Scale -2
2023-12-08 04:22:20,354 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4999], Scale -2
2023-12-08 04:22:20,382 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [9890, 9940, 9919], Scale -2
2023-12-08 04:22:20,405 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4870433, 1797042, 2153375, 1456453, 6127619, 2532131, 1863345, 2268580], Scale 0
2023-12-08 04:22:20,406 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[13.200000000000001, 12.4, 13.0], powers=[3128.0, 2937.0, 3072.0], voltages=[240.23000000000002, 240.72, 239.22], power_factors=[0.9890000000000001, 0.9940000000000001, 0.9919], imported=6127619.0, exported=4870433.0, power=9139.0, frequency=49.99)
2023-12-08 04:22:20,410 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2023-12-08 04:22:20,434 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [0], Scale 0
2023-12-08 04:22:20,453 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7789710], Scale 0
2023-12-08 04:22:20,473 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [30, 32, 33], Scale -2
2023-12-08 04:22:20,535 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4818], Scale -2
2023-12-08 04:22:20,536 - {modules.common.component_state:100} - {DEBUG:device0} - currents sign wrong [0.3, 0.32, 0.33]
2023-12-08 04:22:20,536 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.3, 0.32, 0.33], power=-0.0, exported=7789710.0, dc_power=48.18)
2023-12-08 04:22:20,538 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2023-12-08 04:22:20,593 - {modules.common.simcount._simcount:38} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1702005731.346543, power=0.0, imported=143333.37604219164, exported=116864.52711090283)
2023-12-08 04:22:20,594 - {modules.common.simcount._calculate:13} - {DEBUG:device0} - time passed: 0.00256861, power1: 0, power2: 0
2023-12-08 04:22:20,594 - {modules.common.simcount._calculate:29} - {DEBUG:device0} - power did not change sign. Total energy: 0
2023-12-08 04:22:20,594 - {modules.common.simcount._simcount:47} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702005740.5935233, power=0.0, imported=143333.37604219164, exported=116864.52711090283)
2023-12-08 04:22:20,595 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=143333.37604219164, exported=116864.52711090283, power=0.0, soc=19.0)
2023-12-08 04:22:20,598 - {modules.common.component_context:24} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2023-12-08 04:22:20,599 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=143333.37604219164, exported=116864.52711090283, power=0.0, soc=19.0)
2023-12-08 04:22:20,637 - {modules.common.component_context:24} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:22:20,638 - {modules.common.component_context:24} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2023-12-08 04:22:20,639 - {modules.common.component_context:24} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2023-12-08 04:22:20,639 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-0.0, exported=7816178.85, dc_power=None)
2023-12-08 04:22:20,640 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:22:20,640 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-0.0, exported=7816178.85, dc_power=None)
2023-12-08 04:22:20,641 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:22:20,678 - {modules.common.component_context:24} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2023-12-08 04:22:20,679 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[13.200000000000001, 12.4, 13.0], powers=[3128.0, 2937.0, 3072.0], voltages=[240.23000000000002, 240.72, 239.22], power_factors=[0.9890000000000001, 0.9940000000000001, 0.9919], imported=6127619.0, exported=4870433.0, power=9139.0, frequency=49.99)
2023-12-08 04:22:20,731 - {helpermodules.changed_values_handler:120} - {DEBUG:MainThread} - Topic openWB/set/chargepoint/1/control_parameter/required_current, Payload 14.260618599018438, vorherige Payload: 14.229032290479866
2023-12-08 04:22:20,823 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2023-12-08 04:22:20,824 - {control.bat_all:173} - {INFO:MainThread} - -50W verbleibende Speicher-Leistung
2023-12-08 04:22:20,827 - {control.counter:138} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [61.95, 62.79, 62.29]A
2023-12-08 04:22:20,828 - {control.counter:161} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 42737.979999999996W
2023-12-08 04:22:20,830 - {control.chargepoint.chargepoint:699} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2023-12-08 04:22:20,833 - {control.chargepoint.chargepoint:682} - {DEBUG:MainThread} - Phasenzahl Lademodus: 3
2023-12-08 04:22:20,834 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -96.11306s, Dauer 1.320910973084886h, Termin heute verpasst: False
2023-12-08 04:22:20,836 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 90626.866135s, Dauer 0.12008281573498965h, Termin heute verpasst: False
2023-12-08 04:22:20,837 - {control.ev:762} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2023-12-08 04:22:20,855 - {control.chargepoint.chargepoint:898} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 14.288803342063717A, Lademodus scheduled_charging, Submodus: Chargemode.INSTANT_CHARGING, Phasen: 3, Priorität: False, max. Ist-Strom: 12.29
2023-12-08 04:22:20,858 - {control.chargepoint.chargepoint:277} - {INFO:MainThread} - LP 1: Zielladen mit 14.29A. Der Ladestrom wurde erhöht, um den Zieltermin zu erreichen. Es wird bis max. 20 Minuten nach dem angegebenen Zieltermin geladen.
2023-12-08 04:22:20,863 - {modules.common.simcount._simcount:38} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1702005731.6529508, power=310.3099999999995, imported=2374442.0814629947, exported=0)
2023-12-08 04:22:20,869 - {modules.common.simcount._calculate:13} - {DEBUG:MainThread} - time passed: 0.00255853, power1: 310.31, power2: 262.02
2023-12-08 04:22:20,870 - {modules.common.simcount._calculate:29} - {DEBUG:MainThread} - power did not change sign. Total energy: 0.732162
2023-12-08 04:22:20,871 - {modules.common.simcount._simcount:47} - {DEBUG:MainThread} - imported: 0.732162 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702005740.8636563, power=262.02000000000044, imported=2374442.8136245348, exported=0)
2023-12-08 04:22:20,876 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=19, daily_exported=0.01, daily_imported=0.0, imported=143333.38, exported=116864.53, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2023-12-08 04:22:20,877 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=19, daily_exported=0.01, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=143333.38, exported=116864.53, power=0.0), set=Set(charging_power_left=-50, switch_on_soc_reached=False))
2023-12-08 04:22:20,884 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=1414.06, daily_exported=0, power=8876.98, imported=6928126.95, exported=0))
2023-12-08 04:22:20,890 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 95%, 06:00 Uhr', imported_at_plan_start=6926377.93, imported_instant_charging=None, limit=None, phases=3, prio=False, required_current=14.288803342063717, required_currents=[14.288803342063717, 14.288803342063717, 14.288803342063717], 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=73), currents=[12.19, 12.29, 12.15], daily_imported=1414.06, daily_exported=0, evse_current=1426, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=6928126.95, phases_in_use=3, plug_state=True, power=8876.98, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Zielladen mit 14.29A. Der Ladestrom wurde erhöht, um den Zieltermin zu erreichen. Es wird bis max. 20 Minuten nach dem angegebenen Zieltermin geladen.', voltages=[241.14, 239.62, 240.77]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=14.26, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', imported_at_mode_switch=6926377.93, imported_at_plugtime=6926377.93, imported_since_mode_switch=1726.070000000298, imported_since_plugged=1726.070000000298, range_charged=9.589277777779435, time_charged='0:10', timestamp_start_charging='12/08/2023, 04:11:30'), manual_lock=False, phases_to_use=3, plug_state_prev=True, plug_time='12/07/2023, 13:07:31', required_power=9859.274306023966, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x70b620d0>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB Carport', type='internal_openwb', template=1, connected_phases=3, phase_1=2, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=1))
2023-12-08 04:22:20,893 - {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-12-08 04:22:20,894 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=1, max_current_multi_phases=16, max_current_single_phase=20, name='RFID, 20A, 11kW', rfid_enabling=True, valid_tags=['0003134583', '0003526747', '1655332554', '2585022212', '2585087748'])
2023-12-08 04:22:20,895 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[63, 63, 63], max_total_power=43000), get=Get(powers=[3128.0, 2937.0, 3072.0], currents=[13.2, 12.4, 13.0], voltages=[240.23, 240.72, 239.22], power_factors=[0.99, 0.99, 0.99], unbalanced_load=0, frequency=49.99, daily_exported=0.0, daily_imported=5494.0, imported=6127619.0, exported=4870433.0, fault_state=0, fault_str='Kein Fehler.', power=9139.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=42737.979999999996, raw_currents_left=[61.95, 62.79, 62.29], surplus_power_left=0, state_str=''))
2023-12-08 04:22:20,896 - {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': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=262.02000000000044, invalid_home_consumption=0, daily_yield_home_consumption=5616.0662186546, imported_home_consumption=2374442.8136245348, disengageable_smarthome_power=0))
2023-12-08 04:22:20,897 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2023-12-08 04:22:20,897 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Ladeprofil ***AUTO1***', disable_after_unplug=False, prio=False, load_default=True, time_charging=TimeCharging(active=True, plans={'0': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[True, True, True, True, False, False, True]), time=['22:00', '06:00'], name='Zeitladen 95%, So-Do 22:00-06:00 Uhr', current=16, limit=Limit(selected='soc', amount=1000, soc=95)), '1': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, True, True, False]), time=['22:00', '06:00'], name='Zeitladen 80%, Fr-Sa 22:00-06:00 Uhr', current=16, limit=Limit(selected='soc', amount=1000, soc=80))}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2023-12-08 04:22:20,898 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, time_charging=TimeCharging(active=True, plans={'2': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), time=['06:45', '07:00'], name='Klima 06:45-07:00 Uhr', current=6, limit=Limit(selected='none', amount=1000, soc=50)), '3': TimeChargingPlan(active=True, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, False, False, False]), time=['00:00', '23:55'], name='Immer 35%', current=10, limit=Limit(selected='soc', amount=1000, soc=35))}), chargemode=Chargemode(selected='scheduled_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={'0': ScheduledChargingPlan(active=False, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, True, False, False, False, False, False]), current=14, name='Zielladen 80%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '1': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), current=14, name='Zielladen 95%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=95), time='05:40'), '2': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once='2023-09-26', weekly=[True, False, False, True, False, True, True]), current=14, name='Zielladen 75%, 7:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=75), time='05:40')}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=80))))
2023-12-08 04:22:20,898 - {control.data:266} - {INFO:MainThread} - ev0
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=['0003134583'], get=Get(soc=0, soc_timestamp=None, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:22:20,900 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Tesla Model Y (2022)', 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=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212', '2585087748'], get=Get(soc=49.0, soc_timestamp='12/08/2023, 01:29:15', force_soc_update=False, range=220.74, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:22:20,901 - {control.data:266} - {INFO:MainThread} - ev2
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Cupra Born 58kW', 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=18000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=2, ev_template=2, name='***AUTO2***', tag_id=['1655332554'], get=Get(soc=73, soc_timestamp='12/08/2023, 04:21:40', force_soc_update=False, range=210, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:22:20,904 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40)
2023-12-08 04:22:20,906 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', 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=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40)
2023-12-08 04:22:20,908 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', 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=18000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40)
2023-12-08 04:22:20,913 - {control.data:245} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=3), pv_charging=PvCharging(bat_prio=True, charging_power_reserve=200, control_range=[-230, 230], feed_in_yield=15000, phase_switch_delay=15, phases_to_use=0, rundown_power=1000, rundown_soc=25, switch_off_delay=60, switch_off_soc=25, switch_off_threshold=50, switch_on_delay=30, switch_on_soc=50, switch_on_threshold=1400), scheduled_charging=ScheduledCharging(phases_to_use=0), time_charging=TimeCharging(phases_to_use=3), unbalanced_load_limit=20, unbalanced_load=True), control_interval=10, extern_display_mode='local', extern=False, external_buttons_hw=False, grid_protection_active=False, grid_protection_configured=True, grid_protection_random_stop=0, grid_protection_timestamp='', mqtt_bridge=False, price_kwh=0.3528, range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=True, r1_active=False, r2_active=False))
2023-12-08 04:22:20,915 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2023-12-08 04:22:20,917 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2023-12-08 04:22:20,918 - {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 0x71578cb8>), led=Led(active=False), rfid=Rfid(active=True))
2023-12-08 04:22:20,919 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=0), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=293628.595, fault_state=0, fault_str='Kein Fehler.', power=0))
2023-12-08 04:22:20,923 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=9500), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=7816178.85, fault_state=0, fault_str='Kein Fehler.', power=-0.0))
2023-12-08 04:22:20,927 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=8109807.444999999, power=0.0))
2023-12-08 04:22:20,929 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2023-11-30 12:30:45 +0100 [285f5a5fb]', 'current_branch': 'Release', 'current_branch_commit': '2023-11-30 12:30:45 +0100 [285f5a5fb]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.2-Patch.1', 'datastore_version': 29, 'lastlivevaluesJson': {'timestamp': 1702005731, 'time': '04:22:11', 'grid': 9.234, 'house-power': 0.31, 'charging-all': 8.924, 'pv-all': -0.0, 'cp1-power': 8.924, 'ev1-soc': 49.0, 'ev2-soc': 73, 'bat-all-power': 0.0, 'bat-all-soc': 19}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2023-12-08 04:22:20,932 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2023-12-08 04:22:20,933 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2023-12-08 04:22:20,934 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2023-12-08 04:22:20,935 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2023-12-08 04:22:20,936 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2023-12-08 04:22:20,938 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2023-12-08 04:22:20,939 - {control.data:253} - {INFO:MainThread} - 

2023-12-08 04:22:20,940 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2023-12-08 04:22:20,941 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2023-12-08 04:22:20,943 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2023-12-08 04:22:20,945 - {control.counter:169} - {DEBUG:MainThread} - Zähler 0: [55.95, 56.79, 56.29]A verbleibende Ströme, 38597.979999999996W verbleibende Leistung
2023-12-08 04:22:20,946 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2023-12-08 04:22:20,949 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2023-12-08 04:22:20,952 - {control.algorithm.filter_chargepoints:117} - {DEBUG:MainThread} - Geordnete Ladepunkte [1]
2023-12-08 04:22:20,954 - {control.algorithm.additional_current:26} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2023-12-08 04:22:20,957 - {control.counter:169} - {DEBUG:MainThread} - Zähler 0: [47.66119665793629, 48.50119665793628, 48.00119665793628]A verbleibende Ströme, 32878.70569397603W verbleibende Leistung
2023-12-08 04:22:20,958 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 14.288803342063717A
2023-12-08 04:22:20,961 - {control.counter:211} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: 0W
2023-12-08 04:22:20,962 - {control.counter:457} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf 0W
2023-12-08 04:22:20,963 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2023-12-08 04:22:20,964 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2023-12-08 04:22:20,965 - {control.chargelog:52} - {DEBUG:MainThread} - imported_since_mode_switch 1749.0200000004843 counter 6928126.95
2023-12-08 04:22:20,968 - {control.process:111} - {INFO:MainThread} - LP1: set current 14.29 A, state CHARGING_ALLOWED
2023-12-08 04:22:20,970 - {modules.common.component_context:24} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:22:20,995 - {control.counter:186} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2023-12-08 04:22:21,218 - {helpermodules.changed_values_handler:120} - {DEBUG:MainThread} - Topic openWB/set/chargepoint/1/control_parameter/required_current, Payload 14.288803342063717, vorherige Payload: 14.260618599018438
2023-12-08 04:22:21,220 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2023-12-08 04:22:25,250 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2023-12-08 04:22:25,251 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2023-12-08 04:22:30,263 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2023-12-08 04:22:30,264 - {root:74} - {INFO:MainThread} - # ***Start*** 
2023-12-08 04:22:30,309 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x715cf340>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x7155e4a8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x715c75f8>}
2023-12-08 04:22:30,310 - {modules.common.component_context:24} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2023-12-08 04:22:30,318 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2023-12-08 04:22:30,320 - {modules.common.component_context:24} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:22:30,321 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2023-12-08 04:22:30,363 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-9128, -3110, -2951, -3066], Scale 0
2023-12-08 04:22:30,369 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 750
2023-12-08 04:22:30,371 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"cloud":{"connected":false},"input:0":{"id":0,"state":false},"mqtt":{"connected":false},"switch:0":{"id":0, "source":"loopback", "output":false, "apower":0.0, "voltage":241.1, "current":0.000, "aenergy":{"total":1505.625,"by_minute":[0.000,0.000,0.000],"minute_ts":1702005749},"temperature":{"tC":28.9, "tF":84.0}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:22","unixtime":1702005751,"uptime":1365078,"ram_size":248996,"ram_free":145260,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"beta":{"version":"1.1.0-beta2"},"stable":{"version":"1.0.8"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-68},"ws":{"connected":false}}

2023-12-08 04:22:30,374 - {modules.common.simcount._simcount:38} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1702005740.1816387, power=0, imported=0.0, exported=293628.5948715257)
2023-12-08 04:22:30,375 - {modules.common.simcount._calculate:13} - {DEBUG:device1} - time passed: 0.00283126, power1: 0, power2: 0
2023-12-08 04:22:30,375 - {modules.common.simcount._calculate:29} - {DEBUG:device1} - power did not change sign. Total energy: 0
2023-12-08 04:22:30,376 - {modules.common.simcount._simcount:47} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702005750.3741615, power=0, imported=0.0, exported=293628.5948715257)
2023-12-08 04:22:30,378 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:22:30,394 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [130, 124, 127], Scale -1
2023-12-08 04:22:30,463 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [24049, 24078, 23934, 0, 0, 0, 0], Scale -2
2023-12-08 04:22:30,483 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4997], Scale -2
2023-12-08 04:22:30,505 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [9919, 9890, 9940], Scale -2
2023-12-08 04:22:30,542 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4870433, 1797042, 2153375, 1456453, 6127640, 2532138, 1863352, 2268587], Scale 0
2023-12-08 04:22:30,543 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[13.0, 12.4, 12.700000000000001], powers=[3110.0, 2951.0, 3066.0], voltages=[240.49, 240.78, 239.34], power_factors=[0.9919, 0.9890000000000001, 0.9940000000000001], imported=6127640.0, exported=4870433.0, power=9128.0, frequency=49.97)
2023-12-08 04:22:30,546 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2023-12-08 04:22:30,564 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [0], Scale 0
2023-12-08 04:22:30,594 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7789710], Scale 0
2023-12-08 04:22:30,618 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [28, 30, 30], Scale -2
2023-12-08 04:22:30,656 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4740], Scale -2
2023-12-08 04:22:30,657 - {modules.common.component_state:100} - {DEBUG:device0} - currents sign wrong [0.28, 0.3, 0.3]
2023-12-08 04:22:30,658 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.28, 0.3, 0.3], power=-0.0, exported=7789710.0, dc_power=47.4)
2023-12-08 04:22:30,659 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2023-12-08 04:22:30,723 - {modules.common.simcount._simcount:38} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1702005740.5935233, power=0.0, imported=143333.37604219164, exported=116864.52711090283)
2023-12-08 04:22:30,723 - {modules.common.simcount._calculate:13} - {DEBUG:device0} - time passed: 0.00281374, power1: 0, power2: 0
2023-12-08 04:22:30,724 - {modules.common.simcount._calculate:29} - {DEBUG:device0} - power did not change sign. Total energy: 0
2023-12-08 04:22:30,724 - {modules.common.simcount._simcount:47} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702005750.7229908, power=0.0, imported=143333.37604219164, exported=116864.52711090283)
2023-12-08 04:22:30,725 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=143333.37604219164, exported=116864.52711090283, power=0.0, soc=19.0)
2023-12-08 04:22:30,732 - {modules.common.component_context:24} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2023-12-08 04:22:30,733 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=143333.37604219164, exported=116864.52711090283, power=0.0, soc=19.0)
2023-12-08 04:22:30,776 - {modules.common.component_context:24} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:22:30,778 - {modules.common.component_context:24} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2023-12-08 04:22:30,779 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-0.0, exported=7816178.85, dc_power=None)
2023-12-08 04:22:30,780 - {modules.common.component_context:24} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2023-12-08 04:22:30,780 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-0.0, exported=7816178.85, dc_power=None)
2023-12-08 04:22:30,780 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:22:30,782 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:22:30,824 - {modules.common.component_context:24} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2023-12-08 04:22:30,825 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[13.0, 12.4, 12.700000000000001], powers=[3110.0, 2951.0, 3066.0], voltages=[240.49, 240.78, 239.34], power_factors=[0.9919, 0.9890000000000001, 0.9940000000000001], imported=6127640.0, exported=4870433.0, power=9128.0, frequency=49.97)
2023-12-08 04:22:30,891 - {helpermodules.changed_values_handler:120} - {DEBUG:MainThread} - Topic openWB/set/chargepoint/1/control_parameter/required_current, Payload 14.288803342063717, vorherige Payload: 14.260618599018438
2023-12-08 04:22:31,003 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2023-12-08 04:22:31,008 - {control.bat_all:173} - {INFO:MainThread} - -50W verbleibende Speicher-Leistung
2023-12-08 04:22:31,020 - {control.counter:138} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [62.34, 62.82, 62.57]A
2023-12-08 04:22:31,021 - {control.counter:161} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 42713.520000000004W
2023-12-08 04:22:31,030 - {control.chargepoint.chargepoint:699} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2023-12-08 04:22:31,039 - {control.chargepoint.chargepoint:682} - {DEBUG:MainThread} - Phasenzahl Lademodus: 3
2023-12-08 04:22:31,043 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -106.322316s, Dauer 1.320910973084886h, Termin heute verpasst: False
2023-12-08 04:22:31,046 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 90616.655799s, Dauer 0.12008281573498965h, Termin heute verpasst: False
2023-12-08 04:22:31,048 - {control.ev:762} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2023-12-08 04:22:31,079 - {control.chargepoint.chargepoint:898} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 14.320182002993826A, Lademodus scheduled_charging, Submodus: Chargemode.INSTANT_CHARGING, Phasen: 3, Priorität: False, max. Ist-Strom: 12.34
2023-12-08 04:22:31,101 - {control.chargepoint.chargepoint:277} - {INFO:MainThread} - LP 1: Zielladen mit 14.32A. Der Ladestrom wurde erhöht, um den Zieltermin zu erreichen. Es wird bis max. 20 Minuten nach dem angegebenen Zieltermin geladen.
2023-12-08 04:22:31,124 - {modules.common.simcount._simcount:38} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1702005740.8636563, power=262.02000000000044, imported=2374442.8136245348, exported=0)
2023-12-08 04:22:31,144 - {modules.common.simcount._calculate:13} - {DEBUG:MainThread} - time passed: 0.00285011, power1: 262.02, power2: 286.48
2023-12-08 04:22:31,145 - {modules.common.simcount._calculate:29} - {DEBUG:MainThread} - power did not change sign. Total energy: 0.781642
2023-12-08 04:22:31,146 - {modules.common.simcount._simcount:47} - {DEBUG:MainThread} - imported: 0.781642 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702005751.1240466, power=286.47999999999956, imported=2374443.595266767, exported=0)
2023-12-08 04:22:31,158 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=19, daily_exported=0.01, daily_imported=0.0, imported=143333.38, exported=116864.53, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2023-12-08 04:22:31,159 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=19, daily_exported=0.01, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=143333.38, exported=116864.53, power=0.0), set=Set(charging_power_left=-50, switch_on_soc_reached=False))
2023-12-08 04:22:31,160 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=1414.06, daily_exported=0, power=8841.52, imported=6928149.9, exported=0))
2023-12-08 04:22:31,162 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 95%, 06:00 Uhr', imported_at_plan_start=6926377.93, imported_instant_charging=None, limit=None, phases=3, prio=False, required_current=14.320182002993826, required_currents=[14.320182002993826, 14.320182002993826, 14.320182002993826], 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=73), currents=[12.22, 12.27, 12.34], daily_imported=1414.06, daily_exported=0, evse_current=1429, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=6928149.9, phases_in_use=3, plug_state=True, power=8841.52, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Zielladen mit 14.32A. Der Ladestrom wurde erhöht, um den Zieltermin zu erreichen. Es wird bis max. 20 Minuten nach dem angegebenen Zieltermin geladen.', voltages=[241.08, 239.58, 240.67]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=14.29, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', imported_at_mode_switch=6926377.93, imported_at_plugtime=6926377.93, imported_since_mode_switch=1749.0200000004843, imported_since_plugged=1749.0200000004843, range_charged=9.716777777780468, time_charged='0:10', timestamp_start_charging='12/08/2023, 04:11:30'), manual_lock=False, phases_to_use=3, plug_state_prev=True, plug_time='12/07/2023, 13:07:31', required_power=9880.92558206574, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x70bda5b0>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB Carport', type='internal_openwb', template=1, connected_phases=3, phase_1=2, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=1))
2023-12-08 04:22:31,164 - {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-12-08 04:22:31,167 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=1, max_current_multi_phases=16, max_current_single_phase=20, name='RFID, 20A, 11kW', rfid_enabling=True, valid_tags=['0003134583', '0003526747', '1655332554', '2585022212', '2585087748'])
2023-12-08 04:22:31,172 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[63, 63, 63], max_total_power=43000), get=Get(powers=[3110.0, 2951.0, 3066.0], currents=[13.0, 12.4, 12.7], voltages=[240.49, 240.78, 239.34], power_factors=[0.99, 0.99, 0.99], unbalanced_load=0, frequency=49.97, daily_exported=0.0, daily_imported=5494.0, imported=6127640.0, exported=4870433.0, fault_state=0, fault_str='Kein Fehler.', power=9128.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=42713.520000000004, raw_currents_left=[62.34, 62.82, 62.57], surplus_power_left=0, state_str=''))
2023-12-08 04:22:31,175 - {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': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=286.47999999999956, invalid_home_consumption=0, daily_yield_home_consumption=5616.0662186546, imported_home_consumption=2374443.595266767, disengageable_smarthome_power=0))
2023-12-08 04:22:31,176 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2023-12-08 04:22:31,178 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Ladeprofil ***AUTO1***', disable_after_unplug=False, prio=False, load_default=True, time_charging=TimeCharging(active=True, plans={'0': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[True, True, True, True, False, False, True]), time=['22:00', '06:00'], name='Zeitladen 95%, So-Do 22:00-06:00 Uhr', current=16, limit=Limit(selected='soc', amount=1000, soc=95)), '1': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, True, True, False]), time=['22:00', '06:00'], name='Zeitladen 80%, Fr-Sa 22:00-06:00 Uhr', current=16, limit=Limit(selected='soc', amount=1000, soc=80))}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2023-12-08 04:22:31,182 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, time_charging=TimeCharging(active=True, plans={'2': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), time=['06:45', '07:00'], name='Klima 06:45-07:00 Uhr', current=6, limit=Limit(selected='none', amount=1000, soc=50)), '3': TimeChargingPlan(active=True, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, False, False, False]), time=['00:00', '23:55'], name='Immer 35%', current=10, limit=Limit(selected='soc', amount=1000, soc=35))}), chargemode=Chargemode(selected='scheduled_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={'0': ScheduledChargingPlan(active=False, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, True, False, False, False, False, False]), current=14, name='Zielladen 80%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '1': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), current=14, name='Zielladen 95%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=95), time='05:40'), '2': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once='2023-09-26', weekly=[True, False, False, True, False, True, True]), current=14, name='Zielladen 75%, 7:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=75), time='05:40')}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=80))))
2023-12-08 04:22:31,183 - {control.data:266} - {INFO:MainThread} - ev0
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=['0003134583'], get=Get(soc=0, soc_timestamp=None, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:22:31,184 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Tesla Model Y (2022)', 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=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212', '2585087748'], get=Get(soc=49.0, soc_timestamp='12/08/2023, 01:29:15', force_soc_update=False, range=220.74, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:22:31,185 - {control.data:266} - {INFO:MainThread} - ev2
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Cupra Born 58kW', 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=18000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=2, ev_template=2, name='***AUTO2***', tag_id=['1655332554'], get=Get(soc=73, soc_timestamp='12/08/2023, 04:21:40', force_soc_update=False, range=210, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:22:31,187 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40)
2023-12-08 04:22:31,188 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', 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=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40)
2023-12-08 04:22:31,189 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', 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=18000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40)
2023-12-08 04:22:31,190 - {control.data:245} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=3), pv_charging=PvCharging(bat_prio=True, charging_power_reserve=200, control_range=[-230, 230], feed_in_yield=15000, phase_switch_delay=15, phases_to_use=0, rundown_power=1000, rundown_soc=25, switch_off_delay=60, switch_off_soc=25, switch_off_threshold=50, switch_on_delay=30, switch_on_soc=50, switch_on_threshold=1400), scheduled_charging=ScheduledCharging(phases_to_use=0), time_charging=TimeCharging(phases_to_use=3), unbalanced_load_limit=20, unbalanced_load=True), control_interval=10, extern_display_mode='local', extern=False, external_buttons_hw=False, grid_protection_active=False, grid_protection_configured=True, grid_protection_random_stop=0, grid_protection_timestamp='', mqtt_bridge=False, price_kwh=0.3528, range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=True, r1_active=False, r2_active=False))
2023-12-08 04:22:31,191 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2023-12-08 04:22:31,194 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2023-12-08 04:22:31,195 - {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 0x70bb37c0>), led=Led(active=False), rfid=Rfid(active=True))
2023-12-08 04:22:31,196 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=0), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=293628.595, fault_state=0, fault_str='Kein Fehler.', power=0))
2023-12-08 04:22:31,197 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=9500), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=7816178.85, fault_state=0, fault_str='Kein Fehler.', power=-0.0))
2023-12-08 04:22:31,197 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=8109807.444999999, power=0.0))
2023-12-08 04:22:31,198 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2023-11-30 12:30:45 +0100 [285f5a5fb]', 'current_branch': 'Release', 'current_branch_commit': '2023-11-30 12:30:45 +0100 [285f5a5fb]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.2-Patch.1', 'datastore_version': 29, 'lastlivevaluesJson': {'timestamp': 1702005740, 'time': '04:22:20', 'grid': 9.139, 'house-power': 0.262, 'charging-all': 8.877, 'pv-all': -0.0, 'cp1-power': 8.877, 'ev1-soc': 49.0, 'ev2-soc': 73, 'bat-all-power': 0.0, 'bat-all-soc': 19}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2023-12-08 04:22:31,198 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2023-12-08 04:22:31,199 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2023-12-08 04:22:31,200 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2023-12-08 04:22:31,200 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2023-12-08 04:22:31,200 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2023-12-08 04:22:31,201 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2023-12-08 04:22:31,201 - {control.data:253} - {INFO:MainThread} - 

2023-12-08 04:22:31,202 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2023-12-08 04:22:31,202 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2023-12-08 04:22:31,203 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2023-12-08 04:22:31,204 - {control.counter:169} - {DEBUG:MainThread} - Zähler 0: [56.34, 56.82, 56.57]A verbleibende Ströme, 38573.520000000004W verbleibende Leistung
2023-12-08 04:22:31,205 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2023-12-08 04:22:31,207 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2023-12-08 04:22:31,209 - {control.algorithm.filter_chargepoints:117} - {DEBUG:MainThread} - Geordnete Ladepunkte [1]
2023-12-08 04:22:31,210 - {control.algorithm.additional_current:26} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2023-12-08 04:22:31,211 - {control.counter:169} - {DEBUG:MainThread} - Zähler 0: [48.01981799700618, 48.499817997006176, 48.249817997006176]A verbleibende Ströme, 32832.59441793426W verbleibende Leistung
2023-12-08 04:22:31,211 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 14.320182002993826A
2023-12-08 04:22:31,213 - {control.counter:211} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: 0W
2023-12-08 04:22:31,213 - {control.counter:457} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf 0W
2023-12-08 04:22:31,214 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2023-12-08 04:22:31,214 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2023-12-08 04:22:31,216 - {control.chargelog:52} - {DEBUG:MainThread} - imported_since_mode_switch 1771.9700000006706 counter 6928149.9
2023-12-08 04:22:31,222 - {control.process:111} - {INFO:MainThread} - LP1: set current 14.32 A, state CHARGING_ALLOWED
2023-12-08 04:22:31,253 - {modules.common.component_context:24} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:22:31,289 - {control.counter:186} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2023-12-08 04:22:31,588 - {helpermodules.changed_values_handler:120} - {DEBUG:MainThread} - Topic openWB/set/chargepoint/1/control_parameter/required_current, Payload 14.320182002993826, vorherige Payload: 14.288803342063717
2023-12-08 04:22:31,597 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2023-12-08 04:22:31,625 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2023-12-08 04:22:35,650 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2023-12-08 04:22:40,662 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2023-12-08 04:22:40,662 - {root:74} - {INFO:MainThread} - # ***Start*** 
2023-12-08 04:22:40,707 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x715cf340>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x7155e4a8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x715c75f8>}
2023-12-08 04:22:40,708 - {modules.common.component_context:24} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2023-12-08 04:22:40,714 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2023-12-08 04:22:40,717 - {modules.common.component_context:24} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:22:40,717 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2023-12-08 04:22:40,758 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 750
2023-12-08 04:22:40,761 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"cloud":{"connected":false},"input:0":{"id":0,"state":false},"mqtt":{"connected":false},"switch:0":{"id":0, "source":"loopback", "output":false, "apower":0.0, "voltage":241.2, "current":0.000, "aenergy":{"total":1505.625,"by_minute":[0.000,0.000,0.000],"minute_ts":1702005760},"temperature":{"tC":28.9, "tF":84.0}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:22","unixtime":1702005761,"uptime":1365089,"ram_size":248996,"ram_free":145260,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"beta":{"version":"1.1.0-beta2"},"stable":{"version":"1.0.8"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-68},"ws":{"connected":false}}

2023-12-08 04:22:40,763 - {modules.common.simcount._simcount:38} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1702005750.3741615, power=0, imported=0.0, exported=293628.5948715257)
2023-12-08 04:22:40,763 - {modules.common.simcount._calculate:13} - {DEBUG:device1} - time passed: 0.0028858, power1: 0, power2: 0
2023-12-08 04:22:40,764 - {modules.common.simcount._calculate:29} - {DEBUG:device1} - power did not change sign. Total energy: 0
2023-12-08 04:22:40,764 - {modules.common.simcount._simcount:47} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702005760.7630334, power=0, imported=0.0, exported=293628.5948715257)
2023-12-08 04:22:40,766 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:22:40,915 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-9125, -3156, -2946, -3022], Scale 0
2023-12-08 04:22:40,956 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [131, 123, 127], Scale -1
2023-12-08 04:22:40,985 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [24038, 24062, 23921, 0, 0, 0, 0], Scale -2
2023-12-08 04:22:41,003 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4997], Scale -2
2023-12-08 04:22:41,074 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [9929, 9929, 9919], Scale -2
2023-12-08 04:22:41,105 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4870433, 1797042, 2153375, 1456453, 6127660, 2532145, 1863358, 2268594], Scale 0
2023-12-08 04:22:41,105 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[13.100000000000001, 12.3, 12.700000000000001], powers=[3156.0, 2946.0, 3022.0], voltages=[240.38, 240.62, 239.21], power_factors=[0.9929000000000001, 0.9929000000000001, 0.9919], imported=6127660.0, exported=4870433.0, power=9125.0, frequency=49.97)
2023-12-08 04:22:41,107 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2023-12-08 04:22:41,124 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [0], Scale 0
2023-12-08 04:22:41,156 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7789710], Scale 0
2023-12-08 04:22:41,194 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [28, 31, 31], Scale -2
2023-12-08 04:22:41,214 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4152], Scale -2
2023-12-08 04:22:41,215 - {modules.common.component_state:100} - {DEBUG:device0} - currents sign wrong [0.28, 0.31, 0.31]
2023-12-08 04:22:41,215 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.28, 0.31, 0.31], power=-0.0, exported=7789710.0, dc_power=41.52)
2023-12-08 04:22:41,217 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2023-12-08 04:22:41,274 - {modules.common.simcount._simcount:38} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1702005750.7229908, power=0.0, imported=143333.37604219164, exported=116864.52711090283)
2023-12-08 04:22:41,275 - {modules.common.simcount._calculate:13} - {DEBUG:device0} - time passed: 0.00293108, power1: 0, power2: 0
2023-12-08 04:22:41,276 - {modules.common.simcount._calculate:29} - {DEBUG:device0} - power did not change sign. Total energy: 0
2023-12-08 04:22:41,276 - {modules.common.simcount._simcount:47} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702005761.2748754, power=0.0, imported=143333.37604219164, exported=116864.52711090283)
2023-12-08 04:22:41,277 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=143333.37604219164, exported=116864.52711090283, power=0.0, soc=19.0)
2023-12-08 04:22:41,288 - {modules.common.component_context:24} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2023-12-08 04:22:41,292 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=143333.37604219164, exported=116864.52711090283, power=0.0, soc=19.0)
2023-12-08 04:22:41,330 - {modules.common.component_context:24} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:22:41,330 - {modules.common.component_context:24} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2023-12-08 04:22:41,331 - {modules.common.component_context:24} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2023-12-08 04:22:41,332 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-0.0, exported=7816178.85, dc_power=None)
2023-12-08 04:22:41,333 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:22:41,334 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-0.0, exported=7816178.85, dc_power=None)
2023-12-08 04:22:41,334 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:22:41,376 - {modules.common.component_context:24} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2023-12-08 04:22:41,378 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[13.100000000000001, 12.3, 12.700000000000001], powers=[3156.0, 2946.0, 3022.0], voltages=[240.38, 240.62, 239.21], power_factors=[0.9929000000000001, 0.9929000000000001, 0.9919], imported=6127660.0, exported=4870433.0, power=9125.0, frequency=49.97)
2023-12-08 04:22:41,445 - {helpermodules.changed_values_handler:120} - {DEBUG:MainThread} - Topic openWB/set/chargepoint/1/control_parameter/required_current, Payload 14.320182002993826, vorherige Payload: 14.288803342063717
2023-12-08 04:22:41,550 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2023-12-08 04:22:41,554 - {control.bat_all:173} - {INFO:MainThread} - -50W verbleibende Speicher-Leistung
2023-12-08 04:22:41,557 - {control.counter:138} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [62.24, 62.92, 62.57]A
2023-12-08 04:22:41,560 - {control.counter:161} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 42709.37W
2023-12-08 04:22:41,563 - {control.chargepoint.chargepoint:699} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2023-12-08 04:22:41,565 - {control.chargepoint.chargepoint:682} - {DEBUG:MainThread} - Phasenzahl Lademodus: 3
2023-12-08 04:22:41,567 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 99.302855s, Dauer 1.2608695652173914h, Termin heute verpasst: False
2023-12-08 04:22:41,569 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 90822.282436s, Dauer 0.060041407867494824h, Termin heute verpasst: False
2023-12-08 04:22:41,570 - {control.ev:762} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2023-12-08 04:22:41,574 - {control.chargepoint.chargepoint:898} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 14A, Lademodus scheduled_charging, Submodus: Chargemode.INSTANT_CHARGING, Phasen: 3, Priorität: False, max. Ist-Strom: 12.34
2023-12-08 04:22:41,583 - {control.chargepoint.chargepoint:277} - {INFO:MainThread} - LP 1: Zielladen mit 14A, um einen SoC von 95%  um 05:40 zu erreichen.
2023-12-08 04:22:41,607 - {modules.common.simcount._simcount:38} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1702005751.1240466, power=286.47999999999956, imported=2374443.595266767, exported=0)
2023-12-08 04:22:41,609 - {modules.common.simcount._calculate:13} - {DEBUG:MainThread} - time passed: 0.00291191, power1: 286.48, power2: 290.63
2023-12-08 04:22:41,611 - {modules.common.simcount._calculate:29} - {DEBUG:MainThread} - power did not change sign. Total energy: 0.840246
2023-12-08 04:22:41,613 - {modules.common.simcount._simcount:47} - {DEBUG:MainThread} - imported: 0.840246 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702005761.6069255, power=290.6299999999992, imported=2374444.4355131914, exported=0)
2023-12-08 04:22:41,624 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=19, daily_exported=0.01, daily_imported=0.0, imported=143333.38, exported=116864.53, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2023-12-08 04:22:41,634 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=19, daily_exported=0.01, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=143333.38, exported=116864.53, power=0.0), set=Set(charging_power_left=-50, switch_on_soc_reached=False))
2023-12-08 04:22:41,637 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=1414.06, daily_exported=0, power=8834.37, imported=6928178.22, exported=0))
2023-12-08 04:22:41,643 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 95%, 06:00 Uhr', imported_at_plan_start=6926377.93, imported_instant_charging=None, limit=None, phases=3, prio=False, required_current=14, required_currents=[14, 14, 14], 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=73), currents=[12.22, 12.27, 12.34], daily_imported=1414.06, daily_exported=0, evse_current=1432, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=6928178.22, phases_in_use=3, plug_state=True, power=8834.37, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Zielladen mit 14A, um einen SoC von 95%  um 05:40 zu erreichen.', voltages=[241.08, 239.57, 240.72]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=14.32, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', imported_at_mode_switch=6926377.93, imported_at_plugtime=6926377.93, imported_since_mode_switch=1771.9700000006706, imported_since_plugged=1771.9700000006706, range_charged=9.844277777781503, time_charged='0:11', timestamp_start_charging='12/08/2023, 04:11:30'), manual_lock=False, phases_to_use=3, plug_state_prev=True, plug_time='12/07/2023, 13:07:31', required_power=9660, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x7158b640>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB Carport', type='internal_openwb', template=1, connected_phases=3, phase_1=2, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=1))
2023-12-08 04:22:41,644 - {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-12-08 04:22:41,645 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=1, max_current_multi_phases=16, max_current_single_phase=20, name='RFID, 20A, 11kW', rfid_enabling=True, valid_tags=['0003134583', '0003526747', '1655332554', '2585022212', '2585087748'])
2023-12-08 04:22:41,646 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[63, 63, 63], max_total_power=43000), get=Get(powers=[3156.0, 2946.0, 3022.0], currents=[13.1, 12.3, 12.7], voltages=[240.38, 240.62, 239.21], power_factors=[0.99, 0.99, 0.99], unbalanced_load=0, frequency=49.97, daily_exported=0.0, daily_imported=5494.0, imported=6127660.0, exported=4870433.0, fault_state=0, fault_str='Kein Fehler.', power=9125.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=42709.37, raw_currents_left=[62.24, 62.92, 62.57], surplus_power_left=0, state_str=''))
2023-12-08 04:22:41,648 - {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': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=290.6299999999992, invalid_home_consumption=0, daily_yield_home_consumption=5616.0662186546, imported_home_consumption=2374444.4355131914, disengageable_smarthome_power=0))
2023-12-08 04:22:41,650 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2023-12-08 04:22:41,657 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Ladeprofil ***AUTO1***', disable_after_unplug=False, prio=False, load_default=True, time_charging=TimeCharging(active=True, plans={'0': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[True, True, True, True, False, False, True]), time=['22:00', '06:00'], name='Zeitladen 95%, So-Do 22:00-06:00 Uhr', current=16, limit=Limit(selected='soc', amount=1000, soc=95)), '1': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, True, True, False]), time=['22:00', '06:00'], name='Zeitladen 80%, Fr-Sa 22:00-06:00 Uhr', current=16, limit=Limit(selected='soc', amount=1000, soc=80))}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2023-12-08 04:22:41,659 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, time_charging=TimeCharging(active=True, plans={'2': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), time=['06:45', '07:00'], name='Klima 06:45-07:00 Uhr', current=6, limit=Limit(selected='none', amount=1000, soc=50)), '3': TimeChargingPlan(active=True, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, False, False, False]), time=['00:00', '23:55'], name='Immer 35%', current=10, limit=Limit(selected='soc', amount=1000, soc=35))}), chargemode=Chargemode(selected='scheduled_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={'0': ScheduledChargingPlan(active=False, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, True, False, False, False, False, False]), current=14, name='Zielladen 80%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '1': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), current=14, name='Zielladen 95%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=95), time='05:40'), '2': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once='2023-09-26', weekly=[True, False, False, True, False, True, True]), current=14, name='Zielladen 75%, 7:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=75), time='05:40')}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=80))))
2023-12-08 04:22:41,661 - {control.data:266} - {INFO:MainThread} - ev0
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=['0003134583'], get=Get(soc=0, soc_timestamp=None, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:22:41,662 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Tesla Model Y (2022)', 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=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212', '2585087748'], get=Get(soc=49.0, soc_timestamp='12/08/2023, 01:29:15', force_soc_update=False, range=220.74, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:22:41,665 - {control.data:266} - {INFO:MainThread} - ev2
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Cupra Born 58kW', 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=18000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=2, ev_template=2, name='***AUTO2***', tag_id=['1655332554'], get=Get(soc=74, soc_timestamp='12/08/2023, 04:22:36', force_soc_update=False, range=212, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:22:41,666 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40)
2023-12-08 04:22:41,669 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', 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=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40)
2023-12-08 04:22:41,671 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', 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=18000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40)
2023-12-08 04:22:41,673 - {control.data:245} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=3), pv_charging=PvCharging(bat_prio=True, charging_power_reserve=200, control_range=[-230, 230], feed_in_yield=15000, phase_switch_delay=15, phases_to_use=0, rundown_power=1000, rundown_soc=25, switch_off_delay=60, switch_off_soc=25, switch_off_threshold=50, switch_on_delay=30, switch_on_soc=50, switch_on_threshold=1400), scheduled_charging=ScheduledCharging(phases_to_use=0), time_charging=TimeCharging(phases_to_use=3), unbalanced_load_limit=20, unbalanced_load=True), control_interval=10, extern_display_mode='local', extern=False, external_buttons_hw=False, grid_protection_active=False, grid_protection_configured=True, grid_protection_random_stop=0, grid_protection_timestamp='', mqtt_bridge=False, price_kwh=0.3528, range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=True, r1_active=False, r2_active=False))
2023-12-08 04:22:41,674 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2023-12-08 04:22:41,678 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2023-12-08 04:22:41,681 - {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 0x70b68160>), led=Led(active=False), rfid=Rfid(active=True))
2023-12-08 04:22:41,683 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=0), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=293628.595, fault_state=0, fault_str='Kein Fehler.', power=0))
2023-12-08 04:22:41,685 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=9500), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=7816178.85, fault_state=0, fault_str='Kein Fehler.', power=-0.0))
2023-12-08 04:22:41,687 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=8109807.444999999, power=0.0))
2023-12-08 04:22:41,689 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2023-11-30 12:30:45 +0100 [285f5a5fb]', 'current_branch': 'Release', 'current_branch_commit': '2023-11-30 12:30:45 +0100 [285f5a5fb]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.2-Patch.1', 'datastore_version': 29, 'lastlivevaluesJson': {'timestamp': 1702005751, 'time': '04:22:31', 'grid': 9.128, 'house-power': 0.286, 'charging-all': 8.842, 'pv-all': -0.0, 'cp1-power': 8.842, 'ev1-soc': 49.0, 'ev2-soc': 73, 'bat-all-power': 0.0, 'bat-all-soc': 19}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2023-12-08 04:22:41,690 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2023-12-08 04:22:41,692 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2023-12-08 04:22:41,695 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2023-12-08 04:22:41,698 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2023-12-08 04:22:41,700 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2023-12-08 04:22:41,701 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2023-12-08 04:22:41,703 - {control.data:253} - {INFO:MainThread} - 

2023-12-08 04:22:41,703 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2023-12-08 04:22:41,704 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2023-12-08 04:22:41,706 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2023-12-08 04:22:41,708 - {control.counter:169} - {DEBUG:MainThread} - Zähler 0: [56.24, 56.92, 56.57]A verbleibende Ströme, 38569.37W verbleibende Leistung
2023-12-08 04:22:41,711 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2023-12-08 04:22:41,717 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2023-12-08 04:22:41,720 - {control.algorithm.filter_chargepoints:117} - {DEBUG:MainThread} - Geordnete Ladepunkte [1]
2023-12-08 04:22:41,722 - {control.algorithm.additional_current:26} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2023-12-08 04:22:41,724 - {control.counter:169} - {DEBUG:MainThread} - Zähler 0: [48.24, 48.92, 48.57]A verbleibende Ströme, 33049.37W verbleibende Leistung
2023-12-08 04:22:41,724 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 14A
2023-12-08 04:22:41,726 - {control.counter:211} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: 0W
2023-12-08 04:22:41,727 - {control.counter:457} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf 0W
2023-12-08 04:22:41,728 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2023-12-08 04:22:41,729 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2023-12-08 04:22:41,734 - {control.chargelog:52} - {DEBUG:MainThread} - imported_since_mode_switch 1800.2900000000373 counter 6928178.22
2023-12-08 04:22:41,741 - {control.process:111} - {INFO:MainThread} - LP1: set current 14 A, state CHARGING_ALLOWED
2023-12-08 04:22:41,746 - {modules.common.component_context:24} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:22:41,793 - {control.counter:186} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2023-12-08 04:22:42,015 - {helpermodules.changed_values_handler:120} - {DEBUG:MainThread} - Topic openWB/set/chargepoint/1/control_parameter/required_current, Payload 14, vorherige Payload: 14.320182002993826
2023-12-08 04:22:42,018 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2023-12-08 04:22:42,026 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2023-12-08 04:22:45,034 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2023-12-08 04:22:45,035 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2023-12-08 04:22:50,045 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2023-12-08 04:22:50,046 - {root:74} - {INFO:MainThread} - # ***Start*** 
2023-12-08 04:22:50,113 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x715cf340>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x7155e4a8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x715c75f8>}
2023-12-08 04:22:50,114 - {modules.common.component_context:24} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2023-12-08 04:22:50,115 - {modules.common.component_context:24} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:22:50,124 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2023-12-08 04:22:50,127 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2023-12-08 04:22:50,178 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 750
2023-12-08 04:22:50,180 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"cloud":{"connected":false},"input:0":{"id":0,"state":false},"mqtt":{"connected":false},"switch:0":{"id":0, "source":"loopback", "output":false, "apower":0.0, "voltage":241.2, "current":0.000, "aenergy":{"total":1505.625,"by_minute":[0.000,0.000,0.000],"minute_ts":1702005769},"temperature":{"tC":28.8, "tF":83.9}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:22","unixtime":1702005770,"uptime":1365098,"ram_size":248996,"ram_free":145260,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"beta":{"version":"1.1.0-beta2"},"stable":{"version":"1.0.8"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-68},"ws":{"connected":false}}

2023-12-08 04:22:50,184 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-9112, -3111, -2980, -3021], Scale 0
2023-12-08 04:22:50,184 - {modules.common.simcount._simcount:38} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1702005760.7630334, power=0, imported=0.0, exported=293628.5948715257)
2023-12-08 04:22:50,186 - {modules.common.simcount._calculate:13} - {DEBUG:device1} - time passed: 0.00261715, power1: 0, power2: 0
2023-12-08 04:22:50,187 - {modules.common.simcount._calculate:29} - {DEBUG:device1} - power did not change sign. Total energy: 0
2023-12-08 04:22:50,187 - {modules.common.simcount._simcount:47} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702005770.1847785, power=0, imported=0.0, exported=293628.5948715257)
2023-12-08 04:22:50,191 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:22:50,231 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [132, 122, 128], Scale -1
2023-12-08 04:22:50,252 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [24059, 24099, 23941, 0, 0, 0, 0], Scale -2
2023-12-08 04:22:50,273 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4997], Scale -2
2023-12-08 04:22:50,291 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [9929, 9940, 9950], Scale -2
2023-12-08 04:22:50,319 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4870433, 1797042, 2153375, 1456453, 6127680, 2532152, 1863365, 2268601], Scale 0
2023-12-08 04:22:50,321 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[13.200000000000001, 12.200000000000001, 12.8], powers=[3111.0, 2980.0, 3021.0], voltages=[240.59, 240.99, 239.41], power_factors=[0.9929000000000001, 0.9940000000000001, 0.995], imported=6127680.0, exported=4870433.0, power=9112.0, frequency=49.97)
2023-12-08 04:22:50,331 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2023-12-08 04:22:50,424 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [0], Scale 0
2023-12-08 04:22:50,455 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7789710], Scale 0
2023-12-08 04:22:50,475 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [27, 29, 32], Scale -2
2023-12-08 04:22:50,495 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-5152], Scale -2
2023-12-08 04:22:50,497 - {modules.common.component_state:100} - {DEBUG:device0} - currents sign wrong [0.27, 0.29, 0.32]
2023-12-08 04:22:50,498 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.27, 0.29, 0.32], power=-0.0, exported=7789710.0, dc_power=51.52)
2023-12-08 04:22:50,501 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2023-12-08 04:22:50,564 - {modules.common.simcount._simcount:38} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1702005761.2748754, power=0.0, imported=143333.37604219164, exported=116864.52711090283)
2023-12-08 04:22:50,565 - {modules.common.simcount._calculate:13} - {DEBUG:device0} - time passed: 0.00258032, power1: 0, power2: 0
2023-12-08 04:22:50,566 - {modules.common.simcount._calculate:29} - {DEBUG:device0} - power did not change sign. Total energy: 0
2023-12-08 04:22:50,567 - {modules.common.simcount._simcount:47} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702005770.5640373, power=0.0, imported=143333.37604219164, exported=116864.52711090283)
2023-12-08 04:22:50,569 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=143333.37604219164, exported=116864.52711090283, power=0.0, soc=19.0)
2023-12-08 04:22:50,575 - {modules.common.component_context:24} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2023-12-08 04:22:50,576 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=143333.37604219164, exported=116864.52711090283, power=0.0, soc=19.0)
2023-12-08 04:22:50,619 - {modules.common.component_context:24} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:22:50,620 - {modules.common.component_context:24} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2023-12-08 04:22:50,622 - {modules.common.component_context:24} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2023-12-08 04:22:50,622 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-0.0, exported=7816178.85, dc_power=None)
2023-12-08 04:22:50,623 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:22:50,623 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-0.0, exported=7816178.85, dc_power=None)
2023-12-08 04:22:50,624 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:22:50,658 - {modules.common.component_context:24} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2023-12-08 04:22:50,659 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[13.200000000000001, 12.200000000000001, 12.8], powers=[3111.0, 2980.0, 3021.0], voltages=[240.59, 240.99, 239.41], power_factors=[0.9929000000000001, 0.9940000000000001, 0.995], imported=6127680.0, exported=4870433.0, power=9112.0, frequency=49.97)
2023-12-08 04:22:50,720 - {helpermodules.changed_values_handler:120} - {DEBUG:MainThread} - Topic openWB/set/chargepoint/1/control_parameter/required_current, Payload 14, vorherige Payload: 14.320182002993826
2023-12-08 04:22:50,808 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2023-12-08 04:22:50,811 - {control.bat_all:173} - {INFO:MainThread} - -50W verbleibende Speicher-Leistung
2023-12-08 04:22:50,813 - {control.counter:138} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [62.010000000000005, 63.03, 62.45]A
2023-12-08 04:22:50,813 - {control.counter:161} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 42686.770000000004W
2023-12-08 04:22:50,817 - {control.chargepoint.chargepoint:699} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2023-12-08 04:22:50,818 - {control.chargepoint.chargepoint:682} - {DEBUG:MainThread} - Phasenzahl Lademodus: 3
2023-12-08 04:22:50,820 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 90.050004s, Dauer 1.2608695652173914h, Termin heute verpasst: False
2023-12-08 04:22:50,821 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 90813.029962s, Dauer 0.060041407867494824h, Termin heute verpasst: False
2023-12-08 04:22:50,822 - {control.ev:762} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2023-12-08 04:22:50,825 - {control.chargepoint.chargepoint:898} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 14A, Lademodus scheduled_charging, Submodus: Chargemode.INSTANT_CHARGING, Phasen: 3, Priorität: False, max. Ist-Strom: 12.25
2023-12-08 04:22:50,826 - {control.chargepoint.chargepoint:277} - {INFO:MainThread} - LP 1: Zielladen mit 14A, um einen SoC von 95%  um 05:40 zu erreichen.
2023-12-08 04:22:50,830 - {modules.common.simcount._simcount:38} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1702005761.6069255, power=290.6299999999992, imported=2374444.4355131914, exported=0)
2023-12-08 04:22:50,831 - {modules.common.simcount._calculate:13} - {DEBUG:MainThread} - time passed: 0.00256203, power1: 290.63, power2: 313.23
2023-12-08 04:22:50,832 - {modules.common.simcount._calculate:29} - {DEBUG:MainThread} - power did not change sign. Total energy: 0.773555
2023-12-08 04:22:50,834 - {modules.common.simcount._simcount:47} - {DEBUG:MainThread} - imported: 0.773555 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702005770.8302515, power=313.22999999999956, imported=2374445.209068416, exported=0)
2023-12-08 04:22:50,840 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=19, daily_exported=0.01, daily_imported=0.0, imported=143333.38, exported=116864.53, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2023-12-08 04:22:50,842 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=19, daily_exported=0.01, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=143333.38, exported=116864.53, power=0.0), set=Set(charging_power_left=-50, switch_on_soc_reached=False))
2023-12-08 04:22:50,846 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=1414.06, daily_exported=0, power=8798.77, imported=6928201.17, exported=0))
2023-12-08 04:22:50,848 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 95%, 06:00 Uhr', imported_at_plan_start=6926377.93, imported_instant_charging=None, limit=None, phases=3, prio=False, required_current=14, required_currents=[14, 14, 14], 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=74), currents=[12.23, 12.25, 12.21], daily_imported=1414.06, daily_exported=0, evse_current=1400, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=6928201.17, phases_in_use=3, plug_state=True, power=8798.77, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Zielladen mit 14A, um einen SoC von 95%  um 05:40 zu erreichen.', voltages=[241.23, 239.68, 240.84]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=14, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', imported_at_mode_switch=6926377.93, imported_at_plugtime=6926377.93, imported_since_mode_switch=1800.2900000000373, imported_since_plugged=1800.2900000000373, range_charged=10.001611111111318, time_charged='0:11', timestamp_start_charging='12/08/2023, 04:11:30'), manual_lock=False, phases_to_use=3, plug_state_prev=True, plug_time='12/07/2023, 13:07:31', required_power=9660, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x7158a118>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB Carport', type='internal_openwb', template=1, connected_phases=3, phase_1=2, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=1))
2023-12-08 04:22:50,867 - {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-12-08 04:22:50,868 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=1, max_current_multi_phases=16, max_current_single_phase=20, name='RFID, 20A, 11kW', rfid_enabling=True, valid_tags=['0003134583', '0003526747', '1655332554', '2585022212', '2585087748'])
2023-12-08 04:22:50,869 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[63, 63, 63], max_total_power=43000), get=Get(powers=[3111.0, 2980.0, 3021.0], currents=[13.2, 12.2, 12.8], voltages=[240.59, 240.99, 239.41], power_factors=[0.99, 0.99, 0.99], unbalanced_load=0, frequency=49.97, daily_exported=0.0, daily_imported=5494.0, imported=6127680.0, exported=4870433.0, fault_state=0, fault_str='Kein Fehler.', power=9112.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=42686.770000000004, raw_currents_left=[62.010000000000005, 63.03, 62.45], surplus_power_left=0, state_str=''))
2023-12-08 04:22:50,870 - {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': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=313.22999999999956, invalid_home_consumption=0, daily_yield_home_consumption=5616.0662186546, imported_home_consumption=2374445.209068416, disengageable_smarthome_power=0))
2023-12-08 04:22:50,871 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2023-12-08 04:22:50,873 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Ladeprofil ***AUTO1***', disable_after_unplug=False, prio=False, load_default=True, time_charging=TimeCharging(active=True, plans={'0': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[True, True, True, True, False, False, True]), time=['22:00', '06:00'], name='Zeitladen 95%, So-Do 22:00-06:00 Uhr', current=16, limit=Limit(selected='soc', amount=1000, soc=95)), '1': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, True, True, False]), time=['22:00', '06:00'], name='Zeitladen 80%, Fr-Sa 22:00-06:00 Uhr', current=16, limit=Limit(selected='soc', amount=1000, soc=80))}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2023-12-08 04:22:50,874 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, time_charging=TimeCharging(active=True, plans={'2': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), time=['06:45', '07:00'], name='Klima 06:45-07:00 Uhr', current=6, limit=Limit(selected='none', amount=1000, soc=50)), '3': TimeChargingPlan(active=True, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, False, False, False]), time=['00:00', '23:55'], name='Immer 35%', current=10, limit=Limit(selected='soc', amount=1000, soc=35))}), chargemode=Chargemode(selected='scheduled_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={'0': ScheduledChargingPlan(active=False, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, True, False, False, False, False, False]), current=14, name='Zielladen 80%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '1': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), current=14, name='Zielladen 95%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=95), time='05:40'), '2': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once='2023-09-26', weekly=[True, False, False, True, False, True, True]), current=14, name='Zielladen 75%, 7:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=75), time='05:40')}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=80))))
2023-12-08 04:22:50,876 - {control.data:266} - {INFO:MainThread} - ev0
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=['0003134583'], get=Get(soc=0, soc_timestamp=None, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:22:50,877 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Tesla Model Y (2022)', 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=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212', '2585087748'], get=Get(soc=49.0, soc_timestamp='12/08/2023, 01:29:15', force_soc_update=False, range=220.74, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:22:50,878 - {control.data:266} - {INFO:MainThread} - ev2
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Cupra Born 58kW', 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=18000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=2, ev_template=2, name='***AUTO2***', tag_id=['1655332554'], get=Get(soc=74, soc_timestamp='12/08/2023, 04:22:36', force_soc_update=False, range=212, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:22:50,879 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40)
2023-12-08 04:22:50,880 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', 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=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40)
2023-12-08 04:22:50,881 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', 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=18000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40)
2023-12-08 04:22:50,883 - {control.data:245} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=3), pv_charging=PvCharging(bat_prio=True, charging_power_reserve=200, control_range=[-230, 230], feed_in_yield=15000, phase_switch_delay=15, phases_to_use=0, rundown_power=1000, rundown_soc=25, switch_off_delay=60, switch_off_soc=25, switch_off_threshold=50, switch_on_delay=30, switch_on_soc=50, switch_on_threshold=1400), scheduled_charging=ScheduledCharging(phases_to_use=0), time_charging=TimeCharging(phases_to_use=3), unbalanced_load_limit=20, unbalanced_load=True), control_interval=10, extern_display_mode='local', extern=False, external_buttons_hw=False, grid_protection_active=False, grid_protection_configured=True, grid_protection_random_stop=0, grid_protection_timestamp='', mqtt_bridge=False, price_kwh=0.3528, range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=True, r1_active=False, r2_active=False))
2023-12-08 04:22:50,884 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2023-12-08 04:22:50,884 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2023-12-08 04:22:50,885 - {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 0x7158a958>), led=Led(active=False), rfid=Rfid(active=True))
2023-12-08 04:22:50,886 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=0), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=293628.595, fault_state=0, fault_str='Kein Fehler.', power=0))
2023-12-08 04:22:50,886 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=9500), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=7816178.85, fault_state=0, fault_str='Kein Fehler.', power=-0.0))
2023-12-08 04:22:50,887 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=8109807.444999999, power=0.0))
2023-12-08 04:22:50,888 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2023-11-30 12:30:45 +0100 [285f5a5fb]', 'current_branch': 'Release', 'current_branch_commit': '2023-11-30 12:30:45 +0100 [285f5a5fb]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.2-Patch.1', 'datastore_version': 29, 'lastlivevaluesJson': {'timestamp': 1702005761, 'time': '04:22:41', 'grid': 9.125, 'house-power': 0.291, 'charging-all': 8.834, 'pv-all': -0.0, 'cp1-power': 8.834, 'ev1-soc': 49.0, 'ev2-soc': 74, 'bat-all-power': 0.0, 'bat-all-soc': 19}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2023-12-08 04:22:50,889 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2023-12-08 04:22:50,890 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2023-12-08 04:22:50,892 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2023-12-08 04:22:50,893 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2023-12-08 04:22:50,893 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2023-12-08 04:22:50,894 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2023-12-08 04:22:50,897 - {control.data:253} - {INFO:MainThread} - 

2023-12-08 04:22:50,898 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2023-12-08 04:22:50,900 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2023-12-08 04:22:50,902 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2023-12-08 04:22:50,904 - {control.counter:169} - {DEBUG:MainThread} - Zähler 0: [56.010000000000005, 57.03, 56.45]A verbleibende Ströme, 38546.770000000004W verbleibende Leistung
2023-12-08 04:22:50,905 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2023-12-08 04:22:50,908 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2023-12-08 04:22:50,910 - {control.algorithm.filter_chargepoints:117} - {DEBUG:MainThread} - Geordnete Ladepunkte [1]
2023-12-08 04:22:50,912 - {control.algorithm.additional_current:26} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2023-12-08 04:22:50,914 - {control.counter:169} - {DEBUG:MainThread} - Zähler 0: [48.010000000000005, 49.03, 48.45]A verbleibende Ströme, 33026.770000000004W verbleibende Leistung
2023-12-08 04:22:50,917 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 14A
2023-12-08 04:22:50,919 - {control.counter:211} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: 0W
2023-12-08 04:22:50,920 - {control.counter:457} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf 0W
2023-12-08 04:22:50,921 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2023-12-08 04:22:50,923 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2023-12-08 04:22:50,925 - {control.chargelog:52} - {DEBUG:MainThread} - imported_since_mode_switch 1823.2400000002235 counter 6928201.17
2023-12-08 04:22:50,931 - {control.process:111} - {INFO:MainThread} - LP1: set current 14 A, state CHARGING_ALLOWED
2023-12-08 04:22:50,934 - {modules.common.component_context:24} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:22:50,953 - {control.counter:186} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2023-12-08 04:22:51,200 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2023-12-08 04:22:55,231 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2023-12-08 04:22:55,233 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2023-12-08 04:23:00,244 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2023-12-08 04:23:00,244 - {root:74} - {INFO:MainThread} - # ***Start*** 
2023-12-08 04:23:00,281 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x715cf340>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x7155e4a8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x715c75f8>}
2023-12-08 04:23:00,285 - {modules.common.component_context:24} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2023-12-08 04:23:00,297 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2023-12-08 04:23:00,301 - {modules.common.component_context:24} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:23:00,324 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2023-12-08 04:23:00,340 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 750
2023-12-08 04:23:00,342 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"cloud":{"connected":false},"input:0":{"id":0,"state":false},"mqtt":{"connected":false},"switch:0":{"id":0, "source":"loopback", "output":false, "apower":0.0, "voltage":241.2, "current":0.000, "aenergy":{"total":1505.625,"by_minute":[0.000,0.000,0.000],"minute_ts":1702005779},"temperature":{"tC":28.9, "tF":84.0}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:23","unixtime":1702005781,"uptime":1365108,"ram_size":248944,"ram_free":144688,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"beta":{"version":"1.1.0-beta2"},"stable":{"version":"1.0.8"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-67},"ws":{"connected":false}}

2023-12-08 04:23:00,345 - {modules.common.simcount._simcount:38} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1702005770.1847785, power=0, imported=0.0, exported=293628.5948715257)
2023-12-08 04:23:00,346 - {modules.common.simcount._calculate:13} - {DEBUG:device1} - time passed: 0.00282231, power1: 0, power2: 0
2023-12-08 04:23:00,346 - {modules.common.simcount._calculate:29} - {DEBUG:device1} - power did not change sign. Total energy: 0
2023-12-08 04:23:00,347 - {modules.common.simcount._simcount:47} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702005780.3451009, power=0, imported=0.0, exported=293628.5948715257)
2023-12-08 04:23:00,353 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:23:00,387 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-9096, -3120, -2937, -3038], Scale 0
2023-12-08 04:23:00,503 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [131, 122, 127], Scale -1
2023-12-08 04:23:00,552 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [24047, 24087, 23919, 0, 0, 0, 0], Scale -2
2023-12-08 04:23:00,572 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [5000], Scale -2
2023-12-08 04:23:00,597 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [9900, 9940, 9909], Scale -2
2023-12-08 04:23:00,644 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4870433, 1797042, 2153375, 1456453, 6127721, 2532166, 1863378, 2268614], Scale 0
2023-12-08 04:23:00,645 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[13.100000000000001, 12.200000000000001, 12.700000000000001], powers=[3120.0, 2937.0, 3038.0], voltages=[240.47, 240.87, 239.19], power_factors=[0.99, 0.9940000000000001, 0.9909], imported=6127721.0, exported=4870433.0, power=9096.0, frequency=50.0)
2023-12-08 04:23:00,655 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2023-12-08 04:23:00,703 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [26020], Scale -5
2023-12-08 04:23:00,734 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7789710], Scale 0
2023-12-08 04:23:00,753 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [27, 30, 31], Scale -2
2023-12-08 04:23:00,895 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4349], Scale -2
2023-12-08 04:23:00,896 - {modules.common.component_state:100} - {DEBUG:device0} - currents sign wrong [0.27, 0.3, 0.31]
2023-12-08 04:23:00,896 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.27, 0.3, 0.31], power=-0.26020000000000004, exported=7789710.0, dc_power=43.49)
2023-12-08 04:23:00,898 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2023-12-08 04:23:00,934 - {modules.common.simcount._simcount:38} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1702005770.5640373, power=0.0, imported=143333.37604219164, exported=116864.52711090283)
2023-12-08 04:23:00,935 - {modules.common.simcount._calculate:13} - {DEBUG:device0} - time passed: 0.00288063, power1: 0, power2: 0
2023-12-08 04:23:00,935 - {modules.common.simcount._calculate:29} - {DEBUG:device0} - power did not change sign. Total energy: 0
2023-12-08 04:23:00,935 - {modules.common.simcount._simcount:47} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702005780.9343224, power=0.0, imported=143333.37604219164, exported=116864.52711090283)
2023-12-08 04:23:00,936 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=143333.37604219164, exported=116864.52711090283, power=0.0, soc=19.0)
2023-12-08 04:23:00,946 - {modules.common.component_context:24} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2023-12-08 04:23:00,947 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=143333.37604219164, exported=116864.52711090283, power=0.0, soc=19.0)
2023-12-08 04:23:00,984 - {modules.common.component_context:24} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:23:00,986 - {modules.common.component_context:24} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2023-12-08 04:23:00,987 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-0.26020000000000004, exported=7816178.85, dc_power=None)
2023-12-08 04:23:00,989 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-0.26020000000000004, exported=7816178.85, dc_power=None)
2023-12-08 04:23:00,987 - {modules.common.component_context:24} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2023-12-08 04:23:00,994 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:23:00,995 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:23:01,033 - {modules.common.component_context:24} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2023-12-08 04:23:01,035 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[13.100000000000001, 12.200000000000001, 12.700000000000001], powers=[3120.0, 2937.0, 3038.0], voltages=[240.47, 240.87, 239.19], power_factors=[0.99, 0.9940000000000001, 0.9909], imported=6127721.0, exported=4870433.0, power=9096.0, frequency=50.0)
2023-12-08 04:23:01,201 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2023-12-08 04:23:01,203 - {control.bat_all:173} - {INFO:MainThread} - -50W verbleibende Speicher-Leistung
2023-12-08 04:23:01,205 - {control.counter:138} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [62.2, 62.99, 62.620000000000005]A
2023-12-08 04:23:01,206 - {control.counter:161} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 42720.35W
2023-12-08 04:23:01,209 - {control.chargepoint.chargepoint:699} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2023-12-08 04:23:01,211 - {control.chargepoint.chargepoint:682} - {DEBUG:MainThread} - Phasenzahl Lademodus: 3
2023-12-08 04:23:01,214 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 79.655548s, Dauer 1.2608695652173914h, Termin heute verpasst: False
2023-12-08 04:23:01,216 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 90802.634929s, Dauer 0.060041407867494824h, Termin heute verpasst: False
2023-12-08 04:23:01,217 - {control.ev:762} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2023-12-08 04:23:01,222 - {control.chargepoint.chargepoint:898} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 14A, Lademodus scheduled_charging, Submodus: Chargemode.INSTANT_CHARGING, Phasen: 3, Priorität: False, max. Ist-Strom: 12.32
2023-12-08 04:23:01,241 - {control.chargepoint.chargepoint:277} - {INFO:MainThread} - LP 1: Zielladen mit 14A, um einen SoC von 95%  um 05:40 zu erreichen.
2023-12-08 04:23:01,247 - {modules.common.simcount._simcount:38} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1702005770.8302515, power=313.22999999999956, imported=2374445.209068416, exported=0)
2023-12-08 04:23:01,249 - {modules.common.simcount._calculate:13} - {DEBUG:MainThread} - time passed: 0.00289363, power1: 313.23, power2: 279.91
2023-12-08 04:23:01,253 - {modules.common.simcount._calculate:29} - {DEBUG:MainThread} - power did not change sign. Total energy: 0.858164
2023-12-08 04:23:01,254 - {modules.common.simcount._simcount:47} - {DEBUG:MainThread} - imported: 0.858164 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702005781.2473168, power=279.90999999999985, imported=2374446.0672320495, exported=0)
2023-12-08 04:23:01,257 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=19, daily_exported=0.01, daily_imported=0.0, imported=143333.38, exported=116864.53, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2023-12-08 04:23:01,260 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=19, daily_exported=0.01, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=143333.38, exported=116864.53, power=0.0), set=Set(charging_power_left=-50, switch_on_soc_reached=False))
2023-12-08 04:23:01,263 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=1414.06, daily_exported=0, power=8816.35, imported=6928224.12, exported=0))
2023-12-08 04:23:01,266 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 95%, 06:00 Uhr', imported_at_plan_start=6926377.93, imported_instant_charging=None, limit=None, phases=3, prio=False, required_current=14, required_currents=[14, 14, 14], 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=74), currents=[12.19, 12.32, 12.3], daily_imported=1414.06, daily_exported=0, evse_current=1400, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=6928224.12, phases_in_use=3, plug_state=True, power=8816.35, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Zielladen mit 14A, um einen SoC von 95%  um 05:40 zu erreichen.', voltages=[241.24, 239.53, 240.87]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=14, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', imported_at_mode_switch=6926377.93, imported_at_plugtime=6926377.93, imported_since_mode_switch=1823.2400000002235, imported_since_plugged=1823.2400000002235, range_charged=10.129111111112353, time_charged='0:11', timestamp_start_charging='12/08/2023, 04:11:30'), manual_lock=False, phases_to_use=3, plug_state_prev=True, plug_time='12/07/2023, 13:07:31', required_power=9660, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x70ba7100>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB Carport', type='internal_openwb', template=1, connected_phases=3, phase_1=2, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=1))
2023-12-08 04:23:01,268 - {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-12-08 04:23:01,269 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=1, max_current_multi_phases=16, max_current_single_phase=20, name='RFID, 20A, 11kW', rfid_enabling=True, valid_tags=['0003134583', '0003526747', '1655332554', '2585022212', '2585087748'])
2023-12-08 04:23:01,271 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[63, 63, 63], max_total_power=43000), get=Get(powers=[3120.0, 2937.0, 3038.0], currents=[13.1, 12.2, 12.7], voltages=[240.47, 240.87, 239.19], power_factors=[0.99, 0.99, 0.99], unbalanced_load=0, frequency=50.0, daily_exported=0.0, daily_imported=5494.0, imported=6127721.0, exported=4870433.0, fault_state=0, fault_str='Kein Fehler.', power=9096.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=42720.35, raw_currents_left=[62.2, 62.99, 62.620000000000005], surplus_power_left=0, state_str=''))
2023-12-08 04:23:01,272 - {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': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=279.90999999999985, invalid_home_consumption=0, daily_yield_home_consumption=5616.0662186546, imported_home_consumption=2374446.0672320495, disengageable_smarthome_power=0))
2023-12-08 04:23:01,278 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2023-12-08 04:23:01,280 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Ladeprofil ***AUTO1***', disable_after_unplug=False, prio=False, load_default=True, time_charging=TimeCharging(active=True, plans={'0': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[True, True, True, True, False, False, True]), time=['22:00', '06:00'], name='Zeitladen 95%, So-Do 22:00-06:00 Uhr', current=16, limit=Limit(selected='soc', amount=1000, soc=95)), '1': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, True, True, False]), time=['22:00', '06:00'], name='Zeitladen 80%, Fr-Sa 22:00-06:00 Uhr', current=16, limit=Limit(selected='soc', amount=1000, soc=80))}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2023-12-08 04:23:01,282 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, time_charging=TimeCharging(active=True, plans={'2': TimeChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), time=['06:45', '07:00'], name='Klima 06:45-07:00 Uhr', current=6, limit=Limit(selected='none', amount=1000, soc=50)), '3': TimeChargingPlan(active=True, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, False, False, False, False, False, False]), time=['00:00', '23:55'], name='Immer 35%', current=10, limit=Limit(selected='soc', amount=1000, soc=35))}), chargemode=Chargemode(selected='scheduled_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={'0': ScheduledChargingPlan(active=False, frequency=Frequency(selected='daily', once=['2021-11-01', '2021-11-05'], weekly=[False, True, False, False, False, False, False]), current=14, name='Zielladen 80%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40'), '1': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once=['2021-11-01', '2021-11-05'], weekly=[False, True, True, False, True, False, False]), current=14, name='Zielladen 95%, 06:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=95), time='05:40'), '2': ScheduledChargingPlan(active=True, frequency=Frequency(selected='weekly', once='2023-09-26', weekly=[True, False, False, True, False, True, True]), current=14, name='Zielladen 75%, 7:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=75), time='05:40')}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=80))))
2023-12-08 04:23:01,283 - {control.data:266} - {INFO:MainThread} - ev0
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=['0003134583'], get=Get(soc=0, soc_timestamp=None, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:23:01,285 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Tesla Model Y (2022)', 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=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212', '2585087748'], get=Get(soc=49.0, soc_timestamp='12/08/2023, 01:29:15', force_soc_update=False, range=220.74, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:23:01,286 - {control.data:266} - {INFO:MainThread} - ev2
EvData(set=Set(ev_template=EvTemplate(data=EvTemplateData(name='Cupra Born 58kW', 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=18000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40), et_num=0), soc_error_counter=0), charge_template=2, ev_template=2, name='***AUTO2***', tag_id=['1655332554'], get=Get(soc=74, soc_timestamp='12/08/2023, 04:22:36', force_soc_update=False, range=212, fault_state=0, fault_str='Kein Fehler.'))
2023-12-08 04:23:01,289 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40)
2023-12-08 04:23:01,291 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', 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=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40)
2023-12-08 04:23:01,296 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', 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=18000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40)
2023-12-08 04:23:01,299 - {control.data:245} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=3), pv_charging=PvCharging(bat_prio=True, charging_power_reserve=200, control_range=[-230, 230], feed_in_yield=15000, phase_switch_delay=15, phases_to_use=0, rundown_power=1000, rundown_soc=25, switch_off_delay=60, switch_off_soc=25, switch_off_threshold=50, switch_on_delay=30, switch_on_soc=50, switch_on_threshold=1400), scheduled_charging=ScheduledCharging(phases_to_use=0), time_charging=TimeCharging(phases_to_use=3), unbalanced_load_limit=20, unbalanced_load=True), control_interval=10, extern_display_mode='local', extern=False, external_buttons_hw=False, grid_protection_active=False, grid_protection_configured=True, grid_protection_random_stop=0, grid_protection_timestamp='', mqtt_bridge=False, price_kwh=0.3528, range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=True, r1_active=False, r2_active=False))
2023-12-08 04:23:01,301 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2023-12-08 04:23:01,302 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2023-12-08 04:23:01,304 - {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 0x71578268>), led=Led(active=False), rfid=Rfid(active=True))
2023-12-08 04:23:01,305 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=0), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=293628.595, fault_state=0, fault_str='Kein Fehler.', power=0))
2023-12-08 04:23:01,307 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=9500), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=7816178.85, fault_state=0, fault_str='Kein Fehler.', power=-0.26))
2023-12-08 04:23:01,308 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=8109807.444999999, power=-0.26))
2023-12-08 04:23:01,309 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2023-11-30 12:30:45 +0100 [285f5a5fb]', 'current_branch': 'Release', 'current_branch_commit': '2023-11-30 12:30:45 +0100 [285f5a5fb]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.2-Patch.1', 'datastore_version': 29, 'lastlivevaluesJson': {'timestamp': 1702005770, 'time': '04:22:50', 'grid': 9.112, 'house-power': 0.313, 'charging-all': 8.799, 'pv-all': -0.0, 'cp1-power': 8.799, 'ev1-soc': 49.0, 'ev2-soc': 74, 'bat-all-power': 0.0, 'bat-all-soc': 19}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2023-12-08 04:23:01,310 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2023-12-08 04:23:01,311 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2023-12-08 04:23:01,312 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2023-12-08 04:23:01,313 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2023-12-08 04:23:01,315 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2023-12-08 04:23:01,319 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2023-12-08 04:23:01,321 - {control.data:253} - {INFO:MainThread} - 

2023-12-08 04:23:01,322 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2023-12-08 04:23:01,324 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2023-12-08 04:23:01,325 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2023-12-08 04:23:01,328 - {control.counter:169} - {DEBUG:MainThread} - Zähler 0: [56.2, 56.99, 56.620000000000005]A verbleibende Ströme, 38580.35W verbleibende Leistung
2023-12-08 04:23:01,329 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2023-12-08 04:23:01,332 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2023-12-08 04:23:01,334 - {control.algorithm.filter_chargepoints:117} - {DEBUG:MainThread} - Geordnete Ladepunkte [1]
2023-12-08 04:23:01,335 - {control.algorithm.additional_current:26} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2023-12-08 04:23:01,337 - {control.counter:169} - {DEBUG:MainThread} - Zähler 0: [48.2, 48.99, 48.620000000000005]A verbleibende Ströme, 33060.35W verbleibende Leistung
2023-12-08 04:23:01,338 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 14A
2023-12-08 04:23:01,340 - {control.counter:211} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: 0W
2023-12-08 04:23:01,341 - {control.counter:457} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf 0W
2023-12-08 04:23:01,342 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2023-12-08 04:23:01,343 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2023-12-08 04:23:01,345 - {control.chargelog:52} - {DEBUG:MainThread} - imported_since_mode_switch 1846.1900000004098 counter 6928224.12
2023-12-08 04:23:01,350 - {control.process:111} - {INFO:MainThread} - LP1: set current 14 A, state CHARGING_ALLOWED
2023-12-08 04:23:01,354 - {modules.common.component_context:24} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:23:01,377 - {control.counter:186} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2023-12-08 04:23:01,770 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2023-12-08 04:23:01,792 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2023-12-08 04:23:05,805 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2023-12-08 04:23:10,817 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2023-12-08 04:23:10,818 - {root:74} - {INFO:MainThread} - # ***Start*** 
2023-12-08 04:23:10,871 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x715cf340>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x7155e4a8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x715c75f8>}
2023-12-08 04:23:10,872 - {modules.common.component_context:24} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2023-12-08 04:23:10,881 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2023-12-08 04:23:10,882 - {modules.common.component_context:24} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:23:10,886 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2023-12-08 04:23:10,914 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-9019, -3105, -2888, -3025], Scale 0
2023-12-08 04:23:10,923 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 750
2023-12-08 04:23:10,925 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"cloud":{"connected":false},"input:0":{"id":0,"state":false},"mqtt":{"connected":false},"switch:0":{"id":0, "source":"loopback", "output":false, "apower":0.0, "voltage":241.3, "current":0.000, "aenergy":{"total":1505.625,"by_minute":[0.000,0.000,0.000],"minute_ts":1702005790},"temperature":{"tC":28.9, "tF":84.0}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:23","unixtime":1702005791,"uptime":1365119,"ram_size":248944,"ram_free":144672,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"beta":{"version":"1.1.0-beta2"},"stable":{"version":"1.0.8"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-68},"ws":{"connected":false}}

2023-12-08 04:23:10,927 - {modules.common.simcount._simcount:38} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1702005780.3451009, power=0, imported=0.0, exported=293628.5948715257)
2023-12-08 04:23:10,928 - {modules.common.simcount._calculate:13} - {DEBUG:device1} - time passed: 0.00293962, power1: 0, power2: 0
2023-12-08 04:23:10,929 - {modules.common.simcount._calculate:29} - {DEBUG:device1} - power did not change sign. Total energy: 0
2023-12-08 04:23:10,930 - {modules.common.simcount._simcount:47} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702005790.9277418, power=0, imported=0.0, exported=293628.5948715257)
2023-12-08 04:23:10,932 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:23:10,972 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [131, 122, 129], Scale -1
2023-12-08 04:23:10,996 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [24061, 24084, 23911, 0, 0, 0, 0], Scale -2
2023-12-08 04:23:11,012 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [5000], Scale -2
2023-12-08 04:23:11,032 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [9929, 9940, 9919], Scale -2
2023-12-08 04:23:11,092 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4870433, 1797042, 2153375, 1456453, 6127741, 2532173, 1863385, 2268621], Scale 0
2023-12-08 04:23:11,093 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[13.100000000000001, 12.200000000000001, 12.9], powers=[3105.0, 2888.0, 3025.0], voltages=[240.61, 240.84, 239.11], power_factors=[0.9929000000000001, 0.9940000000000001, 0.9919], imported=6127741.0, exported=4870433.0, power=9019.0, frequency=50.0)
2023-12-08 04:23:11,095 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2023-12-08 04:23:11,122 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [0], Scale 0
2023-12-08 04:23:11,141 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7789710], Scale 0
2023-12-08 04:23:11,162 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [28, 31, 33], Scale -2
2023-12-08 04:23:11,244 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-5090], Scale -2
2023-12-08 04:23:11,245 - {modules.common.component_state:100} - {DEBUG:device0} - currents sign wrong [0.28, 0.31, 0.33]
2023-12-08 04:23:11,245 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.28, 0.31, 0.33], power=-0.0, exported=7789710.0, dc_power=50.9)
2023-12-08 04:23:11,247 - {modules.common.component_context:24} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2023-12-08 04:23:11,304 - {modules.common.simcount._simcount:38} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1702005780.9343224, power=0.0, imported=143333.37604219164, exported=116864.52711090283)
2023-12-08 04:23:11,305 - {modules.common.simcount._calculate:13} - {DEBUG:device0} - time passed: 0.00288067, power1: 0, power2: 0
2023-12-08 04:23:11,305 - {modules.common.simcount._calculate:29} - {DEBUG:device0} - power did not change sign. Total energy: 0
2023-12-08 04:23:11,306 - {modules.common.simcount._simcount:47} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702005791.304731, power=0.0, imported=143333.37604219164, exported=116864.52711090283)
2023-12-08 04:23:11,307 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=143333.37604219164, exported=116864.52711090283, power=0.0, soc=19.0)
2023-12-08 04:23:11,319 - {modules.common.component_context:24} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2023-12-08 04:23:11,321 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=143333.37604219164, exported=116864.52711090283, power=0.0, soc=19.0)
2023-12-08 04:23:11,356 - {modules.common.component_context:24} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2023-12-08 04:23:11,357 - {modules.common.component_context:24} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2023-12-08 04:23:11,358 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=-0.0, exported=7816178.85, dc_power=None)
2023-12-08 04:23:11,358 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=-0.0, exported=7816178.85, dc_power=None)
2023-12-08 04:23:11,360 - {modules.common.component_context:24} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2023-12-08 04:23:11,362 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:23:11,363 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=293628.5948715257, dc_power=None)
2023-12-08 04:23:11,400 - {modules.common.component_context:24} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2023-12-08 04:23:11,401 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[13.100000000000001, 12.200000000000001, 12.9], powers=[3105.0, 2888.0, 3025.0], voltages=[240.61, 240.84, 239.11], power_factors=[0.9929000000000001, 0.9940000000000001, 0.9919], imported=6127741.0, exported=4870433.0, power=9019.0, frequency=50.0)
2023-12-08 04:23:11,660 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2023-12-08 04:23:11,661 - {control.bat_all:173} - {INFO:MainThread} - -50W verbleibende Speicher-Leistung
2023-12-08 04:23:11,663 - {control.counter:138} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [62.16, 62.78, 62.37]A
2023-12-08 04:23:11,664 - {control.counter:161} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 42781.11W
2023-12-08 04:23:11,665 - {control.chargepoint.chargepoint:699} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2023-12-08 04:23:11,666 - {control.chargepoint.chargepoint:682} - {DEBUG:MainThread} - Phasenzahl Lademodus: 3
2023-12-08 04:23:11,667 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 69.202384s, Dauer 1.2608695652173914h, Termin heute verpasst: False
2023-12-08 04:23:11,668 - {control.ev:716} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 90792.182499s, Dauer 0.060041407867494824h, Termin heute verpasst: False
2023-12-08 04:23:11,680 - {control.ev:762} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2023-12-08 04:23:11,697 - {control.chargepoint.chargepoint:898} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 14A, Lademodus scheduled_charging, Submodus: Chargemode.INSTANT_CHARGING, Phasen: 3, Priorität: False, max. Ist-Strom: 12.27
2023-12-08 04:23:11,699 - {control.chargepoint.chargepoint:277} - {INFO:MainThread} - LP 1: Zielladen mit 14A, um einen SoC von 95%  um 05:40 zu erreichen.
2023-12-08 04:23:11,711 - {modules.common.simcount._simcount:38} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1702005781.2473168, power=279.90999999999985, imported=2374446.0672320495, exported=0)
2023-12-08 04:23:11,713 - {modules.common.simcount._calculate:13} - {DEBUG:MainThread} - time passed: 0.00290673, power1: 279.91, power2: 218.89
2023-12-08 04:23:11,715 - {modules.common.simcount._calculate:29} - {DEBUG:MainThread} - power did not change sign. Total energy: 0.724939
2023-12-08 04:23:11,716 - {modules.common.simcount._simcount:47} - {DEBUG:MainThread} - imported: 0.724939 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1702005791.7115514, power=218.88999999999942, imported=2374446.792170968, exported=0)
2023-12-08 04:23:11,719 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=19, daily_exported=0.01, daily_imported=0.0, imported=143333.38, exported=116864.53, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2023-12-08 04:23:11,720 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=19, daily_exported=0.01, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=143333.38, exported=116864.53, power=0.0), set=Set(charging_power_left=-50, switch_on_soc_reached=False))
2023-12-08 04:23:11,724 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=1414.06, daily_exported=0, power=8800.11, imported=6928250.98, exported=0))
2023-12-08 04:23:11,728 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 95%, 06:00 Uhr', imported_at_plan_start=6926377.93, imported_instant_charging=None, limit=None, phases=3, prio=False, required_current=14, required_currents=[14, 14, 14], 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=74), currents=[11.98, 12.27, 12.26], daily_imported=1414.06, daily_exported=0, evse_current=1400, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=6928250.98, phases_in_use=3, plug_state=True, power=8800.11, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Zielladen mit 14A, um einen SoC von 95%  um 05:40 zu erreichen.', voltages=[241.05, 239.32, 240.79]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=14, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', imported_at_mode_switch=6926377.93, imported_at_plugtime=6926377.93, imported_since_mode_switch=1846.1900000004098, imported_since_plugged=1846.1900000004098, range_charged=10.256611111113388, time_charged='0:11', timestamp_start_charging='12/08/2023, 04:11:30'), manual_lock=False, phases_to_use=3, plug_state_prev=True, plug_time='12/07/2023, 13:07:31', required_power=9660, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x715b5460>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB Carport', type='internal_openwb', template=1, connected_phases=3, phase_1=2, auto_phase_switch_hw=True, control_pilot_interruption_hw=True, id=1))
2023-12-08 04:23:11,739 - {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-12-08 04:23:11,740 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=1, max_current_multi_phases=16, max_current_single_phase=20, name='RFID, 20A, 11kW', rfid_enabling=True, valid_tags=['0003134583', '0003526747', '1655332554', '2585022212', '2585087748'])
2023-12-08 04:23:11,741 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[63, 63, 63], max_total_power=43000), get=Get(powers=[3105.0, 2888.0, 3025.0], currents=[13.1, 12.2, 12.9], voltages=[240.61, 240.84, 239.11], power_factors=[0.99, 0.99, 0.99], unbalanced_load=0, frequency=50.0, daily_exported=0.0, daily_imported=5494.0, imported=6127741.0, exported=4870433.0, fault_state=0, fault_str='Kein Fehler.', power=9019.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=42781.11, raw_currents_left=[62.16, 62.78, 62.37], surplus_power_left=0, state_str=''))
